Re: [JAVA3D] i have too problems with ModelClip

2004-08-04 Thread Justin Couch
Adam B wrote: InfluencingBounds, it's still only work 4 planes. Where is error? Thanks for help. here is the code: The problem is that you are overlapping all the planes together. Go back to your basic definition of the plane equation and note: Ax + By + Cz + D = 0 The +D is the important bit - it

[JAVA3D] AW: [JAVA3D] Another question!!

2004-08-04 Thread Florin Herinean
Since you keep all the data in two float arrays, wouldn't it be better to have it in a binary file ? Your class will have a constructor with the argument the name of the file containing the data. Reading from a binary file *is* the fastest, faster even than the loading of such a huge class. Besides

[JAVA3D] Another question!!

2004-08-04 Thread Serge Bernier
Hi all, yes I got another question for you guys. Im on fire Im currently trying to write java class containing the coordinates point and texcoord point of a parsed vrml file. Im doing the following: 1-I reader the vrml files (representing a 3ds key frame) and I make a mesh animation in java3

Re: [JAVA3D] TEXTURE WITH VRML LOADER AND JAVA3D

2004-08-04 Thread Alessandro Borges
About : --- Serge Bernier <[EMAIL PROTECTED]> wrote: > Serge > > p.s. Im about to finish a loader to implement 3ds mesh animation. The loader > take exported vrml97 files representing the key frames. The animation doesnt > interpolated between keys but with a good frame rate it does the job. If >

[JAVA3D] i have too problems with ModelClip

2004-08-04 Thread Adam B
Hi all. I see ModelClipTest and ModelClipTest2 and everything nice working, but i need to use all planes that will make box, which is cutting visibility. In this demos are use only 2 or 1 plane. And the problem is that when i use 6 planes only 4 works. even if i take deault settings and set Influen

[JAVA3D] Picking

2004-08-04 Thread Damien Maillet
Hi all! In my application, i used to pick some shape3d with : ... geometry.setCapability(Geometry.ALLOW_INTERSECT); shape.setGeometry(geometry); PickTool.setCapabilities(shape, PickTool.INTERSECT_FULL); shape.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE); ... and with this pickbehavior public class P