Jump to content

Search the Community

Showing results for tags 'reference'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 6 results

  1. I'm setting up a scene with a bunch of colors. As such I like to keep them in a Null node so theyre all in one place. In a geometry node I'm trying to apply that color with works fine with relative reference: (U3650 being the name of the color) ch("../../Colorbank/U3650r") This works great but I'd like to have the U3650 be changed based on a string attribute on a diffrent node. that way I can change it there without having to tediously go into rgb values and changing it by hand. I've tried the following: (the value in lable_1 being U3650) ch("../../Colorbank/chs("../colorControl/label_1")r") ch("../../Colorbank/'chs("../colorControl/label_1")'r") However this doesn't seem to work. Could anyone help with getting this reference to work? This would allow me to animate the color per frame which allows for greater control in rendering varients of still images. I've attached a simple hip version of the problem. RR-Help.hip
  2. I want to use an ortho-style photo as a correct size reference in a Houdini ortho view. The full width of the image represents 3 cm and I use 1 unit in Houdini as 1 cm (I can change the image's pixel resolution to whatever I want) As far as the size values for the background image, is there a formula that allows scaling the background image so that its width is 3 units wide in a Houdini ortho view? I can fiddle with the size values manually, but I'd prefer if there was a math formula that would get me there quickly and exactly.
  3. Hello, I am working on an RBD simulation of a hotel collapsing and I have roughly 73,000 pieces in the simulation. I simulated with low resolution pieces and I want to replace them with high resolution pieces but render times are ballooning/render crashes when I swap them. My hi-res pieces are packed and have materials inside. I have the whole set of pieces on a single .bgeo.sc file (5gb) and also each piece individually on disk (See graphic 1). I will refer to them as Set of Pieces and Individual Pieces respectively. I'm fairly new to Houdini so go easy on me, here's the workflow that has gotten me the furthest: - I load the Set of high-res pieces and plug both them and the low-res pieces into a Transform Pieces SOP. (See graphic 2). This allows me to copy the transforms of the low-res onto the hi-res pieces. Up to this part I have no problems. - When I start to render, Mantra takes a long 10-15 minutes generating the scene, using all of my RAM (64gb). If I'm lucky it starts rendering by minute 15, but 90% of the time it just crashes. I'm using Mantra on Houdini 16.5.268 by the way. I know that Mantra needs a copy of the geometry when it renders, so the Set of Pieces is the problem here. I have also tried the Instance SOP, creating an Instancefile attibute on the low-res pieces linking them to the hi-res pieces on disk, but it doesn't seem to be working, I have to be missing something here but I can't find the solution. (See graphic 3) I have almost no knowledge of Mantra, so I have the default settings in the Mantra node. Is there a way of referencing/swapping/instancing the individual hi-res pieces onto Mantra ONLY at render time while also having the transforms of the low-res pieces? Is there another way that I'm missing? Any way of reducing Memory Usage? Am I doing it completely wrong? Thank you in advance!
  4. Hello Hive Mind, Long time reader, first time poster.... I was wondering if anyone knows a pythonic way of creating a reference copy of a node? More or less the equivalent of hscript opcp -c. It's a little more complicated than a copy and iterate over parms, since certain parm types need different copy/reference methods. Thanks in advance!
  5. Hey Guys! I have a pretty newbie question about some Python and HDA interaction. So in a nutshell I'm trying to create an HDA with implemented Python script which does the following: 1. I have an Original Geo, which is object merged in my HDA. 2. I select some primitives on my original geo (or on the HDA). 3. After I selected my primitives, with a press of a button on my HDA, the selected primitives will be added to a group's pattern parameter inside my HDA. 4. And of course it would be great if this could work with a relative reference, so if I copy my HDA multiple times it'll update the groups within the correct HDA. I have this code so far: import toolutils viewer = toolutils.sceneViewer() geo = viewer.selectGeometry() s = geo.mergedSelectionString() # How can I make THIS PATH relative reference? n = hou.parm('/obj/Colorzied_Geo_Asset_1/Colorized_GEO/group1/pattern') n.set(s) I put together a pretty simple example file and the hda, which will hopefully help you guys understand what I'm trying to achieve. In case my explanation is a little confusing. selectedPrims_python_problem_v001.hip colorzied_geo_asset.hda Any help or nudge in the right direction would be greatly appreciated! Thanks in advance! Best, Laszlo
  6. Hey all, Im about to make a RBD emitter for some typography. I'd Like to know if there is a way to reference the number of a nodes name (e.g. blast1, blast2, blast3) within an expression (something like @textindex=@blastNUMBER??) to save me manually typing which group I would like to isolate? Cheers Jim
×