I am wondering what the Scene View uses for it's colourspace when a background image is turned on on the camera?
I have a backplate in ACES2065-1 and am trying to convert it into a jpg sequence for the background image. I'm using Output - sRGB as the colourspace that gets baked into the jpg. When I put this on the background image, it looks wrong. I suspect Houdini is doing an automatic linear conversion that in this case I don't want but there doesn't seem to be a way to turn it off. If I export my sequence as ACEScg exrs everything is fine but the files are much bigger hence my desire to use jpgs.
Am I missing some setting here?
Found 102 posts.
Search results Show results as topic list.
Technical Discussion » Scene View ACES jpg background image
- lloydwood
- 104 posts
- Offline
Solaris and Karma » Karma: motion blur fails with displacement
- lloydwood
- 104 posts
- Offline
I'm doing a Karma render in 18.5.499. If I have motion blur and displacement on, motion blur doesn't appear. If I turn displacement off in the shader, motion blur is fine. Is that a current limitation?
Technical Discussion » Open a new instance of Houdini with Python
- lloydwood
- 104 posts
- Offline
Is there a way to open a new instance of Houdini with a different environment from within an existing Houdini instance using Python?
I am writing a tool to manage an ACES pipeline. I need to be able to switch between ACES and non-ACES projects. The only way to do this with Houdini it seems is to set/unset the OCIO enviroment variable for each instance of Houdini opened.
I would like to be able to do this from within Houdini: if a user selects a file on an ACES project, a new instance is spawned with the OCIO env varibable set. I'm trying to do this with subprocess.Popen but so far unsuccessfully. The resultant instance of Houdini crashes because it hasn't inherited the parent environment. This seems to be because it's using the hython environment rather than the virtualenv that initially started Houdini. Is there a way to spawn it using that original environment as if a user had clicked on the Houdini icon? To add to my problems all this is on Windows.
Any help/pointers on this would greatly appreciated!
I am writing a tool to manage an ACES pipeline. I need to be able to switch between ACES and non-ACES projects. The only way to do this with Houdini it seems is to set/unset the OCIO enviroment variable for each instance of Houdini opened.
I would like to be able to do this from within Houdini: if a user selects a file on an ACES project, a new instance is spawned with the OCIO env varibable set. I'm trying to do this with subprocess.Popen but so far unsuccessfully. The resultant instance of Houdini crashes because it hasn't inherited the parent environment. This seems to be because it's using the hython environment rather than the virtualenv that initially started Houdini. Is there a way to spawn it using that original environment as if a user had clicked on the Houdini icon? To add to my problems all this is on Windows.
Any help/pointers on this would greatly appreciated!
Technical Discussion » How to access the asset node instance from PythonModule?
- lloydwood
- 104 posts
- Offline
Ok. Thanks guys. This is clearer now. I've re-written my asset code accordingly. I've also started using the hou.session to hold modules that are a bit more complex which is working well.
Technical Discussion » How to access the asset node instance from PythonModule?
- lloydwood
- 104 posts
- Offline
Thanks Manuel.
Unfortunately, thekey is only available in the “Event” callbacks (OnLoaded, OnCreated etc.), not in the PythonModule itself. The kwargs dictionary for the PythonModule only contains a type key which is the problem. The only way I can see to get the node instance from there is to pass it in.
Unfortunately, the
kwargs["node"]
Technical Discussion » How to access the asset node instance from PythonModule?
- lloydwood
- 104 posts
- Offline
What is the correct way to access the current instance of the asset from within the asset's PythonModule?
I have tried hou.pwd() and hou.node(“.”) but these both return the root “/”.
kwargs just returns the asset type so that's no use.
The only reliable way I can find to get this reference into the PythonModule is to pass it through from anything that calls it but this is extremely annoying and leads to a lot of duplicate code. I feel that I must be doing it wrong.
I have tried hou.pwd() and hou.node(“.”) but these both return the root “/”.
kwargs just returns the asset type so that's no use.
The only reliable way I can find to get this reference into the PythonModule is to pass it through from anything that calls it but this is extremely annoying and leads to a lot of duplicate code. I feel that I must be doing it wrong.
Technical Discussion » Setting asset parameters with OnCreated
- lloydwood
- 104 posts
- Offline
Hi, I'm having an issue setting parameters on my asset using the OnCreated event. It seems the parameters don't actually exist when the OnCreated event runs meaning I get parm is None errors.
I think this is to do with how I am calling methods from the hdaModule from the event. What's the correct way to do that?
I think this is to do with how I am calling methods from the hdaModule from the event. What's the correct way to do that?
Edited by lloydwood - 2020年5月19日 12:20:42
Technical Discussion » Copy different sized spheres along a curve
- lloydwood
- 104 posts
- Offline
Your solution was good zengchen and solved the challenge I posed but I found I needed some more options like the ability to specify the sizes of the spheres and have a bit of overlap if I wanted. I came up with this:
Edited by lloydwood - 2020年4月26日 06:14:53
Technical Discussion » Copy different sized spheres along a curve
- lloydwood
- 104 posts
- Offline
This is exactly what I mean! What's the input to your scatter look like though? I'm not getting the same results. Thanks zengchen!
Technical Discussion » Copy different sized spheres along a curve
- lloydwood
- 104 posts
- Offline
Bit of a challenge. I'm trying to copy spheres with different pscales along a curve. I want the spheres to sit together as if they were on a piece of string, no gaps! I feel like this should be easy but I can't figure it out.
Technical Discussion » Unsupported setting 'package_path'
- lloydwood
- 104 posts
- Offline
Technical Discussion » Unsupported setting 'package_path'
- lloydwood
- 104 posts
- Offline
Hi all,
I'm getting this error when using the
My package file:
I'm getting this error when using the
package_path
key in a package file:ERROR: Unsupported setting 'package_path'
My package file:
{
"package_path" :
[
{"houdini_version > '17.5' and houdini_version < '18'": "$HOUDINI_PACKAGE_PATH/H17.5"},
{"houdini_version > '18'": "$HOUDINI_PACKAGE_PATH/H18.0"}
]
}
Technical Discussion » Flip - control velocity transfer from RBD in the same DOP network
- lloydwood
- 104 posts
- Offline
Hello,
I have a flip sim and an RDB sim combined in the same DOP network. That's all working fine but I want to calm the flip sim down a bit. Currently the RBD sim is pumping a lot of velocity into the flip sim and creating enormous splashes. I would normally control this using the velocity scale for a collision object but this seems to have no effect on the RBD objects. Is there a way to reproduce the same effect of the velocity scale control for RBDs?
I have a flip sim and an RDB sim combined in the same DOP network. That's all working fine but I want to calm the flip sim down a bit. Currently the RBD sim is pumping a lot of velocity into the flip sim and creating enormous splashes. I would normally control this using the velocity scale for a collision object but this seems to have no effect on the RBD objects. Is there a way to reproduce the same effect of the velocity scale control for RBDs?
PDG/TOPs » Make work item indices unique
- lloydwood
- 104 posts
- Offline
Thanks Andr. I came up with another solution which is to use a python partitioner to create a partitions with one work item each. This produces a new index but keeps dependencies.
count = 0 for item in work_items: partition_holder.addItemToPartition(item, count) count += 1
Edited by lloydwood - 2019年7月10日 09:33:53
PDG/TOPs » Make work item indices unique
- lloydwood
- 104 posts
- Offline
Hello,
I have a merge in my network which means I end up with duplicate pdg_index values. What's the best way to make these unique again?
I have a merge in my network which means I end up with duplicate pdg_index values. What's the best way to make these unique again?
PDG/TOPs » Collapse multiple work items into a single geometry import?
- lloydwood
- 104 posts
- Offline
Thanks Alejandro. I tried this initially but it wasn't working so I thought I was doing it wrong. I deleted the node and tried again and it did work. Thanks for the sanity check!
PDG/TOPs » Collapse multiple work items into a single geometry import?
- lloydwood
- 104 posts
- Offline
Hello,
I have a top network which makes several pieces of ice with a work item for each piece. I need to feed the results of that into another network to scatter those pieces. In order to do that I need to load the ice pieces as one piece of geometry, merging several work items into one. What’s the best way to do this?
I have a top network which makes several pieces of ice with a work item for each piece. I need to feed the results of that into another network to scatter those pieces. In order to do that I need to load the ice pieces as one piece of geometry, merging several work items into one. What’s the best way to do this?
Technical Discussion » Extended Fluid Surface Problem
- lloydwood
- 104 posts
- Offline
Thanks Midas! It was the regional voxel scale that helped most in my case. Got it fixed now. Much appreciated.
Technical Discussion » Extended Fluid Surface Problem
- lloydwood
- 104 posts
- Offline
Hi
I'm getting a line at the border of my simulation on my extended fluid surface. It's not always there but it is noticeable. It flickers from frame to frame and ruins my render. Any pointers on what's causing it? I've attached my flattening settings.
I'm getting a line at the border of my simulation on my extended fluid surface. It's not always there but it is noticeable. It flickers from frame to frame and ruins my render. Any pointers on what's causing it? I've attached my flattening settings.
Technical Discussion » Fake Caustics don't seem to be working
- lloydwood
- 104 posts
- Offline
So in case anyone else is facing this. I've tracked it down to the environment light. It seems you get this behavior if you have no HDR loaded. With an HDR it works fine. The other lights don't seem to have this issue either.
Edited by lloydwood - 2019年3月8日 04:46:36
-
- Quick Links