Hi
I havent used geometry in J3D for a few months and I can't work out why
my polygons are rendering in a weird fashion...
Have half the polygon (a triangle) is rendering in red fine, the other
half doesn't appear!
Code;
Point3f[] pts = new Point3f[4];
pts[0] = gridPoints[from];
pts[1] =
Title: Message
I'm building a
simple visualisation tool, and I'm looking to have the ability to move the user
around the scene. Currently I'm moving the viewing platform, but it seems I need
to also change the orientation of the platform (camera) to keep it pointing
at the middle of my scene
Chris Bartlett wrote:
Other 3D systems I have used in the past had the ability to 'point' the
camera at a location so that the camera oriented itself automatically as
it was moved. Is there anything like this or do I have to work out the
orientation as well as the position of the Viewing platform?
Paul,
Without a test program, my guess is that you are seeing a lagging effect
when the state change on Behavior to the effect being taken in the
rendering.
setEnable(), like most scenegraph update methods, sends a message to the
J3D's message queue, and it will be process by the BehaviorStruct
Perhaps a cutting plane problem? Check your front/back cutting planes.
Mona
==
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/
"Circumstances do