Hi Raj, For the second problem, at first I suspect you are using DirectX debug library version, since we got the same problem before. It can fix by reinstalling DirectX retail version. However after changing the ModelClipTest example as mention in your mail it is notice that part of the Box and Cylinder (especially the bottom) are overlapped. This is a classic z buffer fighting issues. You can solve this by adding polygon offset. For the first crash problem, make sure you are using the latest driver/Bios for the graphics card and try J3D v1.2.1_02. If it still crash please send us a complete test case for investigation. Thanks. - Kelvin ------------- Java 3D Team Sun Microsystems Inc. >Delivered-To: [EMAIL PROTECTED] >Delivered-To: [EMAIL PROTECTED] >Date: Thu, 9 Aug 2001 10:41:11 -0700 >From: R Vegan <[EMAIL PROTECTED]> >Subject: [JAVA3D] ModelClip is giving problems (Repost #1 ) >To: [EMAIL PROTECTED] > >Hi All > >I posted the message below awhile back. I am posting it again >to see if I could get any suggestions to fix the problem. > >Thanks in advance > >Raj Vaidya > >=================== Reposted Message ================================ >Hi All > >I have been trying to use the ModelClip facility in the Java3D API >but have not been having much success. Here are the problems: > >1. If I include ModelClip in a complex scenegraph, my application >crashes after a while. I get a Win32 dialog box with a message to >the effect that I should report about the crash to the Vendor. > >2. When I tested ModelClip with some simple geometries, such as a >Box, I see stray surfaces on the VISIBLE side of the geometry >appearing and disappearing. Sometimes, these stray surfaces are in >the form of slivers flashing across the canvas. > >At least, problem No. 2 above can be best illustrated by attaching a >Box object ( along with the existing Cylinder object ) to the >TransformGroup named objTrans in the ModelClipTest.java example that >comes along with the Java3D API. Include the following lines in the >example: > > import com.sun.j3d.utils.geometry.Box; > ---- > ---- > > Box box = new Box ( 1.0f, 1.0f, 1.0f, ap ); > objTrans.addChild( box ); > >Compile and run the application, rotate the geometry with the mouse, >and check if parts of the surfaces of the Box appear and disappear >depending upon the orientation. It appears that the ModelClip >has problems particularly with sharp-edged geometries, because the >cylinder object does indeed get clipped flawlessly. If you do not see >any problems, then probably something must be awry with my graphics >card perhaps. BTW, I am using the Win32 OpenGL Java3D release 1.2.1. > >Just shooting in the dark, part of the problem is probably due to >tolerance issues when the clipping plane exactly cuts through a >vertex. > >Thanks in advance > >Raj Vaidya > >=========================================================================== >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA3D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".