Previous | Up | Next |
MX3renderm
Performs the rendering of a scene in the surface from the camera having '_camera_' as a handler.Parameters
Specify the background color '_color_' (nil for transparent).
The function returns the handler and material for the object identified at the coordinate point (xplot,yplot), nil if none exists.
[H3d HMat3d] MX3renderm ( 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
Note from Scol 5.x and above about sprites
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).