Md2 to json converter
Tried to make a simple little “webapp” that converts Md2 models(the old quake 2 model format) into the json format(version 3) that is used by three.js.
You simply open the page, and then drag and drop a *.md2 file and it will be converted and a preview of the mesh should appear. You can then drag and drop jpg/png images for the texture to be previewed as well.
Left click and drag to rotate, right click and drag to move. Scrollwheel to zoom.
If it looks ok, enter a filename and hit “Save”.
It should now be downloaded(in Chrome at least, Firefox opens it in a new window).
You can then load in the json files into your three.js projects and use them as morphTargets.
MD2 to JSON Converter (a model to test with, if you don’t have one)
Example of converted model as morphTarget
I have only tested this in Chrome and Firefox, so not sure if it works anywhere else. Mostly done as an exercise for myself to understand the format, drag and drop and filehandling etc. But might be useful to someone else out there.
Edit (Mar 08, 2012): Looks like I had the exporter output a horizontally flipped model, should be fixed now. Thanks to @alteredq for letting me know.
Edit (May 11 2013): Updated it to export to the latest format(3.1).
Edit (Feb 10 2014): Fixed it, was broken due to some webgl changes in recent browsers.
Pixel particles
For a recent project there was a need for lots of particles, in flashplayer 10. Here´s some of the experimentation that came out of that. There are no preloaders, so just wait for something to show(some are quite heavy).
2x pixels, heightmap/colormap
2x pixels, heightmap/colormap shapes
1x pixels, heightmap 200x200px
1x pixels, heightmap 300x300px
1x pixels, heightmap 400x400px
1x pixels, 3d teapot 50k
1x pixels, 3d teapot 100k
1x pixels, 3d teapot 200k
1x pixels, morph A (click anywhere to morph)
1x pixels, morph B (click anywhere to morph)
1x pixels, morph C (click anywhere to morph)
Lesson learned is that linked lists are way faster than arrays.. ;)
Sorry, no Tweets were found.
Categories
Blogroll
- actionscript microcosmos
- Alternativa Platform blog
- Andre Michelle
- Antti Kupila
- Ars Thanea Blog
- astatic notes
- b-log – betriebsraum weblog
- betaruce
- blog-o-fobik
- blog.joa-ebert.com
- Cheezeworld
- Chris O'Shea
- Coding Cowboys
- CreativeApplications.Net
- Darren Richardson
- Dead End Thrills
- Designchapel
- Everyday Flash
- Everything Visual
- flash platform!
- franto.com
- gaming your way – blog
- gBlog
- generalrelativity
- generalrelativity
- Keeping track of myself
- KevLinDev Blog
- lessrain blog
- metablog
- Mike Chambers
- MoiK78 blog
- moockblog
- neurofuzzy
- North Kingdom
- Over Here
- Peter Elst
- peter nitsch.net
- Photon Storm
- PICNIC WITH PANIC
- pixelbreaker
- pixelconsumption
- Play with Motion
- polygonal labs
- Power-up Media Blog
- Quasimondo
- Razorberry's Adobe Flash Blog
- RIAgora
- ricardo cabello
- Simon Wacker
- simppa.fi/blog
- Sönke Rohde
- The efnx code blog
- toxi.in.process
- trace(myBitmapdata);
- UnitZeroOne
- w3blog
Archives
- December 2021
- December 2020
- December 2019
- December 2018
- September 2018
- December 2017
- November 2017
- December 2016
- December 2015
- December 2014
- December 2013
- May 2013
- April 2013
- December 2012
- July 2012
- June 2012
- January 2012
- December 2011
- October 2011
- December 2010
- December 2009
- January 2009
- December 2008
- December 2007
- June 2007
- February 2007
- December 2006
- October 2006
- September 2006
- August 2006
- June 2006
- December 2005
- October 2005
- September 2005
- August 2005
- March 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- June 2004
- April 2004
- March 2004
- December 2003
- September 2003
- August 2003
- July 2003
- May 2003
- April 2003
- February 2003
- January 2003
- December 2002
- November 2002