[JAVA3D] Exception in thread "main" java.awt.AWTError: BoxLayout can't be shared

2001-03-08 Thread Mona Wong
I keep getting the following error: "Exception in thread "main" java.awt.AWTError: BoxLayout can't be shared" I've looked all over the doc but can't find any information about this. What is it trying to tell me? What is the problem? How do I fix it? All help is appreci

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Shawn Kendall
Personally at this point, I would much rather use the news group, instead of filtering and storing all this mail. Also, threads can run much "deeper" on a news groups and people don't get a annoyed as they may on mailing lists... Dan Petersen wrote: > Not sure how to get all ISP's to carry the

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Kyle McDonald
How about setting up a mail to news gateway? People could then choose which way they want to view the info. and possibly more ISP's would carry the group if it had more traffic? -Kyle -- _ ---ooO( )Ooo---

Re: [JAVA3D] Could you help me in any question?

2001-03-08 Thread J. Lee Dixon
I think what your asking is "why does my object move when I rotate it?" Well, again I assume that you have a Shape3D under a TransformGroup, and you are rotating this transform. Rotations occur about the origin of the transform, so if the transform has any non-zero translation components, the ob

Re: [JAVA3D] Positioning object

2001-03-08 Thread J. Lee Dixon
You could do some things with geometry using tangents, or you could just use Java3D to do it for you. I assume you want the object to be "sitting on" the sphere. Assuming the object's "up" is positive Z, look at these thoughts: Given a selected position on the sphere (longitude, latitude) of ra

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Dan Petersen
Not sure how to get all ISP's to carry the group. Probably need to get their sys admins to get the latest official list of groups (posted to news.groups, I believe). I don't know about a web accessible view. I can mention it to our web guys but I don't think they will be to thrilled with the id

Re: [JAVA3D] References for learning 3D concepts

2001-03-08 Thread J. Lee Dixon
I got the "Real-Time Rendering" book for Christmas. It's not bad. Helped me understand quaternions a little better too. I also own the OpenGL redbook (programming guide). Good source for seeing the specs on what those min/mag tex filters are really supposed to do, has a good description of the

[JAVA3D] Canvas3D not rendering to whole window

2001-03-08 Thread J. Lee Dixon
I have recently changed how my Canvas3D size is selected. Since we are switching to changing "skins", we compute the location & size of the canvas3D and set it using setBounds(). Works fine in a browser window, but while running as an application (from Kawa) the Canvas is the right size, but the

Re: [JAVA3D] References for learning 3D concepts

2001-03-08 Thread John Wright
Alan, I put a few "mini book reviews" on j3d.org, check those out. "Real Time Rendering" is a very good book. - John Wright Starfire Research Alan Workman wrote: > > Hello all, > > I know that the reference material for Java 3D is a little on the slack > side as far as explaining 3D concepts a

Re: [JAVA3D] Lw3dloader

2001-03-08 Thread Paul Pantera
The code for the Lightwave loader is included in the Java 3D SDK in the file java3d-utils-src.jar. -Paul > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > Date: Wed, 7 Mar 2001 17:43:00 -0

[JAVA3D] References for learning 3D concepts

2001-03-08 Thread Alan Workman
Hello all, I know that the reference material for Java 3D is a little on the slack side as far as explaining 3D concepts and how they relate to the Java 3D API. I was wondering from everyone's experience, what would be the best book to get to learn 3D concepts so that I could compliment the exist

Re: [JAVA3D] Normal generation

2001-03-08 Thread Paul Pantera
> MIME-Version: 1.0 > Date: Thu, 8 Mar 2001 17:21:32 +0100 > From: BRANDY Cyril <[EMAIL PROTECTED]> > Subject: [JAVA3D] Normal generation > To: [EMAIL PROTECTED] > > Hi ! > > I read a mesh from a file representing a plane (17000 vertices) > > I put this geometry in a TriangleArray. I have to set

Re: [JAVA3D] How are they doing this?

