You know what?  Never mind.  I'll be doing most of the math in the
fragment shader anyway, so I can just send the binormal through the
secondary color and compute the tangent inside the vertex program.  I
almost forgot about that trick, but it should work just fine.....

On 6/14/05, Terry Welsh <[EMAIL PROTECTED]> wrote:
> I can probably use secondary color right now.  But I need the color
> field for vertex colors.  Any guesses when the new Geometry class will
> be ready?
> - Terry
> 
> On 6/14/05, Andreas Zieringer <[EMAIL PROTECTED]> wrote:
> > Hi Terry,
> >
> > there is no support for user defined vertex attributes right now. But
> > Dirk is working on a new Geometry supporting these.
> > Can't you use the color or secondary color attributes?
> >
> > Andreas
> >
> > > I would like to be able to set up tangents and binormals for my
> > > vertices without consuming any of the 4 texture coordinate fields.  Is
> > > this possible?  I figure I just need to define some generic vertex
> > > attributes, but I cannot find any fields like this in the OpenSG
> > > source code.
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
> > shotput
> > a projector? How fast can you ride your desk chair down the office luge 
> > track?
> > If you want to score the big prize, get to know the little guy.
> > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> > _______________________________________________
> > Opensg-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> >
> 


-- 
Terry Welsh - mogumbo 'at' gmail.com
www.reallyslick.com  |  www.infiscape.com  |  www.vrsource.org


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÿick
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to