摘要 |
A method for use in rendering includes receiving an input particle system, an instancing program, and a number indicating a maximum number of particles to be stored in memory, providing an input particle count representative of at least a portion of the input particle system to at least one operator for the instancing program, running the at least one operator in a prediction mode to generate an output particle count, comparing the output particle count to the number indicating a maximum number of particles to be stored in memory, and spatially splitting a bounding box representative of the input particle count in response to the output particle count being greater than the number indicating a maximum number of particles to be stored in memory.
|