Jump to content

a41b

Members
  • Content count

    6
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About a41b

  • Rank
    Peon

Personal Information

  • Name
    Tim Braya
  1. crop empty space around generated text

    I found a quite elegant way to do that task without setting up a camera or cropping via a post processing script. 1. In the OBJ context: set up a Font node. 2. In the IMG context: set up a "Geometry" node (which renders SOPs along a world axis) and control the node's "Overide Size" Parameter via the bounding box of the Font node from the OBJ context.
  2. crop empty space around generated text

    Thanks for the tip. Is there a way to call iautocrop from the "Post-Render Script" field in my ROP File Output node, which is attached at the end fo the network? Another solution that would work with the ROP would be to crop the image using python after it is written on disk.
  3. crop empty space around generated text

    That's one way I could do it in the OBJ context: Generate text geometry, position a camera and invoke Mantra. But is there a way to do it completely in the Compositing context? The IMG context also has a font node that can generate text, but it generates a default canvas of 1920x1080. I would need to determine the bounding box of the text somehow in the Compositing network and feed that information to the crop node. Unfortunately I am not familiar with the IMG network. I could not find something like a detail attribute that I could generate in a VopCop node (for storing the bounds of the colored text) and later in the network access this attribute in the Crop node. My way of thinking in the OBJ context does not work in the IMG context
  4. I need to generate text in Houdini and render it so that the empty area outside the generated text is cropped. The saved image should only be the size that is needed to display the generated text and not the default canvas size of 1920x1080. I am using the Compositing context very infrequently, so I was wondering if there is an easy way to determine the size of the generated text automatically and control a Crop node with that information. Thanks.
  5. Hi everyone! I am looking for a way for multiple people to work on the same .hip file. Since .hip files can be exported as text, I assumed it would be possible to simply use git for versioning (and merging the edits made by multiple people). However, it does not seem to be that straightforward. To test this approach, I created a very simple network (first attachment). Now I made two edits (second and third attachment), each adding a transform node to the network. I assumed these changes could be merged, creating a new network containing both transform nodes. However, attempting to merge the .hip files using git resulted in several conflicts. Some of these could be solved trivially, (like changes to the viewport or the last edit timestamp) but there are several conflicts (last attachment) for which I could not find a way of resolving which produces my expected result. Does anybody have experience with this approach? How do you handle multiple people working on the same .hip file? Any help would be appreciated!
  6. link ramp parameters with python

    I am reviving this thread because I have the same problem. I was able to link 2 ramps via an extra Python Node that does the following: sourceRamp = hou.parm('/obj/geo/Box1/Ramp') destinationRamp = hou.parm('/obj/geo/Box2/Ramp') destinationRamp.set(sourceRamp.eval()) I have to setup quite a few ramp links via Python and I would like to do that as a python expression at the destinationRamp. Just doing rightClick -> Expression -> Edit Expression on the destinationRamp's name and putting in hou.parm('/obj/geo/Box1/Ramp').eval() did not work. Would I also have to setup Python expressions for the destinationsRamp's Positions and Values? Thank You.
×