Re: [JAVA3D] Xj3D setting capabilities

2003-01-08 Thread Philip J Colbert
Alan Thanks for the tips. I had seen the setCapabilityRequiredMap field on the Javadoc for the VRML97Loader and thought I bet it has something to do with this field! The problem is I am a little naive as to how to go about implementing this if you could post a couple of links as to where to see e

Re: [JAVA3D] Xj3D setting capabilities

2003-01-08 Thread Justin Couch
My brain is fried right now, so I'll just answer the simple stuff :) Philip J Colbert wrote: As for XJ3D my colleague and I have considered looking more into XJ3D but neither of us have any experience with XML and are nervous of undertaking the learning of XJ3D. Again if you could point me in t

Re: [JAVA3D] Xj3D M6 Release

2003-01-08 Thread Justin Couch
Michael P. McCutcheon wrote: The DOCTYPE was taken directly out of the documentation for the startDTD method of the org.web3d.x3d.jaxp.X3DSAVAdapter class. So I can't figure out why it keeps bombing out. The spec is slightly different to the documentation in that it has moved on a fraction sin

Re: [JAVA3D] Xj3D setting capabilities

2003-01-08 Thread Philip J Colbert
Thanks Justin I personally don't have any experience with VRML as I have only been out of Uni a year and have mainly focused on Java. Looking at Java3D for about 5 months now! My colleague is quite good with VRML and may well look into using XJ3D but for the project brief we have We will still n

Re: [JAVA3D] Capability not set Exception

2003-01-08 Thread greg baboolal
Your sample code is not very clear (i think) as you define " scene = new BranchGroup() " and then set it's capabilities; however you the declare " scene = createSceneGraph(vis) " which is calling another initialization method - unless you are also the setting the capabilities as well within the cre

Re: [JAVA3D] Graphic cards

2003-01-08 Thread Alessandro Borges
Title: Network Blitz Runaway of S3 Savage, doesnot matter the model. This card is only OpenGL 1.1(old old) and DirectX 5.0(old old old). And the last video drivers were made in 1999 !!!   Alessandro - Original Message - From: GB Liu To: [EMAIL PROTECTED] Sent: Tu

[JAVA3D] Java 3D release complication.....

2003-01-08 Thread Robert Lemke - CA Mngd Services
Hello Guys, I've just loaded Java 3D and J21.4.1_01, and have encountered a problem. When running a 3D program, the DOS output (between lines) reads as follows: __ *** ERROR: Canvas3D constructed with a null GraphicsConfiguratio

[JAVA3D] IndexedGeometryArray and length of color array when using USE_COORD_INDEX_ONLY

