USER FORUM
(you are viewing a thread; or go back to list of threads)
WebGL export using Three.js (by Andrew McIntyre)
I am much impressed by the interactive models on the M-Labs website. Might is be possible to have a tutorial showing how this is done - using say a simple lathed model?
Exciting stuff!
Exciting stuff!
(no subject) (by whitequark)
File -> Export Triangle Mesh..., then select "Three.js-compatible mesh, with viewer (.html)" in the format dropdown. It's that simple.
To embed the models somewhere else... if you have basic knowledge of HTML and JS, take a look at how the m-labs page is structured, it should be obvious from there. If not, probably the simplest way is to include the model in an <iframe> tag, with the appropriate width and height set.
To embed the models somewhere else... if you have basic knowledge of HTML and JS, take a look at how the m-labs page is structured, it should be obvious from there. If not, probably the simplest way is to include the model in an <iframe> tag, with the appropriate width and height set.
(no subject) (by Andrew McIntyre)
Marvellous whitequark! I'll give it a whirl the first opportunity I get. Thank-you.
Post a reply to this comment: