Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues

2000-11-21 Thread Kelvin Chung
Hi Mark, In v1.2 beta we check for existing of D3D library only in the following cases: (A) HINSTANCE h = LoadLibrary("ddraw.dll"); if (!h) { D3dCtx::d3dError(D3DNOTFOUND); exit(1); } LPDIRECTDRAWENUMERATEEX lpDDEnumEx; // assume Ansi (B) lpDDEnumEx =

[JAVA3D] How to handle a large number of objects? (Java3d sucks?)

2000-11-21 Thread R Wang
Hello guys, I've been playing around with java3d for 2 weeks and think it's a pretty cool thing until today. I was trying to build a scene of 128 x 128 simple boxes. I arranged each box with a new TransformGroup like this: Transform3D trans = new Transform3D(); TransformGroup tg; for (int i = 0

Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues

2000-11-21 Thread Ben Arbel
you sent this twice.. Ben Arbel Comsoft Technologies, Inc. [EMAIL PROTECTED] ICQ: 86004063 - Original Message - From: "Mark Ferneau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 21, 2000 2:52 PM Subject: Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues > Kelvin, > > I am

Re: [JAVA3D] Gouraud shading problem

2000-11-21 Thread Mark Hood
> Date: Tue, 21 Nov 2000 17:03:45 -0600 > From: James Robertson <[EMAIL PROTECTED]> > > I'll obtain a normal by averaging the normals to the 6 triangles that > surround the point. > > Since I'm new to 3D graphics, could anyone tell me whether this is something > that is commonly done? Are

[JAVA3D] Bug #4325851

2000-11-21 Thread David
4325851 Hardware MultiTexture not supported even though numActiveTexture <= supported num Is this in reference to all multitexturing or just people trying to do more than 2? In other words can I have two seperate textures, one "stretched" and another one "detail" where the detail is wrapped at a

[JAVA3D] Multi-texture question

2000-11-21 Thread David
I am getting a null pointer exception when I try to set a texture coordinate for unit state 0. When I created the triangle strip array I asked for two texture sets like this: public TriangleStripArray getGeometryDefinition( int vertexPoints, int perStrip[] ) { Log.log.println(LogType.EX

Re: [JAVA3D] Gouraud shading problem

2000-11-21 Thread John Wright
James, The GeometryInfo classes do this for us. It's how our 3DS loader produces such smooth surfaces. - John Wright Starfire Research James Robertson wrote: > > I figured out my problem with Goraud shading on a surface created via a > TriangleArray. > The problem was due > to the fact that I

Re: [JAVA3D] Gouraud shading problem

2000-11-21 Thread James Robertson
I figured out my problem with Goraud shading on a surface created via a TriangleArray. The problem was due to the fact that I was setting the normal at each triangle vertex to be equal to the vector that is normal to the plane of the triangle. Any given triangle in my mesh thus had 3 identical nor

Re: [JAVA3D] J3D 1.2.1b1 Bug

2000-11-21 Thread Kelvin Chung
Hi Raffi, We can reproduce this problem under windows (but not Solaris). Bug 4391537 is submitted for investigation. Thanks for your bug report. - Kelvin - Java 3D Team Sun Microsystems Inc. >From: "Kasparian, Raffi J." <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PRO

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

2000-11-21 Thread LeRoy M. Dorman
Attached is an example which, I think, shows a transparent gif file used as a texture. The gif file consists of lines and symbols on a clear background. The example is a modified version of demo/java3d/TextureTest/TextureImage. The attached gif file goes in ../images relative to that. The displ

Re: [JAVA3D] 1.2.1 beta DirectX8.0 issues

2000-11-21 Thread Mark Ferneau
Kelvin, I am running J3D 1.2.1 Beta 1 Direct X with Win2K & Win98 and I still am definitely getting this warning also. I know that DirectX 8.0 is installed properly because dxdiag.exe tells me so and the performance I am seeing is better than DirectX 7.0. The boards are ATI Mobility-P, OS is Wi

Re: [JAVA3D] PopUp Menus

2000-11-21 Thread Paul Byrne
Hi Magnus, This is a JDK 1.3 bug that we identified some time ago. It has been fixed in JDK 1.3.1. The BugID is 4360567. Rgds Paul -- Paul Byrne Email : [EMAIL PROTECTED] Sun MicrosystemsPhone : (650)

Re: [JAVA3D] easy picking question

2000-11-21 Thread John D
I think I found the answer but thanks. --- John D <[EMAIL PROTECTED]> wrote: > 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 > Pr

Re: [JAVA3D] PopUp Menus

2000-11-21 Thread Ingo Brunberg
Hi Magnus, I think this is a known bug with heavyweight tooltips in Java 1.3. If you are able to try with an old 1.2.2 installation, you will see it working. I am sure this bug will be history with the next Java release. Regards, Ingo >X-MIMETrack: Serialize by Router on GOTSRV05/GOT/SKF(Relea

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

2000-11-21 Thread David
Well, I think you misunderstood my comment. I did not mean that you could not turn transparency blending on or off, but rather that unlike GIF, colors in Java3d can be blended with a range of transparencies. As in for every texel you can set an RGB and an alpha which represents its bled accordin

[JAVA3D] jar-Archive

2000-11-21 Thread Holger Heckelmüller
Hi,   I'm trying to make a executeable jar-Archive. The Java3D-Application should start by a double click on the jar-File. Does anybody know how I can create such a jar-File?   Holger

Re: [JAVA3D] Collision Detection....

2000-11-21 Thread David
Hehe, people have GOT to start using the "search archives" feature.  This question was asked and answered 3 days ago.   Dave Yazel - Original Message - From: Ravi Goel To: [EMAIL PROTECTED] Sent: Tuesday, November 21, 2000 12:34 AM Subject: [JAVA3D] Collision

Re: [JAVA3D] PopUp Menus

2000-11-21 Thread Magnus Olofsson
Hi all. jroberts wrote: > Hi, > Assuming Swing. > > See heavyweight/lightweight paper on the sun site. > It describes setting LightWeightPopupEnabled. > > Be aware though that BLT problems used to happen with 1.2 and down. > > rgds > JR I have a problem with tool tips. Originaly they didn't show

Re: [JAVA3D] Projection Matrix.

2000-11-21 Thread Wyss Christian
Hi Made the same experience - we had to use compatibility mode because we wanted a canvas which an aspect ratio different from 1. I spent almost a week with getting picking working again, afterwards - and this only after I had dropped the API - picking stuff out and written a workaround. Someone

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

2000-11-21 Thread Karsten Fries
Hi there, > Now Java3d does not think of transparency as off or on, but as a range. > Color in java3d can have an alpha componant. I cannot agree with that. The fact is the transparency features can be set on/off with the TransparencyAttributes of an object. This means off maps a null transpar

Re: [JAVA3D] Projection Matrix.

2000-11-21 Thread Eelco van den Berg
> My problem is that a lot of things like picking, zooming, field of view > setting, eyepoint setting start behaving unexpectedly once I enable the > compatibility flag for getting the projection matrix. This is what the Java3D API specification says of the compatibility mode: "Note: Use of thes

Re: [JAVA3D] Problem loading DXF

2000-11-21 Thread Holger Heckelmüller
try   http://www.j3d.org/utilities/loaders.html   Holger -Ursprüngliche Nachricht-Von: Oscar Guindzberg <[EMAIL PROTECTED]>An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Datum: Montag, 20. November 2000 15:59Betreff: [JAVA3D] Problem loading DXF I have a problem loading som