Re: [JAVA3D] How to get rid of extra lines?

2000-05-23 Thread Justin Couch
Pasi Paasiala wrote: > Lee Dixon mentioned that I'm using triangles. It seems that I am but not on > purpose. Would it be possible to write a method that would convert any shape > that is built from triangles to a shape that would merge neighbouring > triangles to a polyline when the triangles ha

Re: [JAVA3D] GetNormals problem

2000-05-23 Thread Joerg Baus
So, why don't you use the class : com.sun.j3d.utils.geometry.NormalGenerator There exists a method generateNormals(GeometryInfo geom), which should set up the normals. Happy hacking Joerg HAroldo Pereira wrote: > > Hi > > I waited that Java3D calculated for the user the vector of

[JAVA3D] How to scale

2000-05-23 Thread Ole Vilmann
I've a problem I dont know how to solve. Can anybody please help me ! The problem is that I load a number of VRML models. I want to scale one at the time and make it scale around its center. The idea is that a whole ship consists of a number of blocks and that I want to inspect how each block fit

Re: [JAVA3D] J3D 1.1.3 DX download

2000-05-23 Thread Maelvon
Hello, The same things happens here, see the screen capture. Armel *** Collectif Sans Nous L'armée peut et doit se passer de nous ! http://www.sansnous.org « Nous sommes nombreux à être appelés, nous serons nombreux à résister ! » *

Re: [JAVA3D] Creating SpotLights

2000-05-23 Thread Sofia Sundström
No, I have not tried to play with the clipping. I don't really know how to. This is the constructor that I am using, which parameter affects the clipping? public SpotLight(Color3f color, Point3f position, Point3f attenuation, Vector3f direction,

Re: [JAVA3D] How to get rid of extra lines?

2000-05-23 Thread Dvorak, Daniel J.
You guys are missing the point here. This behavior is by design. The documentation says that with polygon mode set to POLYGON_LINE, lines are drawn between successive vertices. When you triangulate the polygon, successive vertices aren't just the border. If you want outlines of polygons, use a

Re: [JAVA3D] J3D 1.1.3 DX download

2000-05-23 Thread Frank Köhne
Hi ! > > Hi Justin, when I tried to run the executable to install it, it gave me a > > "Package for the Web" error. > Anybody else seen this/care to comment? I've only got an NT and Linux > box at home so I can't test the DX install routines. I just saw the same thing on my screen and still have

[JAVA3D] Color indexed texture

2000-05-23 Thread Grant Clarke
I want to create a Texture2D object from a color indexed image. The image is 1024 by 1024 and has a 256 colour palette with each element in the image data indexing the color palette. I have the following data structures: // The palette byte redPalette[256]; byte greenPalette[256]; byte bluePalet

Re: [JAVA3D] J3D 1.1.3 DX download

2000-05-23 Thread Thomas McKay
Could it be that C:/TEMP is full? I've had that problem before when trying to install various packages with a similarly useless error message. > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Köhne > Sent: Tuesday, May 23, 2000 7

[JAVA3D] GeometryInfo and Geometry??

2000-05-23 Thread HAroldo Pereira
Hi What is the diferent beteween GeometryInfo and QuadArray, TriangleArray..(class extends of class Geometry). []s Haroldo Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ===

Re: [JAVA3D] Creating SpotLights

2000-05-23 Thread Sofia Sundström
Thanks Dan for all your help! Now I have found out what is wrong. My objects are boxes created in 3D Studio Max. I have imported them into Java as VRML-objects. The sides of these boxes had too few polygons for the spotlight to enlighten them at a short distance. Apparently all corners of a polygo

[JAVA3D] Version at runtime

2000-05-23 Thread Christoph Widmer
What is the best way to detect the Java3D version at runtime? It would be nice if that was a system property, but on Windows NT this doesn't seem to be the case. Any hints appreciated. Thanks, Christoph === To unsubscribe,

[JAVA3D]

2000-05-23 Thread David McCafferty
Hello, I'm new to Java 3D and I'm trying to build an interactive 3D-user interface. I've had no problem with displaying all the objects and moving through the universe. The problem I'm having is getting a reference to the object that has been picked - I am able to change the appearance of a pi

[JAVA3D] 3D Studio File Format

2000-05-23 Thread J. Lee Dixon
Does anybody know where to find the specs for the .3DS file format? The links to the format from the Loader Archive page are no longer valid. J. Lee Dixon Software Engineer SAIC - Celebration, FL [EMAIL PROTECTED] === To

Re: [JAVA3D] Java3D Course - more

2000-05-23 Thread M.Prabhakaran
please send me the details of the course thank you prabhakaran hawn Kendall wrote: > Wow! I just want to say thanks to everyone that responded to my post. > > It seems like everyone's ideas fall into two categories. One, learning > 3D in general and two, learning Java3D. Most likely any cou

Re: [JAVA3D] How to get rid of extra lines?

2000-05-23 Thread Kelvin Chung
Hi Pasi, In this case you can use QuadArray instead of TriangleArray to get rid of it. Note that using DirectX 1.1.3 the line will appear even though you are using QuadArray, this is fixed in the next DirectX release. Thanks. - Kelvin -- Java 3D Team Sun Microsystems Inc. >From:

Re: [JAVA3D] RotationInterpolator

2000-05-23 Thread Kelvin Chung
Hi HAroldo, I can't reproduce the behavior problem under windows and solaris, when I press the stop behavior button. The object stop moving as expect. Please verify that you are using v1.2 release and not beta version. I got some capabilities not set exception in your code, after set

Re: [JAVA3D] Multi Texture Question

2000-05-23 Thread Charmaine Lee
Hi Andrew, Here are a few things that you will need to do to use multiTextures. (1) Specify number of texture coordinates set in the GeometryArray object (2) Specify texCoordSetMap in the GeometryArray object. The values in the array specify the texture coordinate set within

[JAVA3D] centering object and rotation

2000-05-23 Thread Mona Wong
Hi: I'm a beginning Java 3D programmer. I've got my scene built and can view it in my window. I can also rotate, translate and scale using the mouse. All this took about 3 weeks of work ... Now, I would like to center the object in the middle of the window and set it up so I ca

[JAVA3D] How to Display a VRML looded object

2000-05-23 Thread Naoufel Werghi
Hi All, Suppose you have loaded succesfully a VRML file via the vrml loader. Know you want to display the scene contents (let say a simple geometric object), is there a simple way to do that, a code sample is very appreciated Thanks a lot Naoufel -- ***

Re: [JAVA3D] Multi Texture Question

2000-05-23 Thread Andrew Barras
Excellent! That makes a lot more sense. Thanks for the help! Charmaine Lee wrote: > Hi Andrew, > >Here are a few things that you will need to do to use multiTextures. > >(1) Specify number of texture coordinates set in the GeometryArray object >(2) Specify texCoordSetMap in the Geo

[JAVA3D] How to set the normals of IndexedGeometry

2000-05-23 Thread Zhu, Xiangfei
Any sample code would be appreciated. __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ === To unsubscribe, send email to [

Re: [JAVA3D] JAVA3D-INTEREST Digest - 13 Nov 1999 to 14 Nov 1999 (#1999-156)

2000-05-23 Thread b. white
I have a com.sun.j3d.utils.geometry box with textures mapped to the six sides. I am currently viewing the cube from the outside, no problem. But I would like to be able to look at the cube from the inside, with the textures mapped to the walls on the inside. Is their anyway to do this?

[JAVA3D] Java 3D, Version 1.1.3 for DirectX is back

2000-05-23 Thread Michael Schulman
To the Java 3D community - Thanks for your patience. The files that you can download for Java 3D, Version 1.1.3 for Microsoft's DirectX 6.1 are now back on the web site. Thank you all for letting us know that they had dissappeared. If any of you had put the .exe on your web site, please feel fre

[JAVA3D] Triangulation of surface geometry with holes

2000-05-23 Thread Rajamiyer Ravichandran
Hi, I am facing trouble in triangulating a surface with one or more holes inside the surface using Java3D. I am using the GeometricInfo and Triangulator classes in the com.sun.j3d.utils.geometry package. I think it is because of the problem in describing the surface geometry including the perimet

Re: [JAVA3D] RotationInterpolator

2000-05-23 Thread HAroldo Pereira
Hi Kelvin You dont understand my e-mail. I wait to stop the cube when the cube colide with tetrahedron. Its dont works. If I click in the button it works. there is a method call octree(...) in class Tmove. In this method there is a : " if ( dis + Math.min(filhoObjA.raio, filhoObjB.raio) <=M

Re: [JAVA3D] RotationInterpolator

2000-05-23 Thread Kelvin Chung
Hi, I see the two lines in octTree() is comment out transInterpolator.setEnable(false); rotatorInterpolator.setEnable(false); when I uncomment the lines, it throws: Exception occurred during Behavior execution: java.lang.NullPointerException at TMove.octTree(TMov