Hi, i'm using a simple java3d scene (at least i thought it was simple)
I use the SimpleUniverse, and three mousebehaviors. Here's what it
looks like:
(BG)
/ | \
/ | (Background)
/ \
/ (TG)
/ / \
/ / \
(TG) (Box) ... (Box)
/
(Box)
The (Box)...(Box) represents any number of
com.sun.j3d.utils.geometry.Box objects each with an indepentant
Texture2D in their appearance, each with the dimensions x=0.4, y=0.0,
z=0.4 (yes, just a flat plane) I tried using a TexturedPlane, but
i'm using alpha textures and for some reason the bottom of the textured
plane was either transparent, or if i flipped another instance to use as
the bottom it became opaque, and it almost seemed slower. Anyway,
there is usually 16-30 boxes, however even with only 16 boxes the
performance is very poor, the mouseBehaviors are very jerky (the built
in sun behaviors) and unacceptable (i'm told) Can any please help me
with some optimizations. I have a lot of Capabilites set because i
change the textures when the user clicks apply. If you can think of
some obvious optimizations as well as some maybe more specific ones that
would really help. I'm not using BG.compile() because i don't think it
allowed me to retexture after i called that... but maybe i was wrong...
oh, i'm running a PII 400, with 256 ram, running linux j3d 1.1.3.
thanks for your help,
nic
===========================================================================
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".