Tiling a primitive's texture

Added by Subeesh Basheer over 1 year ago

I'm trying to tile an image to be used as a texture for a plane in order to simulate a grid in the space. The IMML I'm currently testing is:

<Primitive Name="plane" Type="Plane" Complexity="VeryLow" Position="0,0.01,15" Size="500,0.01,500" Rotation="0,1.570796,0">
<MaterialGroup Id="-1">
<Texture Type="NormalMap" TileU="1" TileV="1" Source="http://dl.dropbox.com/u/7947787/picturativeimages/grid.png"/>
<Material Ambient="#4c4c4c" Diffuse="#cccccc" Emissive="#000000" Specular="#000000" EnableTextures="True"/>
</MaterialGroup>
<Physics Enabled="False" Movable="False"/>
</Primitive>

I've tried adjusting the TileU and TileV attributes but it doesn't seems to make a difference in how it's rendered in the Player. Is there any other way I should go about tiling the texture, or is it not possible at all?


Replies (1)

RE: Tiling a primitive's texture - Added by Jeremy Massey over 1 year ago

Subeesh Basheer wrote:

I've tried adjusting the TileU and TileV attributes but it doesn't seems to make a difference in how it's rendered in the Player. Is there any other way I should go about tiling the texture, or is it not possible at all?

Texture tiling, while supported in IMML, is not currently supported by the Player or Creator. You will need to modify your texture directly in an image editing tool such as Photoshop.

Jeremy

(1-1/1)