[JAVA3D] Collision detection

2000-11-20 Thread Massimo Manfredino
Hello everybody! I'm trying to implement collision detection in j3d 1.2 API using picking. The problem is the following: when I use a CylinderShape for intersection test with the geometry of the picking scope, I always get a null pointer for the normal vector in the intersection point. Any other d

[JAVA3D] Need loader for dwg, dxf and/or dwf

2000-11-20 Thread Oscar Guindzberg
I'd need a loader for autocad files .dwg, .dxf and/or .dwf where can I get it? thanks ---Oscar Guindzberg[EMAIL PROTECTED]  

Re: [JAVA3D] Performance Report 1.2.1 beta 1 and Voodoo 3 v1.06 d rivers

2000-11-20 Thread J. Lee Dixon
I assume that you realize of course that textures MUST be power of 2 for Java3D, and that somewhere in the texture loading the image is being resized to power of 2 (or is there something new in the current Beta release I don't know about?) -Lee -Original Message- From: John Wright [mailt

Re: [JAVA3D] Performance Report 1.2.1 beta 1 and Voodoo 3 v1.06 drivers

2000-11-20 Thread John Wright
Yes Lee, Java 3D by specs requires images that are powers of two. As it was explained to me the TextureLoader does this for us (assuming you use it and don't load the textures yourself). None of our odd shaped textures give a GeForce, TNT, Matrox or software rendering any trouble - it's only the

Re: [JAVA3D] Collision detection

2000-11-20 Thread Marc Nienhaus
Hi, maybe, you can fix it like this: PickIntersection info = ... Vector3d normal = calculateNormal( info.getPrimitiveCoordinates() ); and private Vector3d calculateNormal(Point3d[] verts) { if ( verts.length < 3 ) { return null; } else { Vect

Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues

2000-11-20 Thread malcolm binstead
I've tried using 1.2.1 with DirectX 8 (the latest) and when I start a J3D application it states that it needs DirectX7. Is this the expected behaviour ?. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the

Re: [JAVA3D] Performance Report 1.2.1 beta 1 and Voodoo 3 v1.06 d rivers

2000-11-20 Thread J. Lee Dixon
John, It just seems odd because by the time it gets to the voodoo it is power of 2. Have you considered resizing the image to power of 2 by hand (ala Photoshop or other), and then running it? If you have a (176x256) texture, from looking at the "TextureLoader" code it would be resized to the "ne

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif astexture fails

2000-11-20 Thread Tom Nelson
My best solution is to use gif87a images with a white background (black letters on white background) instead of gif89a images (black letters on a transparent background), and to use the 'modulate' mode. I change the color of the object that the gif is texured with (from dark to light) to get the e

Re: [JAVA3D] Performance Report 1.2.1 beta 1 and Voodoo 3 v1.06 drivers

2000-11-20 Thread John Wright
Lee, Yes, most of our images have been resized to powers of two before being imported. It isn't a "distortion" corruption the Voodoo 3 is doing, the Voodoo is chewing the images up - some look like repeat tiling. It's as if the Voodoo 3 sees that the image doesn't fill the space and tries to ti

[JAVA3D] Problem loading DXF

2000-11-20 Thread Oscar Guindzberg
I have a problem loading some DXFs files. I create a Scene, and then I call scene.getSceneGroup() but this returns null. Any help?   I am sending you : - A zipped file that contains 2 .dxf files (one works fine, the other have the mentioned problem) - the program I use for loading (wich is

[JAVA3D] picking problem

2000-11-20 Thread Stokkermans, Bart
Hi all, I've a problem with picking objects. I've done for all the nodes : setPickable(true). and I've done for some nodes : setCapability(ENABLE_PICK_REPORTING) I have a PickCanvas with mode : PickTool.GEOMETRY When I get a pickResult with PickResult.pickClosest() we always get the same result.

Re: [JAVA3D] Problem loading DXF

2000-11-20 Thread Matthew Flagg
Oscar,     I just tried pullin up both DXF files in 3D Exploration (3D file viewer) and I noticed that the mech file didn't actually show up in 3D but as what looked like a texture on a plane.  The MyObject file on the other hand showed up as two boxes connected together by one of the small box'

[JAVA3D] Images in a JAR file

2000-11-20 Thread Brunner Cedric
Hi u all, I need to store an image in a .jar file, and then to load it in a class, which is in the same .jar. How could I do that? (which method to use??) Any help welcome. Cédric Brunner === To unsubscribe, send email to

Re: [JAVA3D] Images in a JAR file

2000-11-20 Thread John Sutter
You can find that information by doing a search of this group's archives. This question was answered in the last month or two. http://archives.java.sun.com/cgi-bin/wa?S2=java3d-interest&m=19064&q=image+and+jar - John Brunner Cedric wrote: > > Hi u all, > > I need to store an image in a .jar fi

[JAVA3D] Display 2D graph

2000-11-20 Thread Oscar Guindzberg
Can I load and display a 2D graph (for example an autocad .dxf file that is actually 2D not 3D) using a standard 3D loader?.     -Oscar Guindzberg[EMAIL PROTECTED]  

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif astexture fails

2000-11-20 Thread Paraskevas Orfanides
Just a little comment here. Has anybody tried working with the images and making sure that they are transparent, or do you just assume it because you set them up as transparent in some editor? Here is where I'm going with this: There are several web-pages that I designed. In many of them I need

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif astexture fails

2000-11-20 Thread J. Lee Dixon
Making images with transparent areas is not straightforward with PSP or with Photoshop. I finally hit upon the method while reading directions I found on the Adobe site. In Photoshop, I create an RGB image, and then add a "Channel" (not layer). I paint in this channel all the areas I want to be

Re: [JAVA3D] java3d1.2.1beta1 - transparent gif astexture fails

2000-11-20 Thread Yazel, David J.
Jasc and paintshop work in terms of layers. This means that there is no real "image" really. Under these conditions "transparent" just means that the paint application has nothing to show in those areas and so instead shows their default checkerbox, etc. When paint programs go to save these lay

Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues

2000-11-20 Thread Kelvin Chung
Hi, >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 >Date: Mon, 20 Nov 2000 13:43:23 - >From: malcolm binstead <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues >To:

[JAVA3D] Reliable, multiplatform texture loading.

2000-11-20 Thread Joe Kiniry
Hi again all, I have a question about texture loading. A little background: At Dali, we are rendering dynamic, skinned articulated rigid bodies in real time. Such entities require many pieces of data to describe. We have written six loaders for this data: skeletons, muscles, mesh, materials,

[JAVA3D] R: [JAVA3D] VRML data help!!

2000-11-20 Thread Giuseppe Conti
Hi Tina, I'm a PhD at Strathclyde Uni (ABACUS Unit) instead...we have the VRML model of Glasgow free to download ... go to www.vrglasgow.co.uk . The model is in VRML 1, if you need a VRML 97 just convert it.. Let me know if you need anything else... Giuseppe. -

[JAVA3D] easy picking question

2000-11-20 Thread John D
Is it still true that picking does not provide the point of intersection info? Thanks. __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ===

[JAVA3D] Collision Detection....

2000-11-20 Thread Ravi Goel
Hi,    I'm working in Java3D...i'm trying to stop 2 objects from collision...i tried the to add WakeupOnCollisionEntry..it fries on collision...but how do i stop the object which collided from going further up...(i.e) i want the object to stop moving as soon as its collides with another ob