If the Wavefront object contains normals, then you shouldn't need to use any
NormalGenerator. Just create the surface normals from within 3ds and export
the file *with normals*.

Cheers,

Florin

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of T Nygren
Sent: Sonntag, 18. April 2004 13:43
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Smoothing over different groups


Thanks Michael,

The NormalGenerator works within geometry groups (as long as I set the
creaseAngle properly), but there's no way to get rid of the hard edge
between
geometry groups, is there?

The reason I need to keep different parts of the objects in different groups
is
that the colors/textures of the different parts will change at runtime...

This is what I spotted in the API for ObjectFile:
"Normals are calculated on each geometry group separately, meaning there
will be
a hard edge between each geometry group."

So am I attempting the impossible?

Thanks again,
Tuomas


Quoting Michael Pfeiffer <[EMAIL PROTECTED]>:

> On Sat, 17 Apr 2004 21:47:52 +0100, T Nygren <[EMAIL PROTECTED]> wrote:
>
> > Or alternatively, is there a way to smooth over different groups so that
> > I'll
> > end up with smooth edges when I split the object up?
>
> That sounds like the data you have loaded don't contain Normals. So it
> would be a possibility to add normals to your Shape3Ds using the
> NormalGenerator
>
> >
> > Thanks,
> > Tuomas
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> >
>
===========================================================================
> > 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".
>
>
>
> --
> http://www.3dchat.org - Welcome To The Unreal World
> http://java3d.virtualworlds.de - The J3D Developers Ressource
>
>
===========================================================================
> 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".
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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