The simplest way IMHO is to create a separate geometry containing only
lines. A box of lines!

That's what I'm doing to highlight the selected object in the scene: the
selection marker is a line-geometry cube of size 2 centered in origin
(-1,-1,-1)-(+1,+1,+1). Above it I have a transform group. When I'm selecting
an object in the editor, I'm changing the transform group of the selection,
by setting the corresponding position, orientation and scale, so that it
encompass the selected object. It works very nice.

Cheers,

Florin

-----Ursprüngliche Nachricht-----
Von: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Auftrag von Alessandro Borges
Gesendet: Freitag, 27. August 2004 14:54
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Box border


Check this example at J3d.org about NPR - Non Photorealistic Rendering

http://www.j3d.org/tutorials/quick_fix/npr_line.html

Alessandro

 --- romil shah <[EMAIL PROTECTED]> escreveu:
> Sorry, I meant an outline. Just highlighting the edges
> of the Box.
>
> --
> Romil.
>
> --- Alessandro Borges <[EMAIL PROTECTED]>
> wrote:
>
> > what do you mean "Outer Border" ?
> > A halo around a shape3D ?
> >
> > Alessandro
> >
> > --- romil shah <[EMAIL PROTECTED]> escreveu:
> > > Hi again,
> > >
> > > Sorry for shooting so many questions on the same
> > day.
> > >
> > > Could anybody guide me how to draw an Outer Border
> > > with diffrent color.
> > > I searched the java docs but to no success.
> > >
> > > Thanks,
> > >
> > > Romil D. Shah
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> >
>
===========================================================================
> > > 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".
> > >
> >
> >
> >
> >
> >
> >
> _______________________________________________________
> > Yahoo! Acesso Grátis - navegue de graça com conexão
> > de qualidade!
> > http://br.acesso.yahoo.com/
> >
> >
>
===========================================================================
> > 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".
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
>
>
===========================================================================
> 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".
>





_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!
http://br.acesso.yahoo.com/

===========================================================================
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".

Reply via email to