Jump to content

Aaron Auty

Members
  • Content count

    11
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Everything posted by Aaron Auty

  1. HDK - Custom File Chooser

    After looking at this one, I feel using the onCreated hom callback should give me what I want.
  2. We are moving to URL based filepath's using a custom Asset Resolver in Solaris. I would like to implement a custom file chooser across the entire Houdini session that could return a URL type from a selection. I can see you can toggle between OS and Houdini in your prefs. I can see some File System classes like FS_InfoHelper can work with the value in the parm. Would I need to to extend the File parm template type? Is this even possible? Is there something in HOM that could do this? Any thoughts appreciated. Cheers, Aaron.
  3. New Operator - Default Colour and Shape

    This works, brilliant, thanks Symek! A lovely red cloud of a node
  4. I am trying to set the default colour and shape of a new operator. I have tried overriding this virtual function in OP_Operator for the color; virtual UT_Color getDefaultColor() const; And this in OP_Operator for the shape; virtual const UT_StringHolder &getDefaultShape() const; For the return I tried some of the shapes as listed when you print them out using HOM, "bone", "light" etc https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html#nodeShapes I am creating a sop driver, so would like to mimic the defaults as seen on these kinds of nodes. Any ideas on setting these?
  5. I am trying to use rayhittest() in a snippet to test for intersections from a primitive to an arbitrary location. (A camera, a light etc) I have an example that works in SOPs in my .hip using intersect, however I need something that works at render-time. I have tried adding a scope to self, however, I am not sure if my syntax is correct. I have something like; dist = rayhittest(origin, ray, 0.05, 'scope', 'self'); If I bind dist to a hard coded value, I can see that something is coming out of the snippet. Any pointers? Any easier ways to do shader based intersections? Hip file attached Cheers, Aaron. rayPigs.hipnc
  6. baketexture rop problem

    I have found that the ROP still has a camera pathed to the default "cam1". If you make a cam called "cam1" it should work!
  7. VDB SDF WTF

    Ohh my goodness, greeble!
  8. New Skin Shader

    Looks like the new skin shader is a .hda using three physicalsss nodes with energy conservation at the end. (Divided by 3!) A quick test, and I am getting close to what I was getting in H14. (Although a little faster?) Are you rendering as a subD? Fused points?
  9. I am attempting to use an unevaluated $JOB variable to switch predefined texture sets feeding one ubershader. I have "diffMap" promoted on my shader, and a primitive string attribute "diffmap" with the value. ${JOB}/path/to/my/textures.rat (I have tried '$JOB' as well) If I remove the primitive string attibute, and manually enter "${JOB}/path/to/my/textures.rat" into the promoted "diffMap" slot, it evaluates correctly. Will I need to get into some sort of string reformatting on the promoted parameter? Difficult to share a .hip with the $JOB variable... Hope the above makes sense. Cheers, Aaron.
  10. Great idea! Thanks for the tip.
  11. As the paths don't resolve, you get an error message. Files that are missing cannot be marked as required. Any thoughts, can pre-flight be overridden, any advanced options available to force this? Cheers, Aaron.
×