Main Menu

texture

Started by nicolas french, November 01, 2003, 04:29:47 PM

Previous topic - Next topic

nicolas french

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?

EgonOlsen

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.