changing texture/image
Posted: Thu Sep 14, 2006 7:33 am
Hi,
I'm making a project where I put pictures on the blackboard. 4pictures.
You have to choose the right pic.
When you choose the right one a window pops up.
So my problem is after choosing the right pic I'd like to change this four picture to another four picture. I'd like to get the pics from a directory (because the 4pic combination is defined) and put them on the mesh randomly.
How do I do it?
Another question:
-Do I have to make the pic mesh seperatly from the room mesh and then load it (load the room mesh and then the pic mesh seperatly)
OR
Make the room mesh with texture layer 0, and the 4 pic mesh with layer 1-4 (load the room mesh, then load the textures with different texture layers)?
-In the Editor I select my file from the file open window. Then how can I get the selected file name & its route --> then put it into its editbox?
sivagiri
she's just a trial avatar
I'm making a project where I put pictures on the blackboard. 4pictures.
You have to choose the right pic.
When you choose the right one a window pops up.
So my problem is after choosing the right pic I'd like to change this four picture to another four picture. I'd like to get the pics from a directory (because the 4pic combination is defined) and put them on the mesh randomly.
How do I do it?
Another question:
-Do I have to make the pic mesh seperatly from the room mesh and then load it (load the room mesh and then the pic mesh seperatly)
OR
Make the room mesh with texture layer 0, and the 4 pic mesh with layer 1-4 (load the room mesh, then load the textures with different texture layers)?
-In the Editor I select my file from the file open window. Then how can I get the selected file name & its route --> then put it into its editbox?
sivagiri
she's just a trial avatar