finer mesh implicit in draw3d?



On 05/27/2011 10:19 AM, Sheldon Newhouse wrote:
> Hello,
>  How can one decrease the mesh size in the implicit function for draw3d?
>
> For instance, the expression
>
>  draw3d(implicit(x^2 + y^2-1,x,-2,2,y,-2,2,z,-2,2))$
>
> produces a vertical cylinder with a certain number of triangles in its 
> boundary.  I would like to make the triangles smaller; i.e. increase 
> the number of triangles.
>
> Thanks,
>  -sen
OK, got it.  The x_voxel, y_voxel, or z_voxel needs to be increased and 
written BEFORE the implicit call.

E.g.,
  (%i10) draw3d(x_voxel=10,implicit(x^2+y^2=1,x,-2,2,y,-2,2,z,-1,1));

or

draw3d(x_voxel=30,implicit(x^2+y^2=1,x,-2,2,y,-2,2,z,-1,1));

-sen