[JAVA3D] Java3D API and Plug-in

2001-02-06 Thread li wang
I first installed jdk1.2.2_07 on Solaris 5.8(ultra5), secondly installed the Java3d jre(not jdk) into the jdk directory. Then Java Plug-in and OpenGL for Solaris. But I can neither  run any of the java3d sample file on the command line.( error such as  javax, vecmath etc. cannot be found), nor run

Re: [JAVA3D]

2001-02-06 Thread Roland Pereira
Hello,   You should add this jar file in one of the libraries for that jbuilder project. A library contains a list of  all the jar files that are required to compile and run the application   Roland -Original Message-From: Discussion list for Java 3D API [mailto:[EMAIL

Re: [JAVA3D]

2001-02-06 Thread Erio Prihastono
In Project Property there is library setting, just add new one with name you want to called (such as vrml97) then add classes (vrml97.jar) it's should be works   ERIO P  - Original Message - From: John Jackson To: [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001

[JAVA3D]

2001-02-06 Thread John Jackson
i have the vrml97.jar file but how does anyone know how to incorporate it into jbuilder3 so i can do import vrml.* import vrml.node.* import vrml.field.*

[JAVA3D] Java3D issues with ATI Rage Mobility 128 M4

2001-02-06 Thread Jack Pien
hi,   i was wondering if anyone has ran Java3D (1.2OpenGL w/ Java1.3) on an ATI Rage Mobility M4 128 (on a Dell Inspiron 8000).  i see a consistent system hang which requires a reboot whenever you clip the Java3D window (running any j3d demo app) with another window or against the edge of th

Re: [JAVA3D] What is Z buffering?

2001-02-06 Thread Kyle Wayne Kelly
Excellent! thanks Kyle Wayne Kelly Computer Science Student University of New Orleans http://www.cs.uno.edu/~kkelly - Original Message - From: "John Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 06, 2001 5:58 PM Subject: Re: [JAVA3D] What is Z buffering? >

Re: [JAVA3D] What is Z buffering?

2001-02-06 Thread John Wright
Kyle, Put simply "Z Buffering" is where for each point on your display screen (x,y) a "z" value is kept. As polygons are processed the z values are compared to determine whether a point on that polygon is in front or behind the current z value. In other words, the Z buffer is a technique to figu

Re: [JAVA3D] getting WorldInfo from vrml97

2001-02-06 Thread Justin Couch
Josh Richmond wrote: > It's unfortunate that it's spec'd that way. I'm planning on embedding some user >information in the WorldInfo node, so I guess my modified version of the loader will >not be correct. Could you (or anyone) recommend a more correct way of adding user >information so that i

Re: [JAVA3D]

2001-02-06 Thread John Jackson
thanks Ahmed much appreciated.   John - Original Message - From: Ahmed Shakil To: [EMAIL PROTECTED] Sent: Tuesday, February 06, 2001 6:07 AM Subject: Re: [JAVA3D] http://www.j3d.org/utilities/loaders.html -Original Message-From: John Jackson

Re: [JAVA3D] Alpha: Setting mode does not disable use of increasingAlphaDurati on

2001-02-06 Thread Kelvin Chung
Hi Joel, The stopTime of Alpha is equal to: stopTime = triggerTime + phaseDelayDuration + loopCount* (increasingAlphaDuration+ alphaAtOneDuration+ decreasingAlphaDuration+ alphaAtZeroDuration); When

Re: [JAVA3D] getting WorldInfo from vrml97

2001-02-06 Thread Josh Richmond
Thanks Justin. It's unfortunate that it's spec'd that way. I'm planning on embedding some user information in the WorldInfo node, so I guess my modified version of the loader will not be correct. Could you (or anyone) recommend a more correct way of adding user information so that it can be re

[JAVA3D] What is Z buffering?

2001-02-06 Thread Kyle Wayne Kelly
What is Z buffering, and how does it work? Kyle Wayne KellyComputer Science StudentUniversity of New Orleanshttp://www.cs.uno.edu/~kkelly

Re: [JAVA3D] getting WorldInfo from vrml97

2001-02-06 Thread Justin Couch
Josh Richmond wrote: > I'm using the com.sun.j3d.loaders.vrml97 loader and have a question about the >visbility of WorldInfo. Is there a reason why it is not accessible from the VrmlScene? The VRML specification defines the fields as "field" type. That is, they cannot be accessed. The informati

Re: [JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread Kelvin Chung
Hi Alvaro, MouseZoom uses WakeupOnBehaviorPost() and shoudn't have this problem. It may be other things in your scene graph that cause the problem. Which version of Java3D are you using ? Please try the latest v1.2.1 beta2 to see if it works. Attach is an example modify from HelloUniverse (af

[JAVA3D] Alpha: Setting mode does not disable use of increasingAlphaDurati on

2001-02-06 Thread J. Lee Dixon
JDK 1.3, Java3D v1.2.1Beta1 In my code, I use the same Alpha for doing a simple 2 second up-ramp (0 to 1)... Alpha a = new Alpha(1, 2000); This works fine. ... then later use the same object to do a simple 1.5sec down ramp (1 to 0) a.setDecreasingAlphaDuration(1500); a.se

Re: [JAVA3D] NCSA RecordableCanvas3D

2001-02-06 Thread Steve Pietrowicz
If you use RecordableCanvas3D without the PortfolioApplication object, you won't get that message (Something referenced in PortfolioApplication spits out that message).   You can also look how to do your own RecordableCanvas3D.  Info on how to do that is at: http://www.j3d.org/faq/capturing.htm

Re: [JAVA3D] NCSA RecordableCanvas3D

2001-02-06 Thread Steve Pietrowicz
NCSA Portfolio is available from: http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/ It's a set of classes that perform various functions that we've found useful for us. We packaged those up, and made them available for others to try out. Javadoc there explains what's in the package. At 01:29 P

Re: [JAVA3D] Adding Objects to a Live Scene Graph

2001-02-06 Thread Michael B
You can add these things, but they must be added to a branchgroup before being added to a live scene. ie To add a behavior to a live scene use: MyBehavior mybehavior=new MyBehavior(); BranchGroup adderGroup=new BranchGroup(); adderGroup.addChild(mybehavior); liveScene.addChild(adderGroup); hope

Re: [JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread alvaro zabala
Hi! I´m trying to build a function like "target" in VRML. I use a PickBehavior, and when I get the coordinates of the point where I picked, I get the equation of the line in the 3d space and pass the coordinates betwen View Point and Pick Point to the Transform. The problem is that I "pass" like

[JAVA3D] Canvas3d consumes 100% cpu

2001-02-06 Thread alvaro zabala
Hi!,Kelvin. I tried to solve the problem of the class which extends Canvas3D and consumes 100% of CPU. I´ve made three class which extends MouseRotate, MouseZoom and MouseTranslate. The code is like this: class MiMouseZoom extends MouseZoom{ public void initialize(){ wakeupOn(new WakeupOnElap

Re: [JAVA3D]

2001-02-06 Thread Christopher Kim
sorry for mistake. >From: "J. Lee Dixon" <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] >Date: Tue, 6 Feb 2001 09:10:53 -0500 > >I think you missed something. Working it out it looks like this: > >(Vi - Vj) - (Vj

Re: [JAVA3D]

2001-02-06 Thread J. Lee Dixon
I think you missed something. Working it out it looks like this: (Vi - Vj) - (Vj - Vk) = Vi - Vj - Vj + Vk = Vi - 2Vj + Vk -Lee > -Original Message- > From: Christopher Kim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 06, 2001 8:56 AM > To: [EMAIL PROTECTED] > Subject: Re: [JA

Re: [JAVA3D]

2001-02-06 Thread Paraskevas Orfanides
Actually Cristopher, you are a little off. Notice that it's Vi-Vj-(Vj-Vk). Distributing the minus into the parenthesis yields Vi-2Vj+Vk. Now the vector sub, add, and length can be used, as J.Lee Dixon indicated. Paraskevas --- Christopher Kim <[EMAIL PROTECTED]> wrote: > When you do it by hand,

Re: [JAVA3D]

2001-02-06 Thread Robert Pies
Hi Tien, ...Your expression should evaluate to the following: vector: W = (W1,W2) = ( Xi-2*Xj+Xk , Yi-2*Yj+Yk ) and then: value: Math.sqrt( W1*W1 + W2*W2 ) Robert. Tien Tran Thuong wrote: > > thank you for you reply > > there are three point: i, j and k. > Vi = (Xi, Yi), Vj = (Xj, Yj) and Vk

Re: [JAVA3D]

2001-02-06 Thread Christopher Kim
When you do it by hand, due to communitive property of vector matrix, the equation | ( Vi - Vj ) - ( Vj - Vk ) | will become | ( Vi + Vk ) | since you multiply the -1 to the right side and add them. and with using the Math.sqrt((Xi+Xk)^2+(Yi+Yk)^2) will give you the amplitude of the vector.

[JAVA3D] getting WorldInfo from vrml97

2001-02-06 Thread Josh Richmond
Hi, I'm using the com.sun.j3d.loaders.vrml97 loader and have a question about the visbility of WorldInfo. Is there a reason why it is not accessible from the VrmlScene? Even if it were, the title and info members have package visibility. Is there any way to retreive this information short of m

Re: [JAVA3D]

2001-02-06 Thread Tien Tran Thuong
thank you for you reply there are three point: i, j and k. Vi = (Xi, Yi), Vj = (Xj, Yj) and Vk = (Xk, Yk) are the coordinates of i,j,k I'd like to know how to calculate: | ( Vi - Vj ) - ( Vj - Vk ) | it's knew that : | Vi - Vj | = Math.sqrt( (Xi-Xj)*(Xi-Xj) - (Yi-Yj)*(Yi-Yj) ) thank you > Hi

Re: [JAVA3D]

2001-02-06 Thread J. Lee Dixon
I think that the -1 is actually a subscript: | ( V(i-1) - V(i) ) - ( V(i) - V(i+1) ) | Look at the attached diagram to see what this means. I also assume that the "||" mean you want the length of the vector. Are you missing out on how to perform this vector math? This you can pick up in a Calc

Re: [JAVA3D]

2001-02-06 Thread Christopher Kim
Hi Tien, Are you referring that "Vi-1" is "V sub i minus1" and "Vi+1" is "V sub i plus 1"? | ( Vi-1 - Vi ) - ( Vi - Vi+1 ) | Chris Kim Iowa State University >From: Robert Pies <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subjec

Re: [JAVA3D] Performance of AlternateAppearance

2001-02-06 Thread Yuri Nikishkov
Thank you for the response. Just a quick note: As we have found, the performance of AlternateApperance scales with the number of shapes affected, but not with the size of geometry. We were able to significantly decrease the time needed to set AlternateApperance on a large scene, after we merged

Re: [JAVA3D]

2001-02-06 Thread Robert Pies
Hi Tien, I can't make sense out of your expression for at least 2 reasons: a) if Vi is a vector (xi,yi), the term 'Vi-1' doesn't make sense b) 'Vi-Vi' would be (0,0), so all the Vi's in your expression cancel out... Maybe the '-' in your expression is really a '*' denoting the (inner) vector

Re: [JAVA3D] NCSA RecordableCanvas3D

2001-02-06 Thread Robert Pies
Hi everybody, I've noticed this msg about NCSA's 'RecordableCanvas3D', I didn't know of any existing j3d extensions by NCSA and I've now found a vrml-loader, also. Can anybody roughly sketch NCSA-tool's advantages over plain j3d ? (Is the vrml-loader able to capture the vrml-event model in java?

[JAVA3D]

2001-02-06 Thread Tien Tran Thuong
Hello,   Could anyone show me please how to calculate the expression below :       | ( Vi-1 - Vi ) - ( Vi - Vi+1 ) |   Where  Vi = (xi,yi) is coordinate of the i-th vertex.   Thank you in advance