+ 1

Whats a good way to create a blender box screen on a webpage where i could mix the two?

gaming screen

18th Dec 2016, 1:51 AM
Brad Rogers
Brad Rogers - avatar
6 odpowiedzi
+ 2
thankyou
9th Jan 2017, 12:55 AM
Brad Rogers
Brad Rogers - avatar
+ 1
The easiest way I found after many searches and trial and error was Three.ColladaLoader. Place your .dae files in a folder titled models in your /root directory. I found the Blender JSON exporter less reliable. Call the PinaCollada function from within the init() function, somthing like this: function init(){ scene = new THREE.scene; ... var object1 = new PinaCollada('model1', 1); scene.add(object1); var object2 = new PinaCollada('model2', 2); scene.add(object2); ... } function PinaCollada(modelname, scale) { var loader = new THREE.ColladaLoader(); var localObject; loader.options.convertUpAxis = true; loader.load( 'models/'+modelname+'.dae', function colladaReady( collada ) { localObject = collada.scene; localObject.scale.x = localObject.scale.y = localObject.scale.z = scale; localObject.updateMatrix(); } ); return localObject; }
8th Jan 2017, 7:17 PM
Ahmed El-Essawy
Ahmed El-Essawy - avatar
+ 1
was trying to place an game engine on a webpage
9th Jan 2017, 3:15 PM
Brad Rogers
Brad Rogers - avatar
+ 1
you showing me i can and i can have developers too
9th Jan 2017, 3:16 PM
Brad Rogers
Brad Rogers - avatar
0
ur welcome 😅
9th Jan 2017, 3:13 PM
Ahmed El-Essawy
Ahmed El-Essawy - avatar
0
nothing like getting on your better than facebook chatsite and build your own game within a commuity of gamers sharing in your creations in a huge world of games all tied together in a world creation
9th Jan 2017, 3:20 PM
Brad Rogers
Brad Rogers - avatar