Texture explanation ? help !

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
AmigaIrr
Posts: 94
Joined: Mon Jan 10, 2005 7:55 am
Location: France, Alsace

Texture explanation ? help !

Post by AmigaIrr »

i use mesh and want to use only a small part of a big image

how to do this

i can make this with texture = driver.getTexture("big pix.bmp")
L'eternité c'est long, surtout vers la fin...

Q6600 triton 79, 4 GO, 2* RAPTOR 150GO of ARECA 256 RAID 0, 3870 Zalmann, P5K. 24" Samsung. Antec nine hundred
skumar
Posts: 201
Joined: Thu Feb 14, 2008 6:24 pm
Location: kerala state india
Contact:

Post by skumar »

driver->getTexture() loads the texture .....but the way which is applied is according to the information contained in your mesh...called texture coordinates

Technically speaking ....answer to your problem is called texture mapping..

Texture coordinates of a mesh are the parameters which determine which part of the image to be applied to the mesh.(for more info read dx or opengl texts)

Practically , you have to edit the mesh in some 3d editors like 3ds max and apply the big texture.....

Then, using UV mapping modifier make the desired mapping....
When the mesh is loaded the image will be automatically loaded....


Finally , Doing it manually is very hard....
skumar
hessiess
Posts: 47
Joined: Wed Mar 12, 2008 8:39 pm

Post by hessiess »

3ds max
or Blender, wings3d etc if you haven't got several grand to throw away ;)
Post Reply