Re: [JAVA3D] FPS style navigation

2003-06-09 Thread Flavius Alecu
wow, thanx a lot..this si really great..however, I have a problem with your class and I don't know if it's my computer...well I'm almost sure it is but maybe you know how I can solve this. I used the FreeLook class as you explained and everything works ok except one thing, when I move the mouse

Re: [JAVA3D] FPS style navigation

2003-06-09 Thread Flavius Alecu
Hi Artur, never mind my last question, I've fixed it...the applet needed permission to use a robot. However, I'd like to ask you some other questions and I hope you have the time and want to answer them. First, when I run my applet with freelook, the cursor is always positioned in the middle of

Re: [JAVA3D] Rotating objects at the same time and keeping themtogether

2003-06-09 Thread Dani F.
Hi Brad. I thought this would be the solution... but which "origin" of the rotation should I set? I don't know if I should put the center of one of the objects... the center of all of them... and in this case, how do I set that? Sorry, but I'm a little lost with this stuff :/// Thanks and cheers

Re: [JAVA3D] polyhedron creation problem

2003-06-09 Thread Alessandro Borges
This polygon data is  buggy...     - Original Message - From: Γιάννης To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 8:14 PM Subject: [JAVA3D] polyhedron creation problem I want to create a polyhedron and that is the code. But the shape that gene

Re: [JAVA3D] polyhedron creation problem

2003-06-09 Thread Γιάννης
Thank you Allesadnro for your respone! I am looking forwatrd to look your code! It would be helpful to go on more complex shapes as the one (polyhedron) that i want to create!     - Original Message - From: Alessandro Borges To: [EMAIL PROTECTED] Sent: Monday, June 09, 2

[JAVA3D] Best getPreferredConfiguration

2003-06-09 Thread Alessandro Borges
Hi    I will distribute a Java3D application, and I spect some not so friendly hardware from my all clients. I wanna know if SimpleUniverse.getPreferredConfiguration()  in this last version (1.3.1) deals with that cards with zbuffer reported as zero bits depth buffer, as Kyro and Matrox video

[JAVA3D] Inverted Normals Question

2003-06-09 Thread Nick Stark
Hi - I have a set of objects, all of whose normals are initially correct (all lighting looks as it should). However, I apply a mirror transform to some of the objects, and when viewing the new objects, it appears that the normals have been inverted on the geometry. The lights still look correct

Re: [JAVA3D] FPS Game results

2003-06-09 Thread Alan Hudson
Grant Andrew Crofton wrote: Slow compared to Quake II, where I got my models from. I have no direct comparisons, but the framerate is certainly slower than a much bigger Quake level. ok, I seem to remember the original post being more of a benchmark, ie C is better then Java. I just wanted to co

Re: [JAVA3D] GeometryInfo Texturing

2003-06-09 Thread Paul Pantera
Hello everyone, I've got problem with texturing GeometryInfo. I have cod like this: Point3f p1 = new Point3f(0.5f, 0.5f, 0.0f); Point3f p2 = new Point3f(0.5f, 0.0f, 0.0f); Point3f p3 = new Point3f(0.3f, -0.3f, 0.0f); Point3f p4= new Point3f(-0.3f, -0.3f, 0.0f); Point3f p5 = new

[JAVA3D] PickCanvas and SimpleUniverse question

2003-06-09 Thread McCormick, Brian
Hello all, I'm using SimpleUniverse and PickCanvas together and running into some difficulties. I've condensed all of the relevant code below. public class Java3DWorld extends Canvas3D { private SimpleUniverse simpleUniverse; private PickCanvas pickCanvas; public Ja

[JAVA3D] scenegraph.io troubles

2003-06-09 Thread Maxim Tugai
Hi, I have troubles with reading scene graph from stream. Here is scenario: 1) I write root BranchGroup object to stream using SceneGraphStreamWriter. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the bod

[JAVA3D] scenegraph.io troubles (updated)

