Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Fausto Mancini
- Original Message - From: "Justin Couch" <[EMAIL PROTECTED]> To: "Fausto Mancini" <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 8:17 AM Subject: Re: [JAVA3D] [cyclic scene graph] > Fausto Mancini wrote: > > > I am trying to manage a scene modeled by a graph. The problem is that the >

Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Kevin Glass
Could you use Link and SharedGroup to achieve what you want ? Kev > I am trying to manage a scene modeled by a graph. The problem is that > the graph is cyclic (a node can have more than one parent). > It is typical of some mechanism where you have more links connected to > the same joint. > It i

Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Fausto Mancini
I am trying to manage a scene modeled by a graph. The problem is that the graph is cyclic (a node can have more than one parent). It is typical of some mechanism where you have more links connected to the same joint. It is not only a problem of visualization... Thank you. - Original Message

[JAVA3D] ENC: [JAVA3D] RES: [JAVA3D] Offscreen Rendering in stereo

2003-06-30 Thread Robson Augusto Siscoutto
Title: [JAVA3D] RES: [JAVA3D] Offscreen Rendering in stereo   -Mensagem original-De: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]Em nome de Robson Augusto SiscouttoEnviada em: segunda-feira, 30 de junho de 2003 10:04Para: [EMAIL PROTECTED]Assunto: [JAVA3D] RES: [JAVA3D]

Re: [JAVA3D] Shadows

2003-06-30 Thread Greg Huang
Hi all: I have implemented the shadow by projective texture mapping, but the demo is not on-line yet. When it is available, I will post it.   Greg - Original Message - From: Alessandro Borges To: [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 3:31 AM Subject: Re: [JA

Re: [JAVA3D] TextureAttributes:Combine mode

2003-06-30 Thread Greg Huang
Thanks Alessandro   But I still cann't understand what c0, c1 and c2 infer. Do c0, c1, c2  separately infer the red, blue, green color ?   Thanks again   Greg   - Original Message - From: Alessandro Borges To: [EMAIL PROTECTED] Sent: Monday, June 30, 2003 10:20 PM Sub

Re: [JAVA3D] projection coordinates

2003-06-30 Thread Mark Hood
> Date: Mon, 30 Jun 2003 11:48:07 -0400 > From: "Young, Jason" <[EMAIL PROTECTED]> > > [cm1] = A B C D = [w2vp][vp2e][e2cc] > (inverse is cm1^-1) > [...] > so if I have my own projection matrix, I can apply these matrices to the > geometry vertices: > > [w2vp][vp2e][my_projection][cm1^-1] >

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Björn Voigt
GREAT It works fine ;-) , Thank you Kevin. Björn === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and i

Re: [JAVA3D] Shadows

2003-06-30 Thread Alessandro Borges
There is some demos available below, but I am not sure if it will fit you needs: http://forum.java.sun.com/thread.jsp?forum=21&thread=330689 http://mightymarine.topcities.com/dynamicshadows.html http://mightymarine.topcities.com/staticshadows.html   A possibilty of working  shadows is by using

[JAVA3D] Java 3D FAQ Weekly Posting (30 Jun 2003)

2003-06-30 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday June 30 2003 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 there

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
Ok, got it.. :) Attached is the version that works and an image showing the output. I'm not sure I really understand why, but the image size you're producing is not equal to the size of screen otherwise nowt works... Remember the screen size in on screen mode is the resolution of the screen. For

Re: [JAVA3D] Shadows

2003-06-30 Thread Young, Jason
Java3D tutorial section 6.7.2: "The complexity of computing shadows is so great it is not part of any real-time graphics system" So no, shadows are not supported directly HOWEVER there are things you can do to create your own shadows. Read the tutorial chapter 6, that may shed some light on thin

[JAVA3D] Shadows

2003-06-30 Thread Zak Nixon
Can shadows be implemented in Java3D? Are they currently?   For instance, I have a sun, earth, and satellites. If the satellites pass to the "non-sunlit" portion of the earth, will they act as if their is no light source present, and color theirselves accordingly?   Thanks   Zak

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Justin Couch
Onkel Voigt wrote: I wrote a test class using Canvas 3d in offscreen mode, but all I get is an empty Image. What did I wrong? I hope you can help me to fix this ... What sort of machine are you doing this on? If it is a unix machine, and you don't have X11 installed, or no OpenGL capabilities, then

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Björn Voigt
Kevin Glass schrieb: I tried it and the other, but it does not work, could you run this code on your machine, that I know, that my configuration is OK? Thank for the time, you are spending for my problem. Björn Try changing test.u = new SimpleUniverse(); to test.u = new SimpleUniverse(c); An

