[JAVA3D] Gouraud shading problem

2000-11-17 Thread James Robertson
I'm new to shading and can't get Gouraud shading to work with a TriangleArray. I've added lighting, have set default ColoringAttributes and Material in the Appearance, and have enabled and set coordinates and normals in the geometry. I'm still getting flat shaded triangles. Other than this lack of

Re: [JAVA3D] Removing Object from Scene Graph

2000-11-17 Thread Kelvin Chung
Hi Daniel, >MIME-Version: 1.0 >Date: Fri, 17 Nov 2000 12:41:00 -0500 >From: "Dvorak, Daniel J." <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Removing Object from Scene Graph >To: [EMAIL PROTECTED] > >Doesn't the VirtualUniverse.removeAllLocales() remove the view side of the >SU as well? Then I've

Re: [JAVA3D] Volume visualization

2000-11-17 Thread Kevin Copps
Take a look at this: http://www.j3d.org/tutorials/quick_fix/volume.html === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif as texture fails

2000-11-17 Thread Mark Ferneau
Tom, I've only had success using PNG format with an alpha channel for transparency. Note that my experiences are only based on the Win x86 platform. Apparently SGI .RGB format should work but it doesn't appear to on this platform. --Mark At 11:30 AM 11/17/2000 -0500, you wrote: >If I use a tr

Re: [JAVA3D] setValidVertexCount again

2000-11-17 Thread Kenneth Gordon
VERY good summation!! I posted something here a couple weeks ago, asking basically the exact same question. Since this seems to be a popular issue, I'd like to add my vote to PLEASE get this fixed as soon as possible!! In the short term, while we wait breathlessly for 1.3 to come out, does any

[JAVA3D] negative scaling and normals

2000-11-17 Thread Jose L. Hernandez
Hi, I'm doing a command to flip an object scaling it by -1.0 in the axis selected by the user. (I attach the shape3d to a transformGroup and set the transform there). My problem is that java3d scales correctly the geometry, but ignore the normals and I get my object with all the normals pointing

Re: [JAVA3D] Removing Object from Scene Graph

2000-11-17 Thread Dvorak, Daniel J.
Doesn't the VirtualUniverse.removeAllLocales() remove the view side of the SU as well? Then I've got to go about rebuilding it line by line? Is there a way just to remove all the content side of the scene graph with just one line? right now I'm using the following: Enumeration allBGs

Re: [JAVA3D] Removing Object from Scene Graph

2000-11-17 Thread Kelvin Chung
Hi Ingo, Using SimpleUniverse.getLocale().replaceBranchGraph() may have memory leak due to bug 4387385 which should be fixed by beta2. removeAllLocales() should be used right now to workaround this if possible. You should all add removeAllLocales() to all applet destroy method public void

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif as texture fails

2000-11-17 Thread J. Lee Dixon
You need to enable blending... TransparencyAttributes transp = new TransparencyAttributes(); transp.setTransparencyMode(TransparencyAttributes.BLENDED); appearance.setTransparencyAttributes(transp); // workaround for bug... default RenderAttr appearance.setRenderingA

[JAVA3D] java3d1.2.1beta1 - transparent gif as texture fails

2000-11-17 Thread Tom Nelson
If I use a transparent gif as a texture (for example, in demos/java3d/TextureTest/MultiTextureTest.java) the object appears solid black. A non-transparent gif works fine. Is there something new we have to set for textures with transparency? Thanks, Tom Nelson

Re: [JAVA3D] customization of events and wakeup criterions

2000-11-17 Thread Dipl. Ing. Paul Szawlowski
If i understand it right there is an object in the scenery which is used to mark the viewplatform of the first canvas. Now if you change the position of the viewplatform, this object moves as well (=scenery changes). Since the second canvas is rendering the same scenery (just from a different view

Re: [JAVA3D] Removing Object from Scene Graph

2000-11-17 Thread Ingo Brunberg
Hi Kelvin and the other guys at Sun, I did not want to attack you. I am quite happy that there is such a fantastic thing like Java 3D, just wanted to express my disappointment after testing the 1.2.1b1 concerning the memory problems. I must admit, that I'm currently not calling VirtualUniverse.re

[JAVA3D] Specialists wanted in Germany!

2000-11-17 Thread Christian Hagenau
Hello Java3D-fans, we're are looking for software-developers (Java, Java3D, VRML, OpenGL) in germany; this means professionals as well as students experienced in development!. I'm talking about full-time-jobs in a serious company, so if you're interested take a look at www.virtualart.de or www.

Re: [JAVA3D] How to make a 3D prototype out of 2D picture?

2000-11-17 Thread Dipl. Ing. Paul Szawlowski
Just my 2c to this: A much simpler problem is, if you take only pictures of rotation symetric objects and using sweeping for reconstruction. Check http://www.eyetronics. com They use the following technique for 3D scanning: A grid is projected on the object. If you take pictures of the object f

Re: [JAVA3D] Volume visualization

2000-11-17 Thread Dipl. Ing. Paul Szawlowski
Hi I just tried this application. There will be an exception when you recompile the code. To avoid this change line113 in class Texture2DVolume from: colorModel = new ComponentColorModel(cs, nBits, false, false, 0, 0); to colorModel = new ComponentColorModel(cs, nBits, false, false, ComponentColo

[JAVA3D] customization of events and wakeup criterions

2000-11-17 Thread Karsten Fries
Hi there, imagine you have two canvases running on one virtual machine and you are supposed to do interactions in between the two - example the second visualizes the viewing platform change of the first. What would you do? I started like this: * define a new WakeupCriterion called WakeupOnExter