Help: Water Drops/moist On Bottle, Random Objects

Hi all!
Is there anyone who got a script for placing random spheres or half-spheres on a object? Im looking for that look when you take chilled bottle out in warm weather. It gathers alot of random small and some bigger drops on the bottle surface. Im not a good scripter myself so I would be really happy for some tips, and hopefully a script.

Thanks!

why you cant go for particles and paint the particle then use intenser .. i think tht will solve your prob

QUOTE(kurianos3d @ 07/06/07, 12:49 PM) [snapback]269319[/snapback]
why you cant go for particles and paint the particle then use intenser .. i think tht will solve your prob

Thanks!
I'll check that out.. But if anyone can help me out with a script for these kind of operations I would be happy.

one does not loop stuff in mellike this, its not what mel i sinteded for so any sane person would emit form the object and instace particles. So thats what the mel would be doing too.

Theres a alternative way too, and thats to use paint geometry tool.

Now as for making mel out of this, sure can be made but just try the methds upfront its far easier than you think.

Anwyay your geiven a very sane aswer here, and your actualy copy pase away form making it mel, just do it in gui copypaste it and you have yourself the melscript

oh well im sick and should be in bed but...

CODE
//tested in maya 8.5 ple
file -f -new;
curve -d 3
-p 0 0 0
-p 4 0 0
-p 5 0 0
-p 5 0 0
-p 4.613191 5.081536 0
-p 4.613191 5.081536 0
-p 4.566357 9.343469 0
-p 4.566357 9.343469 0
-p 4.800529 13.980077 0
-p 2.037298 18.523017 0
-p 2.02820001 21.26953892 0
-p 2.06442923 21.29272687 0
-p 2.005012065 21.48581932 0
-p 1.975552827 21.50273597 0
-p 2.213703571 21.48581932 0
-p 2.16732768 21.99595411 0
-p 2.02820001 21.99595411 0
-p 1.818144507 21.99595411 0
-p 1.85497242 21.96776485 0
-p 1.771768617 18.44547052 0
-p 4.0460059 13.31456933 0
-p 3.935067496 9.320786782 0
-p 3.935067496 5.049658225 0
-p 4.351086512 0.5011836573 0
-p 4.378821113 0.5011836573 0
-p 0 0.5289182583 0;
scale -r 1 1.8 1;
revolve  -ch 1 -po 0 -rn 0 -ssw 0 -esw 360
-ut 0 -tol 0.01 -degree 3 -s 8 -ulp 1 -ax 0 1 0 "curve1";
detachSurface -ch 1 -rpo 1 revolvedSurface1.u[9.5];
detachSurface -ch 1 -rpo 1 revolvedSurface1.u[1.4];
sphere -ch on -r 0.5 -ax 0 1 0 -nsp 4;
select -r nurbsSphere1.cv[0:2][0:7];
scale -r -p 0cm -0.178361cm 0cm 1 0 1;
move -r 0 0.12 0;
select -r nurbsSphere1.cv[0:6][0:7];
move -r 0 0.03 0;
select -r detachedSurface2;
ScriptPaintTool;
geometryPaint artUserPaintContext;
artUserPaintCtx -e -tsc "geometryPaint" currentCtx;
tokenize( "nurbsSphere1", $geometryGeom );
$geometryJitterValueAmt = 1;
$geometryGridSizeV = 33;
$geometryGridSizeU = 53;
artUserPaintCtx -e -clear currentCtx;

yoyu can continue to paint the size and dipersion of the drops