|
|
> Likely your smoothest option would be to use an isosurface object and "graph"
> the equation directly.
Thanks for this suggestion, I know about isosurface and this approach would be
the best, but the idea is to get data from Matlab's generated surface, including
colormap and render ray-traced equivalent. Now it looks following:
......
size = 60;
[X,Y,Z] = peaks(size);
s = surf(X,Y,Z);
pl.surface('surface', s, 'colormap', 'turbo', 'scale', [1, 1, 3/10]);
......
where 'pl' is POV object.
As you can see it works and results are acceptable, but not perfect.
I am planing to wrap _all_ POV entities entities in future and seriously extend
not only Matlab's visualization capabilities, but the way Matlab's users are
working with surfaces.
> Nice that you have those smooth_triangles in there :)
Yes, I have a special option for than in my API. )
Post a reply to this message
|
|