0

I have created a Cocos3d iOS project and facing issue on texture display. My project has been kept under this link-> https://www.yousendit.com/download/UVJpWmdzTkwzMW40WjhUQw If we run this project, we can see a sample house model output, where roof shows in plain white color in the house. But, actually i have added a roof texture in blender, and converted in pod. I don't know why the roof texture display not displaying when running the code in simulator. Could please download my sample project https://www.yousendit.com/download/UVJpWmdzTkwzMW40WjhUQw and suggest me. This project source also contains the .blend, .dae, .pod files which its using.

CC3PODResourceNode* podRezNode = [CC3PODResourceNode nodeWithName: @"RobotPODRez"];
podRezNode.resource = [IntroducingPODResource resourceFromFile: @"DieCube.pod"];

// If you want to stop the robot arm from being animated, uncomment the following line.
//  [podRezNode disableAllAnimation];

podRezNode.shouldCullBackFaces = NO;
podRezNode.location = cc3v(0.0, 0.0, 0.0);
podRezNode.isTouchEnabled = YES;
[self addChild: podRezNode];
Getsy
  • 4,887
  • 16
  • 78
  • 139

1 Answers1

1

Your DAE files do not reference any textures:

TestHouse.dae:

  <library_images/>

So, you must have not exported them from Blender.

peterept
  • 4,407
  • 23
  • 32
  • Its not TestHouse.dae, i named it as DieCube.dae for that house sample model. Can you please tell me how to correct dae file to be referenced to proper texture image? Its showing with proper texture in blender properly though. – Getsy Mar 26 '13 at 11:44
  • Take a look at the section on DAE here: http://wiki.frictionalgames.com/hpl2/third_party_tools/3d/blender – peterept Mar 27 '13 at 00:15