Jump to content

Search the Community

Showing results for tags 'viewport'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Lounge/General chat
    • Education
    • Jobs
  • 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 25 results

  1. Hello there, I was able to do constant materials with alpha to use as our background (matte paint). When rendering everything is working as supposed. But I would like to see it in Houdini viewport aswell. Any tips on this are welcome Cheers,
  2. I'm trying to create a shelf tool that needs to select a single primitive in the scene. If I activate my shelf tool while I'm already in primitive selection mode, it works, but I'd like to force the selection method to use primitive selection. I've tried looking at the documentation for sceneViewer: http://www.sidefx.com/docs/houdini/hom/hou/SceneViewer.html I think the key might be the setPickGeometryType function, but the documentation doesn't have a good indication of what I should feed it. Has anyone worked with these view options before? Any help is much appreciated
  3. Get point near the mouse cursor

    Hi. I want to find closest point to mouse pointer. It's not a problem when the mouse pointer intersects with a surface. But how to get the point if it is outside the surface? I have the pointer origin and direction https://s9.postimg.org/a8y8r58i7/image.png
  4. Hi everyone, I'm a bit confused right now because I have a weird issue on my Houdini when I work on Alembic. I have some huge (not that huge, but still) models in Alembic format and I want to do VFX stuff on it. But I can't have a proper feedback on my viewport when I do some operations on it. As you can see on the gif capture, the color does not appear in the viewport, but if I save the scene, and open it again, the color appears. I checked my graphic cards driver (I have a GTX 970), and everything's on date, and I'm on Houdini 16.0.621. Is there a solution ? Thanks in advance, Gael. EDIT : Even if I launch Houdini as Administrator, the bug still appears. I need help :<
  5. Hi, Not sure what is going on here, but if you create a dopnet inside a geometry node, scene lights wont affect pyro in the viewport. If you back out of the dopnet, then you can see the light affecting pyro. However, if your dopnet is at object level lights will affect pyro. Why can't my dopnet be inside a geometry node and have the scene lights affect pyro so I can see whats going on? Photo 1 is inside the dop net. Phpto 2 is inside the geometry node but outside the dopnet. Thanks smoketho.hipnc
  6. I'm in the middle of making an otl for our artists and was wondering if there is a way to switch Houdini's viewport panes between Scene View and Composite View. I haven't found the proper help files for manipulating Houdini's layout through scripting. Thanks Mike
  7. I'm in the middle of making an otl for our artists and was wondering if there is a way to switch Houdini's viewport panes between Scene View and Composite View. I haven't found the proper help files for manipulating Houdini's layout through scripting. Thanks Mike
  8. In Houdini, is there a way to show some custom values as a HUD-type display in the screenspace of the viewport (any viewport, not necessarily cam viewports)? I mean something similar to the framerate display (Display Options->Guides->Additional Info->Show Time) but for custom values.
  9. Hi guys, I was wondering if it is there any way to change certain object's parameters depending on whether I'm inside of a subnet or not. Basically my problem is that I have a rendering subnet hda, which allows me to only render stuff that is inside, or referenced inside my subnet. But the issue is that if I have multiple subnets in my network with multiple lights in them, every light is visible in the viewport, making it hard to work with lights, since everything is visible and added together making the entire screen look blown out. I know I can disable the "Enable in Viewport" checkbox on my lights manually, but it would be awesome if it would be possible to only enable that checkbox on my lights when I'm actually inside my subnet and disable them when I go out from it automatically. In case anyone has any ideas on how to achieve this, I would appreciate if someone could nudge me in the right direction. Thanks in advance for any help! Best, Laszlo
  10. Viewport Changed Python

    Heya, I've written a little python expression to scale geo dependent on through which camera is being viewed. It works but does not recognise when the viewport has changed - is there an event trigger I can use to get it to recognise this change? import hou desktop = hou.ui.curDesktop() scene_viewer = desktop.paneTabOfType(hou.paneTabType.SceneViewer) viewport = scene_viewer.curViewport() camera = hou.GeometryViewport.camera(viewport) if 'preview' in str(camera): return 0.01 print 'preview cam' else: return 1
  11. Does anyone know whether or not a fisheye projection is possible to write for the viewport? I'm looking around on behalf of a friend, and I think it might be possible, from perusing the HDK, but can't tell for sure. If anyone knows whether this is possible or impossible, either way, it'd be great to know. Thanks!
  12. Hey, I am trying to do some stuff in python with viewport selections. I want to query whether or not the user has anything selected, not necessarily get what is already selected. As far as I can tell the only way to do anything with the viewport is through toolutils. If I use "toolutils.sceneViewer().selectGeometry()" and nothing is selected, it waits until the user hits enter over the viewport before continuing. Is there any way to simply return whether or not any geometry has been selected without having to wait for the user to hit enter? import toolutils sv = toolutils.sceneViewer() geo = sv.selectGeometry() if geo: print "There is a selection" else: print "No geo selected" Thanks! James C
  13. Guys, I guess it might be a veeery silly question but I just can't do it. How do I display textures on viewport? In this case I have this ramp applied (not an image texture) Thx! Alvaro
  14. VR flipbook

    Hey guys, I'm working on something for VR and every time I want to preview something on the oculus I need to make a low res render because flipbook doesn't give you a 360 view. I found somewhere a example of someone making a 360 flipbook (can't find it anymore) but haven't been able to figure out how to do that. Any ideas?
  15. Hi! I'm really new in houdini so probably this is a noob question: I have some outlines that are the outcome of some carve operations. When I animate the alpha from 0<Alpha<=1 everything goes as expected BUT in any frame that the value of alpha equals 0 I can see the outlines in bright color (the one that you could previously set). I don't know if this is only a viewport thing (I think it is) maybe some viewport feature or something like that because I'm following a tutorial and in the video setting the alpha as "0" makes them totally transparent. Hope that you can understand what I'm saying, my english is not that good. Thanks!
  16. Pyro ViewPort Issue

    Hey guys, so had this odd viewport issue for a while with pyro - sometimes it will show it properly (with shadows lighting etc.) sometimes it will be solid white voxels and then other times black smoke with again no shadows - provided screenshots below to help! I thought it maybe a GPU problem - running a GTX 770 - i7 3.3ghz - 32gb ram - Turning headlight only on in viewport (lightwise) then clicking back to normal lighting sometimes fixes it but not always (Images below show the black and white viewport errors i was on about) rather than shaded white smoke
  17. If you have artifacts tune parameters in the display options>Texture
  18. And you may find yourself using Marmoset Toolbag And you may find yourself in another application And you may find yourself behind the wheel of Houdini And you may find yourself with a beautiful door handle, in a beautiful viewport And you may say to yourself My God!... What they have done?! https://vimeo.com/142759892 And you may ask yourself how did he came up with this text And I may find myself Well... Telling you that I ripped it from this beautiful classic song:
  19. Hi, in houdini 13 - Environment Light is Not Showing in up in the Viewport?? is there anything else other than the Viewing options (display)? Kind Regads
  20. I must be missing something but how can I create a shader with a procedural texture and view it in the viewport??? Do i have to create an GLSL shader?!
  21. I often run into problems with the houdini viewport, particularly working with volumes, where things get "stuck" in the viewport or are otherwise inaccurately represented. I'll have the display flag on a null, have "hide other objects" turned on, and still some volume I was looking at 5 minutes ago remains in the viewport. Or, for another fun example, everything just all of a sudden becomes the same color as the background viewport color and I can only see where things are by turning on point display. The only solution I've found is to close the scene view and open another one, which trashes all your viewport settings (visibility, camera view, normals display, selection settings, pinning, everything), so then you gotta go clicking around resetting everything, and then the viewport craps out again 5 minutes later. I finally got sick of doing that, so I whipped up a little shelf tool that has the effect of fixing some of the bogus display issues that I've encountered, and somehow maintaining all the viewport settings (nothing clever there, I just got lucky). It identifies all the scene viewers in your desktop, turns them into textports, and then turns them back into scene viewers. Here's the tool, I hope it saves you some time and frustration. Enjoy! ####get list of panes#### panes = hou.ui.paneTabs() viewers = [] ####identify scene viewers#### for p in panes: if p.type() == hou.paneTabType.SceneViewer: viewers.append(p) ###turn scene viewers into textports, then back into scene viewers#### for v in viewers: trickview = v.setType(hou.paneTabType.Textport) newview = trickview.setType(hou.paneTabType.SceneViewer) # Dan Finnegan, FX TD: definnegan@gmail.com #
  22. I have a part with many primitive groups and it would be good to be able to visualise the groups in the viewport instead of having to manually find what refers to what by stumbling around with the delete sop. Any ideas? Ok so there's a way of doing this by using the select tool and choosing groups in the context menu above, a list then appears to the right and everything is color coded.
  23. Set correct group class

    Hi. I got node. DA with two group parameters. Two group class menus, one for each group parameter. There are two classes to pick: - points - primitives When I change selection type in viewport (points=>primis or vice-versa) I would like to have correct class set on my node. Q1. How to do that? Q2. Can I extract some data from for example selector to see what was picked up? Thanks.
  24. This has been driving me crazy all day!!! There's no other SOP with display flag on besides the one I'm working on right now and yet I can see geometry from at least one other geo container outside the current. It happens in either h11 and gl3.2 modes and the only way I've found to temporarily fix this is by closing my houdini session and starting a new one. Is anybody else having the same issue? Is there a better workaround than mine? I'm using 12.5.428, on centOS 6.2, Nvidia diver version 295.20. Cheers
  25. Hi, I am trying to write a custom plugin to draw text data in viewport using HDK. I am trying to use OGL_Render:: textMove3W and OGL_Render::putString function and calling it from within myCookSop which crashes houdini as soon as I use the putString function. I am also overriding renderShaded function but I am having trouble calling this function. Can anyone point me a piece of code that shows what functions I need to implement and from where and how do I call them. Thanks!