Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Triangles are disappearing during object rotation??

Author
Message
madmax700
20
Years of Service
User Offline
Joined: 21st Mar 2005
Location:
Posted: 21st Mar 2005 20:43
When I attach a triangle mesh to a box object as a limb and try to rotate the image the triangle limbs disappear for 180 degrees of the rotation. I can't figure out what I'm doing wrong. Please help.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 21st Mar 2005 21:22
It's because triangles are only viewable from one side.

You need to turn off what is called 'Culling'. ( use Set Object, or Set Object Cull for that ).

Pretty much, when a face ( triangle ) is facing AWAY from the camera, it isn't drawn, because typically, on a normal model, you wouldn't be able to see it due to the other faces on the NEAREST side obstructing your view.

Jess.


Team EOD :: Programmer/All-Round Nice Guy
Aust. Convention!
madmax700
20
Years of Service
User Offline
Joined: 21st Mar 2005
Location:
Posted: 22nd Mar 2005 10:06
Thank-you very much. Got everything to work perfect now.

Login to post a reply

Server time is: 2025-05-31 05:40:51
Your offset time is: 2025-05-31 05:40:51