Re: [JAVA3D] Applet with OpenGL instead of java3D is it possible?-security issues?

2001-04-24 Thread Adriano Cavalcanti Silva
Hi Mohammed, Look at the following web for further information: http://www.jausoft.com/gl4java/ |:0). Rgds, Adriano Gernot Veith schrieb: > hi, > > this is possible. There are several openGL Java APIs. for example Magician. I've > worked with some time ago. This is a full featured openGL API

Re: [JAVA3D] Canvas3D

2001-04-24 Thread Renoir Sewjee
Hi, I don't think it's that expensive and anyway you are only using one node. Put it the background node and then see how costly it is. Regards, Renoir Ben Arbel wrote: > Hi, > > isn't there a cheaper solution ? the system im working on is performance > dependent , i prefer > not to use any

Re: [JAVA3D] Applet parameters

2001-04-24 Thread Theron, Jannie
Why don't you pass command line parameters in the main method when running the applet as an application(which is what the main method is for) and use the init getparameters for when running in browser ? Jannie -Original Message- From: Daniel Moscoso [mailto:[EMAIL PROTECTED]] Sent: Frida

Re: [JAVA3D] Canvas3D

2001-04-24 Thread Jacky Rymasz
Did you add a Background Branch set with the color green to your tree? JR - Original Message - From: Ben Arbel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 24, 2001 7:04 AM Subject: Canvas3D > Hey 3D Guys > > A very simple question this time.. any idea why after i se

Re: [JAVA3D] Applet parameters

2001-04-24 Thread Daniel Moscoso
The problem is that I cannot get the parameter values in the main() method, and I need the values here, because new MainFrame(new HelloUniverse(), 100, 100) is called from main(), which is executed before init(). Should I have to run the applet without using the MainFrame class ? Many thanks

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-24 Thread Josh Richmond
Kyle, I'm experiencing the same things, only I have an ordinary JTextArea in the scroll pane (which floats above my Canvas3D). I think this is being caused by the Canvas3D, but I'm not sure why. Maybe a light/heavyweight problem? I'm using WinNt4, JDK1.3.0, J3D1.2.1 OpenGL. josh

Re: [JAVA3D] Applet parameters

2001-04-24 Thread Theron, Jannie
The main method is called when you run the applet as an application from the command line. It doesn't even know about the html with the parameter values. Look at the SphereMotion example on how to get values from the command line into the mai method. -Original Message- From: Daniel Moscos

Re: [JAVA3D] Performance Sutras

2001-04-24 Thread ChrisThorne
Thanks John, I will update these. > > Under "Control of Framerate" you can set the MAXIMUM framerate, if your > machine can't maintain that level of performance framerate could be > lower. Curiously it sets the minimum frame rate - the delay between frames. Java3D, according to the API doc, wi

[JAVA3D] InstantiationException

2001-04-24 Thread Adriano Cavalcanti Silva
Hi there, Has someone any hints about this error message: load: box.class can't be instantiated. java.lang.InstantiationException: box at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:241) at sun.applet.AppletPanel.createApplet(Apple

Re: [JAVA3D] Performance Sutras

2001-04-24 Thread John Wright
Chris, Another case of weak documentation, (setMinimumFrameCycleTime) "will ensure that the time between the start of each successive frame is at LEAST the specified number of milliseconds" ie this will introduce a "delay" between displaying frames. Perhaps useful if you are trying to make a sli

Re: [JAVA3D] Performance Sutras

2001-04-24 Thread Kevin Rushforth
No, the Java 3D API method View.setMinimumFrameCycleTime limits the *maximum* frame rate. Remember that frame rate and frame time are the inverse of one another. -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Tue, 24 Apr 2001 21:32:51 +0800 >From: ChrisThorne <[EMAI

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-24 Thread Kyle McDonald
Josh, You may be right in your case. It probably is a light vs. heavy thing. But in my case, I'm using the AWT scrollpane, just for that very reason - It's also Heavyweight, so there shouldn't be any issues. I think it's some sort of problem in the uncover/repaint code. But I don't even know w

Re: [JAVA3D] Performance Sutras

2001-04-24 Thread Kevin Rushforth
This was put in at the direct request of application developers who were complaining that their scenes were running at greater than 100 frames per second and chewing up all of the CPU time needlessly. The intent is to allow an app to set a speed limit of, say, 1/60 or 1/30 of a second. If what y

Re: [JAVA3D] Applet parameters

2001-04-24 Thread Jim Allers
An applet has four important methods, init(),start(),stop(), and destroy(). These methods are *called* by the browser the applet is embedded in. The browser *never* calls the main() method. If you are running the applet from a browser or the appletviewer, use the init() method to create the MainFr

Re: [JAVA3D] Performance Sutras - BranchGroups

2001-04-24 Thread John Wright
Thanks for the clarification Kevin, that makes good sense. For our projects, performance concerns are reasonably handled by scheduling our work inside behaviors that wake up every so often (typically 20 times per second). Our GUI has remained responsive and the frame rate is often over 100 fps.

[JAVA3D] Java 3D 1.2.1_01 Released

2001-04-24 Thread Dan Petersen
This message is to announce the release of Java 3D 1.2.1_01 (patch release): http://java.sun.com/products/java-media/3D/download.html The following bugs have been fixed in this patch release: 4411851 OrientedShape3D fail to add under SharedGroup when mode = ROTATE_ABOUT_POINT

Re: [JAVA3D] Byref blended texture crash ?

2001-04-24 Thread Kelvin Chung
Hi Artur, I must mix them up somehow. Let me clarify a little bit. The real problem is change of transparency value raster. Current implementation do this in the native layer and always assume the data type of ImageComponent2D associate with Raster has 4 byte RGBA. However in your example it

Re: [JAVA3D] Range ordering of transparent objects

2001-04-24 Thread J. Lee Dixon
Doug, I appreciate your help. I've spent the morning doing some rearranging and setting up for this. It's not quite working for me yet, but I'm pretty sure I know why. I have the transform from each Shape to virtual world coordinates. But I think I may be missing the part of the transform to

Re: [JAVA3D] Java 3D 1.2.1_01 Released

2001-04-24 Thread John Wright
Dan, Is this really up on the website? I just downloaded and there is no indication that this is a new version (file sizes are identical). - John Wright Starfire Research Dan Petersen wrote: > > This message is to announce the release of Java 3D 1.2.1_01 (patch release): > http://java.

Re: [JAVA3D] Using RenderedImage for textures

2001-04-24 Thread J. Lee Dixon
Whoah, where did you learn *that*? That is very odd. I would *never* have come up with that on my own given 20 years, 200 margaritas, and 2000 java books. I may give that a try. Looks *way* too simple. ;) -Lee > -Original Message- > From: Justin Couch [mailto:[EMAIL PROTECTED]] > Se

Re: [JAVA3D] Range ordering of transparent objects

2001-04-24 Thread Doug Twilleager
What you are doing sounds like it should work. I have attached a modified AppearanceMixed that uses setModelTransform(). It isn't doing what you need it to do, but it gives you an example of using it. Doug Twilleager Sun Microsystems >MIME-Version: 1.0 >Subject: Re: [JAVA3D] Range ordering of

Re: [JAVA3D] Range ordering of transparent objects

2001-04-24 Thread J. Lee Dixon
Yep, I think I finally got it. I just had some problems computing the total xform above the shape. Now I think my problem is lighting... none of the objects are lit. How do I do the lighting?? I want these objects to be lit just as if they were still in the scene. -Lee > -Original Messag

Re: [JAVA3D] Range ordering of transparent objects

2001-04-24 Thread Doug Twilleager
GraphicsContext3D.[add/set/insert/remove]Light(). The model transform in place at the time [add/set/insert]Light() is called is used to transform the light parameters. Region of influence and scoping are ignored - all lights in the list apply to things that are drawn with draw(). Doug Twilleage

Re: [JAVA3D] Java 3D 1.2.1_01 Released

2001-04-24 Thread Dan Petersen
Try a -reload in your browser. Dan > Date: Tue, 24 Apr 2001 13:13:50 -0500 > From: John Wright <[EMAIL PROTECTED]> > X-Accept-Language: en > MIME-Version: 1.0 > To: Dan Petersen <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Java 3D 1.2.1_01 Released > Content-Transfer-Encod

Re: [JAVA3D] Java 3D 1.2.1_01 Released

2001-04-24 Thread John Davies
I've just downloaded both DirectX and OpenGL versions, they ARE different I can assure you! -John- John Wright wrote: > Dan, > > Is this really up on the website? I just downloaded and there is no > indication that this is a new version (file sizes are identical). > > - John Wright > Starfire

[JAVA3D] How to update image on Raster ?

