Multiple textures
Posted: Mon Jul 16, 2007 1:16 am
I have a model of a gun and hands and it has 4 texture files that go with it. I was trying to figure out how to put more then one texture on it, but using the layers, only the top one shows.
Is there any info on how you assign 4 textures, and how they correctly know where to go on the model?
If i put the textures on one at a time they land in the right spots somehow, so its partly there.
Thanks in advance.
***
In addition, I solved this problem for now(not how I would like to keep it) by seperating the parts into seperate models and attaching them all to a common anchor custom scene node. That works sorta, but depending on the angle of the camera, some of the scene nodes will vanish, and then reappear. Its very consistent, if say i turn to 30 degrees, the hands will remain and the gun will vanish. If i move the anchor node around a bit and then try it again, the sub nodes dissapear at different angles and sometimes more of them dissapear when it happens.
Is there something special about having children nodes on a scene node that you need to do to make sure they always draw correctly?
Is there any info on how you assign 4 textures, and how they correctly know where to go on the model?
If i put the textures on one at a time they land in the right spots somehow, so its partly there.
Thanks in advance.
***
In addition, I solved this problem for now(not how I would like to keep it) by seperating the parts into seperate models and attaching them all to a common anchor custom scene node. That works sorta, but depending on the angle of the camera, some of the scene nodes will vanish, and then reappear. Its very consistent, if say i turn to 30 degrees, the hands will remain and the gun will vanish. If i move the anchor node around a bit and then try it again, the sub nodes dissapear at different angles and sometimes more of them dissapear when it happens.
Is there something special about having children nodes on a scene node that you need to do to make sure they always draw correctly?