General Category > ASL Scripts
new - advanced_plane_plugin - available ;)
Claude:
2)The reason I was saying you don't need it is that your doing it
again in the loop: for $i = 0 to and for $j = 0 to
4)UV and ST are both used.I've made a few corrections to the
uvcoords calculation.Have a look.
Bye
Claude
vobla:
Hey,
And about that 2) I knaow I'm doing it twice, but I like to initialize default values even if its zero by default or I do it later in the code. It's just easyer to devide the script like that (params, vars, default values, code) and most importantly read. ::)
Thank you for your corrections.
Thanks to Claude here's the newest version (suppose the last release :D )
Cheers
hihosilver:
I found another issue :p
Basically with your script, none of the points are actually connected. It'd be much more useful if it was an attached grid rather than many small planes placed next to each other. I'm not any kind of a coder, so I'm not sure how to do this, but I hope you can attach the sections of the plane. Perhaps ASL can merge points or something?
Claude:
If this is what you want,then you simply have to reuse the points created for
the existing adjacent quad or more precisely their index that you would have
to store.
vobla:
In other word, I create too many points. If the coords are the same, I should just add reference of the point. I wish I could use C# list, PHP array or recursing funcion.. :D
Anyway, I'll try to fix it as soon as I can, it should be posible anyway, is't it ;)
And hey, thanks for commenting. I really appreciate that. ;)
EIDT:
I looked at http://www.anim8or.com/scripts/mesh_1.txt
example and found
$index[$i] = $mymesh.AddPoint(($x, $y, $z));
so what exactly "$mymesh.AddPoint(($x, $y, $z))" do? retuns int value ??? Added point index ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version