![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I've just written a little macro to place books on a library (I needed it
for my irtc entry). The first queue uses a little amount of randomness, the
second one uses no randomness. Well, not much to say, I just liked the
effect and wanted to share it with POV community :).
(Oh, well, in my irtc entry I'm using books instead of 60ies coloured
superellipsoids...)
--
Jonathan.
Post a reply to this message
Attachments:
Download 'libri.jpg' (93 KB)
Preview of image 'libri.jpg'
![libri.jpg](/povray.binaries.images/attachment/%3C3b726063%40news.povray.org%3E/libri.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
As I had my first look at it, it looked perfect. But as I had my second look
at it there were some books with strange or impossible positions. Please
have a look at the attached image. Maybe other values for seed will fix
this.
So long,
Bonsai
Post a reply to this message
Attachments:
Download 'errors.gif' (37 KB)
Preview of image 'errors.gif'
![errors.gif](/povray.binaries.images/attachment/%3C3b7266be%40news.povray.org%3E/errors.gif?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I really like the second queue. I used to work at a library, and its almost a
perfect representation of how books slide down the shelf when there's nothing
to hold them together. Very nice.
Also, I'm impressed with the beauty of radiosity and would love to see your
settings for this image. Thanks in advance!
-Law
JRG wrote:
> I've just written a little macro to place books on a library (I needed it
> for my irtc entry). The first queue uses a little amount of randomness, the
> second one uses no randomness. Well, not much to say, I just liked the
> effect and wanted to share it with POV community :).
> (Oh, well, in my irtc entry I'm using books instead of 60ies coloured
> superellipsoids...)
>
> --
> Jonathan.
>
> [Image]
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Off course the macro is not physically correct, only geometrically...
Anyway you can always set a lower maximum angle to avoid these situations
(or play with the random seed, as you suggested).
Cheers,
Jonathan.
"Bonsai" <bon### [at] b0n541 net> ha scritto nel messaggio
news:3b7266be@news.povray.org...
> As I had my first look at it, it looked perfect. But as I had my second
look
> at it there were some books with strange or impossible positions. Please
> have a look at the attached image. Maybe other values for seed will fix
> this.
>
> So long,
>
> Bonsai
>
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thans Lawrence. Here are the settings (nothing extraordinary, pretty low
settings).
global_settings {
ambient_light 0
radiosity {
pretrace_start 1
pretrace_end 1
recursion_limit 2
count 80
error_bound 0.2
}
ini_option "+qr"}
A white a plane and a white skysphere (something really abused... ;) )
Probably the scene would look the same even with lower settings (7 hours of
rendering with 1 ghz machine :(...).
Jonathan.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Off course the macro is not physically correct, only geometrically...
> Anyway you can always set a lower maximum angle to avoid these situations
> (or play with the random seed, as you suggested).
Hmmm.... "trace()" must help to do it more physically correct... still
don't know how, but I must try it (because my entry also must have
shelves with books...;)
--
Jaime Vives Piqueres
La Persistencia de la Ignorancia
http://www.ignorancia.org/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Jaime Vives Piqueres ha scritto
> Hmmm.... "trace()" must help to do it more physically correct... still
> don't know how, but I must try it (because my entry also must have
> shelves with books...;)
>
Well, this macro worked for me, and it looks quite physically realistic.
Post a reply to this message
Attachments:
Download 'library.jpg' (35 KB)
Preview of image 'library.jpg'
![library.jpg](/povray.binaries.images/attachment/%3C3b72d9ab%40news.povray.org%3E/library.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> > Hmmm.... "trace()" must help to do it more physically correct... still
> > don't know how, but I must try it (because my entry also must have
> > shelves with books...;)
> >
>
> Well, this macro worked for me, and it looks quite physically realistic.
as long as you ignore the bottom 3 rows..
--
Rick
Kitty5 WebDesign - http://Kitty5.com
Hi-Impact database driven web site design & e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Rick [Kitty5]" wrote:
>
> > Well, this macro worked for me, and it looks quite physically realistic.
>
> as long as you ignore the bottom 3 rows..
Or the top 3 rows, for that matter. All "wrong" ;-)
Markus
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I've just written a little macro to place books on a library (I needed it
> for my irtc entry). The first queue uses a little amount of randomness,
the
> second one uses no randomness. Well, not much to say, I just liked the
> effect and wanted to share it with POV community :).
> (Oh, well, in my irtc entry I'm using books instead of 60ies coloured
> superellipsoids...)
>
I've always wondered how you do things like that :-)
Is it something like
bookrotation = lastbookrotation*(some strange formula) ?
Peter
http://hertel.no/peter
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |