Jump to content

Atom

Members
  • Content count

    3,396
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won

    116

Everything posted by Atom

  1. If you have connected the texture directly to the output, then no lighting is calculated. Try putting a material between the two nodes.
  2. CurlNoise + Vex Help :(

    You could call the more extended version of curl noise directly. There is a periodic version that might help with the tiling. You need to include the voplib.h to access these extended functions, which are basically what VOPs wraps. vector freq = chv("Frequency"); vector off = chv("Offset"); #include <voplib.h> vector noise = vop_curlNoiseVP(@P, freq, off, { 0, 0, 0 }, "pnoise", "", 3, 0, 1, 0.5, 1, 1, 1, 0.0001); // Laydown along an axis. v@N = cross(noise,{0,0,1});
  3. Closing an eye?

    Getting closer with a little vex and a group select around the eye.
  4. Closing an eye?

    I have a character model who has eyes. The eyes are locked open. What would be the easiest way to simulate an eye blink or closing of an eye?
  5. Closing an eye?

    Close, a dragon's head. All triangles.
  6. Split Curve Trail decay

    As is, you can use it to highlight a font.
  7. right vex code for velocity to particles

    It looks likes you are setting the velocity after the simulation. That won't have an effect on the particles inside the popnet. Try moving the popnet to the end of your network chain.
  8. generate to fill up wire curves in tube meshes

    What if you try generating them in a straight line, then use the pathdeform node to bend them along the curve?
  9. On the PopSource you have to set your source emission type to points, not scatter. On the Birth tab place the expression on Impulse Activation, not Constant Activation. Set the impulse count to 1 and constant count to zero. ap_Question_emitParticleAtFrame.hiplc
  10. You can use an expression on the activation field. Try something like this... if(($F==10) || ($F==15) || ($F==25),1,0) The double pipe symbol means "or".
  11. Slow-motion Tire Burnout

    Here are a few more links relates to tires. https://www.sidefx.com/forum/topic/67731/?page=1#post-287800
  12. KineFx loop animation

    You might want to try something like this but use a Timeshift node instead of Retime. Shift time so the second input to the skeletonblend will be the final pose that you want to loop upon. You can even drop down a RigPose node to tweak the final pose for best blending. Animate the skeleton blend bias at the right time to take on the final pose.
  13. Dynamics Tendrils Anemone

    That setup is easy to modify. Here I've converted the leaf to tubes and added a single collision object. ap_vellum_anemone.hiplc
  14. The use case that I am pursuing is using the Labs toolset to export the VDB points (not volume data) as a hbjson file. This is readable using the Labs Niagara plugin for Unreal. It's a way to export points from Houdini pyro, and use them in a particle system point source inside of Unreal. Check out Simon's tutorial on the topic. https://www.sidefx.com/tutorials/realtime-fx-with-niagara-ue4/ You can download the project files and review his HIP setups.
  15. Export houdini to unreal engine

    I don't know of any direct pipeline for Unreal to render volumes from Houdini. The Unreal Niagara particle system can accept a Houdini generated point cache to drive the Unreal volumetrics. You may want to search for tutorials on Houdini to Niagara. I'm in the process of trying this pipeline, myself, so I don't have a solution yet. Houdini fractures and Unreal Alembic imports don't like each other. This is because Houdini will generate n-gons. Unreal can only import triangles and quadrilaterals. I use this setup to detect and convert n-gons into triangles. The bad candidates are detect inside an attributeVop running over primitives. i@group_candidates = 0; int num = primvertexcount(0, @primnum); if(num > 4) { // Not acceptable by Unreal. i@group_candidates = 1; } ap_rbd_fixup_for_unreal_alembic.hiplc
  16. I agree, that is a candidate for bug report. Go ahead and unlock the HDA and move to the bottom of the network. You'll discover that your attribute is copied to the guide geometry, but not the Output node. To continue your work, try using an attribute transfer after the trailsource to forward your attributes along. Or give this a try...
  17. node info stops working

    I'm experiencing quite a few interface bugs in H18.5 release. I'm getting a bug when I double click to dive inside, I am quickly shown the new network, then Houdini errors out and pops me back up to OBJ.
  18. Membrane tearing

    That one is a fun one to play around with. Stacked torn footage.
  19. I would take a look at my two blend sources and make sure they share the same anchor/pivot point. I know skeletonblend actually will resize one skeleton to another, so check the scale as well. Keep them the same scale.
  20. When Unreal hangs with no progress, it means the Alembic file is not usable by Unreal, even if other software can read it. One thing to try immediately is to export a short frame rage to keep the file size small until you figure out the attributes. Unreal can't handle a 4million polygon object, it is only a game engine. Get rid of Cd, move uv to points, polyreduce and try again with a limited frame count. I have been able to export 360-480 frame Alembic to Unreal. Don't use Skeletal or Static mesh, use the experimental geometry cache.
  21. Timeline cache not updating when changing sim

    That's completely normal. With certain setups I am constantly clicking on the Reset Simulation button. It's annoying to have to jump up a level to do that. DOPs can't tell if a parameter that feeds the network has changed. So if you change, for instance, @pscale on the points that you supply to the network, that will not alter the generated cache, at least not until you issue a "rewind". In your case you have started the DOP simulation on frame #3. Try changing your start frame on the playbar to 3, instead of 1. Then a rewind might work for you. Or, change your start frame to #1 and time shift the final to frame #3 after you have locked in the simulation.
  22. Perfectly sharp ridge

    When I render the scene, all I get is the ground plane. I notice Mantra complains about not being able to find the font geometry.
  23. I'm certainly no expert on this topic, but I have been trying the same thing. I want to get my Houdini animated deforming mesh inside of Unreal for rendering. As far as FBX goes, you need to supply a bone system with the deformed mesh. This is basically for characters or machines that you have pre-rigged. I don't really export anything from Houdini using this format. This basically leaves only the experimental alembic cache as the animated option for Houdini->Unreal. The Alembic support for Unreal is fragile. It can not accept any polygons that are not triangles or quads. You need to prepare your geometry output with that in mind. I use this simple wrangle to subdivide any primitives that are over the vertex count. Another thing that will hang up the Alembic import on Unreal 4.25.3 is the presence of excessive attributes or groups. You don't need normals, and that seemed to hang up my import until I figured that out. You only need @P and @uv, both on points. Make sure to check "Recompute Normals" on the Unreal import dialog box. If you do wish to keep your normals, use an attributePromote to migrate them to points instead of vertex, which is typical for FBX. This does add weight to the final file size, however, and you can recompute them on import. NOTE: if you do supply groups, they show up as material inputs inside of Unreal. For fracture sources I recommend keeping inside and outside groups. Both the dragon and the fracture were exported as mesh based, non-instanced, Alembic caches from Houdini. The dragon is a 480 frame cache that is about 210 MB in size. The wall is 480 frame cache that is 643Mb in size.
  24. You can just use the deforming geometry tool twice on the same deforming geo source. Make one collider inverted. ap_Flip_InvertedCollision_Problem.hiplc
  25. MTL To Redshift Material

    I put together a simple script to read the .mtl file, typically associated with a .obj, and create a Redshift material for each entry it finds in the .mtl with a map_Kd token. A Redshift material is created and a texture map is linked to the diffuse color with the filename for the map populated with what is found in the .mtl entry. This is useful when importing architectural .obj files that typically have a large number of materials associated with them. Expected .mtl format of supported tokens. #newmtl _4_2_ <- Material name. #Ns 96.078431 <- Specular intensity #Kd 0.640000 0.640000 0.640000 <- Diffuse color. #Ks 0.500000 0.500000 0.500000 <- Specular color. #Ni 1.000000 <- Index of refraction. #d 1.000000 <- Opacity. #map_Kd 21_budova/_4_2_.jpg <- Map name. #map_Kn 21_budova/_4_2_n.jpg <- Map name. The result of one-click texture mapping. Here is the Colosseum auto texture mapped. The path to the .mtl file and texture path is hard coded. Place the code in a shelf tool button and adjust the path to point to your .mtl file. mtl_to_redshift_061618.zip
×