benoit-1842 Posted January 29, 2015 Share Posted January 29, 2015 Hi everybody !!! I have tried a lot of thing but still no success..... I am trying to clone a model but it doesn't work (for me).... I have read documentation and follow tutorials and I am not able to do that task.... Any help will be very appreciated.... Merci, Benoit Here's the model and below is the html file... https://drive.google.com/file/d/0B_ZBy6q5jS8xX1VVNGRRZzZ0akE/view?usp=sharingmannequin.html Quote Link to comment Share on other sites More sharing options...
reddozen Posted January 29, 2015 Share Posted January 29, 2015 I don't see any references to cloning in your HTML file, so I'm not sure. Quote Link to comment Share on other sites More sharing options...
benoit-1842 Posted January 29, 2015 Author Share Posted January 29, 2015 I didn't put any reference to cloning in my html..... Where I should put that Quote Link to comment Share on other sites More sharing options...
benoit-1842 Posted January 29, 2015 Author Share Posted January 29, 2015 Yeah I understand what you mean can we clone a .babylon file model that was created with Blender.... Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted January 29, 2015 Share Posted January 29, 2015 Your use of the term 'model' does not actually correspond to anything. Do mean mesh or scene? Meshes have a clone method & a constructor in 2.0 that can take a source mesh to base as a clone. Think you are talking about a scene though. Scene is not cloneable. Do you want like a split screen showing a scene from multiple angles / cameras? benoit-1842 1 Quote Link to comment Share on other sites More sharing options...
benoit-1842 Posted January 29, 2015 Author Share Posted January 29, 2015 Yes it's exactly that.... Sorry I am French-Canadian and sometimes the words are not there...... The story is : I have the mannequin and yes I want to split the screen in two. Because I want one that shows the model in front and the other one by the side.... Is it possible to split the screen. Later I will integrate a scene to my model but for right now I am just concentration on having two views of my model in the browser..... Thank you very much.... Benoit Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted January 29, 2015 Share Posted January 29, 2015 Now that your goals are more clear, I think you may want to look at doing multiple viewports. Here is a thread that discusses it. I never have done this.http://www.html5gamedevs.com/topic/5973-multiple-viewport-issues/?hl=viewport Quote Link to comment Share on other sites More sharing options...
benoit-1842 Posted January 29, 2015 Author Share Posted January 29, 2015 Yeah I just needs two viewports, one with a side view and one with a front view... I continue working on that... Thanx, Benoit Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 29, 2015 Share Posted January 29, 2015 More on viewports:http://doc.babylonjs.com/page.php?p=22461 And yes you can clone mesh with ```mesh.clone()``` 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.