PDA

View Full Version : vertex program question



vivek vyas
09-25-2009, 06:40 AM
why we need to use matrix related things while making program of light

DP4 result.position.x, pos, modelviewProj[0];

is any concept i missed or not have
if this Question looks like [censored] close it.
please post any article related to it.
thanks in advance

vivek!!!

V-man
09-25-2009, 06:55 AM
Why you need to transform your vertex by the model-proj matrix?
Because that's how things are done. Get used to it.

It's better to pick up a book about 3D graphics in general. Don't buy a book about OpenGL programming.

vivek vyas
09-25-2009, 08:31 AM
thank you.
N what book should be for that
yes i can surf google but what is the best one