|
When rendering takes more than the specified time then the rendering function will exit automatically
This is very useful when rendering indoor worlds. The engine renders front to back
so it is usually enough to stop rendering after finishing with the current room.
Try playing with different values and see the result.
The default is 1000000 (which is about 17 minutes which is similar to "take all the time in the world to finish every rendering")
Typical values would be 200,100,50
Note that this function is only relevant in Viewer Mode (Viewer Mode is the the default mode)
Example: STATE_engine_set_maximum_rendering_time(100); Set minimum frames per seconds to 10
|