only one texture

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

only one texture

Post by omar shaaban »

i have made my level that contains many models and many textures i have grouped my model so to import it into irrlicht as one model but i have a problem with the textures is there a way to make only on texture for this model not all these textures or a way to combine them to one texture?
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

:( i dont know why i dont get any replies here quikly!!!
will any help? :cry:
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Unless your entire scene is pretty small, that would be a bad idea. I would suggest you create seperate models for each object and then use IrrEdit to build up a scene.

Travis
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

:lol: mm thanx but what if i want it one model like a spaceship with many textures is there a way to combine all the textures in one
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

People can take time to reply due to different time zones etc ;)

It's a modelling question really i suppose, it may depend on the program you're modelling with as to how to set it as one texture. In Milkshape you could do it but it would require remapping the whole level rather than just sticking all the images into one file.

What's the problem with Irrlicht and textures, is it not loading the textures? Can't find them? Or are they not displaying correctly?
Image Image Image
Avalanche
Posts: 18
Joined: Tue Sep 05, 2006 7:21 am

Post by Avalanche »

for .x or .ms3d format, they points to all their textures, so if you store your N textures where the model file can find, irrlicht will load them

also you dont need to load a texture and apply to it manually
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

If you're using 3DSMax (or maybe some other progs, too) you can bake all the textures into one single texture, but this way you will loose much graphics quality !!!
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

It's just a question of texture (UV) mapping. You can always do it, but it's not always that useful or even possible due to material properties etc.
Post Reply