Questions tagged [cocos3d]

3D rendering extension for cocos2d-iphone, written in Objective-C.

Cocos3d is a 3D rendering extension to cocos2d-iphone, written in Objective-C. It is not a standalone renderer.

Cocos3d adds to cocos2d-iphone a full 3D modelling space, including 3D mesh models, perspective projection cameras, materials, and lighting. With cocos3d 3D models exported from 3D editors such as Blender, 3D Studio Max or Cheetah3D can be used. 3D models can also be created dynamically with Objective-C code. Users can interact with 3D objects through touch events.

This is the official cocos3d web page.

166 questions
3
votes
1 answer

How to import 3dmax model in cocos3d Example iphone

I am working with cocos3d Game development I have to import 3dmax model in my application can anyone suggest how to work with cocos3d??
Nirav Jain
  • 5,088
  • 5
  • 40
  • 61
3
votes
1 answer

How to make a building (view: top down) that looks like a "3d" building with cocos2d and cocos3d? (for iphone)

In GTA (the first and second game) you can see the city from above. I think the building are just 5 surfaces and each surface has an image on it. If the player moves nearer to the building you will notice this "effect" of a "real building"... I…
cocos2dbeginner
  • 2,185
  • 1
  • 31
  • 58
3
votes
3 answers

OpenGL ES object rotation around Z axis

I have an object on my screen which is presented rotated and panned, But i have 2 problems regarding the z axis rotations. It's a bit tricky to explain so i uploaded 2 videos to describe each problem. 1) Reverse rotation : After rotating the object…
Itzik984
  • 15,968
  • 28
  • 69
  • 107
3
votes
1 answer

Can't assign BoundingVolume for CC3MeshNode

I want to create a CC3MeshNode with boundingvolume in cocos3d. I have created a CC3MeshNode with a pod file. I want to get notification on collision . -(void) initializeScene { [self addContentFromPODFile: @"hello-world.pod"…
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
3
votes
1 answer

Cocos3d and augmented reality

I want to add 3D objects from cocos3d as camera overlay for augmented reality in my iPhone app. I've got CC3Scene with some model. I've create motionManager capturing to get information about device camera's direction, and then in…
medvedNick
  • 4,512
  • 4
  • 32
  • 50
3
votes
0 answers

cocos3d line glow effect

I'm using cocos3d 7.0 (that is, a 3d extension for cocos2d) on iOS 3.1 which has only GLES 1.1. I want to draw a line in space with a glowing effect. Ideally, it has to look like a line on the second image in Opengl ES 1.x glowing effect in iOS. But…
lost_guadelenn
  • 447
  • 4
  • 14
2
votes
2 answers

Xcode12 compile error against Cocos3D: Incompatible block pointer types

"Xcode 12.0 (12A7209)" shows compile error against Cocos3D library (written in Objective-C) in the following code: (The past versions of Xcode ((ie ver.11, 10), including ver 11.7(11801a)) don't have this problems but Xcode 12.0 does.) Error…
s4mt6
  • 143
  • 1
  • 2
  • 9
2
votes
1 answer

How to correctly display 3d model in Cocos3d using makehuman, blender and PVRShaman?

I have created a human model using makehuman and blender and when I used this model to display in app it looks like this and in Blender it looks like this and PVRShaman it looks like this While opening in PVRShaman it shows some error similar to…
Varun Naharia
  • 5,318
  • 10
  • 50
  • 84
2
votes
0 answers

Display 3D-Object with COCOS3D on top of AR-View

I work on an app, which scans an image and shows you a 3D-Object or a video on top of the image target. Normal AR-App. For that AR stuff I usw the Vuforia SDK. The problem is, that the Vuforia SDK don't support animated 3D-Objects and for that I use…
emha
  • 190
  • 6
  • 18
2
votes
1 answer

Export blender 3d model with texture to iPhone using Cocos3D - Texture not showing

Requirement I have a 3d model created in Blender - a cube with numbers 1 to 6 on each faces. I have added a UV texture on each face to represent the number. The numbers are showing fine when I render it on Blender. I am trying to export this model…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
2
votes
1 answer

Failed to run textured cc3node in Cocos3d

I have developed a 3d ground, a plane node, using Blender 2.66. I added the pod file with the texture image in resources folder.But when i run, can't find the object it self !!! I can find it works nice when i render in blender. Then why does this…
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
2
votes
1 answer

Cocos3d:Animation is not working in the output

I am developing cocos3d app for iOS. I added the walk animation for a "Man" blend file. Looks, the man is doing walk animation fine in Blender. I have used the following settings to convert to collada and then pod. I am getting wrong output…
Getsy
  • 4,887
  • 16
  • 78
  • 139
2
votes
0 answers

Cocos3d: glDrawElements EXC_BAD_ACCESS crash

I am trying to add a walking man pod file into my cocos3d app. I got a blender file for walking man with walk animation from this link for free -> http://www.blendswap.com/blends/view/66412 and converted this file to pod and using in the project.…
Getsy
  • 4,887
  • 16
  • 78
  • 139
2
votes
1 answer

Cocos2d restart scene is blank but showing fps

I have a table view that lists the game maps I have. When I click on one, another storyboard loads containing a cocos2d scene. The first time I load a scene, everything loads perfectly. However, the second time I try to load the scene (back from the…
Etienne Noël
  • 5,988
  • 6
  • 48
  • 75
2
votes
0 answers

cocos3d/blender: Strange issue with resaving blend to pod doesn't give output

I use blender to create 3d model and convert as .pod file using PVRGeoPODGUI and use it in my cocos3d application. For example, i created 3d planes, cubes etc. and saved as "A.blend" file and exported as "A.dae" and converted finally as "A.pod"…
Getsy
  • 4,887
  • 16
  • 78
  • 139
1
2
3
11 12