- June 29, 2013 at 7:47 am #31319
I started developing 3D iOS App few days ago. I tried building and running “Skinning example” ( SDK_3.1 -> Examples -> Intermediate -> Skinning -> OGLES -> Build -> iOS -> .xcode file ) and this ran well. And then, I tried to replace man.pod with my .pod file exported with PVRGeoPOD from my 3D objects generated Blender2.65a(OSX) . However, exported .pod file doesn’t contain any camera objects. When I opened this using PVRShaman, there is gray object in dark background. Why??
Please tell me how to export my objects correctly from Blender and make it visible with PVRShaman.
June 29, 2013 at 8:31 am #37547
i cant see using your screenshot what material you did apply (pvr file).
davidJune 29, 2013 at 4:12 pm #37548
Hi Dgu. Thank you for your comments.
I applied pvr file which is converted from .png file with PVRTexTool (GUI).June 29, 2013 at 4:24 pm #37549
I can t see the material called “Material” under the node Armature , i was wondering why your plane is under your armature .
it should be a different object node no ??.
depending your texture that you use , how did you calculate your UV ? if you are using a render to texture principle you should set the Flipping checkbox to true;
davidJune 30, 2013 at 8:06 am #37550
Hi Dgu, tahnk you for your comments.
In Blender, I think, the armature should be parent of meshes for its bone animation. Am i wrong about this?? :-/
I found some solutions of my problems.
1) In Blender, my camera should be “Perspective” (not “Orthographic”).
2) In PVRGeoPod Options, “Data type” of the export mapping channels should be “float”.
3) as Dgu says, I should set the Flipping checkbox to true.
Then, I got good results. I could see my textured object with PVRShaman. Its bone animation works well too.
However, I still have the problem. In “Skinning Example”( SDK_3.1 -> Examples -> Intermediate -> Skinning -> OGLES -> Build -> iOS -> .xcode file ) , when I switched the default pod file to my pod file, I can see only cyan background, there is no 3D objects. I dont know why.
Please advise me.
thanks.June 30, 2013 at 8:29 am #37551
I found the cause of my last problem.
In OGLESSkinning.cpp, I changed the value of CameraNear.
const float g_fCameraNear = 1.0f;
Then, I got good result.