hello
when I use DecalGroup like this .the line cannot have the z value to quads. I
can see the line behinde the quads . can anyone tell me why and how to avoid .
public BranchGroup Drawme()
{
BranchGroup me =new BranchGroup();
me.setCapability( BranchGroup.ALLOW_DETACH );
TransformGroup objecttran=new TransformGroup();
me.addChild(objecttran);
DecalGroup obj1=new DecalGroup();
Shape3D line=new lines(unitnum/2,linedata,colordata,0.5f); //it is line Array
Shape3D quads=new Quadcolor(unitnum,verdata,colordata);//it is Quad Array
obj1.addChild(quads);
obj1.addChild(line);
objecttran.addChild(obj1);
return me;
}
thanks a lot
kensun
[EMAIL PROTECTED]
===========================================================================
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".