Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by garf

  1. Capture to disk and Mplay

    Bump. Has any progress been made on this? I realise you can write to disk using viewwrite -f 1 10 Build.panetab1.world.persp1 '$F.jpg' and write to mplay using viewwrite -f 1 10 Build.panetab1.world.persp1 ip but I'd really like a way to script writing images to disk from mplay. Even knowing if/where mplay temp images are located would be a start.
  2. Urgent: How to get Very Soft Splashes

    How about just doing a sim as you normally would be then using the VDB tools to sculpt it / smooth it into a less defined shape?
  3. Need advice from Houdini users.

    Yeah - houdini is becoming more and more artist friendly so knowing the maths is useful but not absolutely necessary. Anything you don't know can always be googled Python is not necessary at all but again, any additional skill is useful. If I were to invest in my future from scratch I would do it with SideFX not Autodesk for sure. They are considerably more customer-centric, they listen to their user-base and you can get their software free to learn with the PLE version. There's tonnes of learning content out there with Peter Quint, entagma, Rohan Dalvi, Go Procedural, sidefx.com and here on odForce. The community is really helpful and can always get you out of a pickle. I'm an XSI convert but I'm glad autodesk canned it as it gave me the push towards this sensational piece of software.
  4. Python - Houdini Engine

    Anyone scripted anything for Houdini Engine in Maya? Just want to be able to import an HDA. Any pointers appreciated.
  5. Python - Houdini Engine

    This was quite handy https://www.sidefx.com/forum/topic/39115/
  6. Hello there, I'm mucking about with houdini engine in maya and used the bog-standard file hda to get particles in there and it works. So to add some level of control into maya I thought I would add a delete SOP after the file SOP and have this controlled by a slider on the top level of the hda so that within maya you can dial out some particles if needs be. This works as you would expect in houdini but has no effect in Maya. So my question is this. Is this functionality possible or does it fail due to the limitations of nParticles? If it's not the latter then, anyone know what I'm doing wrong? Cheers
  7. Python - Parameters 'Type'

    Ayup! How do you evaluate a parameter to determine it's contents 'type' - e.g. expression/string - 'type' method is currently crossed out in the docs http://www.sidefx.com/docs/houdini/hom/hou/Parm import hou sel = hou.selectedNodes() for i in range(len(sel)): for p in range(0, len(sel[0].parms())): sel[1].parms()[p].set(sel[0].parms()[p].eval()) print str(sel[0]) + ' = ' + str(sel[0].parms()[p].eval()) print str(sel[1]) + ' = ' + str(sel[1].parms()[p].eval())
  8. Python - Parameters 'Type'

    Scratch that expressionLanguage()
  9. Python - Parameters 'Type'

    Thanks chaps - so added to this, is there a way to determine which language is used in the expression e.g. Python/Hscript or is it simply a case of interrogating the code to determine what it is?
  10. Rendering Pyro

    I'm clearly being an idiot here. Can someone explain to me why if I render a pyro sim from two different cameras it looks totally different - even the alpha is different? One is wide and far the other is close up. One directional light, mantra. Is this a scattering issue within the shader? I'm using the stock pyro material but I've removed the flame colour bits and thrown in a heat>fit>ramp into the emitcolor instead.
  11. Rendering Pyro

    Thanks chaps, I'll take a look at this. I haven't had a chance to go any further with looking in to this problem but one difference is that one camera is alembic imported and the other is created natively. It's a non-issue at the moment as my shot cams will be alembic imported but I was curious.
  12. I wasn't totally sure where to post this. Has anyone come across the houdinifx.exe, houdini.exe etc staying within the processes list on Windows after Houdini has been quit? It appears to be only happening on this machine, I've not had a problem on others. Houdini 15.0.416 Windows 7 I've currently got a batch script to kill all instances of it - but it's not ideal when some processes are hogging many Gigs of Memory.....
  13. Exporting Houdini Particles to Maya

    That's the point. You cant import Houdini particles into Maya with Alembic. It seems that every other DCC on the planet has this ability but not Maya....... Even dead software like XSI can handle this. Autodesk are a shambles.
  14. Exporting Houdini Particles to Maya

    Is this really still an issue? https://forums.autodesk.com/t5/maya-forum/alambic-importing-partical-erro-error-line-1-particleshape1/td-p/7040953
  15. Python - Maximise Viewport

    Anyone know how/if it's possible to maximise the viewport in python? cheers
  16. Python - Maximise Viewport

    thanks - this was implemented in h16, right? I'm on 15 right now - so not currently an option.
  17. 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
  18. Viewport Changed Python

    thanks - it's way overkill for what I need but it's good to know it's do-able
  19. Anyone know how houdini decides where to paste these in the network view? They often end up pasted miles away from the working area.....
  20. hou.pasteNodesFromClipboard()

    I'm not convinced they are pasted to 0,0 ideally I'd like to lookup where in the coordinate system the network viewer is currently showing and just bung them somewhere in there. I'm liking the moveNodesTo() idea though - I might give that a go
  21. [novice] Running python script on new session

    This is what you need. http://www.sidefx.com/docs/houdini/hom/locations
  22. File Browser default Path

    You can using houdini scripted UIs (selectFile is what you want) https://www.sidefx.com/docs/houdini/hom/hou/ui From the docs: selectFile(start_directory=None, title=None, collapse_sequences=False, file_type=hou.fileType.None, pattern=None, default_value=None, multiple_select=False, image_chooser=False, chooser_mode=hou.fileChooserMode.ReadAndWrite) → str So for example: dialog = hou.ui.selectFile(start_directory=hou.hscriptExpression("$JOB"), title='Select your file', file_type=hou.fileType.Image) You can make start_directory a $VARIABLE or something more explicit like "/my_folder/images/"
  23. Hey all, I've recently installed Linux Mint 18 on to a dual boot on my laptop. I've been running houdini on windows 7 for a while without any problems. On Linux, however, I'm finding that Houdini will crash immediately I wake the laptop from sleeping (i.e. lift the lid up). Any ideas? Houdini 15.5 Apprecntice Thanks
  24. Linux Mint 18 - Crash on wake

    Thanks for the response, Mark. It's good to know I'm not being a total plonker!
  25. Disintegration of particles

    You could set up a SOP solver in your DOPnet that takes the normals from your emission surface and attribute transfers them onto your particles having converted them into velocities.