3D display view: Spherical coordinates [alpha,theta] + lighting

Sam Mathew sam at cctech.co.in
Fri Nov 26 06:54:49 CET 2010


Hi everyone,

Is it possible to save the spherical coordinates of the view
{a.rotation_angles = [alpha,theta]} for a given view that we pivot the 3D
plot to (using the in-built rotate icon available on the display window)?
The basic problem is that I do not yet understand the convention used in
SCILAB for azimuthal and inclination angles, and therefore am struggling to
get images with the same view applied on several 3D plots.

Also, I wanted to be able to see the crests and troughs of the surfaces
generated by my function. The grid lines on the surface are surely helpful
in this regard but since I have too many data points, the lines actually
make my surfaces look quite dark. I found out the way with applying
appropriate flags for getting rid of the lines on the surfaces so that you
get a surface with a constant colour. But I am not able to see the crests
and troughs of the graph then. I know from some CAD experience that lighting
would solve the problem. Any suggestion how one can position the lights on
the surfaces? Any other way for reducing the number of grid lines on the
surface?

Thanks for your time.

Regards,

Sam

-- 

Asst. Manager, CFD
Centre for Computational Technologies
www.cctech.co.in
Phone: +91 20 2552 1873
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101126/7ec18044/attachment.htm>


More information about the users mailing list