Previous Up Next

MX3renderEx
Performs the rendering of a scene in the surface from the camera having '_camera_' as a handler.
The background color is specified. If this parameter is set to nil, the screen is not erased.

[H3d HMat3d I I I I I] MX3renderEx (
S3d _session_
ObjSurface _surface_
H3d _camera_
I _xplot_
I _yplot_
I _color_
)
Parameters

_session_
3D Session
_surface_
Rendering surface
_camera_
Camera
_xplot_
Screen information position
_yplot_
Screen information position
_color_
Background and fog color
Return value

Returns information on the point (xplot, yplot) in the following order :
Mesh handler
Material handler
Face index
Texture integer u coordinate
Texture integer v coordinate
Depth integer z coordinate
Integer distance between camera and object