2001-04-24 Thread Artur Biesiadowski
What exactly should I do to update image on Raster ? 1) Should I set it's ImageComponent2D to null and back to same IC after update ? 2) Should I reuse same ImageComponent2D, use two (kind of double buffer) or create new one every time ? 3) In case of byref image, can I update it on just after de

Re: [JAVA3D] Seralization of 3D objects

2001-04-24 Thread ChrisThorne
David, do you still use serialisation? Do you agree it is also too slow (apart from buggy)? Chris "Yazel, David J." wrote: > Just to back up John's comment... I spent about 20 hours trying to figure > out why the texture coordinates of the 2nd texture unit were coming back > wrong after I wrot

Re: [JAVA3D] Seralization of 3D objects

2001-04-24 Thread Silvere Martin-Michiellot
Hi, I believe that Scenegraph serialization will be optimized in the next releases of Java3D. Remember that the Fly through demo is only beta. Everyone needs a reliable efficient network transport of 3D objects. I belive people at Sun are making big efforts on their side. Nevertheless Justin stat

Re: [JAVA3D] Seralization of 3D objects

2001-04-24 Thread Paul Byrne
Hi Silvere, The SceneGraph IO API in Java3D Fly Through does NOT use java.io.serialization, it stores the data in it's own binary format which is designed for fast loading of scene graphs. The API supports IO to disk (using RandomAccessFile) and IO over a network (using Streams). Java3D 1.3 will

[JAVA3D] Mailing list archive search problem

2001-04-24 Thread Mona Wong
Hi Sun: FYI ... At the java 3d mailing list archive search page at http://archives.java.sun.com/cgi-bin/wa?S1=java3d-interest, when I click on the Search for:" link, I got: Error - template SEARCH-HELP not found A configuration error was detected in the CGI script; the

[JAVA3D] new canvas procedure?

2001-04-24 Thread Mona Wong
Hi: What are the steps that I need to follow when my java 3d program is done with one canvas scene and needs to setup another? Basically, when the user wants the program to load a new file, the program needs to get rid of the current canvas/scenegraph and create a new one from the new fi

[JAVA3D] Sun help! Joined Shapes With Lighting Problem

2001-04-24 Thread Geoff Morris
Hi Sun:   I'm going to need your assistance, as I suspect I am having trouble with a lighting bug.  I've tried to work around the problem, but I'm unable to.  Attached is simplified source code using only Sun classes that shows the problem.   Thanks, Geoff.       PS. this email follows on f

Re: [JAVA3D] new canvas procedure?

2001-04-24 Thread Kelvin Chung
>MIME-Version: 1.0 >Content-MD5: TlNpW4obGo47WQAPQQbfOw== >Date: Tue, 24 Apr 2001 18:18:22 -0700 >From: Mona Wong <[EMAIL PROTECTED]> >Subject: [JAVA3D] new canvas procedure? >To: [EMAIL PROTECTED] > >Hi: > >What are the steps that I need to follow when my java 3d program is done >with one

Re: [JAVA3D] Performance Sutras

2001-04-24 Thread Leyland Needham
> Another case of weak documentation, (setMinimumFrameCycleTime) "will > ensure that the time between the start of each successive frame is at > LEAST the specified number of milliseconds" ie this will introduce a > "delay" between displaying frames. Perhaps useful if you are trying to > make a s

Re: [JAVA3D] Performance Sutras - BranchGroups

2001-04-24 Thread Chien Yang
John, BranchGroup does create some duplicated data, and the amount of memory varys depending on what is above and below the BranchGroup. The memory may increase significantly with the number of heavy weight nodes in it path, such as TransformGroup, OrderedGroup, SwitchGroup and SharedGroup

Re: [JAVA3D] Range ordering of transparent objects

2001-04-24 Thread Chien Yang
Lee, Do you have a test program to share with us ? - Chien Yang Java 3D Team. > MIME-Version: 1.0 > Date: Mon, 23 Apr 2001 16:34:16 -0400 > From: "J. Lee Dixon" <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] Range ordering of transparent objects > Comments: To: Doug Twilleager <[EMAIL PR

[JAVA3D] [ANNOUNCE] Jun for Java (Jun316)

2001-04-24 Thread Yoshiyuki NISHINAKA
We have released a new version, 316, of "Jun for Java". The major changes since the version 306 includes: * Multimedia, such as movies (*.mov, *.avi, etc.) and sounds (*.aiff, *.wav, etc.), are supported to handle on platforms where the QuickTime is available. http://w