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
»
texture
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: texture (Read 4240 times)
nicolas french
Guest
texture
«
on:
November 01, 2003, 04:29:47 pm »
i'm trying to write an applet which looks like your homepage applet.
My Sphere primitive rotates but the texture doesn't!
Do you have an idea where it comes from?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
texture
«
Reply #1 on:
November 03, 2003, 05:30:35 pm »
What does the texture do instead? Maybe you are using environment mapping for the sphere. What you should do is to either project a texture onto the sphere using Object3D.calcTextureWrapSpherical() or Object3D.calcTextureWrap() or use the sphere object i'm using for the demo. It's in ASC-format and can be found here:
http://www.jpct.net/terra.ask
The suffix is ask instead of asc because older Netscape-browsers are having some problem with applets loading asc-named files.
Hope this helps.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
texture