1 Hour
1 Day
1 Week
1 Month
Forever
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
Home
Help
Search
Login
Register
KeyShot Forum
»
Technical discussions
»
Extending KeyShot
»
Scripting
»
Script for GPU
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Script for GPU (Read 228 times)
0 Members and 1 Guest are viewing this topic.
Braian
Newbie
Posts: 3
Total likes: 0
Script for GPU
«
on:
January 13, 2021, 12:59:32 pm »
Does anyone know how to activate GPU render in python language?
Logged
AutomaticDesign
Newbie
Posts: 2
Total likes: 0
Re: Script for GPU
«
Reply #1 on:
February 22, 2021, 02:56:23 am »
https://media.keyshot.com/scripting/doc/9.0/lux.html
setRenderEngine(...)
Set render engine to use for the scene.
engine = Type of render engine to use: lux.RENDER_ENGINE_PRODUCT, lux.RENDER_ENGINE_INTERIOR, lux.RENDER_ENGINE_PRODUCT_GPU, or lux.RENDER_ENGINE_INTERIOR_GPU. *
so it is:
lux.setRenderEngine(lux.RENDER_ENGINE_PRODUCT_GPU)
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
KeyShot Forum
»
Technical discussions
»
Extending KeyShot
»
Scripting
»
Script for GPU