ScPovPlot3D/Mesh2Surf.inc [ Modules ]
AUTHOR
Janusz Opiła Ph.D. jmo@agh.edu.pl, janusz.opila@gmail.com Dept. of Applied Informatics AGH Univ. of Science & Technology. Cracow, Poland Maintained by Janusz Opiła Ph.D.
PURPOSE
Macros for representation of 3D surfaces as mesh of triangles, for this goal object mesh2{} is employed
Fig.[Mesh2Surf] 3D surface modelled by mesh2 object
COPYRIGHT
GNU GPL v.3 License (c) 2007-now by Janusz Opiła Ph.D. AGH University of Science and Technology
Mesh2Surf.inc/DrawSurface() [ Helper macros ]
[ Top ] [ Mesh2Surf.inc ] [ Helper macros ]
PURPOSE
Draws surface representation in the form of smooth mesh of triangles
SYNOPSIS
327 DrawSurface(string filename DataFileName)
INPUTS
DataFileName - valid name of file with data - see example file for details of its structure. Generally speaking first is Xaxis title, Yaxis title, number of columns, then min and max value assigned to the items in first and last X column respectively (along POVRay X axis), umber of rows, then min and max value assigned to the items in first and last row respectively (along POVRay -Z axis), eventually numeric data in form of matrix, ie. data measured, observed or calculated over the real XY grid
SEE ALSO
WireSurf.inc BPatchSurf.inc DrawSurfaceOnBlock()
Mesh2Surf.inc/DrawSurfaceOnBlock() [ Helper macros ]
[ Top ] [ Mesh2Surf.inc ] [ Helper macros ]
PURPOSE
Draws surface representation in the form of smooth mesh of triangles
SYNOPSIS
621 DrawSurfaceOnBlock(string filename DataFileName)
INPUTS
DataFileName - valid name of file with data - see example file for details of its structure. Generally speaking first is Xaxis title, Yaxis title, number of columns, then min and max value assigned to the items in first and last X column respectively (along POVRay X axis), umber of rows, then min and max value assigned to the items in first and last row respectively (along POVRay -Z axis), eventually numeric data in form of matrix, ie. data measured, observed or calculated over the real XY grid
SEE ALSO
WireSurf.inc BPatchSurf.inc DrawSurface()
Mesh2Surf.inc/DeclareLevel [ Variables ]
[ Top ] [ Mesh2Surf.inc ] [ Variables ]
PURPOSE
DeclareLevel determines what is defined:
- 0 = colour only
- 2 = also texture
- 4 = complete material
this value is valid until next "Set...()" declaration is met SOURCE */