Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won


Everything posted by Skybar

  1. Sparse pyro solver temperature and buoyancy

    Yeah seems a bit weird. Probably an attempt to solve something with math (tying it gravity?) instead of just exposing the correct parameters. Which is weird if it's supposed to make it simple, because we get a few more parameters that are harder to understand for buoyancy - instead of just having the 3 well known ones (direction, amplitude and ambient). Delete that expression in Bouyancy Lift on the Gas Buoyancy DOP and use it normally seems to work well.
  2. Depends on what you mean exactly. In your example you can create a detail attribute and grab it in the parameter with expression, for example: detail(opinputpath(".", 0), "amount", 0) That will grab the value of detail attribute called "amount" from the node that is connected in the input.
  3. Game of Life Algorithm - Open CL vs VEX

    The OpenCL node errors in your scene for some reason (im on 18.0.416), so can't test. But your problem is most likely reading and writing to the same attribute in the same kernel. You want to use a Write Back Kernel for this. If you hover over the "Use Write Back Kernel" it explains a bit what happens.
  4. How to get correct Motion Blur

    For most volumes you will need a velocity volume and use velocity blur. For this case you could also create the volume -> pack it (Pack SOP) -> then move it with a Transform SOP. The transformation data will then be on the packed object and it will blur correctly.
  5. smoke has a hairy look

    I think the main problem is that you are adding disturbance everywhere all the time. A popular method is to use the speed of the velocity field as a control field for example, so you scale the disturbance amount with how fast the smoke is moving.
  6. How to get correct Motion Blur

    For Deformation Motion Blur (stuff happening in SOPs), you have to set "Geo Time Samples" to at least 2 on the Mantra ROP.
  7. smoke has a hairy look

    Too much disturbance probably.
  8. Procedural Potion Bottle Tool

    It's because the ramp is a float. You are saying that vector = float. If you skip the ramp and do vector hillProb = rand(seed+2); you will get a random vector.
  9. You mean you are flipbooking while simming? You could try the "Leave Playbar at Last Frame" on the flipbook options.
  10. Accessing ptnum on a wrangle

    There is a preset on the point wrangle to grab second input attribute by id:
  11. GTX 1080 may be crashing sims?

    It's actually an eighth of that, around 200 million voxels. Keep in mind the resolution of the volumes is particle separation * gridscale.
  12. Force render even if missing objects

    Set the "Missing Frame" option to No Geometry on the file cache.
  13. How find "Cracked Edge" ?

    I gave it a try, might not work on more complex geo but it works on your box . I find the unconnected points based on normals, and then put those points into the original primitives and rebuild them. I did something similar a while ago where I had lots of curves making up a tree. The branches wasn't attached to the branch before it, so I needed to find a way to connect the base point of a curve into the middle of another curve where there wasn't a point to attach to. That was curves and this is not, but it seems to work well for this too, albeit I turn the polygons to curves and then back to polygons. dv_CrackedEdge.hipnc
  14. Optmizing popwrangle

    Instead of setpointgroup you can: i@group_groupname = 1;
  15. Move in Z from camera: vector campos = point(1, "P", 0); vector dir = normalize(@P-campos); @P += dir*ch("amp");
  16. Fit vex is weird

    rand(stamp("../copy1","id",0)+0,47) You made mistake here. It should be 0.47 with a dot, not comma.
  17. Invalid Bindary Token

    What kind of primitives does the alembic contain? I've had problems with crashing alembics before if the animators include the animation controls by mistake. If you can, try and load different parts (under the Selection tab on the Alembic SOP) and try and find what makes it crash.
  18. Cook frame per thread

    Depending on what you are doing and how your geo looks like, you can also abuse compiled foreach loops to multithread otherwise single-threaded stuff.
  19. Ah nice catch! I haven't used the new sourcing system that much and didn't know about this. In the old Source Volume DOP you could use only "vel" fine even if it was consisting of .xyz scalar volumes. With the new Volume Source DOP however, it is as you describe.
  20. Yeah you could transfer the normals from the geometry to the curves afterwards, and ray them to the surface. And then some more smoothing and resampling. Could be a little jittery though.
  21. Threw something together quick, might get you started dv_smoothcurve.hipnc
  22. BBox Rotate by Max Length?

    It can be done in a number of ways, I had a go at it. Hope it helps! dv_alignPlanks.hipnc