hw3web Posted October 27, 2013 Share Posted October 27, 2013 Hello there again, I hope I do not make to much confusion in all this great frameworks but as I try to progress with it I found another things I not sure how I need deal with. Live example:http://hw3web.co.uk/web/babylon/cube_smooth/ 1) Scale - is any chance to see how big is model in unites not in scaling as you can see in blender screen size is 3 meters but scaling is 1, so if anyone want to keep zoom camera depend of size of object will be impossible dealing just with scale as it not really show size of element. As meshs are Arrays of points we could check min and max position on x , y and z axis and that could indicate size depending of scale of model, I thought it will be good to have it implement in framework it self. So is it will be properties of model telling of physical size of element in future version of Babylon ? 2) Smooth - as on picture I create cube'ish model half smooth half flat shading in Blender, is any chance to keep this in exporter as this mesh could be different then material subMashs 3) Pick - as it should be game Framework how to make pick, select script, I did try scene.getMeshByID('Cube').on('click',function(){}); but didn't really work. So how I can create handlers for models or any other elements on scene. 4) is any chance to do multiview from this same scene like three.js did in this example ? : http://threejs.org/examples/webgl_multiple_views.html Thank you again Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 27, 2013 Share Posted October 27, 2013 1/ Every mesh has a boundingInfo property which contains boundingSphere and boundingBox properties. The boundingBox contains minimumWorld and maximumWorld properties (the extends you are looking for) 2/ Flat shading is not supported right now but I'm not sure to understand the question 3/ pick is supported through scene.pick(x, y). You have to handle onmousedown on your canvas and call pick on your scene (example: https://github.com/BabylonJS/Babylon.js/wiki/11---Picking-collisions) 4/ Multiviews are on our roadmap:) (https://github.com/BabylonJS/Babylon.js/wiki/Roadmap) Quote Link to comment Share on other sites More sharing options...
hw3web Posted October 27, 2013 Author Share Posted October 27, 2013 1) thank you 2) I hope it will be avaible soon to make more advance graphics on-line that what I mean : not sure why picture do not show in my first post picture from Blender3D: http://hw3web.co.uk/web/babylon/cube_smooth/cube.png compare with scene in babylonJS http://hw3web.co.uk/web/babylon/cube_smooth/ basically what I meant is when material have smooth and flat shading , but until is not supported , I need wait 3) great , thank you 4) looking forward to see new compact version of BabylonJS to be honest not sure now after this few posts on forum here what Blender exporter is the newest ?- are you update the freshest one on github ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 27, 2013 Share Posted October 27, 2013 The latest blender exporter is always here:https://github.com/BabylonJS/Babylon.js/blob/master/Exporters/Blender/io_export_babylon.py The current beta version is here:http://www.babylonjs.com/io_export_babylon.zip 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.