Microsoft Knowledge Base |
|
How 2D Texture Pictures Are Treated at Render Time |
|
|
Last reviewed: November 27, 1996
Article ID: Q159025 |
|
The information in this article applies to:
SUMMARYPIC files are optimized in Softimage 3D in two ways:
When loading a picture in memory, mental ray expands its contents and this memory becomes 'swappable.' Memory mapping is a method used by operating systems such as IRIX and Windows NT, where the file itself is used for the swap. Additional loading is not necessary. The only information that is required, is the file name. When a 'page' of memory is needed from the picture, it is loaded directly from the file and the picture file is then expanded (for example, 'raw'). When the page memory is needed for something else, the page is discarded from memory and reused elsewhere. In a non- mapping mode, that page of memory would be swapped to disk, thus wasting time. This means that picture files are READ-ONLY with memory mapping. If you have a shader that writes back to the image buffer, then you are writing back to the file. This is not the case when the file is loaded and then swapped because you are modifying the swapped copy that is eventually discarded when the process ends.
REFERENCESIf you have any questions concerning the information contained in this article, contact support@softimage.com by e-mail.
|
|
KBCategory: kbusage kbgraphic kbhowto
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |