Project

General

Profile

Previous Up Next

M3scanlinem
Calculates the rendering of a scene from the camera having '_camera_' as a handler, in a rendering buffer.
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] M3scanlinem (
S3d _session_
ObjBitmap _bitmap16_
H3d _camera_
I _xplot_
I _yplot_
I _color_
)
Parameters

_session_
3D Session
_bitmap16_
Bitmap coded in 16bits / pixel
_camera_
Camera
_xplot_
Screen information position
_yplot_
Screen information position
_color_
Background and fog color
Return value

Handler and material of desired object by coordinate point (xplot,yplot)