POV-Ray : Newsgroups : povray.newusers : Scene enquiry : Scene enquiry Server Time
30 Nov 2022 05:21:59 EST (-0500)
  Scene enquiry  
From: santividal
Date: 19 Oct 2022 12:40:01
Message: <web.63502844e522bd3bdd71315024a2c7df@news.povray.org>
Him I am trying to replicate this water droplets all around the tap, so maybe a
series of droplets every 12 or 24 degrees around z axis. How should I do. that?
I know it is a beginner trick, but I am trying different #while sentences and it
doesn't seem to work out. Could somebody help me? Here is the code I am using to
achieve the droplets look like a trajectory.

Thanks in advance for any help,


// FUENTE SUPERIOR

#declare posX = 0.02;
#declare posY = 0.82;
#declare dy = 0.055;
#declare posZ=0;
#declare posZ= <0,0,posZ+12>;


    #while (posX < 0.3)
    sphere {
    <posX,posY,0>, 0.01
    material { agua }  }
    #declare dy = dy - 0.01;
    #declare posX = posX + 0.02;
    #declare posY = (posY + dy);
    #end


Post a reply to this message


Attachments:
Download 'fuenteee.png' (2682 KB)

Preview of image 'fuenteee.png'
fuenteee.png


 

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.