5.4 External Resources
| 5.4.1 Texture Maps | ||
| 5.4.2 Archives |
5.4.1 Texture Maps
3Delight supports the following optional parameters to the RiMakeTexture API:
"string compression"- Specifies the compression to apply to the texture. Possible values are "lzw", "on" (lzw), "1" (lzw), "zip", "deflate" and "off" (uncompressed). The default is "lzw".
"int bakeres"- Specifies the resolution when converting a bake file.
"int progress"- If set to 1, a progress indicator will be printed to the console.
"int separateplanes"- If set to 1, enables the -separateplanes flag of tdlmake (see tdlmake options).
"int flips"- If set to 1, enables the -flips flag of tdlmake (see tdlmake options).
"int flipt"- If set to 1, enables the -flipt flag of tdlmake (see tdlmake options).
5.4.2 Archives
5.4.2.1 RiArchiveRecord
In addition to what is required by the specification, 3Delight will attempt to parse the "verbatim" type requests as RIB when used in immediate rendering mode. This is for consistency with the results obtained when RIB commands are injected with this function in RIB output mode. This will only work correctly if complete commands are output in a single RiArchiveRecord call.
5.4.2.2 Inline Archives
The following two commands can be used to define inline archives:
RiArchiveBegin( RtToken archivename, ...parameterlist... ) RiArchiveEnd()
Any commands issued between that pair will be recorded as part of the archive archivename. They can then be replayed using RiReadArchive or the RiProcDelayedReadArchive procedural.
3Delight 8.5. Copyright 2000-2009 The 3Delight Team. All Rights Reserved.