Jump to content

GreenGuy

Members
  • Content count

    16
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About GreenGuy

  • Rank
    Peon

Personal Information

  • Name
    Sascha
  1. Distance from center in shops

    Hey j00ey, thanks for the file. From it I realized that I simply had to change the transforms coming from the bounding box to object space. Rookie mistake. Thank you all for the help! All the best, Sascha
  2. Distance from center in shops

    I am not quite sure what exactly you mean here, sorry. I am still pretty much a beginner in Houdini. @Noobini: Hi there. I honestly dont quite know how to use that in a material. Where do I get the inputs from? I used the transform node in the past to measure the distance to a point and that worked quite well... I am assuming I have the wrong value for the center of the mesh. Can you tell me how you would do it in a material? Currently I have nothing connected to the bounding box node. This feels really wrong even though I am getting (the wrong) values...
  3. Distance from center in shops

    Before I do that, this is going to give me the distance from the world origin right? Not really the center of the mesh. If the mesh was postioned somewhere else, this would not really work right?
  4. Distance from center in shops

    Here you go. This file is a good example of what I am doing. ShaderExample.hip
  5. Distance from center in shops

    Yeah, seems like it I am probably not calculating the centroid the right way. How would you do it? I really have no clue how to do it in a shader, but in a point vop I can just average the bounding box outputs...
  6. Distance from center in shops

    Hey, so I did that and it did not really do anything. But it solved a couple of other problems I had, so thank you. Did not expect for shops to fall apart so quickly.
  7. Distance from center in shops

    yes, I did that. I just put a transform node between the P and the multiply.(To apply it to your example)
  8. Distance from center in shops

    Yeah I thought so, I tried transforming it into world space, but that does not seem to do anything...
  9. Distance from center in shops

    ok I will try that, but its going to take a while. there are a ton of references that will fall apart
  10. Distance from center in shops

    oh, i am working inside a classic shader
  11. Distance from center in shops

    what exactly do you mean with the material context?
  12. Distance from center in shops

    Yeah, I was hoping to create the effect in shader. If I have to do it for tons of meshes it could get quite anoying...
  13. Hi, I need to calculate the distance from the center of a mesh. It works quite well in a point vop I made, but when I try to do the same thing in my material, the result looks wrong. Does anybody know what the reason might be?
  14. VDB Opacity Ramp

    Thank you for your help, I am going to look that up
×