Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
how to make a Sky Dome
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to make a Sky Dome (Read 1812 times)
Charles
byte
Posts: 7
how to make a Sky Dome
«
on:
May 31, 2013, 03:52:56 pm »
I am wondering how make a sky dome.I tried to make a sphere or box to surround the whole scene.But the textured can't be seen from inside the surrounding ball or box.How to resolve it?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: how to make a Sky Dome
«
Reply #1 on:
May 31, 2013, 05:13:47 pm »
That's caused by the backface culling. Either do setCulling(false); or call invert() on the object before calling build(), if you need proper normals.
«
Last Edit: June 02, 2013, 09:22:23 am by EgonOlsen
»
Logged
Charles
byte
Posts: 7
Re: how to make a Sky Dome
«
Reply #2 on:
June 02, 2013, 02:25:59 am »
That's it! Thx!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
how to make a Sky Dome