  | | | persistant effect on ScriptedOp | persistant effect on ScriptedOp 2004-04-02 - By F3D From Mars...
Back Hi all,
Got a scripting (vb) question, i'm wondering how making persistant a scripted op (like Splatted) ? i mean the ball keep the deformation and DO NOT return to its original shape...
in the scripted op (on polygon Mesh) i modify the input vertice array (sphere.polymsh) and then, export the new coordinate of vertices to the mesh (Out.Value.Geometry.Points.PositionArray = myVertices)
my problem is, each frame the scripted operator use always the original shape instead using the current one (already deformed by ScriptOp)
maybe some scripting guru's can help me ?
thanks anyway
François Mourre HapPy GapPer 3D From Mars...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Got a scripting (vb) question,</FONT></DIV> <DIV><FONT face=Arial size=2> i'm wondering how making persistant a scripted op (like Splatted) ?</FONT></DIV> <DIV><FONT face=Arial size=2>i mean the ball keep the deformation and DO NOT return to its original shape...</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>in the scripted op (on polygon Mesh)</FONT></DIV> <DIV><FONT face=Arial size=2> i</FONT><FONT face=Arial size=2> modify the input vertice array (sphere.polymsh) and then, </FONT></DIV> <DIV><FONT face=Arial size=2>export the new coordinate of vertices to the mesh </FONT></DIV> <DIV><FONT face=Arial size=2>(<FONT size=2>Out.Value.Geometry.Points.PositionArray = myVertices)</FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>my problem is, each frame the scripted operator use always the original shape</FONT></DIV> <DIV><FONT face=Arial size=2>instead using the current one (already deformed by ScriptOp)</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>maybe some scripting guru's can help me ?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>thanks anyway</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>François Mourre</FONT></DIV> <DIV><FONT face=Arial size=2>HapPy GapPer</FONT></DIV> <DIV><FONT face=Arial size=2>3D From Mars...</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2><FONT size=2> </DIV></FONT></FONT> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
|
|
 |