Re: [JAVA3D] animation

2000-11-08 Thread Carl Smotricz
Chu, my other post partially answers your question. I'd just like to add some more clarification. I have a 133 Mhz Pentium, and due to a bad choice of graphics cards it's limited to software-only rendering. I can only achieve frame rates of 1 to 2 frames per second! I'm telling you this so you k

Re: [JAVA3D] Canvas3d redraw

2000-11-08 Thread Carl Smotricz
Hello Chu, If I understand your intent correctly, you're going to far more effort than necessary. The Java3D engine is continually updating the canvas, especially when you change something, so there's no need to explicitly ask for an update. If you want to change the position of something, remo

[JAVA3D] animation

2000-11-08 Thread Chu J Tan
Just a add on question to my last question... I'm writing an app that simulates some kind of path generation and velocity control... >From my opinion the easiest way to do it is to regenerate the whole branch group constantly, about 5-10 times per second and constantly redraw the canvas to simul

Re: [JAVA3D] Problem with Box.cloneNode(true)

2000-11-08 Thread Kelvin Chung
Hi Veasna, The brachgraph create in utility Box (in v1.2) is Group (Box) | TG / | \ Body Top bottom Attach is a simple example that clone Box/Cone modify from HelloUniverse. It didn't show the problem. It seems that your code detach TG from Group before calling

[JAVA3D] Canvas3d redraw

2000-11-08 Thread Chu J Tan
I'm very new at Java3d.. What's the way to go about updating branchgroups and redrawing canvas? I've a couple of sliders that sets the position of couple of objects in 3d and user need to click redraw button to redraw the canvas3d. This is my attempt, I've very little concept of Locale and Simp

[JAVA3D] Problem with Box.cloneNode(true)

2000-11-08 Thread HENG,VEASNA (HP-Corvallis,ex1)
Hello Java 3D Team: I am hoping someone out there or the Java 3D Team can help me with the following problem: I am using JDK 1.3 and Java 3D 1.2 to implement a Java 3D program. When I try to clone a Box primitive node, I got the following exception: Exception occurred during event dispatching:

Re: [JAVA3D] GeometryArray byReference test codes.

2000-11-08 Thread Kelvin Chung
Hi Sameer, Bug 4387382 - ArrayIndexOutOfBoundsException when GeometryStripArray unIndexify is submitted for the first two problems for investigation which both throws Exception in the same place: For the last problem, this bug 4340598 - Morph did not work after setGeometryArrays() in

Re: [JAVA3D] Multi-texture bug in 1.2.1beta1 OpenGL and DirectX

2000-11-08 Thread Young Ly
Has the 1.2.1beta1 been released officially? I had a quick look on the site but didn't see it. Regards Young. :: Young Ly Liquid Edge Games http://www.roboforge.com :: =

[JAVA3D] Geometry Compression to an OutputStream instead of a RandomAccessFile.

2000-11-08 Thread Adam Tegen
Hello- I'm trying to figure out if there is a way to write Compressed Geometry to an OutputStream instead of a RandomAccessFile. If anyone is interested, here is the code I am using: //- public static void Write(String filename, GeometryInfo geomInfo) throws java.lang.Exception {

Re: [JAVA3D] Running J3D Application, not applet

