Jump to content


Velocity from curve tool

Pyro Houdini 12 Velocity field Curve Velocity Curve Tool

  • Please log in to reply
15 replies to this topic

#1 nate.usiak

nate.usiak

    Peon

  • Members
  • Pip
  • 7 posts
  • Joined: 04-November 12
  • Location:Savannah, GA
  • Name:Nate Usiak

Posted 14 December 2012 - 04:16 PM

Hello all, this is my first time posting on here so greetings. This is a cross post also on the Houdini forums here:
http://www.sidefx.co...ewtopic&t=27451

I have been working on a tool that takes an input curve and adds velocity to it for use in a Pyro sim (also FLIP but first getting it to work with Pyro). I have been working on this tool to help give the artist an easy way to direct a Pyro sim along a curve.

Here is an example of how it is currently working:

Here is a screen cap of how I have implemented the use of the tool:


I'm also including my otl and an example file.

I would like any feedback as to ways to improve the tool or other/better ways of accomplishing similar effects. I greatly appreciate it.
Thank you much.

Attached Files



#2 bloomendale

bloomendale

    Initiate

  • Members
  • PipPip
  • 229 posts
  • Joined: 26-December 11
  • Name:- -

Posted 15 December 2012 - 03:14 AM

You can use vops instead of scattering in volume. It will speed up things up to several hundred times - from 1+ sec to 0.002 =)
And using even 200 divs in isooffset produced artifacts in volume (and in scattering) with fairly simple curve. Don't know why tho.
Posted Image

#3 sliver

sliver

    Peon

  • Members
  • Pip
  • 43 posts
  • Joined: 15-October 12
  • Location:France
  • Name:Adrien Rollet

Posted 15 December 2012 - 03:22 AM

Your work is really interesting Nate, thank you for your files. I will try to give you my feedback

http://www.adrienrollet.com
vimeo.com/adrienrollet


#4 nate.usiak

nate.usiak

    Peon

  • Members
  • Pip
  • 7 posts
  • Joined: 04-November 12
  • Location:Savannah, GA
  • Name:Nate Usiak

Posted 15 December 2012 - 11:27 AM

Thank you Adrien :)

Bloomendale - Thank you, that is really helpful. I'm trying to rework it in Vops now and I think it will end up working out much better and faster :) I will post back when I get more put together.

#5 nate.usiak

nate.usiak

    Peon

  • Members
  • Pip
  • 7 posts
  • Joined: 04-November 12
  • Location:Savannah, GA
  • Name:Nate Usiak

Posted 17 December 2012 - 08:55 PM

After reworking the tool in Vops I am very pleased with how much faster it is cooking. I am instead within the Vopssop taking normal tangents and displacing the points along those vectors which in turn gives me more control.
I still of course welcome any feedback, suggestions or critique.
Thank you.

I have not posted any more tests yet but a screen cap of the tool use found here:

Attached Files



#6 snake

snake

    Peon

  • Members
  • Pip
  • 2 posts
  • Joined: 06-July 12
  • Location:shanghai
  • Name:roger xie

Posted 19 December 2012 - 04:38 AM

the new tools please update :wub: it;s very cool```````````

#7 nate.usiak

nate.usiak

    Peon

  • Members
  • Pip
  • 7 posts
  • Joined: 04-November 12
  • Location:Savannah, GA
  • Name:Nate Usiak

Posted 19 December 2012 - 04:59 AM

Just noticed I had a small typo in the Vel dir on curve menu so I fixed that real quick. Here is the tool as of now.

Attached Files



#8 Lyonz

Lyonz

    Initiate

  • Members
  • PipPip
  • 107 posts
  • Joined: 19-March 10
  • Location:UK
  • Name:David Lyon

Posted 15 September 2013 - 02:48 PM

Hey Nate,

Nice otl one suggestion i can think of is adding a vortex throughout the curve, I know the quaternion vop can do this but not sure how to orientate it throughout the curve. Maybe someone has an example ??

#9 slamfunk

slamfunk

    Peon

  • Members
  • Pip
  • 77 posts
  • Joined: 27-March 11
  • Location:London, UK
  • Name:Vasilis 'Billy' Pazionis

Posted 29 October 2013 - 09:51 AM

bumpin this! :D

can anyone explain how you would add a vortex throughout the curve?

#10 cparliaros

cparliaros

    Initiate

  • Members
  • PipPip
  • 207 posts
  • Joined: 04-July 10
  • Location:London
  • Name:Christos Parliaros

Posted 29 October 2013 - 10:31 AM

Get a point cloud along your curve, there are many ways you can do this - I guess the easiest is to build a a tube using your curve (polywireSOP) and scatter points inside (PointsFromVolumeSOP) and then use a VOPSOP or PointWrangle to get the position of your each point and cross product this with the position of closest point in the curve (PointCloudOpen and PointCloudFilter) - Normalize both before the cross product.

TIP: You can use a ramp for distance from the center to control how strong your vortex will as getting closer to the center.

bumpin this! :D

can anyone explain how you would add a vortex throughout the curve?


Christos Parliaros
FXTD @ The Mill

Website: www.cparliaros.com
Vimeo: www.vimeo.com/cparliaros


#11 loudsubs

loudsubs

    Peon

  • Members
  • Pip
  • 85 posts
  • Joined: 03-December 09
  • Location:USA
  • Name:Arrev .

Posted 29 October 2013 - 11:55 AM

can anyone explain how you would add a vortex throughout the curve?


I've been working on a project that required something similar to Nates tool, with a vortex. I think its even faster when you use volumes from the start, instead of converting vector point attribs into volumes. Here's quick example of how I did it.

Attached Files



#12 Pazuzu

Pazuzu

    Initiate

  • Members
  • PipPip
  • 229 posts
  • Joined: 21-November 07
  • Location:Bogota - Colombia
  • Name:Alejandro Echeverry

Posted 29 October 2013 - 02:25 PM

Yes, a volume approach is faster even without VDB; I've modeled custom forces with a pure volume approach for this video:
Here is the non-vdb asset: sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=21558 (SOP_aeb_pathfollow_fields.otl)





Also tagged with one or more of these keywords: Pyro, Houdini 12, Velocity field, Curve, Velocity Curve Tool

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users