Re: [JAVA3D] finding the coordinates - clarification

2002-02-15 Thread Karsten Fries
O.k. now i get it. i kind of knew that you could mean a problem i had some time ago. I see two possibilities that depend on the degree of freedom for looking at your scene. 1) What about having a not visible but intersectable geometry around your viewing position. Simply intersect (using the p

Re: [JAVA3D] 3D modeling

2002-02-15 Thread Martin Baker
Andy, I am working on such a 3d editor program, for details see: http://www.martinb.com/ This is an open source project, all code is availible at: http://sourceforge.net/projects/mjbworld/ Can anyone help me with this project? (improving code, testing, documentation, etc.) Thanks, Martin =

[JAVA3D] content positioning?

2002-02-15 Thread Karl Parry
Hello again, I have created content using Milkshake 3D and imported these objects into my Java application. How do I specify where it all goes? i.e. The chair's to the left of the wall, on the floor etc... I was hoping someone might have a piece of code similar to what I am trying to produce or

[JAVA3D] getting started

2002-02-15 Thread DEVLEESCHOUWER Gregory - NTR ( [EMAIL PROTECTED] )
Hi everybody, i'm completely new to java3d (but not to java) and i need some materials to begin. Beside the tutorial found on java.sun.com, does anybody have good links? Greg === To unsubscribe, send email to [EMAIL PROTECT

Re: [JAVA3D] finding the coordinates - clarification

2002-02-15 Thread Raj Vaidya
Hi ian, You want the colorcube to follow the mouse cursor with high-fidelity, am I right ? Below is a modified version of your original code. Just check out if this is what you wanted... HTH, Vaidya ==Modified code === import java.applet.

[JAVA3D] coordinate mapping question

2002-02-15 Thread Michael Newcomb
Thanks for the responses to my previous newbie question. Now, got another one. I have a local coordinate system that lies in just the XY plane. I want that coordinate system mapped onto the surface of a sphere... I want to be able to pick any point on the surface of the sphere, then translate

Re: [JAVA3D] getting started

2002-02-15 Thread Justin Couch
DEVLEESCHOUWER Gregory - NTR ( [EMAIL PROTECTED] ) > i'm completely new to java3d (but not to java) and i need some materials to > begin. Beside the tutorial found on java.sun.com, does anybody have good > links? Have a start here: http://www.j3d.org -- Justin Couch ht

[JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Michael Newcomb
Why don't they have getters and setters? Michael === 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 in

Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Justin Couch
Michael Newcomb wrote: > Why don't they have getters and setters? a) Not everything in the world needs or should be JavaBeans (I really personally dislike the concept) b) Performance reasons. In 3D graphics complete control over the system is required. In a normal application you have getters re

Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Gunnar Sletta
Probably because of safty. They have to be immutable to garantee safe execution. The same as strings. On Fri, 15 Feb 2002, Michael Newcomb wrote: > Why don't they have getters and setters? > > Michael > > === > To unsubscr

Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Michael Newcomb
Point3d p1 = new Point3d(); p1.x = 50; p1.y = 70; p1.z = -387.878; They're not immutable... so why not have getters and setters? -Original Message- From: Gunnar Sletta [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 10:20 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] why aren

Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Yazel, David J.
I am confused. You can get and set the tuple. You want a getX() and a setX()? what is the difference between that and direct reference? In any respect, Justin is right about the need to not create new instances of vecmath stuff all over the place. We try to never make new ones unless absolutel

Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?

2002-02-15 Thread Michael Newcomb
>a) Not everything in the world needs or should be JavaBeans (I really >personally dislike the concept) Agree on the first part >b) Performance reasons I understand this reasoning for javax.media.j3d.* classes, but I'm more concerned with not having getters and setters for the guys like

[JAVA3D] Multiplayer games

2002-02-15 Thread Alex Terrazas
I want to do a very simple multiplayer game (ultimately for the videoCubes demo) but I can't really get my head around the problem. Let's just setup the simplest case--3 people are in an environment--all from different computers. They are moving their view platforms around. Let's say each perso

Re: [JAVA3D] Multiplayer games

2002-02-15 Thread John Wright
Alex, We have a website set up at: http://www.starfireresearch.com/services/java3d/mmorpg/mmorpg.html The intent was to pool and document ideas to create a basic simple MMORPG framework that each person could then customize to make their own world. Unfortunately the multiple mailing lists con

[JAVA3D] navigation buttons 3D AWT?

2002-02-15 Thread Karl Parry
Hello, As a part of my project I would like to have mouse clickable buttons for the user to use instead of keyboard and mouse. I would like to know whether this should be done as part of Java3D or seperatly with Java 2D, and then combine them, what would be easier to produce? 3D buttons? or a se

Re: [JAVA3D] navigation buttons 3D AWT?

