Tugcga / Sycles

Cycles render integration into Softimage
5 stars 1 forks source link

Choose shaderball preview device between cpu and gpu #7

Closed Tugcga closed 1 year ago

Tugcga commented 1 year ago

In the current version of the addon all shaderball previews rendered by using CPU. May be it will be helpful to support also using GPUs for rendering shaderballs. It's possible to add a parameter inside config.ini inside [Shaderball] section:

[Shaderball]
...
cpu_gpu = 0; 0 - cpu, 1 - gpu
...

If this parameter activated (cpu_gpu = 1), then use only the first gpu device.