Jump to content

[?] Particles From Traced Image


djorzgul

Recommended Posts

Well, this what I am trying to do... I have a hand drawn title for my short film. I want it to be made from particles generating from nothing in some swirly motion (like blown in by the wind), forming the letters, resting for a few seconds and disintegrate again... I used trace op to make geometry from drawing (t is clean black calligraphy on white background).... What I want to ask is if this is the right way to do it, and if it is how to continue with adding particles...

Thanks for guidance in advance

dj.

Edited by djorzgul
Link to comment
Share on other sites

Well, this what I am trying to do... I have a hand drawn title for my short film. I want it to be made from particles generating from nothing in some swirly motion (like blown in by the wind), forming the letters, resting for a few seconds and disintegrate again... I used trace op to make geometry from drawing (t is clean black calligraphy on white background).... What I want to ask is if this is the right way to do it, and if it is how to continue with adding particles...

Thanks for guidance in advance

dj.

Another way to do it would be to use VEX to "scatter" a bunch of

points in the right place and use them as birth points.

sop
picscatter(string map="Mandril.pic"; int seed=0)
{
	vector	  mclr;
	float	   sum = 0;
	float	   x, y; 
	int		rseed;

	rseed = seed*Npt*1000;	// Space seeds far apart
	rseed += ptnum;		// Now, unique the seed for the point
	while (sum < 1)
	{
	x = random(rseed); rseed++;
	y = random(rseed); rseed++;
	mclr = colormap(map, x, y);
	sum += luminance(mclr);
	}
	P = set(x, y, 0);

	// Optionally, you can set the color from the map
	//Cd = mclr;
}

You can generate new points by setting the seed to something like $F to get new points every frame.

Feed a bunch of points (i.e. a grid SOP) into the VEX SOP, then, birth points from the source points.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...