Re: [JAVA3D] Swing components Flicker

2002-10-11 Thread Alejandro Allievi
Hi,   Does it still work after you run a Java 3D code?    For me reducing or increasing the HW acceleration solves the problem.  However, when I run HelloUniverse it comes back.  It also causes "jerky" minimizing and maximizing of windows.   Alejandro   -Original Message-From:

Re: [JAVA3D] Directional Light

2002-10-11 Thread Sean Sylvis
You should really look at the Javadocs that are available at the Java3D download site. Java3D lights that are available: the DirectionalLight is positioned at infinity with light shining along a parameter vector. The PointLight has a parameter position but radiates in all directions. The SpotLig

Re: [JAVA3D] Directional Light

2002-10-11 Thread Andy
But for the so-called "direction", it's actually a point in the coordinate system. And that is the source of the directional light, the d-light will shine on the coordinate's original. But I don't want to shine on the original, is it possible? If not, which light should I use? Thanks a lot. S

Re: [JAVA3D] Running greyscale textures into colour/alpha channels

2002-10-11 Thread Stoney Jackson
Ok, I've tested Artur's suggestion. Artur is right. Stoney is wrong. Thanks Artur for clearing that up. That's going to make several tasks easier for me! -Stoney === To unsubscribe, send email to [EMAIL PROTECTED] and includ

[JAVA3D] Problem with Stereo

2002-10-11 Thread Robson Augusto Siscoutto
Hi, I am trying to execute the exemple HelloUniverse in stereo, but I am not getting. I am using Win2000 with a graphic card ASUS V8420 Geforce4 Ti4200 128MB with ASUS 3D glasses. I am executing the code with the following command line: java -Dj3d.stereo=PREFERRED HelloUniverse The code this a

Re: [JAVA3D] I/O problem

2002-10-11 Thread David Ben-Yaacov
Hi Katja: I know you didn't get into detail in your original message, but would you explain why you need to open/save/use a .class file? It would seem that you should serialize your branchgraph and then try to load it back through a filechooser/open commmand, so I'm a bit confused as to why you

[JAVA3D] Setting focal length

2002-10-11 Thread Josh Richmond
Hi everyone, I've searched the archive without much success, but maybe missed a post answering this question. I'm trying to match a Java3D virtual camera view with a real camera view. I've set the field-of-view parameters and the aspect ratio but cannot figure out how to set the focal length

[JAVA3D] I/O problem

2002-10-11 Thread Katja Loescher
Hi! I am programming an application that is supposed to open any .class file during runtime (with the JFileChooser). I then get out the branchgraphs of the file and import them into my universe. I will then add an path interpolator which will be attached to a "camera". The user is allowed to choo

Re: [JAVA3D] Directional Light

2002-10-11 Thread John Wright
Andy, There is no "destination" of a directional light. It simply has direction and shines on all objects (within bounds) from that direction. - John Wright Starfire Research Andy wrote: > > The thing is I don't know how to set the destination of a directional light. > > Sincerely, > > Andy >

[JAVA3D] lines and shade drawing

2002-10-11 Thread Michael Saunders
I have not received a response to my last question for a few days so I am reposting a similar one assuming that my previous question has fallen to the side. Hopefully there is someone who can tell me the most efficient way to render in Java3D for the situation I am presenting: If I want to draw a

Re: [JAVA3D] Running greyscale textures into colour/alpha channels

2002-10-11 Thread Artur Biesiadowski
Stoney Jackson wrote: >>C' = C0*C2 + C1*(1 - C2) >> >>C0 is incoming texture, C2 is blend color, C1 is previous stage. > Example (for one pixel): > Unit 0: > C0 = red = 1,0,0,1 > C1 = transparent black = 0,0,0,0 > C2 = texture0 = 1 > then > C' = C0 = red [...] > > Now Unit 1 come

Re: [JAVA3D] Running greyscale textures into colour/alpha channels

2002-10-11 Thread Stoney Jackson
> What about combine interpolate ? > > C' = C0*C2 + C1*(1 - C2) > > C0 is incoming texture, C2 is blend color, C1 is previous stage. > > At each stage, if blend color is 1, given channel is set to C0 (incoming > intensity texture) if blend color is 0, given channel is set to C1 > (previous stage -

Re: [JAVA3D] Xj3D 4 Oct dev release

2002-10-11 Thread Justin Couch
Jack Gundrum wrote: > Sorry, I forgot the URL to get the lastest releases. http://www.xj3d.org/snapshots.html If you're interested in having a look at an online installer, take a look at http://www.xj3d.org/installer/. Note that it is still a bit experimental currently, so it is not directly lin

Re: [JAVA3D] Xj3D 4 Oct dev release

2002-10-11 Thread Jack Gundrum
Sorry, I forgot the URL to get the lastest releases. At 10:49 AM 10/4/2002 -0700, you wrote: >One more out. > >FWIW, I haven't tested the loader code with this release to see if we >broke anything. Nothing in the mainline code should cause an issue >AFAIK. Would appreciate feedback ASAP if this

Re: [JAVA3D] J3D core is using com.sun classes!

2002-10-11 Thread Doug Twilleager
In the README it states that the utils jar file is part of the redistribution bundle. This requirement, and our usage of utility classes in the core has been there since the first version of Java 3D. Doug Justin Couch wrote: > Scott Rutledge wrote: > >> Based on the stack trace, I'd say it's th

Re: [JAVA3D] Running greyscale textures into colour/alpha channels

2002-10-11 Thread Artur Biesiadowski
What about combine interpolate ? C' = C0*C2 + C1*(1 - C2) C0 is incoming texture, C2 is blend color, C1 is previous stage. At each stage, if blend color is 1, given channel is set to C0 (incoming intensity texture) if blend color is 0, given channel is set to C1 (previous stage - just copied).

Re: [JAVA3D] Directional Light

2002-10-11 Thread Andy
The thing is I don't know how to set the destination of a directional light. Sincerely, Andy - Original Message - From: "Brad Christiansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 3:13 AM Subject: Re: [JAVA3D] Directional Light > Hi, > > Can you not s

Re: [JAVA3D] Is this possible?

2002-10-11 Thread Jason Taylor
Like the exception says you can only add a BranchGroup while the scene is live. Hence in you Button action construct a cube and a BranchGroup, add the cube to the new BranchGroup and then add this new BranchGroup to your root. You will probably have to do a couple of setCapacity (SP :) on the roo

[JAVA3D] Is this possible?

2002-10-11 Thread A. Murat Tanyer
I think I should have asked my question in a different way to prevent confusions:   Is it possible to load a scenegraph information at a run time (please do not think about loading any files, like VRML, with loaders)?   The attached HelloUniverse example is trying to do this by clicking the

Re: [JAVA3D] Swing components Flicker

2002-10-11 Thread Jonathan Leong
Great! works alright. Thanks a mil for the tip. Appreciate it.   ---Jonathan Leong[EMAIL PROTECTED]   - Original Message - From: Pasi Paasiala To: [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 11:45 PM Subject: Re: [JAVA3D] Swing components