Jump to content

malexander

Members
  • Content count

    888
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    47

malexander last won the day on December 13 2019

malexander had the most liked content!

Community Reputation

404 Excellent

2 Followers

About malexander

  • Rank
    Houdini Master
  • Birthday 03/06/1974

Contact Methods

  • Website URL
    sidefx.com

Personal Information

  • Name
    Mark Alexander
  1. houdini python and mply

    gplay doesn't accept wildcards in a filename. At a command line, "gplay *.bgeo" works because the shell is expanding *.bgeo to a list of valid filenames. You'll need to to the same.
  2. houview vs houdinifx

    If you're referring to "hview", it's just a script which starts the appropriate houdini app for a given file. "hview image.exr" will run mplay, "hview geo.bgeo" will run gplay, and "hview file.hip" will run houdini (likely the one you have a license for).
  3. smooth in viewport

    The hotkey is still Shift - and Shift =. You need to have at least one object selected for it to do anything, as it changes the objects' "Display As" parameter. It also does not do anything within a LOP-contained SOPnet, as there is no object parameter to change.
  4. I believe that means that the bbox is invalid, likely because the extents weren't authored on the prim.
  5. Houdini Docs on tablet

    They're available online: https://www.sidefx.com/docs/
  6. not full CPU power during simulation

    The code itself is likely limiting the number of threads adaptively so it doesn't completely tank performance. Most threaded code processes data in chunks. The chunk size might be quite small when divided by 32, so it reduces the number of threads to keep it larger. There's a non-trivial overhead for spawning and waiting on threads, and if you don't give a thread enough to do this starts dominating the cores as all you're doing is thread management. Plus there's usually some single-threaded code in between threaded code which can affect the %cpu reported, as it's averaged over the monitored interval.
  7. Change Top view to Perspective

    If you're using HOM, grab the SceneViewer object from the desktop and iterate through the GeometryViewport's (SceneViewer.viewports()) and check the type() against hou.geometryViewportType.Top. When you find it, use changeType(hou.geometryViewportyType.Perspective) on that viewport object.
  8. .rat files, linear and color spaces

    The RAT file format specifies that all color values stored in it are in linear space, so rendering to them will write the values as-is (no sRGB conversion). Rendering to a PNG, on the other hand, will convert the rendered linear color values to sRGB because it's a sRGB format. If you're writing a normal map to PNG, you do not want any colorspace conversion to take place on export or import - the value should be stored linearly (otherwise normal values are unevenly distributed across[-1,1]). So if you are reading the RAT into COPs, extracting the normals into a separate plane and writing them to PNG, disable the "Convert to Image Format's Colorspace" toggle in the Composite tab of the Composite ROP. This will write the linear values into the PNG as-is, without sRGB encoding.
  9. Restore camera settings after a flipbook

    useDefaultCamera and setCamera must be called on a GeometryViewport object. You have one in your script, 'viewport'. You can stash the default camera to a python object using: prev_view = viewport.defaultCamera().stash() // set your camera and flipbook viewport.setDefaultCamera(prev_view)
  10. diagnosing hard crashes..

    In your BIOS/EFI, look for a setting called "Core Performance Boost" and set it to Disabled. A lot of motherboards have this Enabled or set to Auto, which causes a lot of instability with some systems.
  11. You could try GeometryViewport.draw(), but it's quite possible the redraw request won't be processed until the end of your script.
  12. How to access a detail attribute from a COPs Snippet VOP?

    You don't need the op: prefix. That is only required if the parameter expects to a filename.
  13. Camera zoom?

    Space+Z (set pivot and frame)? Zoom is Ctrl+Alt+LMB drag to box zoom (also in the view state, but hard to do while holding Space).
  14. Houdini 19 Wishlist

    I'm guessing you're referring to our viewport renderer and not Pixar's Storm (formally known as HydraGL). DOF and motion blur are available through the flipbook currently. However this isn't a way to hook up realtime reflections in LOPs the way you can in objects. Python presets are doable with HOM right now (FlipbookSettings), but I agree it should be more built-in. At least you can save them as default now
  15. The rotospline cop allows you to draw arbitrary spline or polygon shapes. The shape cop can give you more precise shapes like rectangles. You can pipe that into the mask input of an over cop (or add, multiply, etc) to control which area of the image is affected.
×