Storm Hydra render addon #104597
@ -4,10 +4,8 @@
|
|||||||
# <pep8 compliant>
|
# <pep8 compliant>
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
import bpy_hydra
|
|
||||||
|
|
||||||
|
class StormHydraRenderEngine(bpy.types.HydraRenderEngine):
|
||||||
class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
|
|
||||||
bl_idname = 'HYDRA_STORM'
|
bl_idname = 'HYDRA_STORM'
|
||||||
bl_label = "Hydra Storm"
|
bl_label = "Hydra Storm"
|
||||||
bl_info = "USD's high performance rasterizing renderer"
|
bl_info = "USD's high performance rasterizing renderer"
|
||||||
@ -15,7 +13,7 @@ class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
|
|||||||
bl_use_preview = True
|
bl_use_preview = True
|
||||||
bl_use_gpu_context = True
|
bl_use_gpu_context = True
|
||||||
|
|
||||||
delegate_id = 'HdStormRendererPlugin'
|
bl_delegate_id = 'HdStormRendererPlugin'
|
||||||
|
|
||||||
def get_render_settings(self, engine_type):
|
def get_render_settings(self, engine_type):
|
||||||
settings = bpy.context.scene.hydra_storm.viewport if engine_type == 'VIEWPORT' else \
|
settings = bpy.context.scene.hydra_storm.viewport if engine_type == 'VIEWPORT' else \
|
||||||
|
Loading…
Reference in New Issue
Block a user