POV-Ray : Newsgroups : povray.binaries.images : avatar Server Time
7 Aug 2024 09:23:48 EDT (-0400)
  avatar (Message 1 to 3 of 3)  
From: nemesis
Subject: avatar
Date: 18 May 2006 14:35:00
Message: <web.446cbd141677722f3976a8750@news.povray.org>
hi, i registered an icon for me in the www.gravatar.com website, though it
hasn't been rated yet.  Very simple but cool IMO.

However, using povwin 3.6, i could not manage to get it to properly render
in the desired 80x80 resolution: the image could not be centered, yes, even
with up and right adjustment.  No big deal,  just rendered in 180x180 and
the website resizes it.  Still, i found it a bit odd...


well, here it is:

// my gravatar

camera { location -4*z look_at .2*y up y right x }

light_source { -5*z 3 }

union {
        sphere { 0, 2 pigment { rgb .4*z } scale <1.1,.7,1.1> rotate
<-7,0,17> scale z*1.4 translate 1.1*y }
        sphere { x, .7 pigment { rgb <1,.7,.5> }}
        sphere { -x, .7 pigment { rgb <1,.7,.5> }}

        rotate <0,-10,10>
}


Post a reply to this message


Attachments:
Download 'gravatar.jpg' (3 KB)

Preview of image 'gravatar.jpg'
gravatar.jpg


 

From: Trevor G Quayle
Subject: Re: avatar
Date: 18 May 2006 15:05:01
Message: <web.446cc4d9349a5f4d6c4803960@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> hi, i registered an icon for me in the www.gravatar.com website, though it
> hasn't been rated yet.  Very simple but cool IMO.
>
> However, using povwin 3.6, i could not manage to get it to properly render
> in the desired 80x80 resolution: the image could not be centered, yes, even
> with up and right adjustment.  No big deal,  just rendered in 180x180 and
> the website resizes it.  Still, i found it a bit odd...
>
>
> well, here it is:
>
> // my gravatar
>
> camera { location -4*z look_at .2*y up y right x }
>
> light_source { -5*z 3 }
>
> union {
>         sphere { 0, 2 pigment { rgb .4*z } scale <1.1,.7,1.1> rotate
> <-7,0,17> scale z*1.4 translate 1.1*y }
>         sphere { x, .7 pigment { rgb <1,.7,.5> }}
>         sphere { -x, .7 pigment { rgb <1,.7,.5> }}
>
>         rotate <0,-10,10>
> }

The size of the output shouldn't make a difference.
If what you are seeing in the 80x80 output is like the attached image, it
actually is centered, it's just a limitation on the minimum render window
width. The black on the right isn't part of the rendered image, it's just
matting for the render window, the output file should be fine(80x80).
-tgq


Post a reply to this message


Attachments:
Download 'avatar 1.jpg' (11 KB)

Preview of image 'avatar 1.jpg'
avatar 1.jpg


 

From: nemesis
Subject: Re: avatar
Date: 18 May 2006 15:50:01
Message: <web.446ccfba349a5f4df2ff13290@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> If what you are seeing in the 80x80 output is like the attached image, it
> actually is centered, it's just a limitation on the minimum render window
> width.

thanks, that's it indeed.  The minimum window isn't resizeable, so i
couldn't figure it out.  I'm not in my trusty Linux either... :P


Post a reply to this message

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