Jump to content

monomind

Members
  • Content count

    69
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Everything posted by monomind

  1. Channel from connected node?

    OH I see - I wish documentation told about these things!
  2. Channel from connected node?

    I've made a custom integer on a file node - and I would like to use that for naming my files in ROP file output. File node is directly connected to ROP out. How can I reach this custom parameter on connected opinput? Custom parameter name is "mode" - here is what I tried:
  3. Channel from connected node?

    Hm, can I read the first input of another node? NODE 1 connected to NODE 2 --- I'm in NODE 5, trying to get NODE 1 from NODE 2
  4. Channel from connected node?

    Thank you!!!!
  5. COP Workflow - $F fails to update

    I'm using a "file" node to load files, but because of my weird naming of the sequence, I've read the file sequence using a custom VEX expression. I have a slider, and depending on the slider, numbers (in the middle of the file name, such as File_0001_reflections_dark.exr) update. When I drag the slider, I can see different frames being loaded. My initial idea was to connect this to a ROP node and export every frame using $F - however when I type in $F for my slider, I get a big cross instead of the image itself. It does not error, it just looks like it's not "loading" for some reason. I believe this is because of some performance option? If there is a setting to force updates, I'd love to know! Or if I'm missing something very basic please enlighten me!
  6. COP Workflow - $F fails to update

    Looks like the image data and resolution is correct, and there, it's only the frame that "looks" missing.
  7. Active Switch Input - Name

    Thank you!!
  8. Active Switch Input - Name

    I'm trying to get the active switch input op name - how is that possible?
  9. Active Switch Input - Name

    How/where do you run python?
  10. Active Switch Input - Name

    I can prepare - that'd be creating an empty scene and creating a cop network - I just don't know how to script in COPs basically, there is no wrangle in that concept.
  11. Active Switch Input - Name

    How about doing this in COP
  12. LUT Format?

    I would like to export my images in my cop network using a pre-made lut (exported from photoshop) - looks like "output lut" does not read any .lut formats created by photoshop (.3dl, .csp, .cube, .icc) - so what lut format should I use, and where should I obtain it?
  13. I have a material that I use on multiple objects on my scene. The material is pretty complex with many parameters for reflectivity, bump, etc. (redshift) To be able to use this material on different objects with differnt textures, I had to make copies of the material, and change the textures for each copy. But, for instance, when I want to control the reflectivity of the material, I have to go into each of those copies and make changes manually. Or, if I want to add another parameter/node to any connection on the material shader, again, I have to make changes to each material and copy, as they're using different textures. So I'm wondering, if there is a way to keep one single material but use different textures for different objects that it's applied?
  14. Same material - Different Textures

    I have to look into overrides then!
  15. Same material - Different Textures

    They do but again, different materials need to be used. What I want to achieve is - a single material that's used on all of my objects, that contain different textures. One material to control and build, that'll grab the texture data from the applied object, somehow.
  16. RBD Cuda

    Oh, so no support for cuda. Okay.
  17. RBD Cuda

    I'm wondering if it's possible to use cuda for the new RBD sop? I don't see the option in the sop but maybe it's hidden somewhere?
  18. Vex: Total number of frames?

    My current workaround is reading $FEND through a chf, how else can I directly use it? Thanks!
  19. Vex: Total number of frames?

    I can reach the current frame using @Frame but what's the global variable to reach the total frames, or the end frame? (sort of equivalent of $FEND) Can't find the global variable for that in vex.
  20. Quickmark: CTRL + [Number] hotkeys

    Yes, it works. Maybe windows (10) is somehow using that key combination? I did a brand new houdini installation on another windows 10 machine, getting the same result (ctrl + 3 not working)
  21. Looks like when I want to set quickmark to certain parts in my node graph, CTRL+1, CTRL+2, CTRL+4 works but CTRL+3 does not seem to work. I don't have any shortcut saved to this key combination, so I'm wondering, if this is the expected behavior in houdini 17.5 somehow?
  22. How can I convert orientation/direction value (created by random attribute sop) to angle values to be used in transform sop?
  23. Get all points on a prim?

    With a little modification and correction, seems to work perfectly. Thank you sir! int scattered = findattribvalcount(1, "point", "sourceprim", @primnum); vector avg = {0,0,0}; for(int i = 0; i<scattered; i++) { int pt = findattribval(1, "point", "sourceprim", @primnum, i); vector p = point(1, "P", pt); avg += p; } avg /= float(scattered); v@avgP = avg;
  24. I have a grid, and I scatter points on it using the scatter sop. I want to access the number of scattered points per each prim of the grid. What's the most efficient way to achieve this? My current workaround contains a foreach loop, that creates "bounds" using the bounds sop per each prim, and groups scattered points using the "Bounding Object" bounding type. Then I write the count of points as a primitive attribute using a wrangle. This is very slow - would love to know how else to achieve this..
  25. Get all points on a prim?

    seems to show {0,0,0} for each avgP
×