Previous | Up | Next |
Performs the rendering of a scene in the surface from the camera having '_camera_' as a handler.Parameters
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_ )
Return value
_session_ 3D Session _surface_ Rendering surface _camera_ Camera _xplot_ Screen information position _yplot_ Screen information position _color_ Background and fog color
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
These rendering functions are now able to detect Sprites. Returned data, when possible, include Mesh, Material and Integer distance between Sprite and Camera (not the z data).