Author Topic: texture  (Read 3339 times)

nicolas french

  • Guest
« 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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12202
    • View Profile
« 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: The suffix is ask instead of asc because older Netscape-browsers are having some problem with applets loading asc-named files.
Hope this helps.