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
2
votes
1 answer

cocos3d billboard paning with gestures

I want to pan the billboard using using gestures how can i do that, i have modified the DemoMashUp like this: - (void)dragBy: (CGPoint) aMovement atVelocity: (CGPoint) aVelocity { if (selectedNode == dieCube || selectedNode == texCubeSpinner)…
Ahmad Karim
  • 459
  • 1
  • 6
  • 17
2
votes
1 answer

Cocos3D - hello world scene does not show when integrated in uikit

I want to integrate cocos3d in one of my view. So, I have a normal view controller(MapEditorViewController) and a view, in my view controller, (I created a IBOutlet CCGLView *openGLView) in which I want cocos3d to be in. In my view controller, I…
Etienne Noël
  • 5,988
  • 6
  • 48
  • 75
2
votes
2 answers

Cocos3d: POD output doesn't proper and black shaded

I am developing an 3d app using Cocos3d on iOS. I created a blender file for a house and exported it as .dae and convert to .pod using colladatopod tool. When i render image in blender, it shows output well, but after i converted and added as .pod…
Getsy
  • 4,887
  • 16
  • 78
  • 139
2
votes
1 answer

Performance of POD files in Cocos3d

I've encountered problem with performance of loaded POD files. I'm using the ones created for online service with WebGL, so these models are pretty well detailed. The total number of models I got is large and I really want to avoid to remake them…
medvedNick
  • 4,512
  • 4
  • 32
  • 50
2
votes
2 answers

How to register touch event cocos3d

I have tried to find a way of registering a touch event in cocos3d such as TOUCHESBEGAN but that does not exist, only -(void) touchEvent: (uint) touchType at: (CGPoint) touchPoint { NSLog(@"hello"); } Bu that does not log "hello". How…
Bob
  • 117
  • 2
  • 11
2
votes
0 answers

Should I use glkit or cocos3d?

I'm ready to write my second app using 3D. The first app was completed in April of 2011. I want to write another, and have been researching the best route to take. I used opengl-es last time, and it was tough, but I got through it and the app is…
Valerie
  • 659
  • 6
  • 14
2
votes
1 answer

Export POD format from 3D Max to cocos3D

we're developing a Medical app with a 3D character thats teachs about phisioterapy. We have a 3D character in 3D Studio Max with animation, when export it into POD (I Have tried many configurations) the character deforms their volumes when I preview…
branigan
  • 61
  • 4
2
votes
1 answer

POD file not being loaded

I have been trying myself to understand Cocos3D app development. The big hurdle what i find is that POD is not being loaded. I used Collada2POD converter to convert to POD, where the Collada file was actually exported from blender. I tried…
Meera
  • 1,031
  • 6
  • 25
1
vote
2 answers

3D Rotation on 2D Gesture/Movement (OpenGL/Cocos3D)

Im using OpenGL, precisely Cocos3d, to display a globe in an iPhone/iPad project. I want the user to be able to rotate the globe with his finger. Rotating around just one axis works fine, but I don't know how to solve the 3 axis' all…
Django
  • 545
  • 1
  • 5
  • 17
1
vote
1 answer

Add 3D Blender models to cocos2d iPhone game

I'm currently working on a 2 dimensional iPhone game using coco2d. I want to use a few 3D blender models in my game without rewriting the whole project from scratch in cocos3d. Is this possible? Thanks in advance!
KrauseFx
  • 11,551
  • 7
  • 46
  • 53
1
vote
2 answers

iphone racing game in cocos3d

I am working on iPhone racing car game development using cocos3d.In this how can I get detection of boundaries of road in road-map.I have done with load pod file for road-map.I also want to know about how can I implement physics for car accident.Is…
M007
  • 580
  • 1
  • 5
  • 24
1
vote
1 answer

How to set the location of a CC3Node in a layer?

I've not been able to find this in the docs. I've got a CC3Node (myNode) and my layer has the callbacks for touchDown & touchMoved events all of which works, so far. I'm trying to drag myNode around the screen, preferably using screen…
Olie
  • 24,597
  • 18
  • 99
  • 131
1
vote
3 answers

cocos3d dynamically create 3D box

I am new in cocos3d but i know cocos2d. i want to create 3d box dynamically. so what i did inside cc3layer is -(void) initializeControls { [self schedule:@selector(create_box:) interval:2 ]; } -(void)create_box:(id)sender{ [self…
Rony
  • 1,229
  • 4
  • 22
  • 42
1
vote
3 answers

Building a Cocos2d-x project with android : "package org.apache.http does not exist"

I'm trying to build my cocos project to android. At first, I ran the following command: cocos run -s {my_project_path} -p android And I got errors of packages and symbols that weren't found, here is the first error: error: package org.apache.http…
Ben
  • 31
  • 2
1
vote
1 answer

Error cocos3d + Storyboard?

I did an Example like CC3DemoMultiScene in iOS objective-c, I follow the same code thing like in example my AppDelegate follows: #import "AppDelegate.h" @interface AppDelegate () @end @implementation AppDelegate -…
1 2
3
11 12