Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   show object trace in Java3D? (http://www.velocityreviews.com/forums/t484576-show-object-trace-in-java3d.html)

Kevin 03-15-2007 05:11 PM

show object trace in Java3D?
 
Hello,

Does anyone know how to do this in Java 3D:

suppose there is a ball bouncing around in the Java 3D world.

How to show the trace of this ball in this Java 3D world as well?
(suppose we need to show the trace up to last 10 seconds)

What I mean is, suppose "O" is the ball. Without trace, if the ball
moves from position A to B, it looks like:

Pos A Pos B
O

With trace, it looks like:
Pos A Pos B
_______________________
_______________________O

where "_______" stays in the 3D world like a trace / shadow.
_______

Hope I get my question clear. :-)

The only way I can think of is, as the ball moves, we create many
exactly the same ball ojects and put them in the 3D world along the
path the ball moves. But this sounds not efficient.

Thanks a lot.



All times are GMT. The time now is 11:54 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57