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-AE - a 3d engine for Android
»
Support
»
tiled texture
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: tiled texture (Read 3046 times)
nm123
byte
Posts: 9
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)?
Logged
EgonOlsen
Administrator
quad
Posts: 12297
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
»
Logged
nm123
byte
Posts: 9
Re: tiled texture
«
Reply #2 on:
January 19, 2011, 03:28:20 am »
That works. Thx!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
tiled texture