[JAVA3D] Can anyone explain how special orthogonal matrices are used for rotations?

2001-04-20 Thread Kyle Wayne Kelly
I am trying to implement an arbitrary rotation at the origin, such that the axis rotate onto the x,y and z axis.    /**  * Kyle Wayne Kelly  * Computer Science Student  * University of New Orleans  * 504-391-3985  * http://www.cs.uno.edu/~kkelly  * Glory to God!  * El temor del hombre pondra

Re: [JAVA3D] Byref blended texture crash ?

2001-04-20 Thread Kelvin Chung
Hi Artur, Yes, it is a bug. It is very similar to 4426898 - D3D: crash when transparency of RGBA Raster change which is fixed in v1.2.1_01. But the test program still hang in v1.2.1_01. I'll submit another bug for it. Thanks for your bug report. - Kelvin Java 3D Team Sun M

Re: [JAVA3D] Anyone written an OrbitInterpolator?

2001-04-20 Thread Justin Couch
Kyle McDonald wrote: > I looked at the OrbitBehavior which seems to have solved > this problem, but it seems to only work with the mouse, > and not an Alpha object. > > Anyone solve this problem yet? I'm just about to for the Xj3D browser. The browser needs to sup

Re: [JAVA3D] no capability to read children ....|:0(.

2001-04-20 Thread Daniel Selman
Adriano, Sounds like you are using the J3dTree scenegraph viewer and (probably) part of your scenegraph has already been compiled. J3dTree found some a null node in your scenegraph and then found a Group without the READ_CHILDREN capability set, and then found another null node. J3dTree either wa

Re: [JAVA3D] OO design vs performance

2001-04-20 Thread Justin Couch
Joerg 'Herkules' Plewe wrote: > > But it's a bad idea to introduce automatic getter/setter for everything just > for OO dogmatic reasons. Is my class a pure data container? Well, express > that! Don't make it more 'important' by introducing lots of methods doing > nothing. Most (99%?) of these thi

[JAVA3D] MouseRotate?

2001-04-20 Thread Kyle McDonald
Hi, I've just been looking at the MouseRotate Behavior class. I'm not sure this is what I'm looking for. I'd like to have an object start rotating on it's own when ever the mouse pointer is on that object. From looking at the MouseBehavior family of class

Re: [JAVA3D] Range ordering of transparent objects

2001-04-20 Thread Justin Couch
"J. Lee Dixon" wrote: > > Now I think my problem is the slowness of moving BranchGroup nodes > around in the OrderedGroup. I thought I had heard that detaching a > BranchGroup and re-attaching was very expensive. I tried searching the > archives but the listserv search engine is a bit slow for m

[JAVA3D] Byref blended texture crash ?

2001-04-20 Thread Artur Biesiadowski
I have Raster with ImageComponent2D constructed from BufferedImage.TYPE_3BYTE_BGR in byref mode. I set 0.5 blended transparency and if I display it in the raster jvm crashes. This happens only under directx - opengl is ok. Attached is small program which shows the problem. I've reduced it conside

[JAVA3D] Anyone written an OrbitInterpolator?

2001-04-20 Thread Kyle McDonald
Hi again. I want to say thanks to everyon who helped me with my VirtualUniverse question. I've got it working now Thanks. Next I want to try to have the viewplatform orbit some geometry that is fixed at the world origin. I tried using two RotationInterpol

Re: [JAVA3D] How to pick geometry on PlatformGeometry...

2001-04-20 Thread Artur Biesiadowski
Kovalan Muniandy wrote: > I am using JDK1.3 with J3d 1.2.1 Beta 2 and have no problem picking things > in my "scene" (those not in dashboard). And where have you added the picking behaviour ? If only to scene, try to add it to PlatformGeometry instead and see if it will work. Artur ===

Re: [JAVA3D] How to pick geometry on PlatformGeometry...

2001-04-20 Thread Kovalan Muniandy
Hi Justin, > Have you called setPickable(true) on your dash geometry as you are > creating it? That's the most common cause for something being not > pickable. I am doing the following: protected PlatformGeometry buildDashboard() { PlatformGeometry pg = new PlatformGeometry(); p

Re: [JAVA3D] OO design vs performance

2001-04-20 Thread Artur Biesiadowski
Joerg 'Herkules' Plewe wrote: > BTW, can the Java compiler really optimize away gette/setter overhead like a > C++-compiler can? I doubt that. But my point is not so much related to > performance anyway. Yes, it can (as long as it is final). In fact even sun interpreter was optimizing this speci

[JAVA3D] Example of useing a VirtualUniverse instead of a SimpleUniverse?

2001-04-20 Thread Kyle McDonald
Hi. I've decided to try to do it 'the hard way'(tm) :^) I think ,aybe I'll learn a little more if I setup the whole universe my self. I started looking at the VirtualUniverse class, and it seems to only have get*() methods... How do you add the Lo

Re: [JAVA3D] OO design vs performance

2001-04-20 Thread Joerg 'Herkules' Plewe
We'll not finish this discussion, I'm afraid. And I won't struggle with the almighty OO gurus from Sun at all :-)) BUT It's even better if I'm using somebody elses code bc. I can see whats going on. No magic. Does this method take long? Will it be transacted? Are other things influenced? NO,

Re: [JAVA3D] Documentation again

2001-04-20 Thread Artur Biesiadowski
Ok, this is going to far indeed - I just wanted to stress that for me documentation is not most important (after few voices telling that docs are first priority). You are right that there is no point in taking example one by one. John Wright wrote: [...] > Your usage of "I suppose" indicates that

Re: [JAVA3D] Viewing examples

2001-04-20 Thread Kelvin Chung
Hi Zak, See attachment, run it with java MultiViews N where N is the no. of view. - Kelvin --- Java 3D Team Sun Microsystems Inc. >X-Unix-From: [EMAIL PROTECTED] Fri Apr 20 06:56:24 2001 >X-Originating-IP: [216.180.63.156] >MIME-Version: 1.0 >X-Priority: 3 >X-MSMail-Priority

Re: [JAVA3D] how to get the world coordinate of leaf nodes of aBranchGroup

2001-04-20 Thread Josh Richmond
HI Liming, Check out Node.getLocalToVworld(Transform3D t) . Note: You'll have to set the Node.ALLOW_LOCAL_TO_VWORLD_READ capability on any node whose transform you want to read. josh Joshua L. Richmond, BASc, MSc. Systems Engineering (R

[JAVA3D] Rendering images for only one eye in stereo

2001-04-20 Thread Xiaolong Zhang
Hi, I am doing some stereo stuff, and need to render some objects only for one eye. It means that these objects are only visible for one eye, say the right eye, and are not shown in the image rendered for the left eye. The visibility of these objects is the only difference between two images. I d

[JAVA3D] how to get the world coordinate of leaf nodes of a BranchGroup

2001-04-20 Thread Liming CHEN
Hi, I build a BranchGroup that contains one or more TransformGroups, then these TransformGroups contain more children and so forth. My question is: how can I access the children nodes at the leaf end of this branchGroup? I found that the getAllChildren() method in BranchGroup can only get the chi

Re: [JAVA3D] Documentation again

2001-04-20 Thread John Wright
Artur, I have no interest in debating matrix documentation with you. It was simply an example that I tossed out quickly. I did check the pdf doc you mentioned. It doesn't provide any more information in this specific case. If all you do is toy with Java 3D and make little demos then I agree, t

[JAVA3D] Volumetric Light

2001-04-20 Thread Ahmed Shakil
Any body know it is possible or any work around for that?? Ahmed === 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 P

Re: [JAVA3D] Range ordering of transparent objects

2001-04-20 Thread Doug Twilleager
We have talked about adding an indirection table to the OrderedGroup node to do this very thing. Unfortunately, that doesn't help you right now. :^( Doug Twilleager Sun Microsystems >MIME-Version: 1.0 >Subject: [JAVA3D] Range ordering of transparent objects >To: [EMAIL PROTECTED] > >Yes, I'm s

Re: [JAVA3D] setVisible(false)

2001-04-20 Thread Doug Twilleager
>Hi there, > >Some hints on the following issue would be very appreciated. >Any idea about how to set up the : >javax.media.j3d.Appearance.getRenderingAttributes().setVisible(false) ? > >I have tried something like : >RenderingAttributes RenderATT=new RenderingAttributes(); >

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

2001-04-20 Thread Corysia Taware
No, you'll have to use either gl4java or Magician. There are no "official" OpenGL bindings for Java. gl4java is free under GPL and has a nice auto-installer. I don't know a lot about Magician. I keep hearing rumors that it's going to be discontinued. - Original Message - From: "Mohamm

Re: [JAVA3D] Help! How can I use ViewingPlatform?

2001-04-20 Thread Kasparian, Raffi J.
Thanks, Paul. That did the trick. Raffi -Original Message- From: Paul Byrne [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 4:19 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Help! How can I use ViewingPlatform? HI, You need to create a Viewer object instead of creating a

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

2001-04-20 Thread Mohammed Akacem
I just surfed to the home site of GL4Java http://www.jausoft.com/gl4java/ but I still want to know if it is possible without using gl4java or any other similar product. "Theron, Jannie" schrieb: > Have you taken a look at GL4Java ? > > I heard about it but haven't checked it out. > > -Origi

[JAVA3D] Range ordering of transparent objects

2001-04-20 Thread J. Lee Dixon
Yes, I'm still working on this... ;) I have it working, but it's a bit slow. My first problem was my crude sorting algorithm. I can get around that. Now I think my problem is the slowness of moving BranchGroup nodes around in the OrderedGroup. I thought I had heard that detaching a BranchGrou

Re: [JAVA3D] synchronizing within a behavior

2001-04-20 Thread Kasparian, Raffi J.
Yes, What you say about deadlock makes sense, but none of MY code in OrderedBehavior.run creates new threads (Who knows what Java3D is doing). I don't understand how deadlock can have been created. Anyway, I'm now using toArray() and the problem seems to be gone. Since Vector is a synchronized cl

Re: [JAVA3D] Help! How can I use ViewingPlatform?

2001-04-20 Thread Sackmunky
Nevermind, I got it to work :) Zak - Original Message - From: "Sackmunky" <[EMAIL PROTECTED]> To: "Discussion list for Java 3D API" <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 9:58 AM Subject: Re: Re: [JAVA3D] Help! How can I use ViewingPlatform? > I am having the same problem, Eve

Re: [JAVA3D] Help! How can I use ViewingPlatform?

2001-04-20 Thread Sackmunky
I am having the same problem, Even with the Viewer object, Orbit Behavior doesnt work. Does anyone have a solution? Zak - Original Message - From: "Kakollu Satyanarayana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2001 3:48 PM Subject: Re: [JAVA3D] Help! How ca

Re: [JAVA3D] Building custom backgrounds

2001-04-20 Thread Paul Byrne
>> >>Doug Twilleager wrote: >>> >>> No, it behaves exactly as you described in you initial question. >>> Try demo/java3d/Background/BackgroundGeometry. >> >>Oh, right, first part. One more dumb question: If I change parent >>transforms on the fly does it pick up the rotation coordinates of it. >>S

Re: [JAVA3D] OO design vs performance

2001-04-20 Thread Artur Biesiadowski
Jordi López wrote: > > Hello, > > I appreciate your opinion on that: > > Java3D API is full of get* and set* methods and the most of them only copy > the param value to its private atribute. The performance is lowered down > with a lot of function calls in the stack. Most people says that making t

Re: [JAVA3D] OO design vs performance

2001-04-20 Thread Joerg 'Herkules' Plewe
> Java3D API is full of get* and set* methods and the most of them only copy > the param value to its private atribute. The performance is lowered down > with a lot of function calls in the stack. Most people says that > making the inner state of an object public is not OO, I think you are comple

[JAVA3D] JScrollPane doesn't repaint correctly

2001-04-20 Thread Josh Richmond
Hi everyone, In my application I have a few JDialogs floating over my Canvas3D's. Within the dialogs are JScrollPanes containing JTextAreas. When I drag the scroll bars, the text areas do not repaint correctly until I click them into focus. If I jump the scroll bars it works fine. If I run the

[JAVA3D] OrbitBehavior.maxRadius()

2001-04-20 Thread Sackmunky
Is there anyway to make the Orbit behavior not zoom,translate past a certian radius, without the whole behavior stopping? I set the bounds to a smaller number, but whenever I get to that radius, the behavior stops. I want to be able just to use the behavior within a set radius and never stop

Re: [JAVA3D] Documentation again

2001-04-20 Thread Artur Biesiadowski
John Wright wrote: > "Another vaild notational scheme sometimes seen in computer graphics > uses matrices with translation vectors in the bottom row. In this > scheme, the order of matrices would be reversed, i.e., the order of > application would read from left to right. Vectors and matrices i

[JAVA3D] OO design vs performance

2001-04-20 Thread Jordi López
Hello, I appreciate your opinion on that: Java3D API is full of get* and set* methods and the most of them only copy the param value to its private atribute. The performance is lowered down with a lot of function calls in the stack. Most people says that making the inner state of an object publi

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

2001-04-20 Thread Theron, Jannie
Have you taken a look at GL4Java ? I heard about it but haven't checked it out. -Original Message- From: Mohammed Akacem [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 4:53 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Applet with OpenGL instead of java3D is it possible? - security

Re: [JAVA3D] Documentation again

2001-04-20 Thread Kevin Rushforth
I will make sure this is documented more clearly in the next (alpha2 or beta) rev of the Java 3D 1.3 javadocs and specification. -- Kevin Rushforth Java 3D Team Sun Microsystems [EMAIL PROTECTED] >Date: Fri, 20 Apr 2001 08:43:43 +1000 >From: Justin Couch <[EMAIL PROTECTED]> >Subject: Re: [JAVA

[JAVA3D] Viewing examples

2001-04-20 Thread Sackmunky
Does anyone have any examples with scenes with multiple views?   I am trying to set up multiple views for the same scene, and need some guidence.   Can someone help?   Zak

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

2001-04-20 Thread Mohammed Akacem
I want to implement a 3d viewer as an applet , I know I can use Java3D but I was thinking of the possibility to use Java native interface to call OpenGl, is this any way possible and does it make sense? which security permission should the user grant to my applet und would my code be faster enoug

Re: [JAVA3D] Java3D demo program crashed on linux

2001-04-20 Thread Ingo Brunberg
This question is asked more and more frequently as people pick up a newer Linux distribution and install XFree86 4.0. As far as I know, there are only two solutions to this problem: 1) Switch back to XFree86 3.3.6. or 2) Get Direct Rendering to work (if your graphics card is DRI-supported).

Re: [JAVA3D] Documentation again

2001-04-20 Thread John Wright
I agree, that the documentation should not include a tutorial on how matrices work or the underlying math. However we DO need documentation for how to properly set up these matrices. Are these matrices row-major form or column-major form? Again quoting from "Real Time Rendering" page 32: "Anot

Re: [JAVA3D] Java-only Java3D Lite?

2001-04-20 Thread J. Lee Dixon
I looked at the demo. Impressive, but I noticed pretty low poly counts and not very much texture mapping (many parts of the demo there were none). I don't recall seeing any transparent objects either. It would be nice to see an *interactive* demo because there was one where I almost thought the

Re: [JAVA3D] Java-only Java3D Lite?

2001-04-20 Thread John Davies
Pretty amazing, why are we bothering with Java 3D, this looks faster in pure Java! :-) -John- Josh Richmond wrote: > > I haven't looked into this API, but he has a snazzy > demo:http://www.obrazstudio.com/demo/ 3D with pure Java josh > >>> [EMAIL PROTECTED] 04/19/01 01:32PM >>> > Westley, > >

Re: [JAVA3D] Documentation again

2001-04-20 Thread John Davies
I have to agree here, you would not expect a tutorial of trig functions or natural logs in the Math class. It is generally assumed that if you're going to use them you know what you're doing. It would be a nice idea to point people in the right direction and list the concepts that the user should

[JAVA3D] text3d

2001-04-20 Thread PLUG
Hi.   Any idea about how  in text3D make carrying to necessarying line (/n)?   plese   [EMAIL PROTECTED]   ICQ: #75190013

Re: [JAVA3D] setVisible(false)

2001-04-20 Thread Adriano Cavalcanti Silva
Hi Folks, I have decovered yet. Thnx anyway. |:0). Rgds, Adriano Adriano Cavalcanti Silva schrieb: > Hi there, > > Some hints on the following issue would be very appreciated. > Any idea about how to set up the : > javax.media.j3d.Appearance.getRenderingAttributes().setVisible(false) ? > >

[JAVA3D] setVisible(false)

2001-04-20 Thread Adriano Cavalcanti Silva
Hi there, Some hints on the following issue would be very appreciated. Any idea about how to set up the : javax.media.j3d.Appearance.getRenderingAttributes().setVisible(false) ? I have tried something like : RenderingAttributes RenderATT=new RenderingAttributes(); Render

[JAVA3D] Applet parameters

2001-04-20 Thread Daniel Moscoso
Hi all !! I know that parameters can be passed to an applet from the HTML file with . But the parameter values can be caught with getParameter(...) only in the init() method of the applet. The applets usually written in java3d have the main() method and construct the applet with new MainFrame(