Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
About mesh generation and manipulation.

About mesh generation and manipulation.

2004-03-01       - By Adam Nemitoff

 Back
Reply:     1     2     3     4  

You could have your mesh have a fixed face count and  "hide" the faces
that are not used (perhaps by flipping their normals so they are
backface culled) but there will still overhead assocated with those
hidden faces.

Based on my own ROAM implementation in C++ using DirectX and my
experience programming SW3D in lingo, I don't think that you will be
able to acheive the necessary performance in shockwave.

-Adam Nemitoff

-- --Original Message-- --
From: dir3d-l-bounces@(protected)
[mailto:dir3d-l-bounces@(protected)] On Behalf Of Candide -
Keynoise
Sent: Monday, March 01, 2004 12:49 PM
To: dir3D dir3D dir3D
Subject: [Dir3d-l] About mesh generation and manipulation.


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=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=809561018-01032004><FONT face=Arial color=#0000ff size=2>You
could have your mesh have a fixed face count and&nbsp; "hide" the faces that
are
not used (perhaps by flipping their normals so they are backface culled) but
there will still overhead assocated with those hidden faces.</FONT></SPAN></DIV>
<DIV><SPAN class=809561018-01032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809561018-01032004><FONT face=Arial color=#0000ff size=2>Based
on my own ROAM implementation in C++ using DirectX and my experience
programming
SW3D in lingo, I don't think that you will be able to acheive the necessary
performance in shockwave.</FONT></SPAN></DIV>
<DIV><SPAN class=809561018-01032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809561018-01032004><FONT face=Arial color=#0000ff size=2>-Adam
Nemitoff</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
 <DIV></DIV>
 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
 face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B>
 dir3d-l-bounces@(protected)
 [mailto:dir3d-l-bounces@(protected)] <B>On Behalf Of </B>Candide -
 Keynoise<BR><B>Sent:</B> Monday, March 01, 2004 12:49 PM<BR><B>To:</B> dir3D
 dir3D dir3D<BR><B>Subject:</B> [Dir3d-l] About mesh generation and
 manipulation.<BR><BR></FONT></DIV>
 <DIV><FONT face=Arial size=2>Hi all.</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>The other problem is the CreateMesh function
 require the faces number when&nbsp;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>&nbsp;</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>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>Does&nbsp;anybody of you know an other way to
 create, handle and refresh a&nbsp;mesh faster with director : may be by
 programming a Xtra.</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</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&nbsp;made DLLs can
be
 linked and export to a Web based movie.</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>Thank you for your help</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>Regards.</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2>Candide</FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l