PDA

View Full Version : Triangles with fixed UVs


RustyBayonet
26th June 2007, 09:55 PM
Hi,
I need to do something really strange to my AC3D models, each triangle needs to have it's UV coords set up so as one vertex is uv0,0, one is 1,1 and the other 0,1. It doesn't matter as to the orientation etc the model isn't actually going to be textured I need the UV coords set like that for a rendering routine that is applying a shader.

Is there any simple way of scripting or persuading AC3D to apply those UVs?

Thanks in advance.

RustyBayonet
28th June 2007, 09:20 PM
Nevermind chaps, I had the shader handle what I wanted to do dynamically in the end.

Dennis
29th June 2007, 08:01 PM
Glad to see you have it working RB --- especially since I'm fairly sure there isn't a simple solution to the original request ;). The only thing I could think of entailed selecting and remapping one triangle at a time... good that you've found a better way!