2001-03-08 Thread Mark Ferneau
David, I think this is relatively standard fare for flight simulators and such. Usually the use two intersecting quads (or 4 triangles) with alpha transparency mapped textures of the trees. From any angle (except from above) it looks like a tree. I believe their last quad (or 2 triangles) is s

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Shawn Kendall
Rats. So what would be the path to make the news group accessible? How about Sun setting up a web accessible view like many other support news groups? ;-) Dan Petersen wrote: > A newsgroup was created: > comp.lang.java.3d > > Although this was created through the (very painful) official usene

Re: [JAVA3D] Positioning object

2001-03-08 Thread J. Lee Dixon
-- =_NextPart_001_01C0A7F9.B75F9004 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You could do some things with geometry using tangents, or you could = just use Java3D to do it for you. =A0 I assume you want the object to be "sitting on" th

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Fred Klingener
From: "Shawn Kendall" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 12:37 PM > Is there a Java3D news group? comp.lang.java.3d. Very light traffic. Cheers, Fred === To unsubscribe, send email to [EMAIL PROTECTED] an

Re: [JAVA3D] News group vs. Mailing list

2001-03-08 Thread Dan Petersen
A newsgroup was created: comp.lang.java.3d Although this was created through the (very painful) official usenet process, some ISP's don't appear to carry it. As a result almost nobody uses it ( 1 - 2 posts a week I would guess). Dan Petersen Java 3D Team Sun Microsystems > User-Agent: Mozill

[JAVA3D] News group vs. Mailing list

2001-03-08 Thread Shawn Kendall
Is there a Java3D news group? I thought awhile back we went over this and one got set-up. This mailing has really grown, and >30 posts day starts to get into the news group area of Internet communications! :-) -- ___ Shawn Kendall

[JAVA3D] Positioning object

2001-03-08 Thread Sackmunky
I know that this forum is on the "proggramming aspect of java3d" but can anyone help on this. I have a Sphere at(0.0.0) and an object that I want to place on the Sphere. Whereever I place it, I want it to always rotate the center point of that object to (0,0,0). Can anyone help?   Zak   PS. T

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread Fred Klingener
From: "Michael P. McCutcheon" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 10:33 AM > Cool...I see...the WakeupOnElapsedFrame sounds most like what I was doing > with VRML (i.e. after each frame, update all objects, etc.) > > So this processStimulus method is called by Java3D...does this m

Re: [JAVA3D] problem with rendering

2001-03-08 Thread John Wright
Desiree, Doesn't your right side fold back onto itself? (point 3 to 4 is the reverse of 2 to 3) (I didn't look beyond your right side) Thus you really didn't create boxes... which of course you don't see until you rotate them. As an experiment, if you still suspect a problem with normals, perhap

[JAVA3D] Using GeometryInfo for shapes with Holes

2001-03-08 Thread firas
I tried sending this mail many times without anu success .. ! Hope this time will work -- Hi All,  I am using GeometryInfo to draw volumes extruded from surfaces.  This works very simply.  But when my surfaces contain holes I have a problem of showing them as a re

[JAVA3D] Normal generation

2001-03-08 Thread BRANDY Cyril
Hi ! I read a mesh from a file representing a plane (17000 vertices) I put this geometry in a TriangleArray. I have to set the normals for each face to have some shading, and i wonder if j3d is able to generate normals for each face. I try to compute the normals myself, but my vertices are not

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Desiree Hilbring
oo On Thu, 8 Mar 2001, Yazel, David J. wrote: > I don't know enough of your app to understand what "looks wrong" to you.. In > the second screenshot there are empty bands in the middle of the box.. is > that what you are re

[JAVA3D] Using GeometryInfo for shapes with holes ?

