POV-Ray : Newsgroups : povray.general : Asteroid Belt : Re: Asteroid Belt Server Time
31 Jul 2024 08:31:00 EDT (-0400)
  Re: Asteroid Belt  
From: scott
Date: 13 Jul 2007 09:58:02
Message: <469784ea$1@news.povray.org>
> I'd use the following steps:
> 1 - randomly chose a point along the axis of your cone
> 2 - randomly chose a radius, adjust that acording to your location along 
> the axis
> 3 - randomly chose an angle from 0 to 360 and rotate your location around 
> the axis
> 4 - place one asteroid at that location, and check that it don't intersect 
> another one. Use an array to store the locations.

Isn't that method going to produce more asteroids per unit volume near the 
narrow end of the cone, and also near the axis of the cone?


Post a reply to this message

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