02 February 2015 5 7K Report

How to convert 3D model to parametric surface?

I have bunny mesh with vertices(array(5197*3)) and faces(array(10390*3)), how to convert it to parametric surface such as

a=1; b=1; c=1;

u=linspace(-2,2,256);

v=linspace(0,2*pi,256);

[u,v]=meshgrid(u,v);

% Calculate x, y,a dn z at each pair % (u, v) in the grid.

x=a*cosh(u).*cos(v);

y=b*cosh(u).*sin(v);

z=c*sinh(u);

Similar questions and discussions