Jump to content

Search the Community

Showing results for tags 'vops'.



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

  1. I'm trying to create a pipe HDA for Unreal Engine 4 that either calls upon a straight piece or a corner piece and then orients each piece accordingly. I feel like I'm going about it all wrong, but the result I have is so close! As you can see in the first picture, it's KIND OF working, but I think it might fall apart very easily. I've attached a hip file any help would be greatly appreciated. pipeorient.hip
  2. After setting up the rotations for packed objects in point vops (after scattering), I just couldn't do the same for scaling and translating. I want to find a solution for cases where the scattering has already been done (or there are many instances of the same object). Can some one help me out? Bellow is the hip file. packed_objects_debug.hip
  3. gradient r&d

    Hi all, I'm approaching something in H/Redshift which I've not really attempted before - So was interested to see if there were any thoughts surrounding it. Basically I'm trying to recreate the soft/feathered gradient seen in the attached ref image. The inner hard edge I'm planning to achieve with some transformed geo floating above the grid below, however the super subtle feathering is challenging me a little. At first I though of using a simple attribVOP on a grid > point Cd. However I'm nut sure how to achieve the outer feather using that technique... Similarly with an attrib transfer from geo > grid it seems not very feasible to get the extreme feather unless the mesh is crazy high res? I'm continuing to experiment & look through forum threads, but if anyone has some suggestions/tut links/examples etc. would be very much appreciated! (Worth noting system = H17.5.258 & RS 2.6.43) Thanks in advance!
  4. Hi, I try to offset a texture with a For Loop in a shader. In the example file you can see I iterate 5 times and offset the texture 0.1 units with each iteration. Is it possible to combine all of the iteration steps and show the result of that in the rendered image? Like in the attached picture where I painted in the desired result with red. kind regards Jon forLoop_VexBuilder.hip
  5. Hey, I'm working on a building generator and I can't find a way to align my windows properly when the base shape of the building is oval. When it's a circle everything is okay : But when the shape starts to be oval, it looks like this : Here's the vop network I built to align it with a circle shape, but not functionning with an oval shape : I don't know what I miss to get it working... Cheers,
  6. Distance fall off

    Hi I am doing the entagma tutorial where he is blending from low poly to high poly object. In their example they are using a single point from a sphere to create the blend as in the image below . I would like to use a piece of animated logo to reveal between the two. Using bit of vex I found on this site I think I am getting the distance from sphere to each point on the grid but when I visualise it as Cd. It only seems to be taking a few points into account. What I expect is black circle around the sphere. Thanks finddistanceB.hipnc
  7. Hi guys, I'm building a volcano with chunks of debris flying out the top. I figure I'll just copy rock geo onto points emitted from a popnet. My understanding of vector math/manipulation and control is pretty atrocious; being a visual learner, I'm trying to focus on vops for now, even if the same thing could be accomplished in one line in a wrangle. I was wondering what the best way would be to assign random vectors to points. This is how I've attempted it: https://imgur.com/a/XAQ9ZCk However, when run through the popnet, they all seem to bias to the right, displaying a lack of randomness. From looking at the vopnet, is there any reason why this would be? Without adding a noise, would you guys have suggestions for a better method? I'm not against using a noise, I'm just trying to understand what's going on, and why my current set up is failing to randomise effectively. Also, does my fit range seem appropriate? It looks weird to me, but the defaults were no good. I've attached my hip just in case any of that is unclear. Hope you can help me out; Being an absolute ditz, Houdini math breaks my brain... vector_control.hipnc
  8. KNITTING MORPH IN VOPS

    Does anyone know hot to build a morph vop like this? ITS ON 15:45 Just the transform from the one into the other shape
  9. VOP NOISE NOT WORKING

    Hello dear forum, can someone explain why my vop noise in the end created nothing? Thanks in advance Ground_Study.hip
  10. Attached are two screen grabs. One is a vops set up that works to convert @N to @v. The other screen grab is my failed attempt to recreate this with vex. what is wrong with the vex? Thanks!
  11. Import attribute into VOPS

    So I started watching this excellent tutorial about creating a spiderweb and got 3 minutes in.... https://www.youtube.com/watch?v=LFkzD9cgxek It's over my head with the coding at the moment so I thought I would try to create the same with SOPs and a bit of VOPs. I got pretty far pretty quick, and everything works so far (some dodgy maths, and weird values that work), but I am stuck on the VOPs bit. I want to randomise the rotations for the spar angles, I have them setup as primitive attributes, each one having a different number. I can get the attribute into VOPs (I think), but I'm pretty stuck at how to implement the randomisation per piece/attribute. Any help appreciated. HIP file attached. ) spiderweb_v002.hip
  12. What XSI | ICE "Project a vector" equivalent on POP/VOPS? reference: http://download.autodesk.com/global/docs/softimage2014/en_us/userguide/files/iceref_Project_Vector.htm the node on XSI returns 3 things: RESULT LENGTH VALID any ideas? thanks in advance!
  13. I have 2 sets of points: 'parent' and 'child'. Both have the same number of points. I need each parent point to have a unique child assigned to it - no duplicates. I need to be able to animate in an active value for the parent points, so that they all become active in 3-4 frames. When a parent point becomes 'active', it needs to search for its nearest available animated point and set that animated point's id number as 'child_id'. An animated point is only 'available' if it doesn't already have a parent point, or in other words: if the child_id is currently unused. My issue comes from the VOP I've set up within a SOP solver. If there is more than one parent point becoming active on a single frame, I get multiple parent points assigned with the same child point. I need to be able to write to 'child_id' and read from it on the same frame, to make sure that I am not getting multiple parent points with the same child points (leaving some very lonely, parent-less child points ). Please take a look at my attached file. I've highlighted the important nodes, and the Find Attribute Value VOP in red is where the issue is originating. find_unique_child.hip
  14. I am trying to make a setup where I align an object orthographically and then after I do my operations move the result back to the original position. I have a working way for aligning but am sure there must be an easier way... My method for aligning now: - Create oriented bbox - Measure prims - delete all but largest, then delete 1 of the largest in order to just have 1 rectangle, 4 points - make a vector from point 0 to 1 to align with x - make a vector from 0 to 2 to align with y - make normals to align with z - in vops use the align vop to align the 0 1 vector to x then use the (rotated) normals to align with z Even though this works I assume (hope) there is a better way to find the vectors, using pointnumbers is not procedural enough imho so any tips here would be great. But then the part I can't seem to get... How do I rotate my result back to the original position? there must be a way to store the rotations and invert these or something but everything i tried didin't work. my vectormath and matrices could def use some work. ofcourse i can use a point deform but that would not be accurate enough plus i am 00% sure there must be a way to invert what i did in the first vop. Thanks!
  15. I Speak Whale - Houdini Project

    Hi guys, i would like share with all of you my latest personal project i did on my spare time. Hope you like it.
  16. Hi, I am trying to calculate the y distance of a cached fluid sim in a tank. and I would like to have a color going from from black at the bottom and white at the top. The idea is to then use this in Mantra to drive the roughness of the transparency or the tint to create an ocean shader. I am trying to do this using a vopsop, I have tried various methods that other people have tried and I can only get it partially right. most of the time it seems to be calculating the distance from the center rather than the Y distance. In the file attached I get the gradient at an angle rather than straight up. I am totally new to this and any help would be appreciated. points_from_volume.hip
  17. I was looking at the ripple sop and wanted to add some extra noise, I found that you can't just dive inside but it is compiled vex code so I figured it can't be too hard to recreate. Well I got pretty close but for some reason I am missing the high frequency displacement the original ripple has. Attached is an example of the ripple Sop vs my pointvop I guess I'll post the whole code first and then point out where my struggle lies: #include <math.h> #pragma oplabel "Ripple" #pragma opname "ripple" #pragma opicon SOP_ripple #pragma opmininputs 1 #pragma opmaxinputs 1 #define random0(xxx) (random(xxx)*2.0 - 1.0) #pragma label usecenter "Use Center" #pragma label t "Center" #pragma label freq "Frequency" #pragma label height "Height" #pragma label decay "Wave Decay" #pragma label scale "Scale" #pragma label speed "Wave Speed" #pragma label nripples "Num. Ripples" #pragma label seed "Random Seed" #pragma label up "Up Direction" #pragma export freq all #pragma export height all #pragma export nripples all #pragma export decay dialog #pragma export scale dialog #pragma export speed dialog #pragma hint usecenter toggle #pragma hint t vector #pragma hint up vector // Direction vector #pragma disablewhen t { usecenter off } #pragma range nripples 1 10 #pragma range decay 0.01 10 #pragma bindhandle tx xform "Center" tx #pragma bindhandle ty xform "Center" ty #pragma bindhandle tz xform "Center" tz #pragma bindhandle usecenter xform "Center" onoff #pragma bindhandle height ladder "Height" parm0 #pragma bindhandle scale xform "Scale" sx #pragma bindhandle up1 vector "Up" vx invisible(1) #pragma bindhandle up2 vector "Up" vy invisible(1) #pragma bindhandle up3 vector "Up" vz invisible(1) #pragma bindselectorreserved vex_group points "Ripple Points" \ "Select the points for Ripple and press Enter to complete" \ all 0 "" 0 0 1 sop ripple(int usecenter = 0; vector t = {0, 0, 0}; float freq = 1; float height = 0.15; float decay = 0.75; float scale = 1; float speed = 3; int nripples = 3; int seed=0; vector up = {0, 1, 0}; ) { float xc, yc, phase; float dist, len; vector pos; vector origin; vector offset; int i; if (usecenter) { origin = set(scale*random0(seed), scale*random0(seed+1000), 0); offset = t - origin; } else { offset = { 0, 0, 0 }; } for (i = 0; i < nripples; i++) { xc = scale * random0(i+seed); yc = scale * random0(i+(seed+1000)); phase = M_PI * random(i - (seed+1000)); pos = set(xc, yc, 0); pos -= P; pos += offset; len = length(pos); dist = height * exp(-decay*len) * sin(len*(freq*M_PI*2) - Time*speed + phase); P += up * dist; } } I am thinking the high freq noise is coming from the phase and there seems to be a distinction between random0 and random xc and yc are being generated with random0 and phase with random. Also if you look at the code in houdini the random is colored blue (whatever that means.. I always wonder what all the colors mean but I guess that's for another post) This part of the code: xc = scale * random0(i+seed); yc = scale * random0(i+(seed+1000)); phase = M_PI * random(i - (seed+1000)); How do I translate this into VOPs is the big question for me. Thanks in advance!
  18. Hi all! Posting this challenge here means i've spent a lot of time searching for a solution at this problem, no succed. It's quite simple: You have a set of points, a randomly event occurs for each one of them and once that happens I want to set the frame of the incident into a point attribute. I think is simple but i've been stucked for a few days, hope you guys can find a solution and bright me one more time. Thanks! I attach an example (failed) file. setFrameIntoAtribute.hipnc
  19. Hello. I'm trying to be a modern person and use the new material workflows from H16, however, I'm having a problem. If I mix two principledshaders using a layermix like it's suggested in the webnars and the docs, my rest position stops working (at least I suppose it's the rest). Maybe I'm missing something I made the file below to demonstrate the issue Is this the expected behavior? If yes, how do I work with displacement in this case? Thanks layer_mix_disp_debug.hip
  20. Squashy effect

    Hi node guys! I have a question that i breaking my non-programing head. I have this points selected based in the bounding object, I would like to push them out and make it look like is Squashing against any object in his way. I'm not using FEM because it didnt work in this case, actually dont know why. Thanks for any help or idea you can give me Jason.
  21. Squashy effect

    Hi node guys! I have a question that i breaking my non-programing head. I have this points selected based in the bounding object, I would like to push them out and make it look like is Squashing against any object in his way. I'm not using FEM because it didnt work in this case, actually dont know why. Thanks for any help or idea you can give me Jason.
  22. pcopen

    I'm learning Houdini. I'g trying to learn how to use pcopen specifically in vops. I'm very confused and am wondering if someone knows of a clear and concise tutorial of how to use pcopen in general. Preferably something other than Peter Quint's tutorials on the subject that are 7 years old and move very slowly. much appreciated.
  23. Hey all, I'm trying to do a set up in a point vop using houdini 15.5 and it calls for a Global Variable that was produced in someones set up in Houdini 12 but I cannot seem to find it or something that is similar? Is there another node? I cannot figure out a work around. Please help!!! (attached is a screen grab from the older set up using the node) Thanks,
  24. Like the title says. I'm trying to kind of make my way through the SHOP context, but my biggest problem is accessing information from the actual geo. I made a fairly simple scene where I am running a sin over the sphere's @pscale. In this case I'm just trying to have the @pscale control the principal shader's emission amount. I tried making an attribute VOP where I bind the @pscale to a bind export and then named it "lit". After this point I can't fin an answer online how to access and connect that attribute to the emission. I know it has to be the easiest and most obvious node, but I can't seem to find the answer. All help is much appreciated! size_lit.hipnc
  25. Hello, I know that there are plenty of examples of vop loops with point clouds, but after searching, haven't found an example/file that helps with this. I can get an attribute growth going with the basic like pc_filter and all of that, but now was trying to make that attib growth happen one point at a time(the closest ones from the points with the attrib initiated) and i can do that for the first point, but after that it doesn't do what i was expecting it to do, stops the growth after finding the first point... Imagine it should be something super simple that i got wrong, but if someone could take a look and let me know what i'm doing wrong i would really appreciate it. Here's a simple file showing where i'm at now Big thanks M odforce_pc_loop_problem.hip
×