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")
Texture explanation ? help !
Texture explanation ? help !
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
Q6600 triton 79, 4 GO, 2* RAPTOR 150GO of ARECA 256 RAID 0, 3870 Zalmann, P5K. 24" Samsung. Antec nine hundred
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....
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