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.

Dark GDK / Limb Issue

Author
Message
hisdudeness21
13
Years of Service
User Offline
Joined: 6th May 2011
Location: Pittsburgh
Posted: 6th May 2011 23:23
I'm trying to create a floor with a plain representing each tile. Instead of having tons of objects, I thought it'd be better to make a mesh out of the first plain and just add each tile as a limb.

With my code I placed the first plain vertically (so no rotation) then made another one in a different location based off the mesh data, but for some reason one side of the plain is invisible. If you move past it and look from the other side, it is there. Here's my code:



Is this a common problem and is there any way around it?
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 7th May 2011 14:39
Planes are usually created with backface culling on so you need to use dbSetObjectCull()

Warning! May contain Nuts!
Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 9th May 2011 17:09
Just out of curiosity, why are you not using dbMatrix for your floor? It's fast and very easy to use.....

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-10-02 17:22:44
Your offset time is: 2024-10-02 17:22:44