Graphics Sequencer (XSISDK)


Documentation

Be sure to read: Graphics Sequencer (http://softimage.wiki.softimage.com/sdkdocs/cus_graphicsequencer.htm)


Image:Lightbulb.png
The graphic sequencer states are documented in the "Communicating with XSI" section of Realtime Shaders (http://softimage.wiki.softimage.com/sdkdocs/cus_rtshad.htm)


Graphic Sequencer Callbacks

The following diagram shows how the display callbacks fit into the viewport rendering loop.

CallbackViewport Rendering Loop
Pre-begin Frame Set up p-buffer
Begin Frame Clear call (clear back buffer, Z-buffer, ...)
Post-begin Frame
Pre-Pass
Begin Pass Draw wireframe.

This is where you would call:

  • CGraphicSequencer::RenderSceneUsingMode()
  • CGraphicSequencer::RenderSceneUsingMaterial()
  • CGraphicSequencer::RenderListUsingMode()
  • CGraphicSequencer::RenderListUsingMaterial()
Post-Pass
Pre-end Frame Draw rulers/grid and save Frame buffer
End Frame Swap buffer
Post-end Frame



Notes

  • The display callbacks are called for each viewport.
  • The calling order for Begin Frame and End Frame callbacks are not guaranteed. For example, you cannot assume your Begin Frame callback is called before the buffers are cleared.
  • There is one pass only.

This page was last modified 18:58, 3 Nov 2009.
This page has been accessed 11475 times.

© Copyright 2009 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy