thanks for the answer jsmack.
I also just realized that ocean spectrums are heightfields now (introduced in H16). that pretty much explains it as well.
Found 12 posts.
Search results Show results as topic list.
Technical Discussion » weird dark lines where ocean intersects with geometry
- Hendolph
- 12 posts
- Offline
Technical Discussion » weird dark lines where ocean intersects with geometry
- Hendolph
- 12 posts
- Offline
I don’t suppose any has an answer to my displacement texture question as well?
Last time I used the ocean tools for a job (probably 5ish years ago), I remember having to select the exported texture in the oceansurface shader. And now there is no parameter for it. Makes me wonder if I still need to export the texture at all.
Last time I used the ocean tools for a job (probably 5ish years ago), I remember having to select the exported texture in the oceansurface shader. And now there is no parameter for it. Makes me wonder if I still need to export the texture at all.
Technical Discussion » weird dark lines where ocean intersects with geometry
- Hendolph
- 12 posts
- Offline
thanks Martin, this definitely helped when I set it to 0.00001 from 0.001. didn't remove it completey, but it's a lot less visible. It did however create weird striation artefacts in the direct shadow pass, that are not visible in the beauty, but become visible when I decrease it further. But I don't think I need to decrease it further. If it's still visible I can probably also mask the intersection area somehow and lower the opacity.
anyway, thank you so much for your help!
anyway, thank you so much for your help!
Technical Discussion » weird dark lines where ocean intersects with geometry
- Hendolph
- 12 posts
- Offline
Also, a little side question, what do I do with the exported ocean displacement map? The oceansurface shader doesn't seem to use it at all anymore. unless it's hidden somewhere..
Technical Discussion » weird dark lines where ocean intersects with geometry
- Hendolph
- 12 posts
- Offline
Hi there,
I've been playing around with the ocean tools and ran into a weird issue when I render the scene.
When the ocean intersects with geometry (in my case, when it hits the beach), you can see a dark line
where the geometries intersect.
Depending on the angle of the intersection, the lines get more or less visible.
Has anyone ran into a similar problem? It might be something really obvious, but I can't find a solution
to this.
I've attached a test scene and an image. Maybe someone has an idea.
Thank you!
I've been playing around with the ocean tools and ran into a weird issue when I render the scene.
When the ocean intersects with geometry (in my case, when it hits the beach), you can see a dark line
where the geometries intersect.
Depending on the angle of the intersection, the lines get more or less visible.
Has anyone ran into a similar problem? It might be something really obvious, but I can't find a solution
to this.
I've attached a test scene and an image. Maybe someone has an idea.
Thank you!
Technical Discussion » Setting values for individual strokes (Draw Curve SOP)
- Hendolph
- 12 posts
- Offline
Hello,
I'm using the Draw Curve SOP inside an asset to draw curves/points on a surface and then
copy objects to the points.
I would like to add custom attributes to each stroke with pre-set values.
At the moment, I'm using custom parameters in the multiparm folder of the Draw Curve SOP,
which I promoted to the asset's IU. So after I make a stroke, I can change the parameters
in each individual stroke tab, which are then stored using a wrangle inside the asset.
This works fine, but gets a bit tedious once there are a lot of strokes and I have to click
through the tabs and find the one I want to change.
Ideally, I would like to have the parameter (maybe a dropdown menu) outside the multiparm
folder, change them before each stroke and the next stroke will pick up whatever value was set;
much like when you pick a color before you use the paint tool.
The problem is, that I haven't found a way how to do this yet. When I process
the strokes in the wrangle, they all pick up the value of whatever was
set last.
To give you an example, I would like to draw curves and set the thickness/pscale attribute beforehand. Each stroke will have a different value for it's thickness.
Hope that all makes sense.
Any help is appreciated.
Thanks!
I'm using the Draw Curve SOP inside an asset to draw curves/points on a surface and then
copy objects to the points.
I would like to add custom attributes to each stroke with pre-set values.
At the moment, I'm using custom parameters in the multiparm folder of the Draw Curve SOP,
which I promoted to the asset's IU. So after I make a stroke, I can change the parameters
in each individual stroke tab, which are then stored using a wrangle inside the asset.
This works fine, but gets a bit tedious once there are a lot of strokes and I have to click
through the tabs and find the one I want to change.
Ideally, I would like to have the parameter (maybe a dropdown menu) outside the multiparm
folder, change them before each stroke and the next stroke will pick up whatever value was set;
much like when you pick a color before you use the paint tool.
The problem is, that I haven't found a way how to do this yet. When I process
the strokes in the wrangle, they all pick up the value of whatever was
set last.
To give you an example, I would like to draw curves and set the thickness/pscale attribute beforehand. Each stroke will have a different value for it's thickness.
Hope that all makes sense.
Any help is appreciated.
Thanks!
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
I wrote to support and they actually solved it. I'll just paste their answer:
This solved the problem and the error popups. However, once I locked the asset, I still got a permission error,
saying that I can't modify the group node. In order to fix this, I had to make the group node editable by adding
it to “Type Properties > Node > Editable Nodes”.
Now when I hit the action button it jumps inside the asset to the group node, I make my selection, hit Enter
and it jumps back out.
If you look at the action button script (in type properties window, switch to “action button” tab in parameter description window), it's referencing current node's “grouptype” and “ordered” parameters, which are not promoted. If you promote those parameters, it won't give you ‘NoneType’ error anymore, but it will still fail since selectGroupParm script expects an input connection to the current node (and it doesn't have one).
So instead, you could replace the action button script with something like this:
import soputils;
kwargs = kwargs.path() + ‘/group1’
kwargs = hou.node(kwargs).parmTuple('grouptype')
kwargs = 0
kwargs = hou.node(kwargs).parm('ordered').eval()
soputils.selectGroupParm(kwargs)
This solved the problem and the error popups. However, once I locked the asset, I still got a permission error,
saying that I can't modify the group node. In order to fix this, I had to make the group node editable by adding
it to “Type Properties > Node > Editable Nodes”.
Now when I hit the action button it jumps inside the asset to the group node, I make my selection, hit Enter
and it jumps back out.
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
hm, I might write to support then. I’ll keep the grid outside the asset for now. it works, but it would be better inside.
thanks a lot for taking the time though, Andr.
thanks a lot for taking the time though, Andr.
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
The error sounds like it has something to do with the python script creating the action button:
I don't really know python, so I wouldn't know how to change it to make it work.
import soputils
kwargs = kwargs.parmTuple('grouptype')
kwargs = 0
kwargs = kwargs.parm('ordered').eval()
soputils.selectGroupParm(kwargs)
I don't really know python, so I wouldn't know how to change it to make it work.
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
I tried yours and when I click the button, I still get the error. Are you on 17.5?
I haven't updated yet.
Edit: doesn't work in 17.5 either..
I haven't updated yet.
Edit: doesn't work in 17.5 either..
Edited by Hendolph - 2019年3月14日 17:20:16
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
Hi Andr,
thanks for the reply. I’ll try to upload it when I get home.
It’s a super small setup though. Put a grid followed by a group node into a subnet. this subnet is turned into a digital asset and the basegroup parameter of the group sop promoted to the asset UI.
thanks for the reply. I’ll try to upload it when I get home.
It’s a super small setup though. Put a grid followed by a group node into a subnet. this subnet is turned into a digital asset and the basegroup parameter of the group sop promoted to the asset UI.
Edited by Hendolph - 2019年3月14日 13:04:16
Technical Discussion » Face selection through Asset UI
- Hendolph
- 12 posts
- Offline
Hi,
I'm working on a digital asset, which in its basic form
just includes a grid followed by a group SOP. I've promoted
the group SOP's basegroup parameter to the asset UI and would
like to use it to select faces on the grid and add it to the
group.
However, when I hit the action button, I get an error popup:
If I only use a grid and a wrangle with the string parameter
and the action button, which works fine inside the asset, the
message that comes up says:
I haven't really found anything about either in the forums or
on google, so I thought maybe someone here has encountered this
before.
Any help is appreciated.
Thanks!
I'm working on a digital asset, which in its basic form
just includes a grid followed by a group SOP. I've promoted
the group SOP's basegroup parameter to the asset UI and would
like to use it to select faces on the grid and add it to the
group.
However, when I hit the action button, I get an error popup:
Traceback (most recent call last):
File “Parameter Scripted Action”, line 4, in <module>
AttributeError: ‘NoneType’ object has no attribute ‘eval’
If I only use a grid and a wrangle with the string parameter
and the action button, which works fine inside the asset, the
message that comes up says:
Not enough inputs connected to select this group.
I haven't really found anything about either in the forums or
on google, so I thought maybe someone here has encountered this
before.
Any help is appreciated.
Thanks!
-
- Quick Links