Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Michael P. McCutcheon
Why does this code not work? I keep getting some ugly exception about missing classes. I'm using all the jar files contained in the .tar download of M6. See below for code and error message. What .jar file am I missing? package org.mikemccutcheon.sandbox.java3d.cubeworld; import java.io.File;

[JAVA3D] need help java3d code

2003-01-07 Thread Brobbey,Isaac (neuron)
i am getting an error when i try to make two or more displays by repeatedly calling this method below: void enumKids(Group tg) { java.util.Enumeration enumKids = tg.getAllChildren(); while (enumKids.hasMoreElements()) { System.out.println("More element

Re: [JAVA3D] need help java3d code

2003-01-07 Thread John Wright
Isaac, Set your capabilities on your group BEFORE you call this (and take the capability setting out of this routine). - John Wright Starfire Research "Brobbey,Isaac (neuron)" wrote: > > i am getting an error when i try to make two or more displays by > repeatedly calling this method below: > >

Re: [JAVA3D] need help java3d code

2003-01-07 Thread Yann Lemoigne
You can't use picktool on live or compiled object. 2 solutions : 1 - Do PickTool.setCapabilities(xxx) after object creation but before adding it to your scene (and use setPickable() method to change pickability at runtime) 2 - Or Detach the BranchGroup of your object, do the PickTool.setCapabilit

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Jack Gundrum
Hi, I get the following error when running the browser, what did I forget? java.lang.NoClassDefFoundError: org/xml/sax/SAXException at org.web3d.parser.DefaultVRMLParserFactory.newVRMLReader(DefaultVRMLParserFac tory.java:74) at org.web3d.vrml.nodes.loader.DefaultWorldLoader.load

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Alan Hudson
Michael P. McCutcheon wrote: Why does this code not work? I keep getting some ugly exception about missing classes. I'm using all the jar files contained in the .tar download of M6. See below for code and error message. What .jar file am I missing? error: Exception in thread "main" java.lan

Re: [JAVA3D] Xj3D setting capabilities

2003-01-07 Thread Alan Hudson
Philip J Colbert wrote: Hi all I have been trying to use the XJ3D loader to load VRML files into a java 3D scene and I have to say I am getting more and more impressed though I have one question about the setting of capabilities. Do you mean setting Java3D capability bits. If so, we have a sys

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Alan Hudson
Jack Gundrum wrote: Hi, I get the following error when running the browser, what did I forget? java.lang.NoClassDefFoundError: org/xml/sax/SAXException at org.web3d.parser.DefaultVRMLParserFactory.newVRMLReader(DefaultVRMLParserFac tory.java:74) at org.web3d.vrml.nodes.loader.D

[JAVA3D] Java 3D on Windows 2000

2003-01-07 Thread Xuedong Din (IT)
Title: Java 3D on Windows 2000 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),

Re: [JAVA3D] need help java3d code

2003-01-07 Thread Dave Smith
On a similar note: What would be the best method of picking using node's that aren't visible? For example, I have: BG | |> Switch | |>Shape3D(A) | |>Shape3D(B) If A is visible but I want to Pick using B's geometry, would it b

[JAVA3D] Capability not set Exception

2003-01-07 Thread Brobbey,Isaac (neuron)
Dear all: i have a little trouble reading all the Children from a branch group which i created as follows: private BranchGroup scene = new BranchGroup(); scene.setCapability(BranchGroup.ALLOW_CHILDREN_READ); scene.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);

[JAVA3D] Graphic cards

2003-01-07 Thread GB Liu
Title: Network Blitz Hi Friends:   I need to install my J3D software to a laptop (I need to buy a new laptop).  As I could not find any laptop with GeForce 2 graphic card, could anyone who has a successful experience of using laptop for rendering J3D stereo images tell me what type of card is

Re: [JAVA3D] Capability not set Exception

2003-01-07 Thread Hans Horn
The scene object you set the capabilities for reading its children is not the scene object that is returned from createSceneGraph(); set the capabilities for the latter! H. - Original Message - From: "Brobbey,Isaac (neuron)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Janua

Re: [JAVA3D] Graphic cards

2003-01-07 Thread David Grace
Title: Network Blitz Hi,   I am using java3D on a Toshiba Satellite laptop running windows XP professional which has a 32 meg GeForce 2 Go graphics card, 512meg memory and a Pentium 3 1.3,  and seems to work perfectly with java3d and Sun One Studio 4. I pretty sure a version with a 64me

[JAVA3D] What is difference between Rastered image and a ColorCube

2003-01-07 Thread GB Liu
Title: Network Blitz Hi Friends:   I am trying to render an image with raster (as was suggested by Greg).  However, no matter what I did, the rastered image seems not being able to locate at the center of the screen and also it's rotating axis is lot at (x=0, y=0, z=0).  I have attached my f

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Michael P. McCutcheon
OK...now I've completely switched my loading code around to look like the browsers (see attached). It all compiles and runs, but now I can't get it to load a file at all...I keep getting the following exception at line 137: org.ietf.uri.UnsupportedServiceException: file is not supported a

[JAVA3D] Bug Report on texture loader?

2003-01-07 Thread Brad Christiansen
Hi, I may have found a bug in Java3D and have included a very simple test case. The problem is this: I create a buffered image then use the texture loader to get a texture (using the BY_REFERENCE flag). I then retrieve the BufferedImage from the ImageComponent2D and draw on it using Java2D call

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Alan Hudson
Michael P. McCutcheon wrote: OK...now I've completely switched my loading code around to look like the browsers (see attached). It all compiles and runs, but now I can't get it to load a file at all...I keep getting the following exception at line 137: org.ietf.uri.UnsupportedServiceException:

Re: [JAVA3D] Xj3D M6 Release

2003-01-07 Thread Michael P. McCutcheon
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 method of the org.web3d.x3d.ja

Re: [JAVA3D] Graphic cards

2003-01-07 Thread Olivier Heguy
Title: Network Blitz hello, i work on a dell laptop with ATI mobility Radeon 7500 on windows XP and everything is ok with j3d (directX). but I haven’t tried any stereo images . bye   Olivier Heguy Hi,   I am using java3D on a Toshiba Satellite laptop running windows XP professio

Re: [JAVA3D] Xj3D setting capabilities

2003-01-07 Thread Philip J Colbert
Hi all I have been trying to use the XJ3D loader to load VRML files into a java 3D scene and I have to say I am getting more and more impressed though I have one question about the setting of capabilities. I need to modify my VRML objects at runtime and add custom Behaviors using the Pick Tool et