POV-Ray : Newsgroups : povray.newusers : Stacking stones without overlapping : Re: Stacking stones without overlapping Server Time
24 May 2024 13:11:50 EDT (-0400)
  Re: Stacking stones without overlapping  
From: Bald Eagle
Date: 25 Jul 2017 15:20:01
Message: <web.59779918d8d105e9c437ac910@news.povray.org>
> > Hi, guys! Haven't been here for a while because I am trying to find a way which
> > I could 'understand'.(I have found a lot of research papers on this topic but
> > none of them are comprehensible for me)

*** Yet ***    ;)

> Therefore, I ended up finish my project
> > *in a very simple way*. Just make random spheres and test with distance
> > equation. And that's it.:(
> > http://i.imgur.com/xH64ud9.jpg
> > *Dawn it! I hope I can find a way to improve the code so that they won't
> > float*

Excellent.  It's important to stick with it and DO _something_, even if it's not
ideal.  Never let the perfect be the enemy of the good.
I like your results.
Now you know more about how "the devil is in the DETAILS", and it's NEVER _just_
"All you have to do is..."

As a computer graphics trick, why don't you try increasing the size of all those
rocks by 10, and then take the whole thing and scale it by 1/10.
The apparent size of the rocks might stay the same, while the spaces between
them that make them look like they're floating (because they are) might be
reduced by 9/10.

If that works, try doing the same with 100 or 1000 instead of 10.

> I said at the beginning that it was not trivial. I wonder what your
> lecturer's solution would be?

If it's an engineering class, he might not have one - it might be an open-ended
exercise to see what people come up with.

> Now you know your way here. Don't be a stranger. :)

Indeed, there's always more fun to be had, and so very many things to learn.

Check out:

Post a reply to this message

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