On Sat, Jan 11, 2014 at 5:28 AM, Brian Wolff <bawo...@gmail.com> wrote: > Hi, > > Thanks for writing. Previous discussions aboit 3d have usually been about > x3d and cml, but i think most people just want a 3d format supported, and > dont care which one (to speak from a wikimedia as opposed to a mediawiki > prespective).
Currently we have a support for .g (BRL-CAD's binary file format) files, but BRL-CAD has a long list of supported formats so anything that BRL-CAD can import will be supported. BRL-CAD can export files as X3D but it cannot import them yet :( . The file formats that BRL-CAD can import are ASCII, AutoCad DXF, Elysium Neutral Facetted, EUCLID, FASTGEN, IGES, Jack, NASTRAN, STL, TANKILL, Unigraphics and Viewpoint which can then be internally converted to .g file and exported to .obj for 3D online geometry viewer. > The basic requirements for a 3d viewer extension (somewhat pulled out of my > hat, so some people might have different requitements) > > *Secure (obviously very important. No one wants xss in a media viewer. This > also includes other things like not making network fetches on the server > (this came up in the past with some file formats allowing additional files > to be referenced by url)) I understand XSS but sorry I, din't really get the second part. :( > *should probably allow manipulating the render on the client side (most > people want to pan and zoom the 3d file or they would upload a raster file). Yes, the rendering is currently being handled by three.js. It has the ability to pan, zoom and even see models in either wireframe or solid mode. > *relatively efficient. Shouldnt take down the servers. > *the php part of the extension should follow mediawiki coding style and > quality standards. > *should have some sort of fallback for non-js clients (e.g. a jpg thumb of > the model) > *all parts open source (sounds like this project has nothing to worry about) Thanks, will keep all them in mind. > I dont really have time to help with such an effort, but would be happy to > answer any questions about how media handler plugins work in mediawiki (the > docs on that are pretty limited, so don't be afraid to ask). I would also > be happy to look over extension code and give advice. Thanks to you and all others for the support. It was for sure a motivating warm welcome. -- Inderpreet Singh Ekoankar Sahai ishwerdas.com facebook.com/okayinder https://kippt.com/okayinder _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l