[JAVA3D] How to make a moving object leave a trail?

2001-10-06 Thread Michael P. McCutcheon
I've got a cube that flys around my with a splineinterpolator.  Now I'm trying to figure out what is the best way to implement a "trail" behind it.  So far, I've experimented with adding cubes after each processStimulus of the interpolator...that is, get the current position, move a cube (1

Re: [JAVA3D] How create a Mesh or Grid

2001-10-06 Thread Todd J.
Manish, If you want to "show" a grid on top of your object, then you can do that by drawing the grid in a BufferedImage and applying it as a texture to your object. If you actually want to divide the geometry of your polygon into separate grid objects, then you'll need to create many Shape3D's (

[JAVA3D] How create a Mesh or Grid

2001-10-06 Thread Manish
Hi, I want create a Grid inside my object , eg my object is a polygon and I want to divide my polygon in to grid. Also I want to draw perpendicular lines from the points of intesection of grid lines. I have been struggling to make it work. Actually I'm very new to programming. It makes my task mo

Re: [JAVA3D] This doesn't work quite right...

2001-10-06 Thread Nikolaos Abatzis
John this code works for me. I.e. positioning a cylinder (bond) between two endpoints (atoms). Many, many, many thanks to the folks at Tripod from whose examples this code is for the greater part taken! Hope it helps you. Cheers. public BondEntry(Point3f startAtom, Point3f endAtom, float r,