General Category > ASL Scripts
HELP in Script (tree script)
neirao:
Hi guys,
please someone can help me in this script..?
is a simples script based in hair script, it make one pseudo tree, but can be used to maker grass, fur, etc, if changer the textures..
..i think then need change/insert the SIMPLE LINE CODE.. but i´m not good
in ASL scripts..(STILL) :'(
the script files are be attached(zipped) below
thanks so much all!! :)
Claude:
I had a quick look.
Here's a few suggestions:
The code to create the material should be moved right after the
$currentMaterial = $curObject.LookupMaterial("arvore_textura");
line so that you have your material ready
when you create your plane.
After the line
$plane.Open();
you need to use this function to add the material to the plane
int AddMaterial(material mat);
AddMaterial() adds a new material to the Mesh and returns it’s index.
Index you need next.
The first parameter of the OpenFace function is the material index
assigned to the face
$plane.OpenFace(0,4);
Good luck
Claude
neirao:
Claude thanks for hint, :)
but i not have succeed... :(
i not very good in ASL..
other someone can help me ??
thanks!
Claude:
I implemented my suggestions.
Here's the result.
neirao:
VERY THANKS Claude!!!!! :D :D :D
the script Work!! You are a Genius!! ;)
now i can maker previous textures,
to maker some effects!!
thanks again!
Navigation
[0] Message Index
[#] Next page
Go to full version