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
Found 10 posts.
Search results Show results as topic list.
Technical Discussion » Switch GPU
- AlchemistRS
- 10 posts
- Offline
Technical Discussion » how to fix an Open CL issue ?
- AlchemistRS
- 10 posts
- Offline
Technical Discussion » What is Houdini's equivalent to Maya's objExists()
- AlchemistRS
- 10 posts
- Offline
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
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
Technical Discussion » What is Houdini's equivalent to Maya's objExists()
- AlchemistRS
- 10 posts
- Offline
Converting some Maya scripts to Houdini, but can't seem to find Houdini's equivalent to Maya's objExists(). Anyone here know what i can use to replace objExist()? Thanks
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
Thanks,
OwlYzarc My main focus was really to be able to switch between a set of lights. The HDRI thing was just something extra that I wanted in the hda. This rig is just to build materials for Arnold. The HDRIs are always in the same spot so they will load in any scene I add the hda. The asset fully functional if guys decide to use it just add your own HDRIs.
Arctor
Thanks again for your help
OwlYzarc My main focus was really to be able to switch between a set of lights. The HDRI thing was just something extra that I wanted in the hda. This rig is just to build materials for Arnold. The HDRIs are always in the same spot so they will load in any scene I add the hda. The asset fully functional if guys decide to use it just add your own HDRIs.
Arctor
Thanks again for your help
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
Yes, if I add the hda and then point to the hdri it woks. So…I really don't know what's up? The asset is functional just won't be able to share it with a default hdri embedded.
THANKS FOR YOUR HELP MAN
THANKS FOR YOUR HELP MAN
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
Arctor I've done that don't know what's happening or what I'm doing wrong? I attached the Hda file and an image of each light set. I use it to build Arnold materials. HtoA render settings are at default except for ray depth in the refraction parameter it's set to 4,and light samples are set to 4 on the lights.
Arctor can you please take a look at it, and see what I'm doing wrong?
THANKS ALOT FOR YOUR HELP!
Arctor can you please take a look at it, and see what I'm doing wrong?
THANKS ALOT FOR YOUR HELP!
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
THANKS…!!! That did the trick AWE…! I got the Hda,interface,and icon made just trying to figure out how to link the hdr image that I embedded into the hda to the skydome light's color texture parameter so I can share the hda. Had no problem linking the icon,but the hdr won't link. Here is the the path,( opdefObject/my_hda_name?my_hdri.hdr )With the actual hda and hdr file names of course i tried different operator types still no link? The Object op worked for the icon. This is an Arnold light rig by the way don't know if it makes a difference. Any suggestions?
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
What type of operator node do I use? I tried a null,Geo node,and a light node and copied the lights inside.Also put them into subnets,and into a LightBank assigned a group to each set in the LightBack,but couldn't figure out how to link the LightBank list groups into a node.Each light node shows its part of a group. :?:
Technical Discussion » How Can I Create A Light Switch from A Set of Lights?
- AlchemistRS
- 10 posts
- Offline
Hi,
Everyone how can i create a light switch from a set of lights? I have 3 lights + a skydome in the first set,and the same amount of lights with different settings in the second set.How can I make two groups and switch between them?Instead of enabling and disabling each individual light on each set that I want to use.I've tried a few configurations,but have not been able to make them work.If anyone has any ideas I will deeply appreciate your help?
Thanks
Everyone how can i create a light switch from a set of lights? I have 3 lights + a skydome in the first set,and the same amount of lights with different settings in the second set.How can I make two groups and switch between them?Instead of enabling and disabling each individual light on each set that I want to use.I've tried a few configurations,but have not been able to make them work.If anyone has any ideas I will deeply appreciate your help?
Thanks
-
- Quick Links