AlchemistRS AlchemistRS

AlchemistRS

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Switch GPU March 4, 2021, 3:24 a.m.

Don't Know if this will help you, but try this?

HOUDINI_OCL_VENDOR = NVIDIA Corporation
HOUDINI_OCL_DEVICENUMBER = 1 # If you have 4 GPUs start with 0-3

how to fix an Open CL issue ? March 3, 2021, 8:56 a.m.

Same Problem Here on 2 x GTX 1070ti?

What is Houdini's equivalent to Maya's objExists() Jan. 2, 2016, 11:09 p.m.

Thanks SYmek I tried what you said and a few others from the link you gave me,but did not work. Here is the last piece at the end of code that I need to convert out of the 1998 lines. I did not write the code just converting it.Symek can you take a look please?





mc = hou

if mc.objExists('HDR_IMG'):
renderResolutionValue = mc.getAttr('HDR_IMG.renderResolution')
else:
renderResolutionValue = 2
if mc.objExists('HDR_IMG'):
renderQualityValue = mc.getAttr('HDR_IMG.qualityPreset')
else:
renderQualityValue = 2
if mc.objExists('HDR_IMG'):
plateModeValue = mc.getAttr('HDR_IMG.plateMode')
else:
plateModeValue = 1
if mc.objExists('HDR_IMG'):
envModeValue = mc.getAttr('HDR_IMG.envMode')
else:
envModeValue = 1
if mc.objExists('HDR_IMG'):
colorMappingModeValue = mc.getAttr('HDR_IMG.cmMode')
else:
colorMappingModeValue = 2