POV-Ray : Newsgroups : povray.newusers : Creating a rotating gem : Re: Creating a rotating gem Server Time
3 Jul 2024 01:39:14 EDT (-0400)
  Re: Creating a rotating gem  
From: Bidski
Date: 10 Dec 2010 21:15:00
Message: <web.4d02dd011e34407486c9e330@news.povray.org>
Jim Holsenback <jho### [at] povrayorg> wrote:
> On 12/10/2010 07:18 PM, Bidski wrote:
> > One thing that I am noticing is that it spends a lot of time rendering the top
> > of the gem (the part with the most clarity in Stone1.bmp) and then it chops
> > through the last part in less than a second (total rendering time is 17
> > seconds).
>
> sounds like you need to play with the angle of light_source and/or camera

Ok, I have tweaked the camera angle and the light_source angle and have gotten
some different results (a little better, but still not quite there). I have
attached a picture of what I have now. (stone4.bmp).

The camera used to be

camera
{
  location <0, 2.5, -6>
  look_at <0, 0, 0>
}

and is now

camera
{
  location <0, 0, -5>
  look_at <0, 0, 0>
}

and the light_source used to be

light_source
{
  <0, 0, 0>
  colour rgb <1, 1, 1>
  translate <65, 65, -65>
}

and is now

light_source
{
  <0, 0, 0>
  colour rgb <1, 1, 1>
  translate <5, -5 -5>
}

Keeping in mind that I have a white  of radius 5 centered on the origin, this
places the camera and the light source directly on the edge of the sphere.

Im not really sure how else to twek this now as every tweak I make from here
returns me to what I had before in stone1.bmp.

If I turn conserve_energy off it brightens the gem considerably, but doesnt
change the overall appearance much.

If I have the following inside a finish

reflection
{
  colour rgb <1, 1, 1>
  0.1            // What is this number doing?
  fresnel on
}

Regards
Bidski

http://i288.photobucket.com/albums/ll167/Bidskii/stone4.jpg


Post a reply to this message

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