Figured it out: I needed to set the attributes before the tetrahedralize sop (I had them after). And I'd also set them to be point attrs, when they should have been primitive attributes.
Thanks for the help Michiel!
Found 680 posts.
Search results Show results as topic list.
Technical Discussion » Finite Element attributes
- goldleaf
- 4164 posts
- Offline
Technical Discussion » Finite Element attributes
- goldleaf
- 4164 posts
- Offline
Great, thanks for the explanations; that makes much more sense!
Is there something that needs to be toggled in order for per-point, sop-level attributes to be used by the solver? I can set v for all points, but not on just certain ones. And whenever I set attrs like solidstretchstiffness or solidshearstiffness, it doesn't change the behavior of the results (whether I'm setting all or just some).
There isn't some sort of toggle I have to set right? I've tried setting it on points before and after the tetrahedralize sop, but in both cases, I don't see any changes. I must be missing something simple, but I can't figure out what it could be.
In the attached file, I'm setting attributes to 1 all over, and to 0 on parts, since it's a multiplier, as I understand it.
Thanks so much for the help michiel!
Is there something that needs to be toggled in order for per-point, sop-level attributes to be used by the solver? I can set v for all points, but not on just certain ones. And whenever I set attrs like solidstretchstiffness or solidshearstiffness, it doesn't change the behavior of the results (whether I'm setting all or just some).
There isn't some sort of toggle I have to set right? I've tried setting it on points before and after the tetrahedralize sop, but in both cases, I don't see any changes. I must be missing something simple, but I can't figure out what it could be.
In the attached file, I'm setting attributes to 1 all over, and to 0 on parts, since it's a multiplier, as I understand it.
Thanks so much for the help michiel!
Technical Discussion » how to inherite the source velocity when emitting fluid
- goldleaf
- 4164 posts
- Offline
Also, you might have to uncheck Evaluate within Frame Range, depending on which scheme you choose for calculating velocity. Otherwise, no velocity on the first frame.
Technical Discussion » Finite Element attributes
- goldleaf
- 4164 posts
- Offline
I've been playing around with the finite element solver, and I can't figure out a couple of things:
- What do ‘shell’ and ‘solid’ prefixes refer to in the attributes? Is ‘shell’ for all of the tetrahedra exposed to air, and ‘solid’ are the interior ones?
- How do I get different properties in different parts of the object? In my hip file, I'm trying to vary materialuvw across a small block, but it doesn't seem to be picking up the differing values.
Thanks!
- What do ‘shell’ and ‘solid’ prefixes refer to in the attributes? Is ‘shell’ for all of the tetrahedra exposed to air, and ‘solid’ are the interior ones?
- How do I get different properties in different parts of the object? In my hip file, I'm trying to vary materialuvw across a small block, but it doesn't seem to be picking up the differing values.
Thanks!
Houdini Indie and Apprentice » Breaking problem
- goldleaf
- 4164 posts
- Offline
I wouldn't complicate it like that. Simply setup the fractured geometry like you want, then set the Creation Frame on the DOP Object to the frame you want.
And on the DOP Import, set it to ‘Import Geometry’, which will import nothing until the object is creating in the DOP network.
And on the DOP Import, set it to ‘Import Geometry’, which will import nothing until the object is creating in the DOP network.
Houdini Lounge » particles and trail sop question
- goldleaf
- 4164 posts
- Offline
On the Trail SOP, you'll want to have a smaller Trail Increment (think Step Size), and then increase your Trail Length (number of Steps), to get what you're looking for, I think.
And you can connect those with the Add SOP and the id attribute that comes from the particle solve.
And you can connect those with the Add SOP and the id attribute that comes from the particle solve.
Technical Discussion » Shattering shell mesh
- goldleaf
- 4164 posts
- Offline
It sounds like overlapping pieces. Try giving the Cut Plane Offset (Voronoi Fracture) a small value. Convex pieces have this in DOPs, but not Concave ones.
Technical Discussion » Segmentation Fault when rendering RBD Fracture object
- goldleaf
- 4164 posts
- Offline
Could you post a hip file? That helps get a better response, especially for problems like this.
Technical Discussion » Combining Tree Geometry
- goldleaf
- 4164 posts
- Offline
You should be able to reduce the geometry when going from vdb to polygons; try playing with adaptivity. Then AttribTransfer the uvs back onto the new polygons.
Can you post a hip file (if adaptivity doesn't help with polygon count)? Kinda hard to understand what's causing problems…
Can you post a hip file (if adaptivity doesn't help with polygon count)? Kinda hard to understand what's causing problems…
Houdini Indie and Apprentice » Shatter outward from center
- goldleaf
- 4164 posts
- Offline
If you want an outward motion, you just need to apply some outward-facing velocity to the pieces before they feed into DOPs.
If you're trying to get control over a radial distribution of fracture points, you just need to feed some radially-distributed points into the fracture sop.
Here's a hip file to demonstrate both of these, since you didn't post a hip file showing where you're at so far.
Hope this helps!
If you're trying to get control over a radial distribution of fracture points, you just need to feed some radially-distributed points into the fracture sop.
Here's a hip file to demonstrate both of these, since you didn't post a hip file showing where you're at so far.
Hope this helps!
SI Users » animation improvements in Houdini
- goldleaf
- 4164 posts
- Offline
I have long wished for an easy way to change the color of channels in the channel editor. Frequently, very similar (or exactly the same) colors are chosen, and I need to see them apart.
SI Users » FCurve node In ICE
- goldleaf
- 4164 posts
- Offline
pbowmar
You can still old-school it by using an animation channel, keyframes at 1 and 100 (and any inbetween) then use the ‘chf()’ function to look up into that curve. That's what all use grey-hairs used to use and still do when the Ramp parm lacks the interpolations you want.
Wow, awesome tip!
Technical Discussion » Example usage of GU_PolyExtrude code
- goldleaf
- 4164 posts
- Offline
Ah, I see! I've got it working now, very basic, but it's a good start! Thank you!
Here's the little snippet of code that worked for me, in case anyone else could use it. I have it wrapped inside of an inlinecpp module:
The hip file has everything inside, you just need to make sure you can compile HDK code, and you should see what's in the attached image.
Thanks edward!
Here's the little snippet of code that worked for me, in case anyone else could use it. I have it wrapped inside of an inlinecpp module:
import inlinecpp, hou test = inlinecpp.createLibrary("test", includes="""#include <GU/GU_Detail.h> #include <UT/UT_Matrix4.h> #include <GU/GU_PolyExtrude.h> """, function_sources=[ """void extrudeFaces(GU_Detail *gdp, UT_DMatrix4 *xform) { GU_PolyExtrudeParms parms; UT_Matrix4 mat(*xform); parms.setLocalXform(mat, NULL); gdp->polyExtrude(parms); }""",])
The hip file has everything inside, you just need to make sure you can compile HDK code, and you should see what's in the attached image.
Thanks edward!
Edited by goldleaf - June 9, 2017 15:06:45
Technical Discussion » Example usage of GU_PolyExtrude code
- goldleaf
- 4164 posts
- Offline
Ah, thanks for that nudge, Edward! I've got my code in an inlinecpp module, and it extrudes to no where, but it works!
When setting up a GU_PolyExtrudeXformCallback, I see *user_data is required, but I don't understand what that's supposed to be. Could you provide another bit of help for that?
Thank you!
When setting up a GU_PolyExtrudeXformCallback, I see *user_data is required, but I don't understand what that's supposed to be. Could you provide another bit of help for that?
Thank you!
Technical Discussion » Where is the Script Editor?
- goldleaf
- 4164 posts
- Offline
Windows > Python Source Editor, might be what you're looking for, apart from the Python Shell windows pane.
Technical Discussion » Example usage of GU_PolyExtrude code
- goldleaf
- 4164 posts
- Offline
Does anyone have an example GU_PolyExtrude snippet of code, showing how to use the extrusion? I can't find anything apart from the HDK doc page in the forum, via Google, or on OdForce.
I'm a pretty poor programmer, but it's fun to learn and experiment
Thanks!
I'm a pretty poor programmer, but it's fun to learn and experiment
Thanks!
Houdini Lounge » Can't export Alembic in Houdini FX HD?
- goldleaf
- 4164 posts
- Offline
It should be available in any Education license - they're exactly the same as Houdini FX commercial, except they save in hipnc format.
I too wish Alembic IO were available in Apprentice HD; it's such an efficient file format.
I too wish Alembic IO were available in Apprentice HD; it's such an efficient file format.
Technical Discussion » Question about upcoming Graphics Card requirements
- goldleaf
- 4164 posts
- Offline
Technical Discussion » GLIBC_2.14 not found
- goldleaf
- 4164 posts
- Offline
Technical Discussion » GLIBC_2.14 not found
- goldleaf
- 4164 posts
- Offline
For anyone other's who need a newer glibc under Wheezy, I had no problems (so far) installing it from Jessie in my setup.
I roughly followed these instructions (http://linuxaria.com/howto/how-to-install-a-single-package-from-debian-sid-or-debian-testing?lang=en [linuxaria.com]), though I ignored anything to do with sid, and just added Jessie to my list.
This is what my /etc/apt/preferences file looks like:
Package: *
Pin: release n=wheezy
Pin-Priority: 700
Package: *
Pin: release n=wheezy-backports
Pin-Priority: 650
Package: *
Pin: release n=jessie
Pin-Priority: 100
And my update to libc6 and libc6-dev pushed them to 2.18, and everything is working so far.
*edited with correct preferences*
I roughly followed these instructions (http://linuxaria.com/howto/how-to-install-a-single-package-from-debian-sid-or-debian-testing?lang=en [linuxaria.com]), though I ignored anything to do with sid, and just added Jessie to my list.
This is what my /etc/apt/preferences file looks like:
Package: *
Pin: release n=wheezy
Pin-Priority: 700
Package: *
Pin: release n=wheezy-backports
Pin-Priority: 650
Package: *
Pin: release n=jessie
Pin-Priority: 100
And my update to libc6 and libc6-dev pushed them to 2.18, and everything is working so far.
*edited with correct preferences*
Edited by - March 11, 2014 01:13:19
-
- Quick Links