Re: [JAVA3D] Resizing problem

2002-07-17 Thread K.R.Karthikeyan
Hi John, Thanks for your mail. I am Using Java3D 1.2.1_04 OpenGL Version and Intel 810e Chipset Graphics Driver ( DC133) I tried with the Java3D 1.3 Version now. The same problem is there if i use Open GL Version. But if i use DirectX Version i am not getting this resize problem. But in DirectX

Re: [JAVA3D] Resizing problem

2002-07-17 Thread K.R.Karthikeyan
Hi John, Thanks for your mail. I am Using Java3D 1.2.1_04 OpenGL Version and Intel 810e Chipset Graphics Driver ( DC133) Karthik - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 8:43 PM Subject: Re: [JAVA3D] Resizing pr

Re: [JAVA3D] ClassCastException for BoundingBox

2002-07-17 Thread Raghavendra R
Hi, Thanks for the info. Does this mean that usage of typecasting BoundingBox/BoundingSphere on J3D 1.1.3 was not leading to correct results or is it just a typecast error? Raghav Paul Byrne wrote: [EMAIL PROTECTED]"> Raghav,But what you can do is BoundingSphere newBounds; if (bounds instan

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Raghavendra R
Hi,Thanks to everyone. Actually, i was trying to use the -Dj3d.sharedctx=true option for my application which consists of multiple Canvas3Ds. I still need to benchmark the performance improvements using this.RaghavJustin, http://www.j3d.org/implementation/properties.html is quite a com

Re: [JAVA3D] Performance Experience

2002-07-17 Thread Zoran Krunic
Thanks. I will try, but it will be hard since the code is very large and it's not easy to isolate standalone sample. I will break things in groups and see if I can test rebuilding the scene graph from the start to progressively complex one ... Zoran - Original Message - From: "Kelvin

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Chien Yang
Justin, http://www.j3d.org/implementation/properties.html is quite a complete list. You might want to add the following : === Multisampling Antialiasing === By default, full scene antialiasing is disabled if a multisampling pixel format (

Re: [JAVA3D] bug 4458337 - repaints do not work if double buffering is disabled

2002-07-17 Thread Scott Rutledge
Unfortuately it's not that easy. AWT components aren't double-buffered, especially the very heavy-weight Canvas3D. At 07:02 PM 7/17/2002 -0400, you wrote: The bug report implies that if I enable double buffering I can get around this issue.  The only way I know how to do this is via code.  Is ther

[JAVA3D] bug 4458337 - repaints do not work if double buffering is disabled

2002-07-17 Thread Peter Worth
The bug report implies that if I enable double buffering I can get around this issue.  The only way I know how to do this is via code.  Is there a flag in the VM that turns this on as well?   Peter   - Original Message - From: Scott Rutledge To: [EMAIL PROTECTED] Sen

Re: [JAVA3D] Applet refresh/repaint issues with Java3D beta2 release

