You have to get the coordinates and offset them, then use them to draw a wireframe.
Frank -----Original Message----- From: Raúl [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 5:53 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Add lines on the borders of a cube ----- Original Message ----- From: "marco fiocca" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 11, 2002 5:27 AM Subject: [JAVA3D] Add lines on the borders of a cube > Hello everybody, > I have a problem an I don't know how to solve it, so I hope that someone can > help me! > > I have a cube and at its borders I have to attach segments of different > colors that emphasize some parts of the borders. > I make these segments as LineArrays and I give them some coordinates lievely > different from those of cube's vertices, in a way that they are rendered in > front of the cube's faces when are visible, and are adiacent to the borders. > The problem is that when I rotate the cube some lines didn't appear even if > the correspondent border is visible; this is because the coordinates between > border and line vertices are not exactly the same, and so the lines appear > more far then the cube face. > How can I solve my problem? > There's not a way to outline the borders of a cube with different colors? Not if you use ColorCube from utils package of Sun. > > Thanks in advance > > Marco Fiocca > > =========================================================================== > 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". ==========================================================================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".