Thanks Man for long answer BUT you are in mistake. Look at documentation to Constructor Detail and see default constructor: ModelClip public ModelClip()Constructs a ModelClip node with default parameters. The default values are as follows: planes[0] : x <= 1 (1,0,0,-1) planes[1] : -x <= 1 (-1,0,0,-1) planes[2] : y <= 1 (0,1,0,-1) planes[3] : -y <= 1 (0,-1,0,-1) planes[4] : z <= 1 (0,0,1,-1) planes[5] : -z <= 1 (0,0,-1,-1) enables : all planes enabled scope : empty (universe scope) influencing bounds : null influencing bounding leaf : null
Here you can see that this D from equatation Ax+By+Cz+D<=0 is on oposite side of equation and you change sign of D to oposite. And that what you see is smaller at -D. So if i want to make a visible box i must make that: Vector4d[] planes = new Vector4d[6]; planes[0] = new Vector4d( 1, 0, 0, -0.3 ); planes[1] = new Vector4d( -1, 0, 0, -0.3 ); planes[2] = new Vector4d( 0, 1, 0, -0.3 ); planes[3] = new Vector4d( 0, -1, 0, -0.3 ); planes[4] = new Vector4d( 0, 0, 1, -0.3 ); planes[5] = new Vector4d( 0, 0, -1, -0.3 ); and this work good. I see small box of visibility but only 4 planes are working. I set enables all true: boolean enables[] = {true, true, true, true, true, true}; but works only 4. WHY? Z-axis planes are not working like they are set on false but they are set on true. if i change enables for example i put false for x- axis planes then work y - axis and z-axis. I can't make that all six planes will work in the same time. How to do this? PLEASE HELP!!!! I hope that now write enough clearly. 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".