2003-01-08 Thread Elisabeth Thorsen
Hi, I am trying to use an IndexedTriangleArrray but run into a problem when I try to use the setColors method. IndexedTriangleArray(verticeLength,GeometryArray.COORDINATES | GeometryArray.USE_COORD_INDEX_ONLY | GeometryArray.COLOR_3, indexLength); When I use the setColors(0,color

Re: [JAVA3D] Java 3D release complication.....

2003-01-08 Thread Joerg 'Herkules' Plewe
> I've just loaded Java 3D and J21.4.1_01, and have encountered a problem. > > When running a 3D program, the DOS output (between lines) reads as follows: > > __ > *** ERROR: Canvas3D constructed with a null GraphicsConfiguration >

Re: [JAVA3D] Java 3D release complication.....

2003-01-08 Thread Hans Horn
Your Canvas3D was probably constructed with null as argument. I do not know at which J3D release this went out of fashion. Today you pass in com.sun.j3d.utils.universe.SimpleUniverse.getPreferredConfiguration() instead. You also may want to browse the Java3D demo examples for this. H. ===

Re: [JAVA3D] Xj3D M6 Release

2003-01-08 Thread Michael P. McCutcheon
I've tried all of the ones you listed...but it still keeps getting the same error. Here are the ones I tried: http://www.web3d.org/specification/x3d/x3d-3_0.dtd";> http://www.web3d.org/specification/x3d/x3d-3_0.dtd";> http://www.web3d.org/specification/x3d/x3d-3_0.dtd";> http://www.web3d.org/s

[JAVA3D] Réf. : Re: [JAVA3D] Xj3D M6 Release

2003-01-08 Thread Jacky Rymasz
I tried this XML file: http://www.web3d.org/specification/x3d-30.dtd";> Does work either. I also have the "The SYSTEM ID provided is wrong" Exception Michael, I tried to locate the DTD at "http://www.web3d.org/specif

Re: [JAVA3D] Xj3D M6 Release

2003-01-08 Thread Alan Hudson
Michael P. McCutcheon wrote: Yes...you were correct...it was a problem with my classpath. (I have fixed it)...BUT, Now I'm having different problems...it keeps saying that my PUBLIC ID is incorrect. See attached x3d file. The DOCTYPE was taken directly out of the documentation for the startDTD

[JAVA3D] Multiple Parent Exception:

2003-01-08 Thread Brobbey,Isaac (neuron)
Dear All: i have a branch Group with three children. All the children are also branch Groups which also contains 3D graphs like; BranchGroup createSceneGraph(Vector hix) { BranchGroup objRoot = new BranchGroup(); objRoot.setCapability(BranchGroup.ALLOW_DETACH); objRoot

Re: [JAVA3D] Java 3D on Windows 2000

2003-01-08 Thread Kelvin Chung
Xuedong Din (IT) wrote: Hi, there, After I installed JDK 1.4.1 and Java 3D 1.3 (OpenGL version) on my Windows 2000 Professional IBM ThinkPad, I can run all the programs and see all the objects in the demo directory {jdk home}\demo\java3d. Then I uninstalled Java 3D (OpenGL version), and reinsta

Re: [JAVA3D] Java 3D release complication.....

2003-01-08 Thread Kelvin Chung
Robert Lemke - CA Mngd Services wrote: Hello Guys, I've just loaded Java 3D and J21.4.1_01, and have encountered a problem. When running a 3D program, the DOS output (between lines) reads as follows: __ *** ERROR: Canvas3D con

Re: [JAVA3D] IndexedGeometryArray and length of color array when using USE_COORD_INDEX_ONLY

2003-01-08 Thread Kelvin Chung
Elisabeth Thorsen wrote: Hi, I am trying to use an IndexedTriangleArrray but run into a problem when I try to use the setColors method. IndexedTriangleArray(verticeLength,GeometryArray.COORDINATES | GeometryArray.USE_COORD_INDEX_ONLY | GeometryArray.COLOR_3, indexLength); When I

Re: [JAVA3D] Availability of Java 3D 1.3.1 beta

2003-01-08 Thread Kelvin Chung
Raghavendra R wrote: Hi Kelvin, Thanks for the information. When will the production version of Java3D 1.3.1 be available? Raghav Tentatively before this Summer. So if anyone found bug in v1.3.1 beta1 please send us test case ASAP before the final release. So far we havan't got complain tha

Re: [JAVA3D] Multiple Parent Exception:

2003-01-08 Thread Brandon
--- "Brobbey,Isaac (neuron)" <[EMAIL PROTECTED]> wrote: > Dear All: > > i have a branch Group with three children. All the > children are also branch > Groups which also contains 3D graphs like; > > BranchGroup createSceneGraph(Vector hix) > { > BranchGroup objRoot = new BranchGroup();

Re: [JAVA3D] Availability of Java 3D 1.3.1 beta

2003-01-08 Thread Alessandro Borges
> So if anyone found bug in v1.3.1 beta1 please send us test case ASAP > before the final release. > - Kelvin Kelvin, I am working on some TextureCubeMap demos, and on my GForce2MX I found the following issues: * OpenGL: The textures looks highly distorced, but with DirectX runs beatifully; * bu

Re: [JAVA3D] Availability of Java 3D 1.3.1 beta

2003-01-08 Thread Kelvin Chung
Alessandro Borges wrote: So if anyone found bug in v1.3.1 beta1 please send us test case ASAP before the final release. - Kelvin Kelvin, I am working on some TextureCubeMap demos, and on my GForce2MX I found the following issues: * OpenGL: The textures looks highly distorced, but with Direct

[JAVA3D] Lighting partially working

2003-01-08 Thread Mona Wong-Barnum
Hi: In my program, lighting works when I use the Sphere but doesn't work when I use GeometryInfo. Please see attached images for examples. I am using 1.3. I use the same appearance and lighting setup code for both types. Here are some code: [...] // Setup lightin

[JAVA3D] Again: Why different between Rastered image and a ColorCube

2003-01-08 Thread GB Liu
Title: Network Blitz Hi Friends:   I need urgent help in solving this problem so I put this letter here again.    I am trying to render an image with raster.  However, the image seems not being able to locate at the center of the screen and also it's rotating axis is not at at origin (x=0, y

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Brandon
I'm not sure what your direct cause is. To increase memory look at http://www.j3d.org/faq/running.html#memory I have a question, though, why are you using a for and a switch to execute your commands? Just execute the commands directly sequentially, since that is what is going to happen anyway... I

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Hans Horn
Isaac, I'd guess that the memory hog is buried in the not shown method makeOneGraph(). That's where I would start digging if Mona's suggestion about upping the memory you give to the JVM at startup does'nt cut it. All the code you have shown us, does not seem to be relevant for the problem to oc

[JAVA3D] CubeMapTexture issues

2003-01-08 Thread Alessandro borges
Hi, Kelvin. Below is the link to a page about my experiences with cube map texturing. I could not run in OpenGL, but runs fine in DirectX, but DirectX gives a strange line in the botton of the textures (?). But it is a amazing feature ! very impressive and not so hard to build. http://www.cpm20

Re: [JAVA3D] CubeMapTexture issues

2003-01-08 Thread Kelvin Chung
Alessandro borges wrote: Hi, Kelvin. Below is the link to a page about my experiences with cube map texturing. I could not run in OpenGL, but runs fine in DirectX, but DirectX gives a strange line in the botton of the textures (?). But it is a amazing feature ! very impressive and not so hard t

Re: [JAVA3D] Xj3D M6 Release

2003-01-08 Thread Michael P. McCutcheon
Well, we're at least we're getting closer :) It seems that the DTD being pointed to is not valid. Now I'm getting the following error with the file you gave me: Fatal Error: URI=http://www.web3d.org/specification/x3d/x3d-3.0.dtd Line=1: The markup declarations contained or pointed to by the docu

[JAVA3D] Out of Memory error

2003-01-08 Thread Brobbey,Isaac (neuron)
Dear all: i am in trouble with java3D again. i have created a branch group with six children.each of the children is also a branch group containing a scene to be displayed, something like scene = createSceneGraph(vis); scene.compile(); pickCanvas = new PickCanvas(canvas, scene);

Re: [JAVA3D] Out of Memory error

2003-01-08 Thread Mona Wong-Barnum
> Exception in thread "main" java.lang.OutOfMemoryError You need to give it more memory. Try: java -mx128M ... Cheers, Mona == Mona Wong-Barnum National Center for Microscopy and Imaging Research University of Cali