Posts

Showing posts from July, 2014

Web3D using software rendering

Image
Nowadays, if people would like to implement a Web3D demo, most of them would use WebGL approach.

WebGL seems to be the spec of Web3D,  because Chrome, Firefox, Safari, IE, and Android Chrome have supported it. iOS 8 will be launched this year, and WebGL also can be executed on iOS 8 Safari.

In order to support iOS 7 pervious version for Web3D, I survey the Software Renderer method of three.js and help them add texture mapping and pixel lighting.

First, we get the image data from canvas.
var context = canvas.getContext( '2d', { alpha: parameters.alpha === true } ); imagedata = context.getImageData( 0, 0, canvasWidth, canvasHeight ); data = imagedata.data;

Second, we have to project the faces of objects to the screen space, we needn't sort them by painter algorithm, because three.js has implemented a screen size z buffer to store the depth values for depth testing.

And then, start to interpolate the pixels of these faces.
var dz12 = z1 - z2, dz31 = z3 - z…

Printing your 3D models by using Arca3D

Image
Arca3D is a platform can let you store your 3D models. There is a more interesting thing, it also can help you print your models.

 First, select a model you uploaded.


Next, click the button, Download STL File











Then, you can check it through STL viewer
















Finally, pick the *.stl file to your 3D printer and get your great physical 3D model.



Enjoy it: http://dev.arca3d.com


Arca3D LCD

Arca3D model