2001-03-08 Thread firas
Hi All,  I am using GeometryInfo to draw volumes extruded from surfaces.  This works very simply.  But when my surfaces contain holes I have a problem of showing them as a real holes.  My question is : is it possible to draw the hole in the surface using a GeometryInfo ?   Please note that I pa

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Yazel, David J.
I don't know enough of your app to understand what "looks wrong" to you.. In the second screenshot there are empty bands in the middle of the box.. is that what you are referring to? If that happened during a rotation I would suspect the normals were wrong. Dave Yazel -Original Message

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread John Wright
As Dave mentions yes, you will not "see" the move as it will move instantaneously unless you use a behavior or thread so that the renderer sees each update and not the result of all these updates. Using a behavior is the easiest way to do this. - John Wright Starfire Research "Yazel, David J."

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Desiree Hilbring
On Thu, 8 Mar 2001, Yazel, David J. wrote: > Could it be clipping? "corners of boxes disappearing" sure sounds like a > clipping problem. It could be I am not sure, I was just wondering about clipping how it could create such an effect, like in the attached screenshot. Why can I see the above b

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread Michael P. McCutcheon
Cool...I see...the WakeupOnElapsedFrame sounds most like what I was doing with VRML (i.e. after each frame, update all objects, etc.) So this processStimulus method is called by Java3D...does this mean that I should make an object than extends javax.media.j3d.Behavior pass a wakeupOnElapsedFrame

Re: [JAVA3D] Could you help me in any question?

2001-03-08 Thread J. Lee Dixon
-- =_NextPart_001_01C0A7E1.5FF58A02 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I think what your asking is "why does my object move when I rotate it?" =A0 Well, again I assume that you have a Shape3D under a TransformGroup, = and you are

[JAVA3D] Using GeometryInfo for shapes with holes

2001-03-08 Thread firas
Hi All,  I am using GeometryInfo to draw volumes extruded from surfaces.  This works very simply.  But when my surfaces contain holes I have a problem of showing them as a real holes.  My question is : is it possible to draw the hole in the surface using a GeometryInfo ?   Please note that I pa

[JAVA3D] How are they doing this?

2001-03-08 Thread Yazel, David J.
I am attaching a link to a product that renders trees in a very nice manner. I just can't figure out how they do it. They say further on their website that they use only 6 triangles per tree including shadows and fallen leaves. And that it appears 3-d from all angles. The only thing I can thin

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Yazel, David J.
Could it be clipping? "corners of boxes disappearing" sure sounds like a clipping problem. Regards, Dave -Original Message- From: Desiree Hilbring [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 9:54 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] problem with rendering > Hi

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Desiree Hilbring
> Hi Desiree, > I would suggest you to use TriangleStripArray. Rgds, |:0). ok, i switched to TriangleStripArrays, but it does not help, the effect is the same. Any other ideas? Thanks Desiree > > Desiree Hilbring schrieb: > > > Hi everybody, > > > > I created an object, consisting of sever

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread Yazel, David J.
Well I don't think thats likely to work. Because it is in a AWT event and not in a behavior for one thing. What I would expect to happen is you push the button and it will do the 100 transforms in under one frame, thus the next frame will jump the object to the end destination. I do the vast ma

[JAVA3D] using GeometryInfo for a shape with a hole in it ?

2001-03-08 Thread firas
Hi All, I am using GeometryInfo to draw volumes extruded from surfaces.  This works very simply. But when my surfaces contain holes I have a problem of showing them as a real holes. My question is : is it possible to draw the hole in the surface using a GeometryInfo ?  Please note that I pass all

[JAVA3D] Could you help me in any question?

2001-03-08 Thread silvano
  Could you tell me i can do when:   if the object is rotated in x, y, z. it moves with the object instead of stay fixed.   I'd like to know how rotate my obect when this happened axles ( x , y ,z ) rotate together with my object.

Re: [JAVA3D] Resetting the graphics screen

2001-03-08 Thread Karsten Fries
Hi Rick, could you be more specific. do you want to start a new panel with a new canvas inside? or you just want to get rid of the canvas forever?? Cheers, Karsten Rick Livesey wrote: > Hi Guys, > > Just a quickie. I've got a graphics panel that renders all my J3D objects, > but what's the be

