Ok, but it's strange that they both Sony model.cs and PowerVR SGX samples had the same skinning example idea...anyways I agree with you that it's a penalty in performance, but the RPG demo use it and runs ok on VITA. Anyways it's good to know that Sony says it's a problem, I will be happy to not change my actual code.
I just looked at the PowerVR SGX examples and they don't use the same concept of as the Sony example I looked at. Perhaps you're looking at something else? Either way, draw calls are expensive and there is not a hardware limitation here.
I totally agree with the draw calls =). Its ahrd to say we are looking at the same demo but it's
..\PowerVR Insider SDK\TrainingCourse\25_Skinning\OGLES2
There is a limit to the number of bone matrices that you can pass to the shader so we have
chosen to limit the number of bone matrices that affect a mesh to 8. However, this does
not mean our character can only have a skeleton consisting of 8 bones. We can get around
this by using bone batching where the character is split up into sub-meshes that are only
affected by a sub set of the overal skeleton. This is why we have this for loop that
iterates through the bone batches contained with the SPODMesh.
for (int i32Batch = 0; i32Batch < Mesh.sBoneBatches.nBatchCnt; ++i32Batch)
// Set the number of bones that will influence each vertex in the mesh
// Go through the bones for the current bone batch
PVRTMat3 afBoneWorldIT, mBoneIT;
int i32Count = Mesh.sBoneBatches.pnBatchBoneCnt[i32Batch];
for(int i = 0; i < i32Count; ++i)
// Get the Node of the bone
int i32NodeID = Mesh.sBoneBatches.pnBatches[i32Batch * Mesh.sBoneBatches.nBatchBoneMax + i];
Anyways we still need to wait for Sone Dev team to confirm a fix or not over this =). So changing subject the pictures look amazing!! and again thanks for the info.
It's a damn shame the limitations that the PSM puts on developers. I think if they worked on setting specific targets, the PS Vita would get off the ground a lot easier than what it has so far.
This game looks great, and it would be sad to see it go.
Hey! He released some new footage of the game in action! Go check it out!
Way to go PixelGhost! I look forward to beating everyone to the first purchase.