Jump to content

Search the Community

Showing results for tags 'attribute'.



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

  1. as you can see the code below: i[]@values = findattribval(0,"point","random_number",3); for(int i = 0 ; i < len(@values) ; i++) { if(@ptnum == @values[i]) { @pscale = ch('specific_pscale'); } else { if(@ptnum != @values[i]) @pscale = ch('rest'); } } the second if inside the else doesn't work properly. Specific_pscale.hip
  2. I'm trying to make the geometries attached to a sphere (using the "copy to points") to change it's Base Color considering the texture color of the sphere's surface. I've already tried "attribute from map" using the same sphere's texture but the colors are not in the same position.
  3. I have two sets of color data for a single geometry. One is the color that I want the geometry to look like when rendered. The other is black and white and I want to use that to drive opacity on the 'Constant' material that I have applied. I have tried caching the geo with b/w and then using that on 'Get Attribute' node in the shader network. I tried a few settings, but it just turns opacity to 0/black and my geometry isn't visible after rendering. The geometry that I am working on is a polywire output. They are a lot of long and thin cylinders. Each cylinder has a gradient from one end to the other. This gradient is the black and white color that I want to use for opacity. The required output is to have these strand like objects have an opacity gradient. Where one end is invisible and the other is visible. I have the color data that has mapped it as I want. Just need a way to use that data on opacity parameter on the 'Constant' material. So what can I do to achieve the aforementioned output?
  4. Noob question XD Like when I manually create some attribute for the shader, @emit @brightness @width or other attribute, how can I transfer these attribute to Redshift ?
  5. Hi there, So I'm trying to fit the point velocity attribute range from 0-1. In my test scene, I have a simple RBD sphere shooting upwards and slowly slows down once landed. I'm using the length of velocity, promote it to detail attribute with min and max v and imported the detail attributes in a second wrangler where I fit it in an attribute called @speed, the issue is instead of @speed going from 0-1, it always starts at 0.5? Or is my setup wrong? Thanks. *hip file attached* min_max_v.hip
  6. Hello ODF, Thanks for all the help, this is a great site for looking up things but i have to dip my toe in and ask a simple question: I'm having trouble with an expression inside a switch node, i want to change the switch from one input to another based on detail I've created from a filename I'm a complete novice when it comes to expressions, would someone steer me right here? Thanks in advance!
  7. Random vellum pressure

    Hey ! I am trying to learn how to achive this kind of effect ! Do you have any idea / tips how to achieve something similar with vellum pressure controlled by an attribute that "inflate and then deflate" with this kind of random poping effect a grid shape like this one ? Credits : https://crea.st/Balloon-2019 Thanks in advance !
  8. https://i.imgur.com/FsowZvp.mp4 Take a look at the above example. I'm transferring the Vellum i@stopped attribute to some cloth that is covering an object. I'm using a flat grid that animates top down over the surface while transferring the attributes. My issue is the i@stopped attribute is turning off again as the pieces of cloth fall away, outside the range of the attribute transfer. Is there a way for me to transfer the attributes and have them stay on the Vellum cloth once they've been transferred, no matter where they float away to in the scene? File attached (apologies it's 9mb - The statue geo is frozen in the scene). Fabric_Tear_v01_temp.hipnc
  9. Hi, can someone please explain to me, why we would set the run over parameter in a wrangle node to detail or points? What is the difference between these two? I know that run over points means that the vex code is run over each point in parallel, but what exactly is run over details? Thank you
  10. Hi guys! I've been hitting this wall project after project. I am not good at scripting, but i was wondering if a script or a function could be done, or if it's a crazy idea. Well, usually when I recieve a model from a modeler, the guy has already assigned materials to the model, that houdini will read like shop_materialpath. Ok, now, if the model has 10 or 20 different shop_materialpath, it's really painful to check 1 by 1 the names and make 1 by 1 the shaders with the same name under the mat context. Do you think there is a workaround in scripting to make this process automatic? What is your workflow about this subject? Have a good day guys, if I get anything working I'll post it here, since I think it could be a really cool tool for everyone!
  11. Hi I'm currently following the vellum docs for using the collisionignore and collisiongroup string attributes. Everyrthing works fine when I specify the collisionignore group directly, however when I try to tell vellum to ignore all groups except for one that I specify, it doesn't work. I've made a basic scene to demonstrate the problem. Here is the code that I use: s@collisionignore = "top"; - This one works s@collisionignore = "* ^bot"; - this one doesn't work TLDR “* ^foo” rule stated in vellum docs doesn't work fo me, what am I doing wrong? Houdini dosc for what I'm talking about here(collisiongroup and collisionignore): Docs intersections.hiplc
  12. Hello! I want to reduce the particle points and tried to do using "point wrangle", but there are no results. How do you know to reduce the particle particles using "point wrangle"? I threw off a short video GIF examples here and another project: particle_point.hipnc
  13. Hello; In a simple Flip simulation, I assigned an attribute (called "myAttrib") to the particles. Now I would like to change my attribute on some group of points over time. The "Gravity" node changes the position of particles, so I can't use "SOP Solver"... How can I change the attribute's value of (some) points, during the simulation? Thanks for helping. Flip_01.hip
  14. Hey all, Ive been following a tutorial on how to transfer the UV's to simulated flip fluid and all was going well untill I added a remesh node to the transferred UV attribute which was supposed to smooth out the mesh to preserve the detail of the texture. Instead what has happened is that the UV's have gone from being seperate shells to having all their edges connected together. There is already a vertex split in the node graph which fixed the issue before I added the remesh node. Any help would be greatly appreciated, I've provided the scene file - thanks a bunch Melting_Example_v001.hiplc
  15. Hello everyone, I'm hoping this is a super easy one, and I'm just missing something simple. I'm reading in an attribute into a vellum sim, to use it as a falloff for some forces. The problem is it's only reading the attribute on the first frame. I'd like to be able to read in these attributes every frame, to adjust the falloff. I've attached the hip to illustrate the issue. Any help would be greatly appreciated! Cheers! AttributeUpdateDOPs.hiplc
  16. Alembic pscale export

    Is there a workflow to export particle animation to Alembic with a pscale included in the file?
  17. Hey guys, I am currently stuck with a tool I am writing. I have a json file that contains data from Clarisse and I wrote a shelf tool that re-creates Clarisse's scatter in Houdini. I went the path of creating an Add SOP with the python script with all the points from Clarisse and their position data, a few Attribute Create SOPs, CopyToPoints SOP and the asset file. Now I need to add my orient attribute to the points based on the XYZ rotation that is saved in the json. The problem I encounter is that I actually cannot add point attributes via the shelf tool python script, right? I tried to find a solution to this but as far as I understand, as long as I am not working from a Python SOP or the shell I can only call the geometry() object as read only or freeze() it but then I cannot write the attributes back onto the points(?) Is there something I misunderstand or another workflow I am missing? If one you has an idea or solution or other comment, I appreciate it Thank you! Dziga
  18. how to add point attributes in string ?

    Hey all, I was trying to create instance path in vex and trying to use few bgeo sequences, I have different wedges for my main geometry and I want to use instance path in such way that. It will change directory path based on point attribute. it looks something like this, "$HIP/houdini/geo/test/wedge_`chs("parm")`/test.wedge_`chs("parm")`_`chs("../Version/vers")`.`chs("frame")`.bgeo.sc" but when I try to use point attribute in string, it doesnt work, or maybe I dont know the right way to write the syntax. I have to create parameters and call it. but it doesnt work accurate. can you guys please help me with it ?
  19. Hello, i want to control the emission of new born primitive using pscale attribute in redshift like this im able to do it on mantra using bind node but how to do it on redshift..? torus_Odforce.hip ODforce.mp4
  20. 皆さん、はじめまして! 私は単純な問題に苦しんでいます。 私がやりたいのは、エリアに入るときにcopyAreaを恒久的に1に修正することです。 現在、ポイントWrangleで属性をコピーしようとしていますが、copyareaはareaと同期して0です。 サンプルシーンをアップロードしたので、ご覧ください。 あなたの意見を聞きたいです。 copyAttribute.hiplc
  21. I'm trying to transfer the Uvs from the model to same model which I made symmetrical... but UVs are stitching... I need exactly the same without stitching from the first input...how to resolve this!!!!????? the result should be like 2nd image
  22. For Each attribute

    I'm running into an issue where I'm trying to assigning Prim attributes inside a "for-each count" with a wrangle. I'm aware they made changes to how for-each loops work since 16.5. but is there a way to promote the attributes some how? I saw that some one made some example in the past... but it doesn't work for what I need. using a name mask before the loop won't work with my set up. Is there a way to assign id's a in a wrangle inside the for-loop? Thanks,
  23. Hi I’m working on a building destruction shot, and I’m trying to create a ‘clump’ point attribute using a Point Wrangle in a For Each Number loop(Which I’m struggling to get my head around) . I’ve used a Point Wrangle with the expression @clump = 1 + prim(1, "class", 0);. This should take the second input of the wrangle node and assign the value of the class attribute + 1, to the clump attribute, but the clump attribute is 0.0? I've attached my hipnc file so hopefully it makes a bit more sense. Thanks a lot! Josh BuildingDestruction_001.hipnc
  24. Hi guys, Im a little stumped on a vex issue im having whilst trying to utilize the nearpoints function when building an array. The idea is that i have multiple curves, each with different colour values, which i group the end points of and then run a function which gathers all the nearest points to each of these endpoints and assigns them to an array. (this is currently working as can be seen in my spreadsheet.) However, i then wish to take this array that has been created for each of the endpoints and run an if statement through it that says if the points in the array have a different colour value to the end point they belong to then add them to a group. Im then hoping to perform a nearpoint function using this group as a filter to get the nearest point that belongs to any curve other than itself. Im unfortunately having an issue with this if statement as it seems to only output points 0-9 regardless of the previous rules set in the code. Help is really appreciated as im truly stumped on this one. Thanks in advance guys! Nearest_Points_Array_Problem.hip
  25. FLIP - pprevious attribute - What is it?

    At first I thought it was the previous position of the particle but it looks like its the exact same position. Does anyone can explain this? Thanks
×