How to replace the object mapping?
2 posters
How to replace the object mapping?
For example:
In the scene, there is a cube object,His map is: wood.png.
In the program load a tree.png,Replace the original map(wood.png).
sio2 can do it? What are the specific ideas? thank you !
In the scene, there is a cube object,His map is: wood.png.
In the program load a tree.png,Replace the original map(wood.png).
sio2 can do it? What are the specific ideas? thank you !
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Re: How to replace the object mapping?
All sio2Objects have an image property in the stucruct, well 2 to be exact. All you need to do is replace one or both of the images with a new sio2Image. Check out the tutorials to see how to load an sio2Image.
uprise78- Posts : 228
Join date : 2008-10-31
Re: How to replace the object mapping?
Thank you for your reply!I have been successful!uprise78 wrote:All sio2Objects have an image property in the stucruct, well 2 to be exact. All you need to do is replace one or both of the images with a new sio2Image. Check out the tutorials to see how to load an sio2Image.
To change the Image's address on it.
- Code:
yourMaterial->_SIO2image[0]= AnotherMaterial->_SIO2image[ SIO2_MATERIAL_CHANNEL0 ];
LuisLee- Posts : 85
Join date : 2009-04-26
Age : 37
Similar topics
» UV mapping
» Object with two materials
» Dot3 Normal Bump Mapping + Per Pixel Lighting
» physics object inside another physics object
» object selection
» Object with two materials
» Dot3 Normal Bump Mapping + Per Pixel Lighting
» physics object inside another physics object
» object selection
Permissions in this forum:
You cannot reply to topics in this forum