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
26
votes
0 answers

Texture coordinate Cocos3d

Here is how I put my texture on my object : _obj = (CC3MeshNode *)[_world getNodeNamed:@"s0"]; _obj.material.texture = [CC3Texture textureFromFile:@"objTextureLayout.png"]; My object is loaded from 3DMAX and I don't understand why my texture…
klefevre
  • 8,595
  • 7
  • 42
  • 71
18
votes
1 answer

Mesh node location not updated, in cocos3d

I am developing a board game using Ball, in cocos3d. In that I've given an action in touchevent. I'm printing the location to the console using NSLog(). Here is the code -(void) touchEvent: (uint) touchType at: (CGPoint) touchPoint { …
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
7
votes
2 answers

How to create a simple 3d sphere for cocos3d using blender and PowerVR SDK

I am a fresher in cocos3d. I want to create a simple project - a 3d sphere rotating. i have designed a 3d sphere using blender. So i want help in creating collada file and pod file. What all are the things should be taken care while creating this…
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
6
votes
2 answers

Any good tutorials for the open source 3d frameworks like cocos3d?

Is there any good tutorial for the 3d game free frameworks like cocos3d? the isgl3d has more detailed tutorials and samples than cocos3d, is there any good stuff for either? Thanks, PS. even the StackOverflow has too many unanswered question under…
Meir
  • 994
  • 12
  • 25
6
votes
3 answers

How can I Install Cocos3D for iPhone/iPad?

How can I Install Cocos3D for iPhone/iPad?
John
  • 63
  • 1
  • 3
4
votes
1 answer

Collision detection in 3d world

I am creating an 3d car racing game and till now i have integrated accelerometer and i can move the car through the city the only thing now remaining in my game is collision detection ... i want to stop my car when it bangs on wall etc ... how can i…
Amrut
  • 55
  • 5
4
votes
2 answers

Simple polygon in cocos3d

I am trying to implement a simple 3d object on the cocos3d template. Usually you get the object from a POD file or similar. But what i need is to make it by code in the application. I have tried CC3BoxNode with CC3BoundingBox. But it isn't what I am…
saimonx
  • 516
  • 1
  • 8
  • 25
4
votes
2 answers

Cocos 3D POD file format for iphone developing

I am new in cocos 3d developing. I have used cocos-2d for iphone and ipad, in which we have to used .png file for UI. But in this Cocos-3d programming, .POD file format have been used. I don't know about POD file format and how to access that node…
RAVI
  • 151
  • 2
  • 12
4
votes
1 answer

Add Cocos3D to existing XCode/iOS project

So I've recently successfully installed Cocos3D on my computer and I am able to create new "iOS" projects in xCode using the Cocos3D starter template. However, I currently don't need to start a new project. I just need to be able to integrate…
user1855952
  • 1,515
  • 5
  • 26
  • 55
4
votes
1 answer

Call an action at specific intervals in iOS

I am trying to invoke a function that contains ccactioninterval in Cocos3d. I want to call that function at specific time intervals.When I tried NSTimer , i found that it works sometimes and sometimes not. NSTimer makeTarget=[NSTimer…
Karan Alangat
  • 2,154
  • 4
  • 25
  • 56
3
votes
1 answer

Integrate Cocos2d with Qualcomm's Augmented Reality SDK

I would like to integrate Qualcomm's Augmented Reality SDK with Cocos2d or 3d to create an app. I would like to do something similar to the multi markers example they have provided where I want it to recognize an object and have 2d images appear on…
gikygik
  • 421
  • 9
  • 26
3
votes
0 answers

How to implement vertex skinning with cocos3D

I need to implement vertex skinning of a body using skeletal animation. My project is written in cocos2D, so the solution, i've chosen is to use cocos3D and vertex skinning. I looked into the examples in cocos 0.6.5 archive, but example shows only…
Alexander Tkachenko
  • 3,221
  • 1
  • 33
  • 47
3
votes
1 answer

add image as child of a CC3Node

I'm using Cocos3D. There i've a list of different CC3Nodes. I want to put an image next to each of it. My problem is: how to create a new CC3Node and add it as a Child.
Adrian
  • 524
  • 5
  • 21
3
votes
0 answers

How to flip the texture on a CC3PlaneNode?

I'm creating a CC3PlaneNode (cocos3d) with code that looks something like this: CC3PlaneNode *bnode = [CC3PlaneNode nodeWithName: name]; CC3Texture *texture = [CC3Texture textureFromFile: texName]; [bnode populateAsCenteredRectangleWithSize: sz …
Olie
  • 24,597
  • 18
  • 99
  • 131
3
votes
0 answers

Access to framebuffer Cocos2d/3d

I am trying to combine the String Augmented Reality Framework with cocos as the 3d renderer. In the setup I need to provide String with the OpenGL context and the framebuffer. stringOGL = [[StringOGL alloc] initWithDelegate: self context:…
1
2 3
11 12