Jump to content

Nicolas90

Members
  • Content count

    8
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Nicolas90

  • Rank
    Peon

Personal Information

  • Name
    Nicolas
  1. Dear community, I am currently playing around with heightfields in H17 and would like to create a little island for Unreal or Unity3D. I am using the erosion filter to generate shape-features as well as water and debris masks. I really like the distribution of water areas for rivers and lakes. However, except for distributing fluid-particles around these regions and performing heavy simulations which I could bake to meshes, I am out of ideas. Especially in non-planar areas I don't know any technique that would create realistic water surfaces. For a game-engine I would usually just need the top surface parts of the water. Does anybody have an idea on how to achieve that? I am thankful for any feasible approach or idea. Best wishes, Nicolas
  2. POP Attract by points with different attraction forces?

    Hello Navneet, thank you so much for your response. The knowledge that I can modify particles behavior inside the vex expressions field is helping a lot. However, what I would like to do is changing the particle behavior according to the point values inside the goal's point cloud. Would you or anyone have an idea on how to do that? Best Nicolas
  3. Dear community, I am working on a little particle system that I need some help with and I hope that you can help me out somehow: I am emitting particles from points A. These particles are attracted by another pointcloud B via POP Attract, with the attraction type set to points. So far so good. My question is now: How can I vary the attraction force inside pointcloud B for each point? Is that possible? I've been looking into and reading the docs, of course, but all to no avail. Does anybody have an idea on how to solve this issue, meaning giving the points in pointcloud B varying attraction forces? Is there an attribute that I have to apply on pointcloud B, that POP attract could use? Best wishes and merry christmas and Chanukka, Nicolas
  4. Hello dear community, I am having trouble scripting a second button on my hda. Both functions for the two buttons have been defined in the OnCreate callback in the scripts tab. While the first one is working fine, clicking the second one throws an error, saying the function or attribute defined in the parameter settings is not available. The callback-parameter for the first button has the value: kwargs["node"].hdaModule().OnCreateCurveButtonPressed() The second one has the parameter: kwargs["node"].hdaModule().OnCreateSectorsButtonPressed() And this is the error message that the console throws: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.607/houdini/python2.7libs\hou.py", line 23413, in __getattr__ def _SIDEEF_getattr__(*args): return _hou.HDAModule___getattr__(*args) AttributeError: 'module' object has no attribute 'OnCreateSectorsButtonPressed' Does anybody know whats causing this?
  5. Hello dear community, I'd like to build a simple HDA that lets me build a street from a curve. I'd like to have it configured in a way, that I get the same controls as we get for the Curve-Shelftool. I already found a handle called "curvepointoptions" which only lets me modify existing points. However, what I am trying to do, is to start from a blank state with all the options. Can anybody tell me how to properly setup such a tool? I already dug into the documentation, but I still can't make any sense of it. All the best, Nicolas
  6. Getting point neighbor in Python

    Hello dear community, I am currently trying to setup a city generator as part of my bachelors thesis. For a basic street layout, I am using a voronoi sop on a plane and fuse these points. It would be a big ease to be able to find the neighbors of a point (not vertices) and get their position. I did some workaround by creating a dictionary with position vectors and counting the positions that match, so I can at least count the neighbors. Does anybody know a trick or a function to do this in pythin? I know there is a VEX function that does that, however I don't know VEX pretty much and I am having trouble understanding their usage, although I read the docs. Any kind of help would be much appreciated. Best regards, Nicolas
  7. Question regarding UV attribute of vertecies in Python

    Hello Edward, thank you very much for your reply. I already tried the following: # This code is called when instances of this SOP cook. node = hou.pwd() geo = node.geometry() # Add code to modify the contents of geo. for vert in geo.prims()[0].vertices(): vert.setAttribValue("uv",(0,0,0)) However, the node fails and states that the attribute doesnt exist Is there any way to read and print out all properties in the console? EDIT: I found out how to query the verts Attribs, but the tuple that gets returned is empty
  8. Hello dear community, I am just writing a little Python sop that can Unwrap a polycurve like a uvtexture node does on a nurbs curve with [Arc Length Spline] setup. My question is, what is the attribute name of the uv coordinate? I tried uv and uv[1] as its shown on the spreadsheet. Does anybody know the answer? Best wishes, Nicolas
×