POV-Ray : Newsgroups : povray.binaries.scene-files : File for 'Pebbles' thread in povray.general Server Time
1 Sep 2024 12:20:54 EDT (-0400)
  File for 'Pebbles' thread in povray.general (Message 1 to 1 of 1)  
From: Chris B
Subject: File for 'Pebbles' thread in povray.general
Date: 2 May 2006 11:50:01
Message: <44577fa9@news.povray.org>
This scene file stacks up a series of spheres. In it's current form it 
stacks them within a circular container which is controlled by the 
randomised translation at line 32 and the randomised rotation at line 33.
To make it a fit a rectangular container just use a randomised x and z 
translation. At line 55 you probably should also remove the rotation, so 
that any collisions are resolved by moving the object straight upwards 
(Otherwise objects close to the containers edge could be rotated out of the 
container).

Regards,
Chris B.


Post a reply to this message


Attachments:
Download 'pebbles.pov.txt' (3 KB)

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