Game Design Music and Art

problem in vertex program – naan

naan
Junior Member

Posts: 2
From: india
Registered: 05-26-2004
i had implemented de boer's paper (geo mip mapping). in order to speed up vertex morphing i tried to use vertex programs, but it turned out that we had very little calculations to do on the GPU. the performance of the program instead of getting boosted , got deteriorated. same program with no vertex program mode runs faster. i havn't got any idea why this is so. can any body tell me the reason.

(i guess that the presence of a few function calls for setting the parameters for the vertex program, even when no calculations are being done may be the cause)

GUMP

Member

Posts: 1335
From: Melbourne, FL USA
Registered: 11-09-2002
Fixed Function pipeline is almost always faster than the Programmable pipeline.

Then again, you could post your code; it could be a mistake somewhere.