Obah
02-09-2005, 06:50 AM
Hi there,
I'm working on a school project which is to create a game, I have successfully implemented smooth skinned animation (with the max of 4 bones/joints) I now want to off load some computations to the GPU, my question however is in regards to the best way to send data to the GPU. Right now I was testing using attribute variables but I have a very limited amount of those available (16). Is it bad to send uniform variables over constantly? My new idea was to send all of the bones/joints for each character (~300 matrices total) then index them in the vertex shader. Is that too much to be sending over? I guess I'm just looking for a little insight, any help would be appreciated. Thanks!
I'm working on a school project which is to create a game, I have successfully implemented smooth skinned animation (with the max of 4 bones/joints) I now want to off load some computations to the GPU, my question however is in regards to the best way to send data to the GPU. Right now I was testing using attribute variables but I have a very limited amount of those available (16). Is it bad to send uniform variables over constantly? My new idea was to send all of the bones/joints for each character (~300 matrices total) then index them in the vertex shader. Is that too much to be sending over? I guess I'm just looking for a little insight, any help would be appreciated. Thanks!