Glossifah
01-30-2001, 06:10 AM
All,
What is the best method for forcing a UCP to be transformed by the modelview matrix? I'm not so much concerned about performance, more about doing it The Right Way.
At this point, I suppose for every frame I could:
glGet the modelview matrix
multiply by the UCP definition
redeclare the UCP with new definition
enable UCP
drawObject
disable UCP
But, this seems very expensive for the end effect. Is there some magical shortcut I can enable which forces UCP's to be transformed by the modelview matrix?
Regards,
Glossifah
What is the best method for forcing a UCP to be transformed by the modelview matrix? I'm not so much concerned about performance, more about doing it The Right Way.
At this point, I suppose for every frame I could:
glGet the modelview matrix
multiply by the UCP definition
redeclare the UCP with new definition
enable UCP
drawObject
disable UCP
But, this seems very expensive for the end effect. Is there some magical shortcut I can enable which forces UCP's to be transformed by the modelview matrix?
Regards,
Glossifah