mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
simulationRate > step, sampleMultiplier > stepSave
This commit is contained in:
parent
216c99d839
commit
b40289c9b5
4 changed files with 13 additions and 13 deletions
|
|
@ -11,8 +11,8 @@ class ExtractGPUCache(publish.Extractor):
|
|||
label = "GPU Cache"
|
||||
hosts = ["maya"]
|
||||
families = ["model", "animation", "pointcache"]
|
||||
simulationRate = 1.0
|
||||
sampleMultiplier = 1
|
||||
step = 1.0
|
||||
stepSave = 1
|
||||
optimize = True
|
||||
optimizationThreshold = 40000
|
||||
optimizeAnimationsForMotionBlur = True
|
||||
|
|
@ -28,8 +28,8 @@ class ExtractGPUCache(publish.Extractor):
|
|||
"directory": staging_dir,
|
||||
"fileName": filename,
|
||||
"saveMultipleFiles": False,
|
||||
"simulationRate": self.simulationRate,
|
||||
"sampleMultiplier": self.sampleMultiplier,
|
||||
"step": self.step,
|
||||
"stepSave": self.stepSave,
|
||||
"optimize": self.optimize,
|
||||
"optimizationThreshold": self.optimizationThreshold,
|
||||
"optimizeAnimationsForMotionBlur": (
|
||||
|
|
|
|||
|
|
@ -932,8 +932,8 @@
|
|||
"animation",
|
||||
"pointcache"
|
||||
],
|
||||
"simulationRate": 0.0,
|
||||
"sampleMultiplier": 0,
|
||||
"step": 0.0,
|
||||
"stepSave": 0,
|
||||
"optimize": true,
|
||||
"optimizationThreshold": 40000,
|
||||
"optimizeAnimationsForMotionBlur": true,
|
||||
|
|
|
|||
|
|
@ -1016,15 +1016,15 @@
|
|||
"object_type": "text"
|
||||
},
|
||||
{
|
||||
"key": "simulationRate",
|
||||
"label": "Evaluate Every",
|
||||
"key": "step",
|
||||
"label": "Step",
|
||||
"type": "number",
|
||||
"decimal": 4,
|
||||
"minimum": 1
|
||||
},
|
||||
{
|
||||
"key": "sampleMultiplier",
|
||||
"label": "Save Every",
|
||||
"key": "stepSave",
|
||||
"label": "Step Save",
|
||||
"type": "number",
|
||||
"minimum": 1
|
||||
},
|
||||
|
|
|
|||
|
|
@ -110,12 +110,12 @@ This is useful to fix some specific renderer glitches and advanced hacking of Ma
|
|||
|
||||

|
||||
|
||||
- **Evaluate Every** Specifies which samples are saved during cache creation. For example, a value of 2 specifies that only every other sample specified by the Evaluate every # frame(s) option is saved to your Alembic file.
|
||||
|
||||
- **Save Every** Specifies how often samples are taken during file creation. By default, one sample of your object's transformations is taken every frame and saved to the Alembic file.
|
||||
- **Step** Specifies how often samples are taken during file creation. By default, one sample of your object's transformations is taken every frame and saved to the Alembic file.
|
||||
|
||||
For example, a value of 2 caches the transformations of the current object at every other frame of the Cache Time Range.
|
||||
|
||||
- **Step Save** Specifies which samples are saved during cache creation. For example, a value of 2 specifies that only every other sample specified by the Step # frame(s) option is saved to your Alembic file.
|
||||
|
||||
- **Optimize Hierarchy** When on, nodes and objects in a selected hierarchy are consolidated to maximize the performance of the cache file during playback.
|
||||
- **Optimization Threshold** (Available only when Optimize Hierarchy is on.) Specifies the maximum number of vertices contained in a single draw primitive. The default value of 40000 may be ideal for most Maya supported graphics cards. When set to the default value, after optimization, each object in the GPU cache file(s) will have no more than 40000 vertices. This value can be set higher depending on the memory available on your system graphics card.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue