[OpenSCAD] Improve rendering speed

Ronaldo rcmpersiano at gmail.com
Thu Jun 9 23:17:48 EDT 2016


Here you have it in my interpretation.
<http://forum.openscad.org/file/n17629/Schwartz_surface.png> 
I used a primitive evaluated by:

function Schwartz_p(pt, a,b,c) = a*cos(pt[0]) + b*cos(pt[1]) + c*cos(pt[2])
;

and the following main code to render it:

S   = f_primitive([ SCHWARTZ, 1, 1, 1 ]);
msh = f_mesh_evaluation(S, [-500,-500,-167], 1000, 1000, 666, 50,50,33);
mesh_surface(msh);  

The process generated 64984 triangles with 91958 vertices and required 9min
and 20sec to render.






--
View this message in context: http://forum.openscad.org/Improve-rendering-speed-tp17580p17629.html
Sent from the OpenSCAD mailing list archive at Nabble.com.




More information about the Discuss mailing list