2002-02-15 Thread Jenkins, Todd (HOU)
I provide user interface controls in a Swing JPanel. The JPanel and Canvas3D are both located in a divider panel. The only trick is to use heavyweight popups for items like tool tips, etc. Search the J3D.org FAQ for information on how to specify heavyweight popups... -Todd -Original Messa

[JAVA3D] adding objects after scene is created

2002-02-15 Thread Dave Best
Hi all, I didn't see this in the tutorial but how do you add an object after the scene is created? Can you do that? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-

Re: [JAVA3D] Multiplayer games

2002-02-15 Thread Kevin J. Duling
Alex, MMORPGs are still a dark art. There are a lot of factors that have to be dealt with and it's a huge undertaking for a "garage band" programming group. A simple multiplayer game is a different story. They can easily be implemented with either client-server or peer-to-peer communications.

Re: [JAVA3D] coordinate mapping question

2002-02-15 Thread Michael Newcomb
Is this possible? -Original Message- From: Michael Newcomb [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 9:12 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] coordinate mapping question Thanks for the responses to my previous newbie question. Now, got another one. I have a loc

[JAVA3D] J3DGraphics2D.create() unsupported?

2002-02-15 Thread Oleg Pariser
Is there any plans to implement method J3DGraphics2D.create()? Currently it's not implemented and it's declared final, so there is no way around it and that makes our life harder. I understand there could be some implications for retained mode but what about pure-immediate mode? Same goes for J3

[JAVA3D] Clipping plane distances seem wrong

2002-02-15 Thread Roy Duffy
I noticed in my Java3D application that the clipping planes didn't seem to be set where I though I was setting them. So I did some more testing and found that both the near and far clipping planes were set to roughly 6 times as far as I was setting them to be. I made a very short example program

Re: [JAVA3D] adding objects after scene is created

2002-02-15 Thread Mojtaba Hosseini
Hello, After the scene has been made "alive" (is attached to the locale) you can only add a BranchGroup to that live scene (and the parent's ALLOW_CHILDREN_EXTEND capability must be set). This means you can add anything as long as the top most node is a BranchGroup. Example: want to add: Branc

Re: [JAVA3D] strange

2002-02-15 Thread Kelvin Chung
Hi Fei, > >I tried jdk1.4.0 and java 3d today. Windows 2000 tells me "Fail to create >back buffer -DDERR_INALIDPARAMs" > >Who knows what it is? > >Thanks > Java3D v1.2.1_03 and previous version is not yet compatible with JDK1.4. Please use JDK1.3.1 instead. Alternatively, you can try Java3D v1.3

Re: [JAVA3D] strange

2002-02-15 Thread Justin Couch
Kelvin Chung wrote: > Alternatively, you can try Java3D v1.3 beta1 which > should work with JDK1.4. In general it does, but I've had a few weird bugs with it. The one I see most often is related to window resizing. Sometimes it works, others it doesn't. The error messages I get are about failin

Re: [JAVA3D] Clipping plane distances seem wrong

2002-02-15 Thread John Wright
Roy, That's correct, you're not doing anything wrong. We have this documented at: http://www.starfireresearch.com/services/java3d/supplementalDocumentation.html Thanks to Kevin Rushforth for the explanation of the conversion from physical to virtual coordinates. - John Wright Starfire Researc

[JAVA3D] Picking Problem

2002-02-15 Thread RWGRAY
I can't seem to get my picking of points to work... In my Canvas3D class I have: the3DCanvas.addMouseListener(this); pickCanvas = new PickCanvas(the3DCanvas, scene); pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); pickCanvas.setTolerance(4.0f); The Listener method inclu

Re: [JAVA3D] Help for rendering

2002-02-15 Thread Kelvin Chung
Hi, Stereo config did not set correctly in Canvas3D, Replace the last statement of GraphicsConfigTemplate3D g3d = new GraphicsConfigTemplate3D(); g3d.setStereo(GraphicsConfigTemplate3D.REQUIRED); canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration()); by Graph

Re: [JAVA3D] Multiplayer games

2002-02-15 Thread Alex Terrazas
Kevin- I would definitely like to discuss this. Do you wish to talk by phone possibly? Or is email your preferred medium? Last question, who do you work for? Cheers- Alex -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin J. Duling

Re: [JAVA3D] strange

2002-02-15 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 >X-Accept-Language: en-us >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Sat, 16 Feb 2002 06:14:07 +1100 >From: Justin Couch <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D]

Re: [JAVA3D] Multiplayer games

2002-02-15 Thread Mojtaba Hosseini
Hello, As was already mentioned, the issue of multi-user worlds is a large issue but there are some basic ideas that can get simple games under way. In case of sharing movements (translation and rotation), a simple multicast/unicast of the new positions will do. Obviously this is not a scalable

[JAVA3D] Java3D and Rational Rose...

2002-02-15 Thread Zak Nixon
Does anyone know how to set up Rational Rose 2001A to see the Java3D classes, and to put them in the diagrams? Thanks Zak === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JA