2003-06-09 Thread Maxim Tugai
Hi, I have troubles with reading scene graph from stream. Here is scenario: 1) I write root BranchGroup object to stream using SceneGraphStreamWriter.writeBranchGraph(BranchGroup graph, HashMap namedObjects) While writing, I supply it with HashMap which contains named objects of scene graph. 2) I

Re: [JAVA3D] Inverted Normals Question

2003-06-09 Thread Alessandro Borges
Maybe this is a bug. How do you do this mirroring ?? transform3D.setScale(-1) ? ( I guess the Java3D develop. team never imagined a negative scaling hehehehe ) If so, may you can try another way as reverting X axis of the shapes, as below :   private void mirrorShapeXAxis(Shape3D sh){  Appea

Re: [JAVA3D] Best getPreferredConfiguration

2003-06-09 Thread Kelvin Chung
Alessandro Borges wrote: Hi I will distribute a Java3D application, and I spect some not so friendly hardware from my all clients. I wanna know if SimpleUniverse.getPreferredConfiguration() in this last version (1.3.1) deals with that cards with zbuffer reported as zero bits depth buffer, as Kyr

Re: [JAVA3D] Best getPreferredConfiguration

2003-06-09 Thread Alessandro Borges
Thanks, Kelvin - Original Message - From: "Kelvin Chung" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Discussion list for Java 3D API" <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 2:36 PM Subject: Re: [JAVA3D] Best getPreferredConfiguration > Alessandro Borges wrote: > > > Hi > >

Re: [JAVA3D] Rotating objects at the same time and keeping themtogether

2003-06-09 Thread trz
Dani F. wrote: Hi Brad. I thought this would be the solution... but which "origin" of the rotation should I set? I don't know if I should put the center of one of the objects... the center of all of them... and in this case, how do I set that? Hi, something like this should work. Find the center of

Re: [JAVA3D] FPS style navigation

2003-06-09 Thread Artur Biesiadowski
Flavius Alecu wrote: First, when I run my applet with freelook, the cursor is always positioned in the middle of the applet, but does not disappear. Is there a way to make it invisible? Yes. You need to set cursor to custom image, with nothing on it. I think that following code should work (but I

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

2003-06-09 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday June 9 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] Inverted Normals Question

2003-06-09 Thread Nick Stark
Thanks for your response, Alessandro. I am actually mirroring a coordinate system change transform. Here is one of the transforms I am trying to mirror. 0.997564, -0.069755, -0.000462, -0.00, 0.067070, 0.957300, 0.281208, -0.006913, -0.019174, -0.280554, 0.959647, -0.04314, 0.00, 0.00

Re: [JAVA3D] COLOR_3 + UCIO + Transp.Att

2003-06-09 Thread Kelvin Chung
N. Vaidya wrote: Well, still seem to be having problems with transparency and COLOR_3 + UCIO with the J3D FCS. Here is a summary: With transparency set up thru' TransparencyAttributes: 1. IndexedGeometryArray with COLOR_3 + UCIO bits appear opaque instead of transparent. 2. IGA with COLOR_3 bit

[JAVA3D] SimpleUniverse.getPreferredConfiguration returns NULL

2003-06-09 Thread Raghavendra R
Hi, Can SimpleUniverse.getPreferredConfiguration return NULL anytime? One of our customers is getting an " ERROR: Canvas3D constructed with a null GraphicsConfiguration This will cause a NullPointerException in a subsequent release " when a Canvas3D is constructed passing "SimpleUniverse.getPrefer

Re: [JAVA3D] Inverted Normals Question

2003-06-09 Thread Dirk L. van Krimpen
Hi Nick, In the past I made some mistakes with mirrorring myself, so I learned that simply mirroring triangles don't work well. I's just a matter of disturbing your counterclockwise vertex sequence. I would like to explain it with an example below: Let's assume you created just one traingle at th

Re: [JAVA3D] Inverted Normals Question

2003-06-09 Thread Dirk L. van Krimpen
Nick, while sending my reply, I saw that those traingle were messed up. Still I hope you got the idea. If not, please let me know. Dirk - Original Message - From: "Nick Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 10:53 PM Subject: Re: [JAVA3D] Inverted