Object Marking

Post Reply
User avatar
tmdag
Posts: 1
Joined: Thu Jun 10, 2010 9:17 pm
Location: Adelaide/Australia
Contact:

Object Marking

Post by tmdag » Thu Jul 15, 2010 1:53 pm

New Script is online! :D


This script will help You with selecting and passing on particles between two emitters without any collision or link between obiect-emitter.

It has two equations, plane equation and simple radius of a sphere.
It is better to use sphere (with sphere equation) cause it will be much faster then plane equation.

Plane equation is for simple objects like cube, cylinder, cone, capsule but less triangles are used the more speed You will gain.

You can also use simple triangle or plane - it will act as infinitive plane and remove particles that are in back of it (use normal display to see which side it is facing)

Usage:
Place script in "Event Script" window (just replace existing lines of code).
Script has also nice gui, on first start it will ask to pick a nodes (which emitter you are going to cut particles from and where to put them so it's good that second emitter will have speed of 0) after that You will have to choose an object that will act as marking tool (cube/cone or sphere).
Last step is about choosing an equation so if you have choosen a sphere, select sphere equation, if other object then select plane equation.
You can also choose to forget those settings or save them (just in memory) so if you fire up simulation second time you will only get a form of previouslly choosen nodes or again a picker as it was on first start.
With script there is also attached an example scene.

Compatibility:
Realflow v4.x and v5.x

Example video:
http://vimeo.com/13314871

DOWNLOAD script and sample scene:
http://tmdag.com/blog/?p=615
OR directly:
http://resources.realflow.com/news_scri ... e=0&id=198
You do not have the required permissions to view the files attached to this post.
Last edited by tmdag on Thu Jul 15, 2010 2:21 pm, edited 4 times in total.
Albert 'tmdag' Szostkiewicz
FX TD @ Rising Sun Pictures
--

User avatar
gus
Site Admin
Posts: 276
Joined: Thu May 27, 2010 2:31 pm

Re: Object Marking

Post by gus » Thu Jul 15, 2010 2:11 pm

Great one Albert!

Thanks for sharing.

g-)
...........Gus Sánchez-Pérez..........
RealFlow Product Manager
Next Limit Technologies

Jorge Medina
Posts: 71
Joined: Wed Jun 09, 2010 6:23 pm

Re: Object Marking

Post by Jorge Medina » Wed Jul 21, 2010 11:57 pm

Cooooool!!
Jorge Medina Alix
VFX TD / 3DFluids Consultancy

Tech RF Blog: RF Wisdom
Personal works (WIP): Liquid Entropy

Post Reply