Re: [JAVA3D] MD2Viewer...

2001-09-10 Thread John Pallister
Very cool. It worked well on my system (dual Celeron 400, 256MB RAM, GeForce II GTS [hacked to look like a Quadro Pro], JDK 1.3.1, Java3D 1.2_01, Netscape 4.75). I let it run for several minutes, without any problems. The Java Plug-In console said "Memory: 46544K Free: 22502K (48%) ... completed

Re: [JAVA3D] MD2Viewer...

2001-09-10 Thread Daniel Selman
Leyland,   That is a great looking example! It ran extremely well on my GeForce II, the only thing I noticed was that at the end of the animation (?) the model gets clipped and then looks like it is squashed down to a vertical line before it disappears. Was this intentional? It looks like qu

Re: [JAVA3D] Texture problem for newbe

2001-09-10 Thread Adrian Meekings
Ok just in case anyone else in the future gets this problem The solution is An imported Shape3D object does not necessarily have a TexCoordGeneration object. therefore no textures get placed on the object. Never ASSUME anything. Im learning Why arnt Shape3D objects always made with default Tex

Re: [JAVA3D] should we use the com.sun.j3d.* classes?

2001-09-10 Thread Michael P. McCutcheon
Many thanks for the answer. I did not realize that there was a difference between the com.sun.* classes and the sun.* classes. Is this in a faq that I missed? This is good news :) Thanks, Michael P. McCutcheon - Original Message - From: "Doug Gehringer" <[EMAIL PROTECTED]> To: <[EMA

[JAVA3D] MD2Viewer...

2001-09-10 Thread Leyland
I'm testing an MD2Viewer, I plan to release the source code to the viewer and loader after I do some cleaning up. (page+applet+model+texture = 287KB)   http://66.12.67.158/java/MD2Viewer/dragon_ogre.html   Currently it seems it has a problem with memory and normals. The memory problem ive pos

Re: [JAVA3D] processStimulus is not getting called..

2001-09-10 Thread Kelvin Chung
Hi Rahul, I've modify an example program to detach/attach a custom behavior. However the bug can't be reproduced using it. Can you please examine the test program and modify it to simulate the action that your program perform so that the bug appear ? Thanks. - Kelvin Java 3D Tea

Re: [JAVA3D] processStimulus is not getting called..

2001-09-10 Thread Rahul Choudhury
Kelvin: Thanks for the prompt reply. >Which version of Java3D are you using ? We are using Java 3D 1.2.1_03 and the JavaTM 2 Platform, Standard Edition v1.3.1_01 >What wakeup criteria are use in the custom behavior ? Here is a code snippet. criterion = new WakeupCriterion[7]; criterion[0

Re: [JAVA3D] Jbuilder 4 and Archive Builder

2001-09-10 Thread Guang Bin Liu
When similiar situation happened on my PC, I solved the problem by installing JRE, Java3D and OpenGL (or DirectX depending on the Java3D version) to the machine where my *.jar file runs. Hope this helps, Guang Bin Liu VTHRC Univ. of Queensland Brisbane, Australia Phone: 61 7 3365 4072 Fax: 61

Re: [JAVA3D] Can I use a Stripifier and still access geometry by reference?

2001-09-10 Thread Paul Pantera
> From: "John F. DeGeorge" <[EMAIL PROTECTED]> > Subject: [JAVA3D] Can I use a Stripifier and still access geometry by reference? > To: [EMAIL PROTECTED] > > I am just learning how use geometry by reference to do skin and bone > animation. Previously I had use a Stripifier to turn my basic set

Re: [JAVA3D] BufferedImage, again...

2001-09-10 Thread Corysia Taware
Thanks Raffi and Pedro!     That was my problem.  I had turned off TransparencyAttributes altogether because I thought I needed to disable it if I was using alpha values in the texture.   - Original Message - From: Pedro Estrada To: [EMAIL PROTECTED] Sent: Monday,

Re: [JAVA3D] BufferedImage, again...

2001-09-10 Thread Pedro Estrada
Try setting the transparencyAttriburtes obj to new TransparencyAttributes(TransparencyAttributes.BLENDED, 1.0f)   and setting the texture mode in the texture attributes object to REPLACE.     -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On B

Re: [JAVA3D] BufferedImage, again...

2001-09-10 Thread Kasparian, Raffi J.
Corysia,   I think you always need to use Appearance.setTransparencyAttributes for the shape to display transparently. Have you done this?   Raffi -Original Message-From: Corysia Taware [mailto:[EMAIL PROTECTED]]Sent: Monday, September 10, 2001 2:13 PMTo: [EMAIL PROTECTED]Subject:

Re: [JAVA3D] processStimulus is not getting called..

2001-09-10 Thread Kelvin Chung
Hi Rahul, Which version of Java3D are you using ? What wakeup criteria are use in the custom behavior ? Can you check to see if the custom behavior public void initialize() method is being invoked every time the behavior branch is detach and attach again ? When window minmize and maximi

[JAVA3D] processStimulus is not getting called..

2001-09-10 Thread Rahul Choudhury
Hi all: I am using Java3D in an application used for 3D training. The application uses VRML worlds for its 3D data. We have a VRML loader/browser which loads and manipulates the world. The application has 3 modes. In each mode a separate VRML world is loaded (after unloading the old VRML world).

[JAVA3D] BufferedImage, again...

2001-09-10 Thread Corysia Taware
  Well, I'm not any closer.  This is what I have now:       TextureLoader textureLoader = new TextureLoader(filename, this);  BufferedImage texBuff = textureLoader.getImage().getImage();   Texture texture = textureLoader.getTexture();  int width = texture.getWidth(); 

Re: [JAVA3D] Achive Builder in JBulder 4

2001-09-10 Thread Ahmed Shakil
In Jbuilder 5. the properties of you archive go into the "content" tab, and u have three options. I am sure its similar in Jbuilder 4 also. Include required classes and know resources Include required classes and all resources Always include all classes and resources The first option is the one

Re: [JAVA3D] should we use the com.sun.j3d.* classes?

2001-09-10 Thread Doug Gehringer
> From: "Michael P. McCutcheon" <[EMAIL PROTECTED]> > ... I'm confused about using the com.sun.j3d.* > classes. It seems that these are not supported given that the documentation > says the following: > > "In general, writing java programs that rely on sun.* is risky: they are not > portable, and

Re: [JAVA3D] Any Java3D journals?

2001-09-10 Thread Copps, Kevin D
A great resource for general Java info is http://www.javaworld.com/ They have a collection of to-the-point online articles, tips, discussions. Go through their archive. Right now there is a featured article on how to use the new I/O classes in the Java 1.4 beta. > -Original Message- > F

Re: [JAVA3D] Jbuilder 4 and Archive Builder

2001-09-10 Thread Charles Bell
Check the manifest entries for your jar. There may be none for the j3d classes you have archived. Try using a command similar to: java -classpath %CLASSPATH%;yourjarfile.jar -jar yourjarfile.jar Charles --- Aurelio Meneghello Jr <[EMAIL PROTECTED]> wrote: > Hi everybody... > > I´m trying to ge

[JAVA3D] Creating a Texture from BufferedImage?

2001-09-10 Thread Corysia Taware
Title: RE: [JAVA3D] TextureLoader and BMP images Hi all,     This one has had me stumped for a few days now.  I'm trying to modify a texture I've loaded from an image file.  I want to create a second version of the texture that has a level of transparency to it.  I don't want to have uniform

Re: [JAVA3D] Jbuilder 4 and Archive Builder

2001-09-10 Thread Víctor
Hi Aurelio, You will need to include "j3d.dll" file in JAR file. The error message you get it's usually produced because a Java file can't find a native library (like "j3d.dll"). Víctor Aurelio Meneghello Jr ha escrito: > Hi everybody... > > I´m trying to generate a .jar file of my appl

[JAVA3D] Jbuilder 4 and Archive Builder

2001-09-10 Thread Aurelio Meneghello Jr
Hi everybody... I´m trying to generate a .jar file of my application (That uses the Java3D library) with the Jbuilder 4 Archive Builder feature. When I try to run the .jar file in a computer whith Java 3D library installed, the application works fine, but with a computer without the J3D the app

Re: [JAVA3D] stereo mode

2001-09-10 Thread Mark Ferneau
Paul, www.j3d.org works just fine for me. (it resolves to 203.27.111.50). --Mark At 09:26 AM 9/10/2001, you wrote: >PS: BTW, I can't reach www.j3d.org for quite a while (seems there is no >DNS entry). Has anybody else also this problem ? Mark Ferneau240-462-6262 (cell) D

[JAVA3D] stereo mode

2001-09-10 Thread Dipl. Ing. Paul Szawlowski
Hi all, just another attempt: Java3D is using Quadbuffers to generate stereoscopic images. The right and left eye positions can be placed, but in any case the "View-rays" are parallel (this is not the case in reality: the view rays will meet at a focus point) . In this case the focus plane i.e. t

Re: [JAVA3D] waitForOffscreenRendering hanging problem

2001-09-10 Thread Karsten Fries
Hi Rich, i have experienced similar problems with the wfosr() method. I almost think it's really some thread issue and/or a synchronization problem. That would also explain the behavior of your appliciation. Anyway, if this is the case, there is no workaround i could think of!! Cheers, Karsten