redlum
05-03-2009, 08:46 PM
Hi Folks
I'm having some problems with a two-sided texture. The scene is of a guy on a BMX in front of some office blocks, and the objective is to have each window pane on the office buildings rotate consecutively (like a departures board) to reveal some graffiti on the other side.
http://www.gdeaney.co.uk/temp/plate.jpg
What I've done:
http://www.gdeaney.co.uk/temp/shader.jpg
Macthmoved the camera and built geometry for the office blocks. Projected my background plate onto this geometry and baked the texture to an image sequence. Setup a two-sided shader based on normals with the original plate windows (image sequence) set to false and a graffiti'd counter-parts set to true. Seperated each pane and animated to rotate 180 about Y in a cascading fashion.
Problem:
So here's my flip-side texture:
http://www.gdeaney.co.uk/temp/texture.jpg
But as you can see from this image - each window is horizontaly flipped (note the lower right splodge of paint)
http://www.gdeaney.co.uk/temp/with_plate.jpg
Can you help me out? I've tried mirroring in the texture placement attributes but it has no effect. I was hoping there might be some way of doing this without making a duplicate of each pane.
Any pointers would be greatly appreciated.
Cheers
George
I'm having some problems with a two-sided texture. The scene is of a guy on a BMX in front of some office blocks, and the objective is to have each window pane on the office buildings rotate consecutively (like a departures board) to reveal some graffiti on the other side.
http://www.gdeaney.co.uk/temp/plate.jpg
What I've done:
http://www.gdeaney.co.uk/temp/shader.jpg
Macthmoved the camera and built geometry for the office blocks. Projected my background plate onto this geometry and baked the texture to an image sequence. Setup a two-sided shader based on normals with the original plate windows (image sequence) set to false and a graffiti'd counter-parts set to true. Seperated each pane and animated to rotate 180 about Y in a cascading fashion.
Problem:
So here's my flip-side texture:
http://www.gdeaney.co.uk/temp/texture.jpg
But as you can see from this image - each window is horizontaly flipped (note the lower right splodge of paint)
http://www.gdeaney.co.uk/temp/with_plate.jpg
Can you help me out? I've tried mirroring in the texture placement attributes but it has no effect. I was hoping there might be some way of doing this without making a duplicate of each pane.
Any pointers would be greatly appreciated.
Cheers
George
