Jump to content

nuki

Members
  • Content count

    28
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

3 Neutral

About nuki

  • Rank
    Peon

Personal Information

  • Name
    Martin Kenzel
  • Location
    Austria
  1. 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 ¯\_(ツ)_/¯ .
  2. Lens Shader lighting change

    Yea, I had issues running cvex shader builders from /mat context with geometry shaders as well. Rebuilt it in shops and it still produces false results, both using an Asset or a Snippet VOP inside the CVEX Shader Builder. The asad_lens I use as a reference works as intended... Lens_Shaders_v002.hiplc
  3. 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
  4. Baking Normal Distance to Zero Thickness

    I think its not so easy to do, since you'd have to find the mean surface first. Then project your mesh onto that which might not yield any hits along the normal. I tried hacking something together, maybe it helps you out a bit. Its far from perfect but might be a starting point. I'd really love to see how a pro would approach this. displace.hipnc
  5. bind vector array in shader

    Edit: Dammit, I uploaded the wrong scene..... I want to set point positions to a value from a vector array with a geometry shader. But somehow I cannot bind the vector array properly inside the shader, it will always return {0,0,0}. If I bind a vector directly it all works as expected, but I really need to pick my position vectors from an array. If you have time, please take a look at the attached example scene which illustrates the problem. array_cvex.hiplc
  6. Inside a material builder I would like to use the intersect() function. As I couldnt get it to work with the op:/obj/path_to_mesh syntax or any other way I was wondering if using intersect() is even possible in mat context? Also, is there a simple way to return the scene path to the geo the current sample belongs to?
  7. parameters not added with #pragma

    so it seems to me that this has been moved to the Input/Output section of the Operator Type Properties. You can hit the 'Create/Update Inputs From Parameters' option and hook that up with parameters inside a material builder node.
  8. I cant figure out how to get Houdini to add Parameters for arguments of my main function. My understanding is that: #pragma label test "Test" #pragma export test all cvex fun_ction(float test=1; export vector P=0) { P *= (vector)test; } should expose a float parameter labelled ''Test" to the UI. However, if I create a node with this definition there are no parameters added based on the code. I can add them manually in the Operator Type Properties but I would rather have them defined in VEX. Edit: It must have something to do with the mat context. Creating the asset in shop context in h16.5 works just fine. asset_param.hiplc
  9. Redshift stuck at 1/2 res

    oh my, I was looking for options on the IPR node itself, not for an IPR menu on the ROP node. Thank you for pointing me in the right direction.
  10. So I'm playing around with redshift a bit and cant figure out why it keeps rendering at 1/2 the set resolution. The render cam is set properly in the Redshift_ROP and resolution override is disabled. Changing it to 'User specified Resolution' has no effect. Changing the camera specific resolution has an impact but the output res always remains at 1/2 of that value.
  11. particle question

    Here you go pcopen.hipnc
  12. particle question

    give the pcopen function a try! You can retrieve the position of each/the closest point that way and feed it into your goaldir var.
  13. Volumesample with Noise

    well, after further review it dawned on me that, since hes using a SDF, the worley noise can just be subtracted from the sdf values
  14. 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
×