Re: [JAVA3D] Mouse Zoom does not work with PARALLEL_PROJECTION?

2003-02-13 Thread Roger Berggren
Yes there are two methods I know of that will let you perceive the zoom in a scene with parallel projection: One way is to resize your BranchGroup using a TransformGroup. The other way is to change your screen size, something like this: public void changeZoom(double scale) { Canvas3D c = vi

Re: [JAVA3D] Creating a Background with a color gradient

2003-02-13 Thread Ashwini Chougule
1.Yes,I have tried using just one color instead of using a gradient. 2.Now,I did as u suggested.: a>From the code ,removed the part to set the Normals. b>Changed the vertices to the one u suggested. It still does not work. Instead if I add the same branch group to the objRoot,I get the d

[JAVA3D] Some questions about triangulation in Java3D

2003-02-13 Thread White Morph
Hello, I read a paper: "Efficient and Reliable Triangulation of Polygons" by Martin Held. His triangulation method is called FIST (Fast Industrial-Strength Triangulation). It says: "Although “sorted” clipping of the ears generally produces nice looking triangulations, it is clear that any form of

Re: [JAVA3D] Creating a Background with a color gradient

2003-02-13 Thread Kevin Glass
I will try it as soon as I get home to a computer I can use. However, I notice you're geometry has gone back to being 1.0 in scale, instead of 0.5. Also, the Z coordinate of your geometry must be set otherwise you'll be creating your rectangle at the same spot of the view is "standing", which isn'

Re: [JAVA3D] Question about Texture

2003-02-13 Thread Lan Wu-Cavener
I don't know the answer to your question yet. Since I uses orientedShape, don't know what it looks like from behind of a texture mapped object. Hve you tried Appearance.setTransparencyAttribute(new TransparencyAttributes(TransparencyAttributes.BLENDED, 0f))? This way you will have your texture as

Re: [JAVA3D] y-up and cube env map issues

2003-02-13 Thread Kelvin Chung
Hi Justin, TextureLoader did pass Yup as one of its argument in the constructor of ImageComponent2D which will do the Y invert in J3D no matter normal texture or cube texture is used. Thanks. - Kelvin -- Java3D Team Sun Microsystems Inc. Justin Couch wrote: I'm coming across a

Re: [JAVA3D] Alarming amounts of garbage generated by picking routines

2003-02-13 Thread Kelvin Chung
Hi Rob, Here is an investigation some more investigation of this problem. (1) Bug 4740086 - Picking cause lots of GC in PickShape intersect() routine apply only to (A) PickCylinderRay (B) PickConeRay (C) PickConeSegment only.They are not recommend to use for collision detection. Recommend wo

Re: [JAVA3D] Screen Saver by Java 3D

2003-02-13 Thread Silvère Martin-Michiellot
Hi, http://kevinkelley.mystarband.net/java/sava.html#Overview http://www.cebl.auckland.ac.nz/pages/cebldisplayer.html Hi, Here is a link that could be helpfully: http://msdn.microsoft.com/library/en-us/dnjpp/html/vj6forms.asp?frame=true#vj6forms_scrnsavr This will only work with JDK 1.1.4 and you

Re: [JAVA3D] Importing Geographical Information Systems into Scene Graph

2003-02-13 Thread Silvère Martin-Michiellot
At 13:48 04/02/2003 +, you wrote: Hey folks, I am currently studying Java 3D API and I need some advice on importing lanscape data in the protocol of GIS, please reply if you have any advice or code that may do this. use the DEM loader from www.j3d.org don't use the loader from NCSA (please

[JAVA3D] pick problem after loading a new BranchGroup

2003-02-13 Thread Yi Pan
Hi, I'm developing an application to pick up individual objects in a scenegraph which is converted from a loaded VRML file. I have no difficulty for the initial pick. But after I changed the scene(reset or load another new one), there is a problem to pick. I have checked my code, and am sure tha

[JAVA3D] question on Raster operation of RenderingAttribute

2003-02-13 Thread Lan Wu-Cavener
Hi, everyone: I can not find more explaination on the Raster operation of RenderingAttribute. Could anyone help me out here? What is DST = SRC ^ DST? Thanks! Lan Lan Wu-Cavener Dept. of Landscape Architecture === To unsubsc

[JAVA3D] Eclipse applet DocumentBase

2003-02-13 Thread Shantz Family
Hopefully some Eclipse user can help me. I just switched from JBuilder7 to Eclipse and my Java3D applet builds just fine. However, the applet only runs from an html file. If I try to run it in Eclipse it can't find an input image file because it is looking in the directory C:/eclipse/workspace in

Re: [JAVA3D] pick problem after loading a new BranchGroup

2003-02-13 Thread Justin Couch
Yi Pan wrote: Hi, I'm developing an application to pick up individual objects in a scenegraph which is converted from a loaded VRML file. I have no difficulty for the initial pick. But after I changed the scene(reset or load another new one), there is a problem to pick. [snip] The errors I got

[JAVA3D]

2003-02-13 Thread Mahesh Mathur
signoff  JAVA3D-INTEREST