Re: [JAVA3D] OrderedGroup under SharedGroup

2004-03-16 Thread N. Vaidya
I looked at the testcases under 4900656, and I suspect one of the the common themes to be TransformGroups under an OrderedGroup. In my case, I don't have any TGs under the OrderedGroup, and all of my OrderedGroups do work fine until I introduce a SharedGroup a couple of levels above the OrderedGrou

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread Florin Herinean
There is a flag in the PolygonAttributes to flip the normals if the transform contains a reflection. However, that one works only with the opengl version, and not with the directx version of j3d. Cheers, Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTE

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread N. Vaidya
Well, I have both CULL_NONE and normalflip always set to true since I need to see 2 lit sides always. And the problem is that setting backFaceNormalFlip to true kills both front and back lighting on the reflected geometry. Setting the flip flag to false, produces correct front side lighting, but th

[JAVA3D] [ANNOUNCE] Jun for Java (Jun441)

2004-03-16 Thread Yoshiyuki NISHINAKA
We have released a new version, 441, of "Jun for Java". The major changes since the version 431 includes: * JunOpenGLFluxModel is updated to Jun490 and can generate images and/or movie. * Support multi languages. Window titles, menu labels, dialog messages are displayed in

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread Florin Herinean
What I'm doing in my program, is to detect if the transform contains a reflection or a non-homogeneous scaling, and if yes, I'm duplicating the branch below it and manually flip and rescale all the normals so that after applying the transform they will point to the correct direction and have the le

Re: [JAVA3D] Refelction Transform & Lighting

2004-03-16 Thread N. Vaidya
The problem with reflection appears to be that the CCW winding and the *transformed* normal direction are inconsistent, unlike the case of rotation. Consider, for example, a quad that is on the -ve xy plane and rotated 180 deg. about the y-axis. The result, coordinate wise, should be identical to r

[JAVA3D] mixed-mode and viewing transformation?

2004-03-16 Thread Rick Brownrigg
Hi folks, Does anyone out there understand the view transfomation mechanics/policy when rendering in mixed mode? I have a mixed-mode app. My drawing method gets called by Canvas3D's "postRender()" method. I get the GraphicsContext3D from the Canvas3D, and I draw a Shape3D that I believe is sized