ufa
02-03-2004, 12:17 AM
Hi!
Im developing a tree pluginscript, the scripting has so far gone well, but a problem that i have been aware of for quite some time now is starting to annoy me.
materials, i dont have a clue on how i would get mapping coordinates say for the opacity planes that form the leafs, these would have to be face mapped since i use V-Ray and cant use mat.ed.s face mapping, i do not want to have to put a separate uvw map on top of the mesh, since i then would have to make a lot of uvw modifiers to get a good result for branches and leafs.
also of cuorse the mapping of branchs and the stem would have to be scripted into the plug.
the trunk, branches and leafs have different mat ids depending on wether trunk/branch generation and leaf generation
the geometry is all calculated in the script, ie no max cylinders and stuff.
if anybody have any clues please could you help me out.
some samples
older tests (http://www.corenne.com/ufa/olika2.jpg)
small avi (http://www.corenne.com/ufa/lovtrad2.avi)
early spike tree test (http://www.corenne.com/ufa/blad.jpg)
early spike tree test2 (http://www.corenne.com/ufa/blad3.jpg)
recent (http://www.corenne.com/ufa/spruces4.jpg)
interface (http://www.corenne.com/ufa/intref.jpg)
the interface is totally new for leafs/spikes so this img is not really according to how it looks right now
Im developing a tree pluginscript, the scripting has so far gone well, but a problem that i have been aware of for quite some time now is starting to annoy me.
materials, i dont have a clue on how i would get mapping coordinates say for the opacity planes that form the leafs, these would have to be face mapped since i use V-Ray and cant use mat.ed.s face mapping, i do not want to have to put a separate uvw map on top of the mesh, since i then would have to make a lot of uvw modifiers to get a good result for branches and leafs.
also of cuorse the mapping of branchs and the stem would have to be scripted into the plug.
the trunk, branches and leafs have different mat ids depending on wether trunk/branch generation and leaf generation
the geometry is all calculated in the script, ie no max cylinders and stuff.
if anybody have any clues please could you help me out.
some samples
older tests (http://www.corenne.com/ufa/olika2.jpg)
small avi (http://www.corenne.com/ufa/lovtrad2.avi)
early spike tree test (http://www.corenne.com/ufa/blad.jpg)
early spike tree test2 (http://www.corenne.com/ufa/blad3.jpg)
recent (http://www.corenne.com/ufa/spruces4.jpg)
interface (http://www.corenne.com/ufa/intref.jpg)
the interface is totally new for leafs/spikes so this img is not really according to how it looks right now
