cocos3d-0.5-beta

所属分类:Unity3D
开发工具:Objective-C
文件大小:1369KB
下载次数:52
上传日期:2011-02-22 11:43:36
上 传 者litjerk
说明:  Cocos3d框架是iOS平台高度提炼的3D应用开发框架。 Cocos3d是cocos2d的扩展集,cocos2d深入人心,广泛使用在iOS 2d游戏开发中。 这个扩展可以无缝集成到cocos2d体系中。开发者在一个特别的 cocos2d 层中渲染所有的 3D 对象。 这个扩展的功能比起专业的 3D 引擎(例如 Unity 3D)差不少。但对 cocos2d 开发者来说,不需要学习一个新的框架体系,也不需要学习新的开发语言。所以如果是想做一些简单的 3D 游戏,或者要在基于 cocos2d 的游戏里面添加 3D 效果,cocos3d 毫无疑问是一个非常不错的选择。 虽然目前版本是0.5 beta,但我们依稀可以看见不久的将来cocos3d的应用会大行其道!
(Cocos3d is a significant extension to cocos2d that adds a full 3D modelling space, including 3D mesh models, perspective projection cameras, materials, and lighting. With cocos3d, you can populate your world with 3D models exported from 3D editors such as Blender, 3ds Max or Cheetah3D, combined with models you create dynamically in your Objective-C code.)

文件列表:
cocos3d-0.5-beta (0, 2011-01-31)
cocos3d-0.5-beta\.DS_Store (6148, 2011-01-31)
__MACOSX (0, 2011-01-31)
__MACOSX\cocos3d-0.5-beta (0, 2011-01-31)
__MACOSX\cocos3d-0.5-beta\._.DS_Store (82, 2011-01-31)
cocos3d-0.5-beta\.hg_archival.txt (132, 2011-01-31)
cocos3d-0.5-beta\CHANGELOG.txt (278, 2011-01-31)
cocos3d-0.5-beta\cocos3d (0, 2011-01-31)
cocos3d-0.5-beta\cocos3d\.DS_Store (6148, 2011-01-31)
__MACOSX\cocos3d-0.5-beta\cocos3d (0, 2011-01-31)
__MACOSX\cocos3d-0.5-beta\cocos3d\._.DS_Store (82, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3Extras (0, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3Extras\CC3ModelSampleFactory.h (3579, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3Extras\CC3ModelSampleFactory.m (7827, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3Extras\teapot.h (199883, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR (0, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3IdentifiablePODExtensions.h (1931, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3IdentifiablePODExtensions.m (1760, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3NodePODExtensions.h (10748, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3NodePODExtensions.mm (13745, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODCamera.h (1737, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODCamera.mm (2980, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODLight.h (1732, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODLight.mm (3447, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMaterial.h (2872, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMaterial.mm (3529, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMeshModel.h (1846, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMeshModel.mm (3607, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMeshNode.h (1869, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODMeshNode.mm (2918, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODNode.h (1873, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODNode.m (2040, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODResource.h (20537, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODResource.mm (12867, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODResourceNode.h (5708, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PODResourceNode.m (3097, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PVRFoundation.h (3848, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PVRFoundation.mm (14469, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3PVRTModelPOD.h (1551, 2011-01-31)
cocos3d-0.5-beta\cocos3d\cc3PVR\CC3VertexArraysPODExtensions.h (3203, 2011-01-31)
... ...

README $Version: cocos3d 0.5-beta (eab7e651f462) on 2011-01-31 $ Copyright (c) 2010-2011 The Brenwill Workshop Ltd. All rights reserved. http://www.brenwill.com +++++++++++++++++++++++++++++++++++ Installation ------------ The cocos3d framework is built on cocos2d. You must download and install the cocos2d SDK from http://www.cocos2d-iphone.org/download before installing cocos3d. Unzip the cocos3d distribution file (which you've probably already done, otherwise you wouldn't be reading this document). Open a Terminal session, navigate to the unzipped cocos3d distribution directory and run the install-cocos3d script as follows: ./install-cocos3d.sh -u -f -2 "relative-path-to-cocos2d-sources" For example: ./install-cocos3d.sh -u -f -2 "../../cocos2d/cocos2d-iphone-0.99.5" The cocos2d source code must be available and identified using the -2 switch so that the installer can copy the cocos2d libraries to the cocos3d templates and demo projects. That's it! You can then open Xcode and create a new, working cocos3d 'hello, world' project by selecting the 'cocos3d Application' project template when creating a new Xcode project using the File->NewProject menu selection. In addition, you can open a more sophisticated and interesting cocos3d demo application projects from the Demos folder in the cocos3d distribution. Creating POD 3D Model Files --------------------------- The PowerVR SDK contains tools for converting from a limited number of 3D editor export files. The PVR SDK is available free from Imagination Technologies, the supplier of the GPU's used in iOS devices. You can download the PowerVR SDK from: http://www.imgtec.com/powervr/insider/sdk/KhronosOpenGLES1xMBX.asp If you are using Blender (or any 3D editor), you can export your 3D model to a file in Collada 1.4 format, and used the Collada2POD converter tool (GUI or command line) in the PVR SDK to convert the Collada file to POD format. For convenience, when using the Collada2POD tool, you can use the settings in the Tools/Collada2PODSettings.txt file in the cocos3d distribution. When using the Collada2POD GUI converter, please be aware that the tool does not store the setting for the Invert Transparency flag. This flag must be turned on each time you use the GUI tool to avoid having all your models disappear. Please also note that the Collada2POD tool rotates data so that the Z-axis is 'up'. Since the OpenGL ES default is to have the Y-axis as up, and the camera looking down the -Z-axis, it is usually more convenient to use the OpenGL orientation in cocos3d (although there's nothing to stop you from rotating everything by 90 degrees within cocos3d). With this in mind, when using Blender, and exporting to POD via Collada, orient your model world so that 'up' is along the Z-axis (which is the Blender default anyway). The Collada2POD tool will then rotate the axes so that 'up' is along the Y-axis when the model is imported into cocos3d. PowerVR Library --------------- In order to reduce the size of the cocos3d distribution, several large and unused files have been removed from the PVR library. More info can be found in the document: 'cocos3d/cc3PVR/PVRT 2.07/PVRT_Removed_Files.txt'.

近期下载者

相关文件


收藏者