Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Everything posted by nuki

  1. did you set the type in the bind export correctly? There is a setting to inherit it from the input value.
  2. If you could share the exr file it would be easier to troubleshoot. Looks like it would be a colorspace/gamma issue. Wtf is that filename btw
  3. Repulsionpak

    you could do that with 3d packing. They showcased that in the h17 launch presentation, its at minute 51:
  4. Render Smoke Question

    so you have image A and want image B? The main difference between the two seems to be the density of the smoke sim.
  5. Motion Blur pass with mantra issue

    iirc you will have to enable velocity blur on the geo, enable motion blur in the mantra rop and disable 'Allow image blur' v_pass.hiplc
  6. randomize density methods

    You could take a look at wedging: https://www.sidefx.com/docs/houdini/tops/wedge.html
  7. Volumesample with Noise

    I am following this great talk by Saber Jlassi where he uses noises to distort a volume (around 7:30). I do understand that hes using the aanoise to change his lookup position for the worley noise, but I dont get how he proceeds from there. Volumesample requires a vector input and I dont get how he generates a meaningful position vector from the single float output by the worley noise. volume_rock.hipnc
  8. UV Flatten distorted plane

    I am trying to generate nice, relaxed UVs for a distorted grid object. Ideally I would want to simply relax the initially generated UVs after distorting it but all the tools available seem to be focused on generating new UVs altogether. Having never done this kind of thing in Houdini I also struggle to understand how I could procedurally constraint eg. the outline of the grid to a square or all the points with @P.x==0 to a straight line. UVs pre distortion UVLayout post distortion Quickly generated UVs in maya to outline what I'm after river_UV.hip
  9. Seeking Solver Writing Advice

    I am not great at maths, but isnt 'accumulating' values in a solver node simply euler integration? Since your r depends on v and v depends on a which you are accumulationg, I'd say you are already using an integral to find the displacement. I'd love if someone confident in this matter could verify this.
  10. Delete grains from existing hole ?

    You have to make a watertight mesh that fits the hole like a plug. If you used a polyextrude, let it output the Sides Group, isolate those faces and polyfill that. Then create a vdbfrompoly, like in the attached file sdf.hiplc
  11. Delete grains from existing hole ?

    In your case, couldnt you just kill them if they hit a P.y threshold? Otherwise you could create an sdf for the hole and kill them inside a sopsolver if the volumesample() of the particles P is < 0
  12. I want to get Houdini to fetch 'piece0' from geoB' instead of 'geoA' by modifying the primintrinsics of the packed fragments. Since its possible to alter the 'fragmentname' attrib I assume this would be possible, but I cant find out how houdini keeps track of the 'root' of the packed fragments. Seems like the 'path' attribute doesnt have any effect and geometryid is read-only. I was hoping to find an efficient way to swap low-res sim fragments with their respective high-res versions. Any suggestions?
  13. Swap packed fragments via intrinsics

    Neat, exactly what I was looking for! I suppose there is no similar workflow to use with Packed Memory Primitives?
  14. cluster constraint

    Like this! Steven Knipping got a great series on Bullet / RBDs. Credits to him for the method showcased in the attached file. clustered_glue.hiplc
  15. Constraints between individual objects pieces

    if I understand you correctly, you can use the "Find Boundary Connections" option of connect adjacent pieces. Alternatively you could also pack your fragments once more, using a 'name' attribute unique to each object. That way the constraints would be created only between the two objects' centroids though. See attached file: bound_const.hiplc
  16. Swap packed fragments via intrinsics

    It would work, but its not the ideal solution for what I'm after. To tell a bit more about the setup: I generate N uniquely fractured walls first. At that stage they just sit at the origin and I generate hi-rez pieces for each wall there. Afterwards I place the walls, randomly selecting one of the prefractured walls to avoid repetition. Then that goes into the sim. The problem with transformpieces is that my source geo (the hi rez pieces) only contains a single copy of each fragment of each wall. I could use an instance or copytopoints sop to re-place and re-duplicate the hi-rez fragments to their respective lo-rez fragments. However, I was hoping to ultimately swap out the fragments only at rendertime (Mantra) using a geometry shader. I dont see how it would be possible to do the copy/swapping inside a procedural geometry shader and I figured doing it via Intrinsics would be the simplest and cleanest way if at all possible.
  17. In fact, I have yet to find a operator definition type that has the 'New Output' option unlocked??
  18. As the title says, when I create a new Material VOP asset the 'New Output' option in the Type Properties is greyed out. If I define export variables inside my surface shader code the 'Shader Call Export Variables' VOP will not bind them. Assigning values to eg. Cf directly in the VEX Surface code does nothing. How could I output eg. a vector from a Material VOP Asset?
  19. I am doing some shader building for fun and ran into trouble fetching parameter values with the chs() function in a snippet or inline code vop inside a material builder. I just want to get the path string specified in the 'txt' parameter of the parent node, but chs('../txt') returns an empty string. As you can see in my small example file the whole thing works fine when doing it in sop land with an attributewrangle. Since the wrangles are just snippet vops I dont have a clue what I'm doing wrong....maybe a context/bind issue? The compiler flags are identical on the wrangles snippet vop and the one in the materialbuilder. Also, since printf() doesnt output anything from the materialbuilder I was hoping for some tips on getting var readouts for troubleshooting my shader.cheers! vop_param_test.hiplc
  20. Sun Flare

    Since you posted in the Effects forum I assume you are more interested in creating the effect rather than shading/rendering? These two tutorials seem helpful: http://www.cgmeetup.net/home/building-the-sun-in-houdni/ https://pepefx.blogspot.com/2015/08/how-to-create-magnetic-vector-field-in.html
  21. Trouble with fracturing an object

    In addition to that you also have to fuse and close the bottom with a polyfill. Else voronoifracture would produce atrifacts when I testd it in 17.
  22. VEX function ocean_sample - what inside?

    did you consider asking this on the official sidefx forum or contact support? I mean theres tons of brilliant people here, but I doubt someone apart from sidefx has the latest source.
  23. Lens Shader lighting change

    If somebody could give me a hint which kind of Operator Type I should choose for a lens shader asset in h17.0.352 I would apprecialte that. I assume VEX / CEX Vop would be correct, but maybe its not ¯\_(ツ)_/¯ .
  24. I'm trying to get into writing lens shaders. For some reason, when I apply the lens shader, the lighting changes as well. As you can see in the images this is more than just a gamma issue. Maybe I need to export some special variables for the shaders used in the pighead, or its another case of the '/shop to /mat context' transition not being fully complete? Lens_Shaders_v001.hiplc