S3D - a Monkey 3D Engine

Community Forums/Monkey Talk/S3D - a Monkey 3D Engine

bruZard(Posted 2012) [#1]
v0.12 is online ... here's the changelog:
added	: Vector.setW:Void(w:Float = 1.0)
added	: Light.setLightType:Void(lightType:Int = 1.0)
added	: Entity.addChild:Void(child:Entity)
added	: Mesh.setCulling:Void(culling:Int = 0)
added	: MeshCulling:Void(mesh:Entity, culling:Int = GL_BACK)
changed	: S3D.createCamera() now has the optional parameter "parent:Entity"
changed : S3D.createLight() now has the optional parameter "lightType:Int = LIGHT_POINT" and "parent:Entity"
changed : S3D.loadMesh() now has the optional parameter "parent:Entity"
changed : S3D.refMesh() now has the optional parameter "parent:Entity"
changed	: CreateCamera() now has the optional parameter "parent:Entity"
changed : CreateLight() now has the optional parameter "lightType:Int = LIGHT_POINT" and "parent:Entity"
changed : LoadMesh() now has the optional parameter "parent:Entity"
changed : CloseMesh() now has the optional parameter "parent:Entity"
changed : you can now use transparent texures
changed : backface culling is now active per default but set to "no culling"
surprise: the Example works on Android, GLFW and iOS




Now the archive contains a folder "modules" and a folder "bananas" so you can extract the full S3D update over your monkey installation.

The example in bananas/s3dExample shows a small island in the sky with a tree and a rock. If you want to compile this you have to build the example (not run), go to the build folder and open the CONFIG.TXT. Add "|*.obj|*.mtl" to the list of textfiles and rebuild the example. I've test it with all available opengl.gles11 targets and it will work.

Important: Ever use "SetUpdateRate" in OnCreate() ;)

http://www.sedm.de/monkey/s3d/s3d.zip

have fun!


Matty(Posted 2012) [#2]
Which version of monkey does this require at minimum?
(I'm running v42).


Captain Wicker (crazy hillbilly)(Posted 2012) [#3]
Does it work with the Demo version that only compiles for HTML?


bruZard(Posted 2012) [#4]
experimental version 052 is required.


RifRaf(Posted 2012) [#5]
neat, does it have a collision system in place ?


bruZard(Posted 2012) [#6]
not yet