Alejandro Terrazas wrote:
> 2) Is there a way of using platform geometry? The problem is that when
> I leave the magic carpet, the platform geometry would go with me.
PlatformGeometry is an extension of BranchGroup and with the
ALLOW_DETACH
capability you should be able to add and remove geometry from the
PlatformGeometry, so the carpet could travel with the viewer some times
and not others.
> Do I need to make a complete winding road environment or can I take sections
> of track and morph them? Does anyone have a trick for this?
If the track is small/simple enough, it would be simpler just to build
the entire environment. However, if this doesn't give sufficient
performance, you can consider some alternatives.
The Morph class probably won't be much help unless your track is
fairly simple (no S-curves). And, even then, the Morph class
will not help if you want to do this well.
Also, if there are any visually moving features (e.g., textures)
on the track surface, the morphing idea becomes more difficult to
implement. This includes (but not limited to) stripes on the
track surface.
Considering that something, some signs, stands, trees, or other
visual object will move with respect to the viewer, you will have
to deal with that.
(I have some other half-baked ideas. But, won't fill the
list with them ;-)
I hope this helps,
Dennis
--
-----
Dennis J Bouvier
[EMAIL PROTECTED]
Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
http://sun.com/desktop/java3d/collateral
===========================================================================
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".