To send an image to the Render View, use the following sequence of calls:Ĭall doesRenderEditorExist() to make sure that a Render View exists. In a full render, the Render View expects to receive pixel data that fills the entire image, while a region render expects only updates to a specified image region. The class allows plugins to send image data to the Render View in the same way that the Maya renderer does. This class provides access to the Maya Render View. Informs the Render View that the current render has completed. Requests that the Render View refresh the display of a particular region of the displayed image. Refresh (unsigned int left, unsigned int right, unsigned int bottom, unsigned int top) Sends a block of pixels to the Render View. UpdatePixels (unsigned int left, unsigned int right, unsigned int bottom, unsigned int top, RV_PIXEL *pPixels, bool isHdr=false, const unsigned int numberOfAOVs=0, const RV_AOV *const pAOVs=NULL) Informs the Render View that a region render is about to begin. StartRegionRender (unsigned int imageWidth, unsigned int imageHeight, unsigned int regionLeft, unsigned int regionRight, unsigned int regionBottom, unsigned int regionTop, bool doNotClearBackground=false, bool immediateFeedback=false) Informs the Render View that a full image render is about to begin. StartRender (unsigned int width, unsigned int height, bool doNotClearBackground=false, bool immediateFeedback=false) Retrieves the currently selected Render Region in Maya's Render View. GetRenderRegion (unsigned int &left, unsigned int &right, unsigned int &bottom, unsigned int &top) Informs the render client of the camera that will be performing the rendering. Static class providing Render View API functions.ĭetermines whether or not a Render View exists to receive image data.
0 Comments
Leave a Reply. |