Cal3D and GLSL

Started by
2 comments, last by hogarth 16 years, 5 months ago
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 :-(
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?
That's the point. I don't know how to handle the drawing with GLSL to work well with Cal3D...
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.

This topic is closed to new replies.

Advertisement