[JAVA3D] Clicking, Picking and the like

2004-01-06 Thread Ben Logan
Hi Guys, hope everyone had a good x mas! I could do with a little help... I have been developing some drag & drop software, the problem is that the canvas seems to need to receive a single click after having selected a shape from the GUI before it will behavior as expected. Everything operates fin

[JAVA3D] texture coords exception...

2004-01-06 Thread Flavius
Ok, I get an Illegal ArgumentException when I try tu run my app. It says: 2D texture coordinates not specified... here's my code: TexCoord2f tp1 = new TexCoord2f( 0.0f, 0.0f); TexCoord2f tp2 = new TexCoord2f(25.0f, 0.0f); TexCoord2f tp3 = new TexCoord2f(25.0f, 5.0f); TexCoord2f tp4 = new TexCoord

Re: [JAVA3D] texture coords exception...

2004-01-06 Thread Jeremy Booth
Flavius said: > Ok, I get an Illegal ArgumentException when I try tu run my app. It > says: 2D texture coordinates not specified... According to the javadoc that is thrown if : if texCoordSet < 0 or texCoordSet >= texCoordSetCount, or the texture coordinate parameters were not previously set by ca

[JAVA3D] Java 3D and JAI and Mars

2004-01-06 Thread Michael Schulman
All - if you are interested in driving around on Mars to experience what the rover Spirit will be seeing, read about it, at www.java.com . If you dont see the front page image of the rover, click "Reload" in your browser until you do. If that does not work, go directly to: http://java.com/en/exp

Re: [JAVA3D] texture coords exception...

2004-01-06 Thread Flavius Alecu
Thanx Jeremy, I think you're right... haven't called the setTextureCoordinateParams(texCoordSetCount, 2) method... I'll try that and see if it works..thanx! From: Jeremy Booth <[EMAIL PROTECTED]> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JAV

Re: [JAVA3D] GeometryInfo

2004-01-06 Thread sikander hayat
Hi Sometime back you wrote that you have a code that generates a rounded stick like object.Vis a vis that message,I want to know,how can I implement irregular surfaces in java 3d for developing a structure of human bones... Kindly help me out. On Mon, 08 Dec 2003 Paul Pantera wrote : >I can hel

Re: [JAVA3D] GeometryInfo

2004-01-06 Thread Todd J.
Hi. Do you intend to have realistic looking bones? If so, then you will want to use modeling software (http://blender.org for example) to create your 3D models and then import the models into your Java3D scene. It's not easy to create complex organic shapes mathematically in raw Java3D. Best luc

Re: [JAVA3D] GeometryInfo / Blender

2004-01-06 Thread Michael Pfeiffer
Isn't there a problem with the Blender-fileformat? AFAIK there doesn't exists a J3D loader for it. Additionally - and thats really poor - there also doesn't exists a specification about his format so that it wouldn't be easy to load such files. On Tue, 6 Jan 2004 14:50:57 -0500, Todd J. <[EMAIL PRO