Search the Community
Showing results for tags 'normals'.
-
FFX Geometry Explainer is an assistive HDA for Educators, and DIY learners. As a beginner, have you struggled with understanding how Vertex, Point, Primitive, Detail, UV Seam, Edges, Half-Edges, Normals, Normal winding, and Shared/Unshared points relate in Houdini? This HDA should help. https://davidtorno.gumroad.com/l/geometryexplainer For Educators, there is an unlocked option, so you can dive into the tool build and customize it to your specific needs if you like. For learners, there's a cheaper basic version that is locked, but has all the same learning info.
-
- 1
-
- explainer
- educational
- (and 13 more)
-
I try to make some leafs using copy to point node, but dont know how to set normals correctly. I use normal node, scatter some points, and when use copy to points node. But some are upside down or looking to other side. How to make so they all look up?
-
Hey All! Currently I'm almost a month in now, trying to accomplish something inside houdini as a complete newbie. I was hoping there would be someone out here that has the knowledge to help me out a bit. Every tip is a helpful one for me at this stage entering the amazing world of houdini! So this is what I'm trying to accomplish. I'm trying to simulate a logo inside a big bath full of chocolate that slowly sinks down and drowns in the thick, viscous fluid. I got everything set up with an ocean source, narrow band particle sim and got everything cached. It looks pretty fine, until I continue to the meshing part. I've already spent quite some time trying to get to know the particle meshing tools inside of houdini, and for this case the best one turns out to be the workflow using the VDB toolset (since It gives me the most flicker free results). It get's pretty smooth as well, and I can give it a final smooth using a normals node, followed by a attribute blur that blurs out the point normals. Now comes the part where I'm getting stuck: I'd like to export this to another 3D application. In this case Cinema 4D. But unfortunately, I can't seem to figure out a way to transfer over these smoothed normals to an alembic file. What could I do to render out the pretty result in cinema, like I'm getting in houdini? Thanks a bunch in advance guys! I already learned A LOT from all the crazy talented people on this forum, so thanks a ton for that already. Stay safe,
-
Hi all, I am in the process of trying to make a procedural building system and have seemed to encounter an error. I have a very small piece of vex code that is deleting top and bottom-facing prims by checking if their @N.y value is <0 or >0. vector ynorm = @N; if(ynorm.y > 0 || ynorm.y < 0){ removeprim(0,@primnum,1); } A few primitives which should have a @N.y of 0 value have incorrect values like -5.67663e-0 or -1.0457e-07. This is causing primitives that should not be deleted, to be deleted. How can I correct these normal values?
-
Hello all! I have this problem where my sweep is being flipped on random frames. It seems the points on my animated curve are jumping around in the spreadsheet (but not visibly). The curve is generated from a A-BSeam group from a boolean of a cylinder and a big noised-up box that goes through it. This is then resampled to get a constant pointcount. I'm resampling on every frame so this is the problem I think. The curve then travels upwards. I generate an up-vector with a simple wrangle @up = set(0,1,0); and then feed it into a sweep. The sweep looks fine and works well but on certain frames the whole thing flips and the sweep flickers. I've made a video to show the problem that you can see here: https://drive.google.com/file/d/13Ch6K2lNKK5diDRQggiNkFwXTKsC3GCP/view?usp=sharing Here is the HIP-file: https://drive.google.com/file/d/1M1WPRLivDL4PzK9v_1I99UOruoVweCVG/view?usp=sharing
- 2 replies
-
- cross-section
- sweep
- (and 4 more)
-
Hi folks, So I just tried to use a tangent space normal map in houdini, and I'm getting seams. This is a regular pain getting the baking tool and render engine synced, and I was hoping houdini would work perfectly, but I'm struggling. I'm not a normal map noob, but I still may have missed something. It's not inverted axis or those things - it looks like one of the more subtle issues that can occur. Is there a specification somewhere for what tangent basis houdini uses in the gl viewport? I have googled around for a while and didnt reach any breadcrumbs to lead me further yet. Any help much appreciated. cw
-
Greetings all! I need to align an object to a point (without using Copy SOPs). I found a short tutorial on this that uses a VOP SOP with "Align" and "Extract XForm" nodes. This works exactly as I'd like it to, but I need to rebuild it as it was created in Houdini NC, and is also a few years old so it appears some of the nodes have been deprecated. I did my rebuild approximating the original file with non-deprecated nodes, however, I'm not getting the normal-to-rotation alignment I need and I'm at a loss for where to look to resolve this. Attached are screenshots, one derived from original file (Non-commercial), the other is my re-build (Indie). The results in the Geometry Spreadsheet tell the story. Respective .hipnc and .hiplc files are also attached. Preemptive thank to any responders! NpF N_to_angle_NonCommercial.hipnc N_to_angle_Indie.hiplc
-
Is it possible to use point normals for displacement shading? I'd like my grid to displace in the same direction as the normals are in this video. Houdini Tutorial #7 (Point Normal) - YouTube
-
Good day everyone! I am still in my baby steps using Houdini so please indulge everything that might seem obvious in my problem ^^ I am following this sidefx tutorial by Tim Van Helsdingen only to apply it to my specific needs (A filled chocolate bar in my case..) anyway.. my issue is that when extruding the geometry to the inside to thicken the chocolate surface it comes rather okay except for the substracted logo/text zone where it goes all over the place creating artifacts and overlapping all over the place.. My noob guess is that it has something to do with the normals for the text area making them go horizontally rather than pushing them down like in the rest of the chocolate bar? PS: Lowering the extrude height is not an option for me as that's the minimum thickness I am allowed to use. I also don't think my workflow/geometry is the most optimized and could be that the previous boolean operations are causing this issue so feel free to point out any tips to improve that! Thank you very much in advance. Blanc_01.hip logo-galler.ai
-
I need help I newly started with Houdini and doesn't know hot vops and vex works and I want to create a line where the normals are pointing in a different direction while keeping a 90-degree angle to the line. I fount a tutorial on the internet which only make the normals point in a random direction but not in the 90-degree angle I tried to set the normal direction to zero with floats and stuff but it always results in vex errors. @N = sample_direction_uniform(rand(@ptnum)); rand nomrals.hip
-
Hello fellow magicians, I have a Point Wrangle with 2 inputs: each input has 1k pts which are sorted to match. I am trying to create a primitive (line) pointing from a point from the set 0 to the corresponding point from the set 1. I have adapted some VEX (as in the image) I found on the forum but it doesn't behave as expected. Instead of connecting corresponding points, it connects all the points from one set to a single point in another. Finally, what would be the best method for creating a normal in the direction of the created primitive?
-
Hi, Is it possible to set up the normals of these points procedurally using vex or python? I just set point attribute to every point with vex, but could I make it more procedural if I had more or less points, for example?
-
Hi I'm trying to add up deformation from 2 animated objects (or rather, same object with 2 animations, so the topology is the same). I've been reading up on this but wasn't able to find anything. I was wondering wether anyone had an idea how would you go about this? My only guess is matricies, but I haven't used them in quite a while and would probably start learning over, so to avoid unnecessary time sink I wanted to ask wether someone did this with matricies succesfully? Hopefully its pretty clear what I'm trying to achieve, but if not I found this post which describes the same problem and has example file with the issue in question.
-
- deformation
- animated
-
(and 2 more)
Tagged with:
-
This is a simple network consisting of a circle with a scatter node that's followed by an attribute wrangle to create (and orientate) some normals upward. It's working but I'm curious as to why all the normals lay down as they get further away from the center of the circle. Here's what's in the Att Wrangle :: vector a = set(0,1,0); @N = normalize(a+@P); Increasing the Y parameter affects the normals' direction (e.g. a value of 1000 forces them straight up without a noticeable difference in their relative angles, where a value of 1 has the noticeable falloff like influence). I'm wondering why it has a stronger influence toward the center of the circle?
-
Can someone explain why the circle is born with inverted normals when orientation is ZX Plane, in both H17 and H17.5?
-
Hey all, Apologize in advance for the noobiness, but this must be the right place where to ask. I'm trying to instance more than one Spotlight to a deforming geometry. What I've done so far was scattering points over a mocap and riveting a spotlight on a single point. My question is: Is it possible to procedurally instancing spotlights on every single point, possibly following the normals of the deforming geo? Might sound a tricky question so that's my .hip file attached {{ dnw5.hip }} Much love
-
I'm running a for-each-connected loop, and need to rotate separate shape such that the largest face is down, for example the one marked L is the largest for the shape in the image. I have a theoretical idea, no clue how to implement it, and not sure if there is a faster or simpler way: (1) get the largest face (no idea how) (2) rotate till the normal of the largest face is facing down Again it's too theoretical, but if you have a way that would turn these flat on they largest face I'll be grateful
-
Can you help me/ Problems with displacing along normals in for -each node. how to attach them? it will be a planet will separated part with good detailing in unity. Sphere_displace_part.hipnc
-
Before I go ahead and try an overcomplicated approach using raycasting I thought I'd check to see if anyone here has a simple solution to this problem. I have a model from maya, that has had many sections mirrored, thus creating sections with primitive normals facing inward rather than outward. Is there a simple method of making all normals face outward? All of the poly shells are enclosed as well, so no open surfaces to worry about.
-
Hi guys, I've already posted this on FB group with no answear so you're my last hope. I have a problem with normals demonstrated in the video, basically object animated on a curve and aligned to the curves tangents hits a geo and gets stuck in it but it doesn't rotate along with it. So basically the question is how can i match the movement of normals of the object beign hit and hitting so that it rotates properly? Here is simplified .hip: link
-
Hello, I have a ripple sim created with a sphere moving through a grid and the points deforming based on the velocity transferred to said grid. What I am trying to do is isolate the geometry based on where there are ripples via colour then as the rippled geo begins to settle back into what it was originally have that colour fade back to black. I'm halfway there I think. I was able to isolate the rippling parts of my grid by using a facet to compute its normals and then a point SOP to add colour based on the normal in it's Y (@N.y < 1). I was thinking of trying to use a vop or another point sop to make it so when the normal is between x and y multiply the color by 0.95 to get it to fade over time but was wondering what other ways I could try to do this. Cheers, JP ripple_example_1.hipnc
- 6 replies
-
- ripple solver
- deforming
-
(and 4 more)
Tagged with:
-
I'm trying to build out an idea for an HDA that would create a vine along a surface based on a find shortest path SOP and some controllers for where the start and end points would be to control how long the vine is. This is mostly intended to be a tool in a realtime engine with the idea that it would be cooked into a static mesh (so it doesnt need to animate). I have the main branch generating fine but I am attempting to create some branching points from the main curve to create child branches from this main branch. However, I'm fairly new to Houdini and kind of stumped where to go from here. Currently I'm scattering points from the main branch and attempting to drive them away from the main branch while following along the surface normal of the underlying mesh. I've got something really basic(just sending them out at a random vector direction and snapping them to the surface) but I feel as though this method doesnt give me any control. I thought about trying to make the branches use a find shortest path as well but Im not sure how to control where the start and end points would be procedurally, hence why I was trying to create curves along the surface normals in an attribute wrangle instead. I attached a .hip file for anyone willing to take a look. Thanks for any advice, I appreciate any pointers in understanding VEX better. IvyGrowing.hip
-
I am not sure why the normals are not working as I think they should, but I am trying to model a simple belt and have the decorations follow the belt. I do not want to add an old point SOP to make all normals point upwards, but rather have them follow the belt. Would you mind telling me what is wrong in my model? Thanks. Belt.hiplc