• Advertisement
Sign in to follow this  

Cal3D and GLSL

This topic is 3736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. I'm trying to handle animation with Cal3D, but doing it by CPU is sloooooooow. So I'll want to understand how to do it throught vertex shaders. I've found some ¿Cg? Implementation in the examples, but I don't know the language. BTW, do you know any tutorial? Where can I find some documentation avt the "CalHardwareModel" class? I tried to google it, but I wasn't lucky :-(

Share this post


Link to post
Share on other sites
Advertisement
Strange, I know Cal3D well enough but I don't understand what you mean, what part is slow? You do know cal3d doesn't handle drawing?

Share this post


Link to post
Share on other sites
That's the point. I don't know how to handle the drawing with GLSL to work well with Cal3D...

Share this post


Link to post
Share on other sites
I don't know enough to really cover it, it's a huge subject. Basically you just need to fetch CAL3d's vertices, triangle indices, and texture coords. You want drawing functions that are universal, not one for cal3d and one for other things etc.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement