  | | | About mesh generation and manipulation. | About mesh generation and manipulation. 2004-03-01 - By Candide - Keynoise
Back Hi all.
I'm currently working on a ROAM (Terrain optimisation) algo in Dirrector, but Lingo seems to be realy slow with that kind of things. Computing the ROAM BinTree is not realy a problem but when calling the GenerateNormals et the Build command to create or refresh the mesh, I get a 200ms freeze in my script (per frame) (with about 1000 poly) ... arg !
The other problem is the CreateMesh function require the faces number when called. And this number can't change. Unfortunatly, the ROAM algo don't give a constant number of faces.
I tried many things but the only way I found is to Delete et Re-create the mesh at each frame ... hugly ! ... and so slow.
Does anybody of you know an other way to create, handle and refresh a mesh faster with director : may be by programming a Xtra.
I read in a previous post some comments about Virtools. Is this software's script more efficient with the mesh handling. I studied a bit Virtools and saw there is two way for programming it : the VSL script or the SDK by C++ DLLs. But I'm not sure the user made DLLs can be linked and export to a Web based movie.
Thank you for your help
Regards.
Candide
<!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.2600.0" 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>I'm currently working on a ROAM (Terrain optimisation) algo in Dirrector, b</FONT><FONT face=Arial size=2>ut Lingo seems to be realy slow with that kind of things.</FONT></DIV> <DIV><FONT face=Arial size=2>Computing the ROAM BinTree is not realy a problem but when calling the GenerateNormals et the Build command to create or refresh the mesh, I get a 200ms freeze in my script (per frame) (with about 1000 poly) ... arg !</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>The other problem is the CreateMesh function require the faces number when called. And this number can't change. Unfortunatly, the ROAM algo don't give a constant number of faces.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I tried many things but the only way I found is to Delete et Re-create the mesh at each frame ... hugly ! ... and so slow.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Does anybody of you know an other way to create, handle and refresh a mesh faster with director : may be by programming a Xtra.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I read in a previous post some comments about Virtools. Is this software's script more efficient with the mesh handling. I studied a bit Virtools and saw there is two way for programming it : the VSL script or the SDK by C++ DLLs. But I'm not sure the user made DLLs can be linked and export to a Web based movie.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thank you for your help</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Regards.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Candide</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |