[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Called before rendering starts. It is time for the display driver to initialize data, open file(s), ....
Here is a description of all the parameters passed to this function.
DspyImageData
and DspyImageClose
. For instance, a TIFF display driver would put some useful informations about the TIFF during DspyImageOpen
so that DspyImageData
could access the opened file.
Display
. For example:
Display "super_render" "framebuffer" "rgb" |
Display
command. For example:
Display "render.tif" "tiff" "rgb" |
UserParameter
is defined as:
typedef struct { const char *name; char valueType, valueCount; const void *value; int nbytes; } UserParameter; |
typedef struct { char *name; unsigned type; } PtDspyDevFormat; |
Display
command:
Display "render" "my_display" "rgb" "string compression" "zip" |
Name | Type | Count | Comments |
NP | `f' | 16 | World to Normalized Device Coordinates (NDC) transfom |
Nl | `f' | 16 | World => Camera transform |
near | `f' | 1 | Near clipping plane, as declared by Clipping
|
far | `f' | 1 | Far clipping plane, as declared by Clipping
|
origin | `i' | 2 | Crop window origin in the image, in pixels |
OriginalSize | `i' | 2 | Since width and height only provide to DspyImageOpen reflect the size of the croped window, this variable gives the original, uncropped window size
|
PixelAspectRatio | `f' | 1 | Pixel aspect ratio as given by Format
|
Software | `s' | 1 | Name of the rendering software: "3Delight" |
DspyImageOpen()
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |