White Morph wrote:
Sean,

I tried your code in both cases, it works. I didn't see any problem. One
thing is: " vView.setSceneAntialiasingEnable(true); " makes even this simplest program very slow.

If your graphics card does not support multisampling, Java3D OpenGL
version will emulate it using 8 passes in accumulation buffer and
it is very slow. This is true before Java3D v1.3 release even
if your graphics card support multisampling.

This bug 4366511 - OGL: Multisampling does not support under windows for
fullscene antialiasing

is fixed with the release of Java3D v1.3.

Under DirectX version of Java3D, if the underlying library
support multisampling (either the driver emulate it or not)
we will use it, otherwise antialiasing enable is ignored.
In case the driver report multisamping support but the hardware
doesn't, it is up to the driver to implement it by software
so it might slow.

I have a similar question about using BY_REFERENCE, I don't know if you had
experience with it. My question is: Suppose I have a single array of
vertices, and multiple Shape3D objects using Indexed geometryArrays, they
also have BY_REFERENCE vertex format. Each Shape3D object will refer to the
single array of vertices, but they may have different set of vertex indices array. In this case, if I change the coodinates of one vertex in one shape,
if this vertex is shared by other shapes, I suppose all those shapes will
change their geometry shape too, but it seems to me, they don't.  I am not
sure if that's the way Java3D actually behaves or not.

Make sure GeometryArray

public void updateData(GeometryUpdater updater)

is invoked for all Geometries that share this vertex buffer.


- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.

===========================================================================
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