Who's one is using the left-hand rule? I am using the right hand rule.Ref wrote:Surprised that you order your triangles using the 'left-hand' rule.
Though most implimentations use the 'right_hand' rule???
To get the lighting to work correctly, I had to use 'left-hand' point order - see attached.
L3D - The Starts of a 3D Lib
- substitute541
- Party member
- Posts: 484
- Joined: Fri Aug 24, 2012 9:04 am
- Location: Southern Leyte, Visayas, Philippines
- Contact:
Re: L3D - The Starts of a 3D Lib
Currently designing themes for WordPress.
Sometimes lurks around the forum.
Sometimes lurks around the forum.
Re: L3D - The Starts of a 3D Lib
Ahm!
Try checking:
love3D.preset.triCube3D(sideLength, ox, oy, oz)
Think you will find that it used the left hand rule.
If you try my attached demo (above), I had to change the facets to left hand for the lighting to track properly.
Not stomping on your program (which is great), just an observation.
Best
Try checking:
love3D.preset.triCube3D(sideLength, ox, oy, oz)
Think you will find that it used the left hand rule.
If you try my attached demo (above), I had to change the facets to left hand for the lighting to track properly.
Not stomping on your program (which is great), just an observation.
Best
Re: L3D - The Starts of a 3D Lib
Excuse me, if you would like to help substitute with his 3d library, would you mind posting in his topic instead? I would prefer for my projects topic to stay on topic.Ahm!
Try checking:
love3D.preset.triCube3D(sideLength, ox, oy, oz)
Think you will find that it used the left hand rule.
If you try my attached demo (above), I had to change the facets to left hand for the lighting to track properly.
Not stomping on your program (which is great), just an observation.
Best
Thank you.
Re: L3D - The Starts of a 3D Lib
Sorry for my confusion.
Lost track of who is doing what.
Just trying to use Love3d, Light3d & Present3D.
Will avoid your topic in the future.
Best
Lost track of who is doing what.
Just trying to use Love3d, Light3d & Present3D.
Will avoid your topic in the future.
Best
Who is online
Users browsing this forum: No registered users and 2 guests