How to set or change tiling on an object

Started by Melssj5, August 28, 2008, 08:07:48 PM

Previous topic - Next topic

Melssj5

Hi, i am working on a app to view some houses from inside and outside, the idea is that the user is able to change dinamicly the texture of floor, walls, etc.

Now my problem is:
- When I use a texture like wood, it has to be applies on some way, but if I use another one like

or




then I must adjust the tiling on somehow to make fit a determined amount of those textures in a squared meter.

The first pic may be displayed in a distribution from 2x2

but the second one may be only one of those for each squared meter.

Any ideas, any suggestion about how to work with this kind of project.
Nada por ahora

EgonOlsen

Somewhere in the forums is a class that allows dynamic tiling ...i can't find it because of this f******g bug in the search function... >:(
But maybe you can. The basic idea is to take the PolygonManager and adjust the texture coordinates.