Jump to content

Search the Community

Showing results for tags 'python'.



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

  1. Hi everybody, Can anybody point me to a way of getting text highlighting of the hou module while using emacs as an external text editor? Thank you!!!
  2. I'm familiar with python but new to python scripting in houdini. I'm wondering if it is possible to use a built in SOP like CurveSect inside a custom python sop? I'd imagine that should 'just' be a function call somewhere? Thanks Waldo
  3. some geometry tools

    Hello my friends! i made some geometry tools using python. i hope you all enjoy. https://vimeo.com/72528469 critique, comment and suggestion are very appreciated! thanks!
  4. tile index

    Hi, does anybody know how to change the tile index without recreating an Ifd? Is there any commandline arguments or python filtering for mantra? Thanks nap
  5. Hi there, has python more or less replaced hscript? I know some things are easier to do with one or the other, So I guess I'm just asking where people are mostly using what? In the docs, it states "HOM replaces the functionality of Houdini's previous scripting solutions, the expression language and HScript." is this true? I mostly find hscript in sample scenes I download from odforce. Sorry if this is a silly question, but I'm still green to all this Thanks!
  6. I am trying to create AI behaviour in the sop solver. I am able to update behaviours by using the prev frame data without any trouble. The problem is for one particular behaviour I need to save the position of certain points across a frame range, and use this data to drive the other points in the simulation. The solutions I could think of were: I tried using a pop network outside of the sop solver to birth new particles and access these points back in the sop solver. But the solver errors out if i connect the data from the pop network into the solver tree. I guess this is because i am making new points outside of the solver. I also tried to create new points using python and the `add` sop. this is terribly slow and almost brings the whole thing to a stop. The most obvious solution seemed to be to create a list attribute in python and save the data into it. But if i do this in the sop solver then the data gets overwritten per frame. Is there some way to create an attribute that could store an array or list of position data across frames. From the documentation i understand that only floats, int and vectors can be used as attributes. I could just append the new position data to this list per frame and access it later in the tree. Thanks ---------------------------------------------------------------------------- www.vimeo.com/tusk3d
  7. Toonbox Entertainment is seeking the following TD positions: Pipeline / Generalist TD Show TD Generalist Programmer VFX TD Pipeline / Generalist TD A Technical Director (TD) provides critical support to a production's artists, team leads and supervisors. A TD will design, develop, implement and maintain new tools and processes for a particular project or department. As well, during production a TD will troubleshoot and resolve technical issues as needed to keep production moving forward. Additionally, a TD may be tasked with shot production work when needed and where the shot work appropriately matches the skill set of the TD. Show TD A Show TD provides critical support to a production's artists, team leads and supervisors. A Show TD will support and help maintain new tools and processes for a particular project. During production, a show TD will troubleshoot and resolve technical issues to keep production moving forward. Additionally, a Show TD may be tasked with shot production work when needed and where the shot work appropriately matches the skill set of the TD. VFX TD The VFX Developer is responsible for creating new, powerful tools or augmenting existing ones with innovative features that allow other studio artists or developers – whether fellow VFX crew, TD staff, technical animators, lighters or anyone else – to execute CG visual effects that support the styles and narratives of the stereoscopic films currently in production. Collaboration with all other crew members during design, development and production duties is critical. The collective goal is to generate exciting visuals using powerful and efficient tools and workflows. Requirements: · Experience working with and building tools for Maya, Houdini or any other production modeling, animation or effects software; also, exposure to Yeti or another fur and hair system is a plus. · Strong programming skills, including proficiency in Python, PyQt, MEL, and Linux shell scripting; C++ or C are a plus. · Production experience in computer animation, visual effects or game development. · Strong R&D experience in artist tool development and toolset integration within existing or new pipelines; a proficiency in mathematics is a definite asset. · Experience with Nuke, Fusion or other compositing software. · Experience with Renderman, 3Delight or other Renderman compliant renderers. · Experience with Tractor, Deadline, Qube or other render farm management software. · Experience with software version control systems like Mercurial, SVN, Git or other similar structures. · Ability to establish priorities, work independently or within a group, and work with minimal supervision. · Exceptional communication skills in dealing with both technical and artistic groups and individuals. · Exceptional trouble-shooting and problem solving skills. Education: · B.S. or M.S. in Computer Science, Engineering (or equivalent) is preferred. Other Desired Skills: · A strong combined technical and creative background with in-depth knowledge of current 2D and 3D computer graphics techniques as they are used in the feature film and media production industries. · A professional history of collaboration on projects with teams of varied sizes and disciplines. · RI filtering experience with Renderman compliant renderers. · UI development experience with PyQt or wxPython.
  8. My python Code Not working

    Hi guys i'm newcomer in Houdini, my simple code not working and don't show error in Houdini console! i changed the Tag Name to "osk" from "osm" but i don\t see error 'Bad file type' in console. import xml.dom.minidom document=""" <osk version="0.6" generator="CGImap 0.1.0" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/"> <bounds minlat="40.7432000" minlon="-73.9897000" maxlat="40.8052000" maxlon="-73.9304000"/> <node id="1420631950" lat="40.7711745" lon="-73.9792204" user="Aaron Lidman" uid="53073" visible="true" version="2" changeset="15468871" timestamp="2013-03-23T17:11:31Z"/> <node id="1420631974" lat="40.7716867" lon="-73.9779803" user="Aaron Lidman" uid="53073" visible="true" version="2" changeset="15468871" timestamp="2013-03-23T17:11:31Z"/> <node id="1420631985" lat="40.7694268" lon="-73.9788969" user="dchiles" uid="153669" visible="true" version="1" changeset="9189979" timestamp="2011-09-02T04:12:03Z"/> </osk> """ map = xml.dom.minidom.parseString(document) if (map.documentElement.tagName != "osm"); print('Bad File Type') return [/CODE] Thanks
  9. Is it possible to create a python operator type which is a Geometry object operator ?
  10. Hey, i got a little problem. The code autocompletion (Ctrl+Tab) in the source editor/shelf-tool-script-editor doesn't work for me. Anyone know how to fix this? btw. in the python shell everythings works as expected. Thanks
  11. Python Helixes

    This SOP written entirely in python creates helixes from the geometrical points. >It calculates the center of the geo and each helix is created in the direction of a Vector from the center to the point. >It works even if the geometry is translated and rotated by pre-transforming and post-transforming it. >It provides controls for controlling the shape length etc of the helixes. >It creates point attributes "tangentx" "tangenty" "tangentz" which are the components of a normalized vector tangential to the helixes at every point.These can be used to add tangentail normals using point sop. >It creates point attributes "init_x" "init_y" "init_z" which are the co-ordinates of the birth point of every helix.These can be used to group them. Feedback please Helixes_from_geo.otl
  12. Is there any existing functions for extracting the final Transformation matrix that used for a copy or an instance. I am aware of the rules that create it : http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=6679 but are there any existing python functions (or easy methods) that allow you to extract this transformation matrix from a hou.Point() Object ? Thanks in advance,
  13. A few days back I stumbled on a Minecraft renderer that took a long time to calculate, but could generate some nice pictures from Minecraft maps. I thought that I could cut down the rendertimes by importing them into Houdini and could also work on my Python skills in Houdini at the same time. There are some realy nice projects out there that could use a better render engine than provided in-game, or the slow one I found. I've got the basics working, Houdini can now import the chunks, create the geometry and texture the blocks. The chunks are quite big (16x16x256 blocks) so I've build in some options to skip some chunks. The main problem that I'm facing right now is speed. The pieces in the pictures below are already 3.3 milion poly's, so I need to find a way to cleverly cull the poly's you won't ever see. If you guys have some tips on this, please share them Another problem is the texture filtering, is there an option to just keep the harsh edges in the textures that are in the game (Instead of filtering/blurring them). Next up is entity support, and different geometry types that one can find in the game. Let me know what you guys think.
  14. Sorry, I am new to Houdini scripting What I want to do is to make a script that can animate a character. I would like to control the center of the character while fixing the foot on the ground with IK. How can I do that ? Thanks. Shihui
  15. Pyton Optimization

    Hi All, I was just writing a bit of python code that goes through an object and creates a dictionary of attributes and vertex indices. It works fine for small meshes(under 100k Points, but as you get bigger it inevitably gets slower. I've tracked the majority of the slowness to a couple of lines that is run many times (per vertex) attribStack[name].append(v.point().attribValue(attr)) indexStack[name].append(v.point().number()) I think this is because of how HOM is accessing the info (or better, how I am accessing the info through HOM) here is the code block : attribStack = {} indexStack = {} for attr in myGeo.pointAttribs(): if attr is not None: name = attr.name() attribStack[name] = [] indexStack[name] = [] attribStack[name].append(str(attr.dataType())+str(attr.size())) indexStack[name].append(str(attr.dataType())+str(attr.size())) for prim in myGeo.iterPrims(): for vid in xrange(prim.numVertices()): # get vertex v = prim.vertex(vid) attribStack[name].append(v.point().attribValue(attr)) indexStack[name].append(v.point().number())[/CODE] The basic things that I need to happen are : Create a list of values for each attrib Create a point index on the vertices (for shared data) Any thoughts on other ways to optimize this bit of code. perhaps I'm missing the obvious answer.
  16. I want changing defaults when I click some shelf icons. python's parameter object has reverting default method, but hasn't set default method. hscript side, I don't know where to dig. please, help.
×