Re: [JAVA3D] projection coordinates

2003-06-30 Thread Young, Jason
This is a continuation from the projection coordinates thread of 2 weeks ago. I've read ViewInfo.java and have a set of assumptions, but something is still missing. Here's the latest... ___ ASSUMPTIONS - From what I gather from ViewInfo.java

Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Fausto Mancini
You are right. But it should be possible to modify the way the graph is traversed: a cycle could be marked so that is is not traversed more than one time... It's just an idea... I don't know if it is possible...   Fausto.   - Original Message - From: Alessandro Borges To:

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
Try changing test.u = new SimpleUniverse(); to test.u = new SimpleUniverse(c); And take out your view lines... I assume this is the same thing, but its how I got it to work.. Kev > Hi Kevin, > > thank you for your fast reply, but it still not work > >>Looking at the code for model2sprite (ht

Re: [JAVA3D] TextureAttributes:Combine mode

2003-06-30 Thread Alessandro Borges
Combine combine is kind of multitexture operation. you can choose the combine operation by calling setCombineRgbMode and setCombineAlphaMode Read about available combine modes. not all video cards will support all combine modes.     c0, c1 and c2: The colors sources to combine.  You can set

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Onkel Voigt
Hi Kevin, thank you for your fast reply, but it still not work >Looking at the code for model2sprite (http://model2sprite.dev.java.net) >three things might be worth trying: > >1) Make sure rendering your scene to a normal canvas actually shows >something. This works , I use the HelloUniverse Dem

[JAVA3D] RES: [JAVA3D] Offscreen Rendering in stereo

2003-06-30 Thread Robson Augusto Siscoutto
Hello, Somebody has some example of as to make offscreen rendering in stereo? thanks Robson === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general h

Re: [JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Kevin Glass
Looking at the code for model2sprite (http://model2sprite.dev.java.net) three things might be worth trying: 1) Make sure rendering your scene to a normal canvas actually shows something. 2) Try using c.getOffscreenBuffer().getImage() after the rendering instead of relying on you're original image

[JAVA3D] Offscreen Rendering with empty Image

2003-06-30 Thread Onkel Voigt
Hello Java3d Fans, I am a Java3d beginner and want to programm an servlet, which create an JPEG of a JAVA3d-Scene. I wrote a test class using Canvas 3d in offscreen mode, but all I get is an empty Image. What did I wrong? I hope you can help me to fix this ... Thank you Here is the program: [.

[JAVA3D] TextureAttributes:Combine mode

2003-06-30 Thread Greg Huang
Dear all:  I didn't understand the mean of parameters of Combine Mode, c0, c1 and c2, when I saw the class, TextureAttributes, in the document. Can anyone explain these parameters, and how to get them by color source and color operand?   Sincerely   Thanks in advance   Greg    

Re: [JAVA3D] Polygon culling and backface normal flip problems

2003-06-30 Thread Tero Karhunen
Title: Polygon culling and backface normal flip problems Oh, ok, sorry about that. Now i attached the correct modified version. The last column has the polygon attributes set. Anyway, we discovered that removing a couple of ticks from the hardware acceleration bar in win2k properties->settin

Re: [JAVA3D] [cyclic scene graph]

2003-06-30 Thread Fausto Mancini
You are right. I've just thought about having all nodes at the same level in the j3d scenegraph and manage them with a cyclic graph logic. I was just wondering if it is possible, for instance, to decompose a cyclic graph into a set of acyclic graphs. Thank you!   Fausto Mancini   - Ori

[JAVA3D] [cyclic scene graph]

2003-06-30 Thread Fausto Mancini
Hi all java3d interest group.   I'm a researcher from Milan (Italy). We are using java3d for scientific visualization... I've a question, and I hope this could be interesting for other members of the community... I know that java3d scenegraph is acyclic (no loops), but I need to represent a c