PDA

View Full Version : LScript That will assign individual polys to texture



OnlineRender
12-19-2009, 08:44 AM
I can code , not had much practise with L-script ,just starting to look into a little deeper .

Is there a way I can give each poly "say 200 " a specific name / texture .

effectivley what I want , is every poly to have its own texture "moving img"
png sequence .

any ideas .

walfridson
12-19-2009, 11:37 AM
Might only be possible in modeler script... For the create surface for 1 poly..

Anyway

For looping through the polys, have a look at "point and polygon object agents"
For creating a surface for selected poly, look at "surface object agent"
And for setting a texture in that created surface, look at "texture object agent"

All available in the lscript reference :)

OnlineRender
12-19-2009, 01:55 PM
;P cheers ,I'll post results later "probably after x-mas" LOL ,I have the mo-cap data and obj rigged I just need to tweak tweak :P

Matt
12-19-2009, 02:26 PM
Not sure if this is what you're after, but I wrote a Modeler script to assign unique surface names to the selected polygons.

OnlineRender
12-19-2009, 04:03 PM
Not sure if this is what you're after, but I wrote a Modeler script to assign unique surface names to the selected polygons.

Matt Have Some Man-Love

OnlineRender
12-19-2009, 06:25 PM
s