Ive got a case where ive got a bunch of nurbs curves each with a morph modifier on them to change their shape. if i was to loft them then i would have the power to goto the original curves and play with the morph percentages and see it change my lofted surface since i used the instance switch when i selected the cross section splines of the loft. however the loft isnt smooth like i need it to be so i decided to just use a U-Loft in nurbs surface. looks nice and smooth exaclt like i seen it. however the U-loft doesnt give me the option to instance from original curves so i cant interactively do my morph. i need a way of somehow setting up a constantly running maxscript that will make sure at all times that CV point 1 on CV curve 1 of the surface is at the same possition as CV point 1 of the 1st control nurbs curve with t e morph modifier on it. first off is this possible?
Announcement
Collapse
No announcement yet.
MAxscript help
Collapse
X
-
It whould well be with some raytracing (or quicker TM passing from control to loft CV) and callback mechanism (read: heavy as anything in maxscript).
I am about to go away for 6 days though, and can't quite be of assistance.
Will try as i am back if the problem is still there.Lele
Trouble Stirrer in RnD @ Chaos
----------------------
emanuele.lecchi@chaos.com
Disclaimer:
The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.
-
Nearly there - it's quite annoying, a nurbs object needs to be loaded as an object set, then you need to select a curve within the set, then a control vertex on the curve via an index. Looking for the proper get / set position functionality of vertices. Here's the code to get at cvs so far:
Code:temp = getnurbsset $ temp.numobjects thecurve = getobject temp 1 thecurve.numcvs theCV = getCV theCurve 1
Comment
Comment