Hi Brandy,

I did't something like this on my own.

I have implemented kind of lock/unlock mechanism in my Canvas3D subclass. This
means
when e.g. one dragged the scene using the mouse, the canvas is locked.

Using this mechanism it's fairly easy to do something you want to achieve.
When a canvas is locked I use a Switch node to turn off all complex geometry and
replace
them by a reduced representation subscene graph.

When the canvas is unlocked after a mouse released event I just switch back to
render the
complex geometry.

I don't know whether this is the best solution and I'm not aware if sun
implemented something
in the api. I think not, because it's something not very general. Basically you
have all the tools
at hand (like the switch node).

Cheers,
Karsten


BRANDY Cyril wrote:

> Hi
>
> Does anybody knows how to show the bounding box of a geometry instead of the
> geometry itself when moving (rotate, translate, zoom) ?
>
> Do i have to develop this feature myself or does Java3D already have some
> usefull stuff ?
>
> Thanks.
> Cyril.
>
> * : [EMAIL PROTECTED]
>
> ===========================================================================
> 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".

Reply via email to