enpu Posted December 29, 2017 Share Posted December 29, 2017 Enable 3D rendering using Three.js combined with your 2D scene. Preview: https://www.panda2.io/plugins/three Download: https://www.panda2.io/plugins Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted December 30, 2017 Share Posted December 30, 2017 Brilliant! Quote Link to comment Share on other sites More sharing options...
enpu Posted January 3, 2018 Author Share Posted January 3, 2018 Three.js plugin v1.3.0 released. It's now a lot easier to use with some helper game classes: Container3D, Object3D, Box3D, Sphere3D, Plane3D and Cylinder3D. Example project includes now 4 different example scenes. Simple 3D scene with just one box with texture looks like this: game.createScene('Main', { init: function() { var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(60, game.width / game.height); camera.position.z = 200; var light = new THREE.AmbientLight(); scene.add(light); var container = new game.Container3D(scene, camera); container.addTo(this.stage); var box = new game.Box3D('texture.png', 60); box.addTo(scene); } }); Will add proper documentation to the website for all those classes once it's done. Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
enpu Posted January 20, 2018 Author Share Posted January 20, 2018 Three.js plugin v1.4.0 released. Update your engine to latest 2.2.0 before using this plugin! https://www.panda2.io/plugins You can now load OBJ files with the plugin and it also works together with Pixi plugin. See documentation: https://www.panda2.io/plugins/three/docs Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.