I just started with PVR Insider SDK, so I have a lot to learn from you guys.
I succeeded in importing simple 3d model with a cube, a light, and a camera exported from blender into iOS projects. Of course this project is based on PVRShell and since I don’t have any textures attached to the model, I used vertex and fragment shaders used for Basic Effect file from PVRShaman. And I had hard time to figure out the matrices used for PVRShaman UNIFORMs like WORLD, WORLDVIEWPROJECT, LIGHTDIRECTION, … .
So what I am asking is
- Is there any reference indicating how to calculate those uniforms from the values in POD file? I can read POD file using PVRTools, but I don’t know the formula to calculate those uniforms.
- I am stuck with touch events. I mean, I don’t have any leads how to handle the touch events within PVRShell structure. So can anyone please tell me how?
- I see that every POD model used in PVR SDK examples use per texture files, not png format. But with blender I can only generate png texture files and export materials with png. So how can I export material textures with PVR format?
Any help would be appreciated.