2002-07-17 Thread Peter Worth
Thanks for the quick response.  At least I know not to take my window disappearing personally.   Peter - Original Message - From: Scott Rutledge To: [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 4:50 PM Subject: Re: [JAVA3D] Applet refresh/repaint issues wit

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Kelvin Chung
>Date: Wed, 17 Jul 2002 13:58:10 -0700 >From: Justin Couch <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Help with Alpha-only textures >To: Kelvin Chung <[EMAIL PROTECTED]> >Cc: J3D Interest List <[EMAIL PROTECTED]> >MIME-version: 1.0 >Content-transfer-encoding: 7bit >X-Accept-Language: en-us, en >Us

Re: [JAVA3D] Trouble with Link/SharedGroup - is it a Java3D bug??

2002-07-17 Thread John Wright
Joerg, H, I'll take a look at our loader code again. I know at one point we inserted EXTRA branchgroups to fix an old bug in Java 3D. - John Wright Starfire Research Joerg 'Herkules' Plewe wrote: > > Hi! > > Justed wanted to confirm that your workaround does the job although it does > not

[JAVA3D] another appearance prob. in j3d1.3

2002-07-17 Thread Lan Wu-Cavener
Hi, everyone: I have been fiddling with this problem for a while but still fail to find out the reason. I have a class Elevation to generate the ground Shape3D using IndexedTriangleStripArray without vertex color. I have tried to assign it with ground color through Appearance object. It worked fi

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Justin Couch
Kelvin Chung wrote: >Just some information which may help from OpenGL > specification for GL_ALPHA base internal format > > Replace Texture Function > > C = Cf > A = At Now that is interesting and seems counter-intuitive compared to the J3D docs, because that is

Re: [JAVA3D] Applet refresh/repaint issues with Java3D beta2 release

2002-07-17 Thread Scott Rutledge
Ah, my favourite bug. This is a Java 1.4 double-buffering bug. Add your comments to the following bug reports: http://developer.java.sun.com/developer/bugParade/bugs/4458337.html http://developer.java.sun.com/developer/bugParade/bugs/4664490.html At 04:40 PM 7/17/2002 -0400, you wrote: I have a Ja

[JAVA3D] Applet refresh/repaint issues with Java3D beta2 release

2002-07-17 Thread Peter Worth
I have a Java3D Applet that texture maps some large images, around 1MB or so per image on 4 sides of the cube.  For some reason, when you move the mouse over the Applet window, or move the scroll bar on the browser, my rendered image disappears.  If I then perform an action that forces the r

Re: [JAVA3D] Trouble with Link/SharedGroup - is it a Java3D bug??

2002-07-17 Thread Joerg 'Herkules' Plewe
Hi! Justed wanted to confirm that your workaround does the job although it does not help. My subtrees come from the starfire 3ds loader and do contain BranchGroups. Nothing to do against I think. Today I also located the bug in the database. Thx for help, - J - Original Message - From:

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Kelvin Chung
Hi Justin, Just some information which may help from OpenGL specification for GL_ALPHA base internal format Replace Texture Function C = Cf A = At Modulate Texture Function --- C = Cf A = AfAt Decal Texture Function --

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Alessandro Borges
You should put a -D before the propertie you call This way (this example only works for Java3D D3D): java.exe -Dj3d.debug=true MyJava3DApplication The -D is to set up a system propertie, not VM propertie. Specific java options can be saw typing: C:\> java -help Non standard options can be saw t

Re: [JAVA3D] Outlines for VRML

2002-07-17 Thread Giles
Jason Cheatham wrote: >Hello, > >I am using the vrml97 loader to create a scene and I want to be able to indicate to >the user selectable objects by creating a wireframe outline on them. I really >appreciate any help. > > > I'd suggest walking the J3D scenegraph looking for Shape3D nodes(or go

Re: [JAVA3D] Again VRML transparency

2002-07-17 Thread Justin Couch
David Bourgais wrote: > You said that I have to change all the Appearance nodes in my code. The > problem is that I tried to change the Appearance in the BranchGroup > containing my VRML scene and, unfortunately, it doesn't works. My VRML > scene is still opaque. What exactly are you changing? T

[JAVA3D] Outlines for VRML

2002-07-17 Thread Jason Cheatham
Hello, I am using the vrml97 loader to create a scene and I want to be able to indicate to the user selectable objects by creating a wireframe outline on them. I really appreciate any help. Jason === To unsubscribe, sen

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Justin Couch
Joachim Diepstraten wrote: > I experienced the same problem some months ago (that was still 1.3b1), I > tried even Luminance-Alpha but I couldn't figure out where the problem > was. Basically my problem I don't know if I need the BufferedImage > AlphaRaster even for non-RGBA Images or how I can

[JAVA3D] Bug Fixes in Java 3D Final Release

2002-07-17 Thread N Vaidya
Just been trying out the latest Java 3D release. Looks Great ! Thanks to all in the Java 3D Team. Bugs 4688070 and 4678251 appear to have been fixed, and renderings with OrderedGroup+Textures seem to be functioning quite well. Also, the memory leak associated with the BG detach appears to have b

Re: [JAVA3D] Performance Experience

2002-07-17 Thread Kelvin Chung
> >I am using Java 3d 1.2.1, OpenGL version; all of the quads are used to >create >solid 3d shapes, in POLYGON_FILL mode, with CULL_NONE ( I set this >for the Appearance which is then used for all shapes) - without this the >look >is terrible - colors are off and shading is incorrect. > >I calcula

Re: [JAVA3D] ClassCastException for BoundingBox

2002-07-17 Thread Paul Byrne
Raghav, But what you can do is BoundingSphere newBounds; if (bounds instanceof BoundingSphere) newBounds = (BooundingSphere)bgroup.getBounds() else newBounds = new BoundingSphere(bgroup.getBounds()); Rgds Paul >Date: Wed, 17 Jul 2002 09:49:03 -0700 >From: Chien Yang <[EMAIL PROTE

Re: [JAVA3D] ClassCastException for BoundingBox

2002-07-17 Thread Chien Yang
Raghav, You can't typecast BoundingSphere to BoundingBox. J3D 1.3 is responding correct, and it's likely that we've fixed a bug in J3D 1.1.3 with J3D 1.3. thanks, Chien Yang Java 3D Team. > Date: Wed, 17 Jul 2002 09:49:13 +0530 > From: Raghavendra R <[EMAIL PROTECTED]> >

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Justin Couch
Raghavendra R wrote: > Thanks a lot.I was able to look into this url. But J3d.org mentions that > this list may not be complete. Isn't there a complete properties list > (Sun ?) for j3d as well as for all "D" options in java VM? Not that I am aware of. I normally keep the list up to date based o

Re: [JAVA3D] Resizing problem

2002-07-17 Thread John Wright
Karthik, It's very likely a bug in the video driver. What video card are you using and what version of the driver? OpenGL or DirectX (and which version). - John Wright Starfire Research > "K.R.Karthikeyan" wrote: > > Hi, > > If i resize my canvas3D my application crashes and i get the followi

[JAVA3D] Resizing problem

2002-07-17 Thread K.R.Karthikeyan
Hi,   If i resize my canvas3D my application crashes and i get the following exception This problem comes only in Win98. It works fine in Win2K.   Thanks in Advance.   Karthik.     An unexpected exception has been detected in native code outside the VM.Unexpected Signal : EXCEPTION_ACCESS_VIO

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Raghavendra R
Hi, Thanks a lot.I was able to look into this url. But J3d.org mentions that this list may not be complete. Isn't there a complete properties list (Sun ?) for j3d as well as for all "D" options in java VM? Raghav Jack Gundrum wrote: > http://www.j3d.org/implementation/properties.html > > At 05

Re: [JAVA3D] Java command line options for J3D

2002-07-17 Thread Jack Gundrum
http://www.j3d.org/implementation/properties.html At 05:31 PM 7/17/2002 +0530, Raghavendra R wrote: >Hi, > >Where can i get all the command line options for J3D for running Java >VM? ie, "java -j3d.debug prg" etc? > >Thanks >Raghav > >==

[JAVA3D] Java3D ConeSound.

2002-07-17 Thread Eric J. Peters
Hi- Has anyone had successes with Java3D's ConeSound when using the front and back distance attenuation? Any use of setDistanceGain leaves me with inappropriate sound behavior in my app, most often with no sound at all. Also, the default ConeSound seems to have an odd distance gain beha

[JAVA3D] Java command line options for J3D

2002-07-17 Thread Raghavendra R
Hi, Where can i get all the command line options for J3D for running Java VM? ie, "java -j3d.debug prg" etc? Thanks Raghav === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff

[JAVA3D] Again VRML transparency

2002-07-17 Thread David Bourgais
Hi ! Thanks for your answers. But, I can't still make my vrml scene transparent. You said that I have to change all the Appearance nodes in my code. The problem is that I tried to change the Appearance in the BranchGroup containing my VRML scene and, unfortunately, it doesn't works. My VRML scene

[JAVA3D] wgl DLL init error

2002-07-17 Thread R CM
hi all, some time a error occur when i run my application It' s maybe a Ogl error not a j3D error but I'm not sure. the output : wgl CreateContext failed : a init method of a DLL failed the only solution to solve this problem when it occur , it's to reboot my machine... any other idea? maybe som

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Joachim Diepstraten
Hi Justin > I'm trying to develop a texture-based solution for the VRML Text node. > To do this, I'm creating alpha-only textures to act as a "stencil" over > the geometry as the spec requires that the text be both lit with > material colours and textured (including possibly multi-texturing). > W