Jump to content

Search the Community

Showing results for tags 'pdg'.



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 29 results

  1. Hi ! Firstly i'd like to say that have an experience setting up and working with HQ (render, sim) Now i'm trying to set up PDG working on Hqueue but i've faced some strange issues I've set up everything and try to launch render. it fails output log says: C:/app/houdini/Houdini_18.0.460/python27/python2.7.exe: can't open file 'W:/3DCG/test_rs/proj_td/pdgtemp/21808/scripts/pdgmq.py': [Errno 2] No such file or directory Part of diagnostic information: Client Job Commands: ============================= Windows Command: "C:/app/houdini/Houdini_18.0.460/python27/python2.7.exe" "W:/3DCG/test_rs/proj_td/pdgtemp/21808/scripts/pdgmq.py" --xmlport 0 --relayport 0 --start But....this file (pdgmq.py) does exist and path is correct. even more : if i copy/paste this command line into cmd console - it works. pdgmq.py starts ok. and it's done under the same user as HQclient logs on. I have no idea where to dig further......
  2. PDG changing work item

    Is there a simple way to change work item name in TopNetwork? I'm sending a bunch of tasks to deadline, and they are named like ropPyro_ropfetch1500_500 , I want to include @wedgeindex in task names, so I could easily find specific tasks that are rendering too long. Thanks.
  3. Hello ! I'm trying to learn a bit of PDG since it might be useful for some of my projects. But I'm having a few issues For one, I wasn't able to find how to remove a work item. What I'm trying to do is search for a string in a bunch of files, and based on that I'll do some other things. Right now I'm simply trying to get to find the string in the files, but first I need the relevant files. So I use the filepattern node for that, but there is a few files for which I don't want. I use a pattern for the extension (*.txt), but there is some files with a specific string (in this case "proxy") in the filename that I would like to ignore. I tried something like "thePath\*.txt ^*proxy*" to get all the txt files without the ones with "proxy" in the name. Didn't work, maybe the syntax is wrong, but moving on. So I have a bunch of files (aka work item) that I want to get rid of. I tried using the split node, but I don't know how to work with PDG attributes. It always either error out, or gives me this I tried "@filename="file.txt" | @pdg_filename="file.txt" | I tried without the quotes, I tried with backticks around the filename part, without any success. What's the correct syntax for this ? I tried reading this, but without much results. I would need an example to understand it. So using expressions didn't work. I then moved on trying it out with Python. There is the "work_item.dirty(True, True)" command, which works as I want, I see the work item being removed in the node UI, but then Houdini freezes, then crashes. So I'm seemingly out of options. There is multiple questions, which are as follows : 1 - Is there a syntax for the file pattern that allows to get all .txt files, without the ones with a specific pattern in the name ? (mockup - "*.txt ^*proxy*") 2 - How to use PDG attributes in a node, as part of an expression ? Kinda like something simple like "@Frame=2", but in this fashion '@filename="file.txt" ' 3 - Why does the work_item.dirty() python command crashes Houdini ? Am I doing something wrong ? Test file attached. The zip contains some random .txt files with names to test out what I want, along with the hip file. pdg_test.zip
  4. TOPs, keep polling

    I'm trying to figure out if a TOP's/PDG network can be made to keep alive while waiting for data from a database. Basically I want something like a while loop in python that keeps the TOP network waiting for new items to appear in the data base and then start processing once a new work_item is available. Is TOPs/PDG even meant for such a thing? Thanks! -Johan
  5. hi, Is there a way to tell a node in the PDG network to wait till another node (from a parallel stream) will be cooked? one more PDG related question: If I have any 'button' in the interface of my hda, the hda_processor sees it as a 'toggle'. Is there any workaround to get button-like functionality in hda_processor?
  6. Hi folks, i have a Python Processor with 5 work items and i would like to create a dependencies based on a attribute WorkItemID that increase for each work item. How can i create dependency to cook those work items exactly in the order that i want and not in parallel ? Thanks in advance
  7. I have trouble to load any PDG results with Unity 2019.3.13f and Houdini Engine 3.3.5. The PDG Link cooks the outputs but can't load the terrain and ends with a warning: "Part with id 1 is missing. Unable to generate instance!" I followed this tutorial: sidefx.com/tutorials/pdg-for-indie-gamedev-section-3-creating-terrains/ Any idea what has changed since then?
  8. Hey guys, I want know how to read or import tractor status to houdini top network. I would want to running some event in topnet when finished tractor job. I have searching and found many site from googling but I don't know how can do this.. please someone tell me any method !
  9. I have a heightfield as part of an HDA that is remapped. If I manually press "Compute Range" in the Heightfield Remap sop it works.... but I need to do it from an HDA processor inside Tops. I promoted the "Compute Range" parameter (button) on the HDA. It works. Then I get it inside Tops HDA Processor via the Update HDA Parameter button... BUT in there it comes as a checkbox. If I check the checkbox it does nothing. How does one enable Compute Range from inside an HDA Processor node in tops? If not, is there a way in vex to the the min and max for the voxels of the heightfield? Thanks
  10. Hi everyone. I have a problem creating the TOP that reads the file from the folder and saves them to the new folder after some simple procedure of reducing geo. I need to create "filename" attribute out of PDG filenames. Anyone could point me how to solve this? Thank you
  11. Hi there, I've got a ROPfetch that's rendered 4 wedges of 144 frames, 1152 frames total from (currently) two entries in a .csv file. I've got an ffmpeg node below it that's hell-bent on taking only the name of the first entry and rendering a mov of it 1152 times. I'm new to TOPs and only a few months into using Houdini, but have been going around in circles trying to partition by row (if that's even possible). What I'd like is: Column1, row1 = 144 frame mov of: wedge1.mov, wedge2.mov, wedge3.mov, wedge4.mov Column1, row2 = 144 frame mov of: wedge1.mov, wedge2.mov, wedge3.mov, wedge4.mov Ideas?
  12. Hi I am encountering an obscure error with PDG and looking for help of any sorts. Basically, I am trying to send a set of TOPs work items to farm using tractorscheduler which works fine with H17.5 and H18(localscheduler) but when I try the same setup in H18(tractorscheduler) I am receiving a ["Error Could not find scheduler type "tractorscheduler"] error in tractorscheduler node. Does anyone else encountered such thing yet? Has something changed between the versions of Houdini and I am missing something? Any kind of help towards the direction of solution would be appreciated. Best
  13. I left a TOPs network rendering some camera angles, but it's stopped with missing frames in one of the sequences (1-112 where it should be 1-144) Dirty and cook returns done. The caveat is I have 'Cook frames as single work item' on for post-processing nodes (ffmpeg and then some python in this case), when I deselect this I get all the frames and it picks up. How can I get it to check the frames, discover which are missing and pick up where it left off? OR would it be better to let it cook individual frames and then group the output by filename and push that into ffmeg?
  14. Some strings in my CSV have white space (spacebar) and some have unusual characters that Windows and Houdini don't like, such as Å. In a TOPs network, how can I create an attribute `@cleanName` without these characters? ie: MY HÅT becomes MY_HAT Something like this, but dynamically. mystring.replace(" ", "_") If someone could help with the whitespace I can work out the rest. Thanks!
  15. Hey folks, I'm executing a Windows .bat file which is written out by a pythonprocessor TOPs node to run some things on another sever. Everything works if I hardcode the filename to the batch file, but I want it to generate and execute .bat files for each work item I'm trying to access `@filename`in the pythonprocessor, but not getting anywhere. How can I access the attribute so .format fills in the path correctly? PidginCode: outFile = `@filename` filePath = "path to directory/{}".format(outFile) The sample file docs are bereft of examples so I'm wondering if I'm going about it the wrong way. Thoughts? EDIT: I made a string parameter on the node I'm querying and pointed evalParm at it. Is that the most sensible way? node = hou.node('/obj/topnet1/nodeName') parmName = str(node.evalParm('parm'))
  16. Noob question In the sesi documentation it suggests to use __PDG_DIR__ instead of ${PDG_DIR} for filename paths. ok, I tried and only received errors in the graph when cooking ROP Geo Output. That's the first issue 2nd is a noob question on proper use of envirnment variables in TOPs What is the difference between ${PDG_DIR} $PDG_DIR/ and __PDG_DIR__ ? I'm on Linux (Ubuntu 18.04LTS)
  17. PDG Mutagen

    Anyone successfully install the PDG Mutagen shelf tool? https://www.sidefx.com/tutorials/pdg-mutagen-toolset-walkthrough/ If you're using PDG in a production environment is it useful? Any issues?
  18. Trying without much luck to recreate the video wedging mosaic demoed by Scott Keating here https://www.sidefx.com/products/pdg/ For some peculiar reason the video is not directly linkable and there is no .hip file but it is halfway down the page in the AUTOMATE section, Wedging video. I am trying to create the TOPs node graph in the attached but not sure what all the nodes are. In the left column green box of course is a ROP geometry output , and in the right column red box there are 5 nodes. #1 is ROP Fetch I think, #s 4 and 5 are Wait For All and I think FFMPEG Encode Video respectively. But what are numbers 2 and 3 in the right column, Generate_Contact_Sheet Wait_for_Entire_Sequence ? Also anyone know of a working example of TOPs based video mosaic for simulations?
  19. Hi Having a huge headache simply trying to install this shelf tool for PDG wedging. https://www.sidefx.com/tutorials/pdg-mutagen-toolset-walkthrough/ At first it seemed to install correctly, could load the shelf tool and see the icons but when trying to load the python panel got a Non-ASCII character '\xc3' error. So tried adding #coding=utf-8 to the top of the file. Also mistakenly rightclicked the shelf tool and chose "Delete Shelf Tab" However now I cannot even add the pdg mutagen shelf tool back! It no longer exists in the drop down when I click the + icon and choose "Shelves". Can anyone explain what I am doing wrong?
  20. Hello folks, so, i have a bunch of houdini file with a top node at OBJ level, all file have the same structure and are in the same folder I would like to cook the TOP node from external, Python or another TOP graph. I tried in a background script to access with hou.node('/obj/topnet').parm('cookbutton').pressButton(), but it seems that doesn't cook anything Any idea ? Thanks in advance
  21. Hi Everyone, I'm trying to setup a TOPs network to cache out sims with multiple parameters being sent to the dop network. Seemingly basic stuff, however nothing I'm doing seems to be working how I think it's going to work. What I've tried: Using a wedge node to set a random attribute and trying to use that attribute in an exterior dop network - caches into a view able geo rop output but all the wedges were the same Rebuilding the pyro sim purely in the tops network - it makes something but when viewed all the frames appear empty Have the source inside the tops and the dop outside - same result as the first
  22. PDG Question

    Hi! I have small PDG graph that grabbing models by one from disk, doing some basic stuff with it (UV's, materials etc.) Then I load geometry to /geo, in same hip file, where I have camera, lighting setup and render node. So when I clicking on work items in topnet I see models in scene through the camera. Here is my question. Basically I have only one angle for camera that is suitable for bunch of models but not for all, so I need to incorporate some manual camera controls and somehow save camera settings for current work item. Is there a way to change camera settings only for certain work items? How can I setup such thing? Thanks in advance
  23. Hi there, I found exactly what I'm trying to achieve in the Houdini docs but no step by step guide how to achieve this: https://www.sidefx.com/docs/houdini/tops/looping.html "Imagine an RBD simulation where a jar is being filled with marbles, one handful at a time. The entire process could be run as a single simulation, however marbles at the bottom of the jar might become unstable and the numbered of simulated objects would keep growing. One way to manage this is to run the RBD simulation for the first handful of marbles and use its results as a static object in the second simulation. The result of the second sim and first sim combined would be static objects in the third sim, and so on. You can do this in TOPs using a feedback loop with a ROP Geometry in the loop block" can anyone shed some light on this please? cheers S
  24. Hi there I am currently making a HDA that takes a mesh, does an infection solve and spits out resulting textures; I have finally got my top graph cooking fine however I am a bit lost as to how the user will actually trigger it from the HDA interface. Promoting the force cook on the topnet doesn't work and even when normally activated, it seems to use up all houdini's threads as opposed to a cook from within the graph. I have also been scouring the pdg python module docs to see if I can trigger the network to cook from a callback script. The furthest I have got on that front is the cook method on both pdg.GraphContext and pdg.Node objects. pdg.GraphContext.cook() seems to want a CookOptions object which I don't know how to generate or manually create. pdg.Node.cook() wants a block argument and I am also lost as to what that is, I've tried using block=1,1 etc I found a py file called top in /houdini/python2.7libs/pdg/job/ which contains a function called cookTopNode. This looks promising however I don't know how to call it nor which module/object it is a member of. I'll provide a scene file if needed, just needs a bit of decluttering first Any help is greatly appreciated. George
  25. ok so some progress with PDG following Ari's tutorial, https://vimeo.com/323291527 but getting ImageMagick running properly on OSX is a total PITA! After installing, adding proper pathing to houdini.env it runs but no support .exr by default. Get the following error So thinking I need to install OpenExr I do so and get openexr 2.3.0 is already installed and up-to-date Any ImageMagick experts able to suggest a solution? Guessing this will be easier on my Ubuntu box....
×