2000-11-08 Thread Bob Gray
Title: RE: [JAVA3D] Running J3D Application, not applet Mark, Bunning it by g:\jdk1.3\jre\bin\java.exe AppRoot worked! Thanks bery much. Bob Gray -Original Message- From: Mark Ferneau [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 08, 2000 5:15 PM To: [EMAIL PROTECTED] Su

Re: [JAVA3D] Running J3D Application, not applet

2000-11-08 Thread Mark Ferneau
Bob, You'll also have to ensure that j3d.dll and j3daudio.dll are in the location where your java.exe is found. Java3D is not simply a set of jar files. It needs access to native machine functions and therefore the DLLs must be properly placed. I'm not sure if any additional registry settings

[JAVA3D] Running J3D Application, not applet

2000-11-08 Thread Bob Gray
Title: RE: [JAVA3D] program installation - Step by step instructions I wrote an applet.  Then I added a class to write to a file.  I don't want to mess with security issues, so I thought I'd just run it as an application.  But I am getting the following error:   G:\BOBSTUFF\3dProject\nch2>java A

Re: [JAVA3D] VrmlLoader and VisualAge for Java

2000-11-08 Thread Andreas Ebbert
Hi, i cannot believe I am the only one who uses Visual Age for Java with Java3D, am I? If so then maybe I should write how to import the classes for the java-faq *lol* - I will gladly do this after my diploma is finished. Because now I cannot remember 100% sure how I did it (I partly included the

Re: [JAVA3D] program installation - Step by step instructions

2000-11-08 Thread J. Lee Dixon
-- =_NextPart_001_01C049BB.4A02C482 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable What are the details of the sphereAppearance you created?=A0 Did you enable lighting?=A0 If so, did you put a light in the scene?=A0 Colors = from lighting ar

[JAVA3D] Shpere lighting

2000-11-08 Thread Bob Gray
Title: RE: [JAVA3D] program installation - Step by step instructions (Sorry for the Subject mis-label in previous note)   The problem turned out to be the direction of the DirectionalLight I added to track with my ViewPlatform.   I move the light to the view platform location and then set the li

Re: [JAVA3D] program installation - Step by step instructions

2000-11-08 Thread John Wright
Bob, Double check that you have lights and that they are properly lighting the sphere in question (ie make sure the light's influencing bounds are big enough). Of course this also depends on what kind of an appearance you've given the sphere. - John Wright Starfire Research > Bob Gray wrote: >

Re: [JAVA3D] program installation - Step by step instructions

2000-11-08 Thread Bob Gray
Title: RE: [JAVA3D] program installation - Step by step instructions I am using the Sphere util. class to create spheres.     Sphere S1 = new Sphere(sphereRadius);     S1.setCapability(Sphere.ENABLE_APPEARANCE_MODIFY);     S1.setAppearance(sphereAppearance);     TG1.addChild(S1);     BG.ad

Re: [JAVA3D] performer loader

2000-11-08 Thread Stokkermans, Bart
The star object I referred to, has the extension ".star" . But the object itself , "3010.star" happens to render stars (in the sky). Does anyone know an object with java3d-loader that renders these stars? greetings, bart -Original Message- From: J. Lee Dixon [mailto:[EMAIL PROTECTED]] Se

[JAVA3D] updating data in GeometryArray

2000-11-08 Thread Dipl. Ing. Paul Szawlowski
Hi everybody ! 1) Do I have to use the updataData method if I use the setCoordinate, setCoordinates, setColor, setColors, ... methods ? 2) use by reference: It is possible that several GeometryArray objects share a single reference array. I suppose that the updateData method must be called for e

Re: [JAVA3D] setValidVertexCount

2000-11-08 Thread Dipl. Ing. Paul Szawlowski
I' ve just a question about how setValidVertexCount( ) works in IndexedGeometryArray class. The documentation says: Sets the valid vertex count for this GeometryArray object. This count specifies the number of vertices actually used in rendering or other operations such as picking and collisi

[JAVA3D] How to specify rotation pivot about a cylinder?

2000-11-08 Thread Siau Tan Long
How to specify rotation pivot about a cylinder? Suppose I wanted to rotate the cylinder about its pivot point. I am trying to make a robot arm. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ==

[JAVA3D] GeometryArray byReference test codes.

2000-11-08 Thread Sameer Pokarna
Codes attached. Hi, I am using Java3d 1.2 and JDK 1.3 I am trying to use byReference flag of GeometryArray. I have a couple of problems to report: - If I comment the line itsArray.setNormalRef3f (...) in GeometryHelper class, I get an exception. The main method is in IndexTest.java - If I use