Author Topic: tiled texture  (Read 1290 times)

Offline nm123

  • byte
  • *
  • Posts: 9
    • View Profile
tiled texture
« on: January 15, 2011, 04:24:45 pm »
Hi, how can I set tiled textue (say 10x10) to a Object3D (say a Primitives Plane)?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11853
    • View Profile
    • http://www.jpct.net
Re: tiled texture
« Reply #1 on: January 15, 2011, 08:54:57 pm »
In the code of the advanced example in the wiki (http://www.jpct.net/wiki/index.php/Advanced_example) you'll find a method called tileTexture(....). The advanced example is for desktop jPCT, but that method should work on AE too. Just make sure to apply it before the object has been rendered for the first time or your changes might get ignored.
« Last Edit: January 19, 2011, 07:50:16 am by EgonOlsen »

Offline nm123

  • byte
  • *
  • Posts: 9
    • View Profile
Re: tiled texture
« Reply #2 on: January 19, 2011, 03:28:20 am »
That works. Thx! :)