On 11/7/05, Dirk Reiners <[EMAIL PROTECTED]> wrote:
>
>         Hi Terry,
>
> On Mon, 2005-11-07 at 14:00 -0600, Terry Welsh wrote:
> > I have been flattening objects in a scene and finding that my bump
> > mapping looks wrong.  It turns out that using MergeGraphOp transforms
> > all my normals, but it won't transform anything stored is secondary
> > colors.  I'm using secondary colors to store all my binormals, and
> > using those in a shader that does my bump mapping.
> >
> > Is there any way to have MergeGraphOp affect secondary colors or
> > texture coords the same way it affects normals?  Or would this be an
> > easy enough feature to add to OpenSG?
>
> Hm, that's non-trivial, because there is no way to find out whether a
> texture coordinate is just a texture coordinate or a tangent/binormal.
> Especially since it can change from object to object, I don't see a way
> to automate that. You would have to pass it into the GraphOp as explicit
> parameters.

That's what I was thinking too.
>
> You can extend the MergeGraphOp to affect specific texcoords if you want
> to, but I'm currently not aware of anybody working on this. Any takers?

I guess that would be me, since I'm the one who needs it.  I'll let
you know if I have trouble figuring it out :)
-Terry
>
>         Dirk
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to