RE: LANG: repeating textures

Steve Ghee (steve@division.co.uk)
Thu, 7 Dec 1995 13:15:30 -0000


>>
>> Texture2 { filename "wallpaper.gif" }
>> Cube { }

You cannot with Cube. Cube states that the entire texture goes on each =
face.

>From esading the spec. in conjunction with the Inventor Mentor, I assume =
you can. The spec describes the default texture mapping of a Cube. Use =
the Texture2Transform node to *change* texture scale/orientation etc. =
See the Inventor Mentor, pg 167; if you can apply scale etc. to Sphere, =
I would assume you can do it to all shape Nodes.

Texture2 { filename "wallpaper.gif }
Texture2Transform { scaleFactor 10 10 } #repeat 10 times=20
Cube { }
Sphere { }
IndexedFaceSet { ... }

Has anyone tried this with Webspace?


  • Next message: Richard Tilmann: "Re: ANNOUNCE: VRML 2.0 proposal from Microsoft graphics groups"
  • Previous message: Steve Ghee: "RE: LANG: repeating textures"