![]() ![]() DataAttribute classes are now able to take ownership of the data buffers they are constructed with, rather than creating a separate copy.With supported compilers, this can reduce the overhead of manipulating an FnAttribute object's reference count. This avoids the overheads of memory allocation and manipulating an FnAttribute object's reference count.įnAttribute classes are now move-aware, defining move constructors and move-assign operators. This feature can be enabled by setting the environment variable, KATANA_ENABLE_RECURSIVE_COOKS=1.Ĭommonly-created attributes (such as integers, floats 0.0f and 1.0f, doubles 0.0 and 1.0, the empty string and the empty group) are now created only once and then reused subsequently. When this feature is enabled, when Geolib3 encounters missing location data it will instead recursively cook that data and then return to the original Op at the point the location data was requested. Normally Geolib3 aborts and re-schedules a cook operation if location data is requested from a location that has not been cooked, or is otherwise not in Geolib3's cache. Greatly reduced memory and computation overhead for 'no-op' scene graph locations.Įxperimental support for abort-free cooking of the scene dependencies. ![]() ![]() Improvements to Katana's scene processing library, Geolib3. RenderNode = NodegraphAPI.Performance improvements for Katana 3.0 include: KatanaFile.Load( yourKatanaScene ) # Loading scene /yourDirectory/yourFile.katana YourKatanaScene = "/yourDirectory/yourFile.katana" To open a scene and start rendering from the scene 's Render node, open the following Python script in Script mode: import NodegraphAPIĭef messageHandler( sequenceID, message ): katana -script /yourDirectory/yourScript.py Navigate to the directory where you installed Katana. You can import most Katana modules, and perform tasks such as loading Katana scenes, changing some parameters, and rendering.įor example, to start Katana in Script mode using a script named yourScript.py: 1. This launch mode is most useful for testing. Script mode requires the -script flag, followed by a single argument specifying the script you want to run. Script mode allows you to execute Python scripts in Katana 's Python environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |