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 / Textures Inside a Box

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 24th Dec 2009 06:31
Anyway to have textures inside a box ( dbMakeObjectBox ) , instead of the outside?
Isocadia
15
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 24th Dec 2009 09:33
Well, I you would make a box in a moddeling program, you could just flip the normals ( I assume its for a skybox ). Else you could use the boxes GDK gives u and just change the textures to what you want.
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 24th Dec 2009 15:05
Do you want to be able to see the box faces when your camera is inside the box?
I think setting the objects cull state to 0 will make them draw ( dbSetObjectCull ).

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
puppyofkosh
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 24th Dec 2009 23:22
You could scale the box to -1, -1, -1 and then it would be inside out.

Login to post a reply

Server time is: 2024-11-20 07:21:22
Your offset time is: 2024-11-20 07:21:22