POV-Ray : Newsgroups : povray.binaries.images : Icy Moon Scene (JPG 800 x 600, 96 KB), question about variables in INI files Server Time
19 Nov 2024 09:39:40 EST (-0500)
  Icy Moon Scene (JPG 800 x 600, 96 KB), question about variables in INI files (Message 1 to 2 of 2)  
From: Yadgar
Subject: Icy Moon Scene (JPG 800 x 600, 96 KB), question about variables in INI files
Date: 29 Dec 2001 19:58:11
Message: <3C2EC9C3.F50A1A02@ndh.net>
Hi Tracers!

Back from PoVghanistan (for the time being...) - as a relaxing exercise,
I created this scene, mainly for decorative purposes on my homepage
currently under construction. As you can see, the scene is intended to
be located on an icy moon orbiting a Neptune-like ringed gas giant in
the outer reaches of some extrasolar planetary system. Of course, given
the original idea to make a decorative side frame, I was firstly tempted
to use Chris Colefax' Galaxy package for the sky background, but then
the whole thing looked somewhat overstyled, so I left it out - this
scene is completely "homegrown", no innocent imagemaps have been
harmed... expect for the heightfield, which is based on a 6400 x 4800
crackle pattern.

Perhaps the layered vertical ice cliffs are a bit too flashy, surely the
large moon looming over the horizon (some kind of "inverted Europa" -
its old surface covered with dark meteorite dust is crisscrossed with
cracks exposing fresh ice) should have a more heterogenous surface
between the cracks.

Any more suggestions?

Then, there's still a very different question. I started to program an
animation with zooms in on a heightfield starting with a ridiculously
low resolution (of the heightfield, not the rendered frame!), something
about 2 x 1 pixel (!!!), exponentially increasing (10 times each 30
frames).
Last year, I already did such a movie, but back then, I rendered each
heightfield manually, which would be quite exhausting. as there would be
at least 100 frames to render.

So I looked up the INI file section and wrote a small INI, where I
linked the Height and Width keywords with the clock variable, such as

Width=int(2*pow(1.0797752, clock));
Height=int(Width*0.75);

PoV-Ray displayed no error messages when starting ... but all
heightfield image files were "rendered" at 0 by 0 pixels instead of
something like
2 by 1,
2 by 1,
2 by 1,
3 by 2,
3 by 2,
4 by 3,
etc... what went wrong?

See you in Khyberspace -
http://www.geocities.com/electricafghan/index-e.html

Yadgar


Post a reply to this message


Attachments:
Download 'space.jpg' (72 KB)

Preview of image 'space.jpg'
space.jpg


 

From: bob h
Subject: Re: Icy Moon Scene (JPG 800 x 600, 96 KB), question about variables in INI files
Date: 29 Dec 2001 20:43:24
Message: <3c2e713c@news.povray.org>
"Yadgar" <j.b### [at] ndhnet> wrote in message
news:3C2EC9C3.F50A1A02@ndh.net...
>
---snip---
> Then, there's still a very different question. I started to program an
> animation with zooms in on a heightfield starting with a ridiculously
> low resolution (of the heightfield, not the rendered frame!), something
> about 2 x 1 pixel (!!!), exponentially increasing (10 times each 30
> frames).
> Last year, I already did such a movie, but back then, I rendered each
> heightfield manually, which would be quite exhausting. as there would be
> at least 100 frames to render.
>
> So I looked up the INI file section and wrote a small INI, where I
> linked the Height and Width keywords with the clock variable, such as
>
> Width=int(2*pow(1.0797752, clock));
> Height=int(Width*0.75);
>
> PoV-Ray displayed no error messages when starting ... but all
> heightfield image files were "rendered" at 0 by 0 pixels instead
---snip---

I could be wrong but I don't think math is allowed for from within INI
files; at least checking this out in v3.5 beta 9, it cannot be done
apparently since I did get an error.
Either a positive integer for actual pixel resolution or a decimal from 0 to
1 for percentage of whole is all I know about.
--
text{ttf"timrom""bob h"0,0pigment{rgb 7}translate 7*z}


Post a reply to this message

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