I have exactly the same problem with the setTransform() call... its
just amazing how this call impacts the performance....
This is what I heard from Justin Couch, Software Architect at j3d.org:
...
There have been a series of bug reports floating around the j3d interest
list about poor performance of the setTransform method. I believe they
surfaced too late to be fixed for 1.2.1 beta 1 but they were looking into
it for beta 2.
...
If you get some work arounds for this please let me know....
-->-----Original Message-----
-->From: Yazel, David J. [mailto:[EMAIL PROTECTED]]
-->Sent: dinsdag 5 december 2000 15:22
-->To: [EMAIL PROTECTED]
-->Subject: Re: [JAVA3D] Application getting very slow....
-->
-->
-->There are many, many things that could be the culprit:
-->
-->1. How many glasses are we talking about here? A few
-->hundred? And what is
-->the polygon count? Could it be that you are overloading your card?
-->2. Are you sharing Appearance objects, or at least
-->materials? There is/was
-->a bug that the system slowed down when you used lots of
-->different materials.
-->Since the materials are usually the same, just create one
-->and use in many
-->places.
-->3. Are you sharing textures? Or does each glass have its
-->own texture? If
-->the textures are the same, but you are instantiated multiple
-->copies of the
-->same one, you would be better off to use the same texture in multiple
-->places.
-->4. If the shapes are duplicate copies, try using link nodes
-->and shared
-->groups.
-->
-->Dave Yazel
-->
-->> ----------
-->> From: Ravi Goel[SMTP:[EMAIL PROTECTED]]
-->> Reply To: Discussion list for Java 3D API
-->> Sent: Tuesday, December 05, 2000 8:14 AM
-->> To: [EMAIL PROTECTED]
-->> Subject: [JAVA3D] Application getting very slow....
-->>
-->> Hi all,
-->> I'm working in a project in Java3D....My project is
-->RackEditor...which
-->> contains Glasses in it...I'm creating glasses using Java's
-->Box object
-->> which is present Inside a TransformGroup & setting
-->Transperancy attributes
-->> to it...The Rack which i have created is created using a
-->class which
-->> extends Shape3D...
-->> To place all the glass on the required position i'm
-->using setTransform()
-->> method of the TransformGroup class...But as the number of glasses
-->> increases...System is getting very Slow while loading as
-->well as when i'm
-->> trying to do something on it(like
-->Zooming,Translate,Roatate..i'm using
-->> Picking behaviors for doing it)...If i want to make my
-->application more
-->> efficient & fast what and all steps should i take...Is
-->there any problem
-->> in the way in which i have created my Design...
-->>
-->> Please suggest me some ideas...
-->>
-->> Thanks
-->> Ravi
-->>
-->
-->=============================================================
-->==============
-->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".
-->
===========================================================================
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".