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.

AppGameKit Classic Chat / draw backfaces

Author
Message
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 20th May 2013 00:31
can i set whether or not to draw both sides of triangles in an object?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 20th May 2013 01:55 Edited at: 20th May 2013 01:56
Sets whether this object should draw its back faces when rendering. Use mode 0=both front and back drawn, 1=only front faces, 2=only back faces. By default only front faces are drawn (mode 1).
Definition

SetObjectCullMode( objID, mode )

if you have invisible faces, just flip the surface normal if you can edit this 3d object.

Login to post a reply

Server time is: 2024-11-24 14:26:49
Your offset time is: 2024-11-24 14:26:49