Re: [JAVA3D] graphic card

2001-03-08 Thread John Wright
I don't want to give a completely bad impression of Matrox. We've used their products for many years with excellent results (the G200 was a good card for quite a while). Now however (for the past two years) they have stumbled badly with the G400 which they won't admit is very temperamental (this

Re: [JAVA3D] Java3D scalability - any thoughts?

2001-03-08 Thread John Wright
Peter, The problem with "planning to buy a book" is that there are virtually no books on Java 3D currently published. Also since it is changing so rapidly it's tough for hard copy documentation to keep up with Java 3D. Sun seems to indicate that 1.3 will largely fix the problems with transparen

Re: [JAVA3D] JNI and running external exe files from java

2001-03-08 Thread Mojtaba Hosseini
Hello, Using C++ modules from Java and vice versa is relatively easy using JNI. The C++ code needs to be modified a little bit and a dll library created. The exact procedure is given on Sun's JNI website: http://java.sun.com/j2se/1.3/docs/guide/jni/index.html I especially found their tutorial t

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread John Wright
Michael, That code looks like it should work. Assuming of course the TransformGroup and it's object are in the scene with appropriate capability bits set. - John Wright Starfire Research "Michael P. McCutcheon" wrote: > > I am used to programming in VRML. With it, you would have a > TimeSensor

[JAVA3D] Resetting the graphics screen

2001-03-08 Thread Rick Livesey
Hi Guys, Just a quickie. I've got a graphics panel that renders all my J3D objects, but what's the best way to clear that screen AND de-allocate all the memory used to represent it? Cheers me dears Rick === To unsubscribe,

Re: [JAVA3D] How do I move an object without interpolators?

2001-03-08 Thread Jörg Müller - DoubleYou
you can write your own custominterpolator. write a class that extends Interpolator with wakeupOnElapsedFrame or wakeupOnElapsedTime in the processStimulus you can then increment the position, etc. how you want it. It will be called every x frames/milliseconds depending how you initialized your w

Re: [JAVA3D] Java3D Applet

2001-03-08 Thread Daniel Moscoso
Hello You have to install the Java3D plugin (JRE and Java3D). Installation process is in: http:\\www.j3d.org\installing.html Hope this helps. Hello, I'm new to Java 3D, and I'm trying to do one applet that show a ColorCube. It is a very simple thing to do. I've written the applet and I'm able

Re: [JAVA3D] problem with rendering

2001-03-08 Thread Adriano Cavalcanti Silva
Hi Desiree, I would suggest you to use TriangleStripArray. Rgds, |:0). Desiree Hilbring schrieb: > Hi everybody, > > I created an object, consisting of several smaller boxes, created by > QuadArrays. The problem arises, when I try to rotate the box, then I get > some really strange renderi

[JAVA3D] JNI and running external exe files from java

2001-03-08 Thread Ben Arbel
hey guys do you know how i can call an exe files from within a java program ? also, how difficult it is to wrap visuall c++ modules with jni to enable bi-directional between the java / c++ modules ? what is the process invloved ? thanks Ben Arbel Xtivia Technologies Web http://www.xtivia.com h

Re: [JAVA3D] About vectors

2001-03-08 Thread Adriano Cavalcanti Silva
Hi Jonathan, Look there... http://www.j3d.org/tutorials/raw_j3d/chapter5/ http://www.j3d.org/tutorials/raw_j3d/ Rgds, |:0). Jonathan Albert C Vallar schrieb: > Thanks for your help! > > Can I ask if there is a possibility that I can get the parent of the viewplatform >and modify the rotati

[JAVA3D] problem with rendering

2001-03-08 Thread Desiree Hilbring
Hi everybody, I created an object, consisting of several smaller boxes, created by QuadArrays. The problem arises, when I try to rotate the box, then I get some really strange rendering results. The edges of the objects are cut of or some, not all, of the smaller boxes are not displayed. I searc