[JAVA3D] Cannot load vrml files using VRML97Loader

2002-08-19 Thread Chia-Wei Hsu
Hi, I downloaded Xj3D-min-M5.exe from web3d.org last Friday and successfully recompiled loader.java example from examples/loader directory. I ran the program for a few vrml files. However, I could not see any 3D object from those files. The loader was org.web3d.j3d.loaders.VRML97Loader in load

Re: [JAVA3D] garbage collection problem in updating geometry info

2002-08-19 Thread 오승우\(Sengwoo Oh\)
I have no geometry with vertex colors. The current solution is maybe using -Xms option to have many heaps for gc as you wrote. ^^; Using the -Xms option, the gc is triggered very infrequently. thank you. - Original Message - From: "Artur Biesiadowski" <[EMAIL PROTECTED]> To: <[

Re: [JAVA3D] Key Event's and Behaviors

2002-08-19 Thread TF
Hey guys, Thanks so much for the help, turns out I figured it out about an hour after sending the question. I basically just started looking for methods and found the getAWTEvent(). I didn't retract the question because I wanted to see if I was doing it correctly, meaning in a manner that would us

Re: [JAVA3D] Help on the final few things please? 'nix developers feedback appreciated.

2002-08-19 Thread Sean Sylvis
the getResource() (or getResourceAsStream()) method will look for the named resource in any folders specified in your classpath. so, what i have done is put my resource folder in my classpath and any resources i'm accessing are named off of my resource folder. java.net.URL url = super.getClas

[JAVA3D] Help on the final few things please? 'nix developers feedback appreciated.

2002-08-19 Thread Chris Forrester
Hey All.. I'm almost totally done my demo http://www.geocities.com/Psionic1981 and i need pointers on a few things which others have requested: (1) File path vs. URL I want to make the game playable on 'nix boxes, and a few have suggested that a URL ("oos/...") resource is the way to go, rather

Re: [JAVA3D] Normal compression

2002-08-19 Thread Mark Hood
> Date: Mon, 19 Aug 2002 15:57:57 -0600 > From: Etienne Rossignon <[EMAIL PROTECTED]> > > I have been looking with great interest at the publication in SIGGRAPH 1995 > about compression of normal. > > Deering, Michael. "Geometry Compression." Computer Graphics Proceedings, > Annual Confere

[JAVA3D] Normal compression

2002-08-19 Thread Etienne Rossignon
I have been looking with great interest at the publication in SIGGRAPH 1995 about compression of normal. Deering, Michael. "Geometry Compression." Computer Graphics Proceedings, Annual Conference Series, 1995, ACM SIGGRAPH, pp 13-19. I have been also looking at http://java.sun.com/products/jav

Re: [JAVA3D] Bugs in OrientedShape3D w/ constantScale

2002-08-19 Thread Kelvin Chung
Hi Paul, Bug 4733554 - OrientedShape3D scale not work when set before live is filed for this. To workaround ,please set the scale after shape live. Thanks for your bug report. - Kelvin -- Java 3D Team Sun Microsystems Inc. Paul Pantera wrote: > > OK, I've found a bug and

[JAVA3D] Bugs in OrientedShape3D w/ constantScale

2002-08-19 Thread Paul Pantera
OK, I've found a bug and an RFE in OrientedShape 3D with constantScaleEnable: 1) The contructor for OrientedShape3D that takes a "scale" doesn't work correctly - it always sets the scale to 1.0. In the example program I'm setting the scale to 10, but it's getting 1 (zoom into the sph

[JAVA3D] Java 3D FAQ Weekly Posting (19 Aug 2002)

2002-08-19 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday August 19 2002 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If th

Re: [JAVA3D] garbage collection problem in updating geometry info

2002-08-19 Thread Artur Biesiadowski
ì˜¤ì ¹ìš°(Sengwoo Oh) wrote: > Garbage collection occurs if i call updateData function even though > updateData function is empty as shown in following code. Do you have geometry with vertex colors ? If yes, then you are leaking small Object[] array which java3d creates on every update. I had sa

Re: [JAVA3D] Raster Bugs?

2002-08-19 Thread Kelvin Chung
Di Pasqua, Aldo wrote: > Kelvin, > > is bug id 4732956 the same bug that we have experienced: placing the raster > at a z=640 and x=0, y=0 (real world coordinates) and with the > appropriate front/back clipping planes, the setDstOffset at any thing but > (0,0) culls out the raster. This culli

Re: [JAVA3D] garbage collection problem in updating geometry info

2002-08-19 Thread 오승우\(Sengwoo Oh\)
 Thank you for your reply.   I tested my application in Java3D 1.3 and Java 1.4 just before, but the garbage collection still occurs.   In both of only BY_REFERENCE mode and BY_REFERENCE+ NIO, garbage collection occurs. T.T   Garbage collection occurs if i call updateData function

Re: [JAVA3D] garbage collection problem in updating geometry info

2002-08-19 Thread Artur Biesiadowski
¿À½Â¿ì(Sengwoo Oh) wrote: > Hi, > > I'm developing a cloth simulation system. In this simulation, I must > update all vertice every frame. > > So, I've called 'GeometryArray.setCoordinate()' every frame. H When using by-ref, you do not use setCoordinate (more specific setCoordRefFloat). Just modi

[JAVA3D] garbage collection problem in updating geometry info

2002-08-19 Thread 오승우\(Sengwoo Oh\)
Hi,   I'm developing a cloth simulation system. In this simulation, I must update all vertice every frame.   So, I've called 'GeometryArray.setCoordinate()' every frame. However, I found that the 'setCoordinate()' occured garbage collection frequently. I checked that the garbage co

Re: [JAVA3D] Raster Bugs?

2002-08-19 Thread Di Pasqua, Aldo
Kelvin, is bug id 4732956 the same bug that we have experienced: placing the raster at a z=640 and x=0, y=0 (real world coordinates) and with the appropriate front/back clipping planes, the setDstOffset at any thing but (0,0) culls out the raster. This culling also occurs when the CLIP_IMAGE

Re: [JAVA3D] Seen GeoSim yet?

2002-08-19 Thread Eryk Furman
could you tell me a little more ... like what jdk you are using and what ver of J3D and what exactly is the error. Also are you running the jar file I made or recompiling the source? lets see if we can remedy this issue -Eryk --- Jayasree Tangirala <[EMAIL PROTECTED]> wrote: > Hi, > I tried

[JAVA3D] JAva3D & animation

2002-08-19 Thread A. Murat Tanyer
Hi; I am planning to make an animation in Java3D. My plan is first making all the objects transparent and than making them opaque gradually when their turns come. Is there a way to record this animation as a file (e.g. *.avi file) while it is running? Secondly, how can I put some control tools f

Re: [JAVA3D] Key Event's and Behaviors

2002-08-19 Thread trz
TF wrote: > I would like to know if there are any tutorials on behaviors that detail how > to execute different behaviors, or to have your own behavior do different > things when different keys are pressed or typed. If this is easy and someone > can give me some actual or psuedo code of how this i

[JAVA3D] TextureLoader Error

2002-08-19 Thread Furukawa Hiroki
I'm trying to use TextureLoader as follows: TextureLoader loader = new TextureLoader("foo.jpg", canvas); ImageComponent2D image2d = loader.getImage(); But when I call TextureLoader constructor, the following error occurs. Error loading Image foo.jpg Then, when getImage() is called, the follo