Hi,

>X-Unix-From: [EMAIL PROTECTED]  Thu Nov  1 22:38:41 2001
>From: "Saurabh Akhauri" <[EMAIL PROTECTED]>
>To: "Kelvin Chung" <[EMAIL PROTECTED]>
>Subject: pls help, some queries on frame rate
>Date: Fri, 2 Nov 2001 12:13:19 +0530
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
>
>Hi Kelvin,
>Will be very thankful if you could take out some
>time from your schedule to answer some queries
>
>1.  I have often read that if behaviors are attached to View Platform
>we can get a higher frame rate as compared to the frame rate when the
>behaviors are attached to some transform group in scenegraph.
>
No, it shouldn't make any different.
It is the location of TransformGroup change in
the scene graph that makes the different.

Note that rotating/transforming an object by changing
transformation above the Shape3D is slower than
changing the Viewpoint above ViewPlatform. It is
because some internal structure (e.g. Bounds) need
to update in the first case.

That's why our mouse utility are rewritten to rotate
an object by modifying viewpoint instead of rotating
the object itself.

>In my scenegraph,  i load model of varying number of triangles
>( 1000 to 500000) , but the fall in frame rate for the two types of
>behavior,
>say on rotation, remained approximately same.
>I tried using OrbitBehavior and other behaviors extended from
>ViewPlatformBehavior
>
>2. Also I expected that there will be some change in the frame rate if
>i use striptified geometry array, but even after striptifying the geometry
>array,
>which significantly reduced the number of vertices from my triangle array ,
>i
>didn't gain much in terms of frame rate.
>
It might be that the bottleneck is not in the rendering itself,
but in other part of Java3D system such as behavior, texture
download etc..

>Can you pls help me to understand whats happening here, why there is no
>significant change in the frame rate for the two cases.
>
>I urgently need to improve the performance of my scenegraph,
>pls suggest some way by which i could improve upon the frame rate.
>and load fairly heavy models.

Combining primitives into shape3D node and use less TransformGroup
may help.

- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to