POV-Ray : Newsgroups : povray.binaries.images : My Chessboard Server Time
23 Apr 2024 17:15:30 EDT (-0400)
  My Chessboard (Message 11 to 20 of 86)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Jim Holsenback
Subject: Re: My Chessboard
Date: 19 Aug 2008 06:44:16
Message: <48aaa400$1@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote in message 
news:48aa8585@news.povray.org...
> A beginner??
> You achieve way better than me after more than 10 years!!! I am going to 
> hide inside a deep hole in the ground and never come up again....  :-)
>
> Thomas

haha ..... can i join you? i've been at for sometime as well and have NEVER 
gotten the lighting as good as this in any of my work. A very nice example 
of what pov can do indeed! I had a photographer in my shop a couple of days 
ago. He was photographing some antique pottery (crocks and jugs) for a book. 
He was a very nice chap and was willing to put up with me looking over his 
shoulder. He had a very bright single light, and used a couple of mirrors to 
reflect light to the darker spots not hit by the 1000W light he was using. 
The light had two dampers (little flaps) that took away some of the 
harshness. He also did something I found really interesting .... slowed down 
the shutter speed and moved the mirror from side to side to paint the light 
across a the bottom edge of a piece that had a hard to see potters mark. I 
really enjoyed watching him as lighting is a very difficult technique to 
master (for me)

Jim


Post a reply to this message

From: Thomas de Groot
Subject: Re: My Chessboard
Date: 19 Aug 2008 07:47:02
Message: <48aab2b6$1@news.povray.org>
"Jim Holsenback" <jho### [at] hotmailcom> schreef in bericht 
news:48aaa400$1@news.povray.org...
>
> haha ..... can i join you? i've been at for sometime as well and have 
> NEVER gotten the lighting as good as this in any of my work. A very nice 
> example of what pov can do indeed! I had a photographer in my shop a 
> couple of days ago. He was photographing some antique pottery (crocks and 
> jugs) for a book. He was a very nice chap and was willing to put up with 
> me looking over his shoulder. He had a very bright single light, and used 
> a couple of mirrors to reflect light to the darker spots not hit by the 
> 1000W light he was using. The light had two dampers (little flaps) that 
> took away some of the harshness. He also did something I found really 
> interesting .... slowed down the shutter speed and moved the mirror from 
> side to side to paint the light across a the bottom edge of a piece that 
> had a hard to see potters mark. I really enjoyed watching him as lighting 
> is a very difficult technique to master (for me)
>

You are welcome to join me, Jim :-)
Interesting what you tell about that photographer, especially the trick with 
the moving light source! Never thought about doing that.

Thomas


Post a reply to this message

From: alphaQuad
Subject: Re: My Chessboard
Date: 20 Aug 2008 11:30:00
Message: <web.48ac37bc73b1f45989ae70600@news.povray.org>
Nice glass lesson.
1st rule, make sure you have lots of time or power. 2 hrs for 3 pieces.

pong to the script:
(no board maps)

#include "woods.inc"

#declare darkwood = texture
     {
     T_Wood8
     pigment { turbulence 0.1 }
     finish { ambient .2 diffuse .6 phong .85 phong_size 50 reflection 0.025 }
     scale 2
     }
#declare lightwood = texture
     {
     T_Wood3
     pigment {turbulence 0.1}
     finish { ambient .2 diffuse .6 phong .85 phong_size 50 reflection 0.025 }
     scale .5
     }
#macro board_sq(i,p)
  #if (i)
     object { Round_Box_Union(<-1,-0.01,-1>, < 0,-.25,0>, .01)
      texture { lightwood } translate p}
  #else
     object { Round_Box_Union(<-1,-0.01,-1>, < 0,-.25,0>, .01)
      texture { darkwood } translate p}
  #end
#end
#macro board()
   #local i=0;#local j=0;
   #while (i<8)
      #local j=0;
      #while (j<8)
         board_sq(mod(i+j,2),<-3+j,0,-3+i>)
         #local j=j+1;
      #end
   #local i=i+1;
   #end
#end
board()


Post a reply to this message


Attachments:
Download 'chess2.jpg' (101 KB)

Preview of image 'chess2.jpg'
chess2.jpg


 

From: alphaQuad
Subject: Re: My Chessboard
Date: 20 Aug 2008 13:05:01
Message: <web.48ac499373b1f45989ae70600@news.povray.org>
"Gaf" <nomail@nomail> wrote:
> Hi! This is my first finished work with the POV-Ray. Render time: 8h 25min...
>
> Gaf

Your light is one thing giving you so much render time. A 320x240 test (with no
AA) went from 4 minutes to 40 seconds (length of 1, and 1 Knight) with a light
fix: squares the light vectors to direction of travel, plus extra light in
array, wider falloff. (Is it just all those pieces lighting the board or some
other change?)


//vlen = 22.2
#declare _z_ = <3, 0, -3>-<-17, 10.4, 10.4>;
#declare _x_ = vnormalize(vcross(y,_z_))*15;
#declare _y_ = vnormalize(vcross(_z_,_x_))*15;

light_source { <-17, 10.4, 10.4> color rgb <1, 1, .8>
    adaptive 50
    spotlight
    radius 7
    falloff 40
    point_at <3, 0, -3>
  area_light _x_,_y_, 13,13 adaptive 0 jitter orient circular
    photons{
       reflection on
       refraction on
    }
}


Array length of 15 (same as orig) for another 20 seconds: total 1 minute versus
4 minutes.

This light gives 5-10 minutes per piece depending on the resolution and power
you have. Expect around 1/3 the render time or two thirds less.

Looks to me like, if you look at the Queen shadows in previous 2 imgs, a skewed
array = skewed shadows.

There is starting to appear more rays from the Knight hitting the board in this
lower res img (corner H5).

aQ








#declare original_light =
light_source {
 <-17, 10.4, 10.4>
 color rgb <1, 1, .8>
 adaptive 50
 spotlight
 radius 7
 falloff 40
 point_at <3, 0, -3>
 area_light <15, 0, 0>, <0, 0, 15>, 12, 12
 photons{
  reflection on
  refraction on }}


Post a reply to this message


Attachments:
Download 'chess4.jpg' (68 KB)

Preview of image 'chess4.jpg'
chess4.jpg


 

From: alphaQuad
Subject: Re: My Chessboard
Date: 20 Aug 2008 13:40:01
Message: <web.48ac55e573b1f45989ae70600@news.povray.org>
now I see adaptive, 0 must have shut it off, so thats where all the render time
is hiding!

The adaptive command is used to enable adaptive sampling of the light source. By
default POV-Ray calculates the amount of light that reaches a surface from an
area light by shooting a test ray at every point light within the array. As you
can imagine this is very slow. Adaptive sampling on the other hand attempts to
approximate the same calculation by using a minimum number of test rays. The
number specified after the keyword controls how much adaptive sampling is used.
The higher the number the more accurate your shadows will be but the longer they
will take to render. If you are not sure what value to use a good starting point
is adaptive 1. The adaptive keyword only accepts integer values and cannot be
set lower than 0.

now to test what visible difference if any.


Post a reply to this message

From: alphaQuad
Subject: Re: My Chessboard
Date: 20 Aug 2008 14:45:01
Message: <web.48ac655673b1f45989ae70600@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote:
>
> now to test what visible difference if any.

Adaptive 1 took 20% more time than 0,
and rendered smoother shadow.

Adaptive 10 took same amount of time to do only the Queen's crown, gave up.

go easy on adaptive




//vlen = 22.2
#declare _z_ = <3, 0, -3>-<-17, 10.4, 10.4>;
#declare _x_ = vnormalize(vcross(y,_z_))*15;
#declare _y_ = vnormalize(vcross(_z_,_x_))*15;

light_source { <-17, 10.4, 10.4> color rgb <1, 1, .8>
    spotlight
    radius 7
    falloff 40
    point_at <3, 0, -3>
  area_light _x_,_y_, 13,13 adaptive 1 jitter orient circular
    photons{
       reflection on
       refraction on
    }
}


Post a reply to this message


Attachments:
Download 'chess6.png' (251 KB)

Preview of image 'chess6.png'
chess6.png


 

From: alphaQuad
Subject: Re: My Chessboard
Date: 20 Aug 2008 18:55:01
Message: <web.48ac9f6c73b1f45989ae70600@news.povray.org>
so which files are these? hmmm?


Post a reply to this message


Attachments:
Download 'helpfile.jpg' (207 KB)

Preview of image 'helpfile.jpg'
helpfile.jpg


 

From: alphaQuad
Subject: Re: My Chessboard
Date: 21 Aug 2008 01:55:01
Message: <web.48ad021473b1f459ab0d00740@news.povray.org>
what is

*** ASZTALLAP ***

babelfish.yahoo.com doesnt do Hungarian

2 mapped cylinders r= 20 and 100 are assisting in creating the lighting?


what am I missing


Post a reply to this message


Attachments:
Download 'chess9.jpg' (101 KB)

Preview of image 'chess9.jpg'
chess9.jpg


 

From: Mike Williams
Subject: Re: My Chessboard
Date: 21 Aug 2008 05:36:36
Message: <JwoZOaDLcTrIFwxK@econym.demon.co.uk>
Wasn't it alphaQuad who wrote:
>what is
>
>*** ASZTALLAP ***


ASZTALLAP is the table on which the chess board is standing. I thought 
you had that figured out since you've given it a sensible wood texture.


reflections of it inside some of the pieces, particularly the white 
pawns.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: alphaQuad
Subject: Re: My Chessboard
Date: 21 Aug 2008 15:05:00
Message: <web.48adbb1c73b1f4598ddaeb500@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it alphaQuad who wrote:
> >what is
> >
> >*** ASZTALLAP ***

>
> ASZTALLAP is the table on which the chess board is standing. I thought
> you had that figured out since you've given it a sensible wood texture.
>

> reflections of it inside some of the pieces, particularly the white
> pawns.
>
> --
> Mike Williams
> Gentleman of Leisure

cool thanx, just a simple 1.5 language puter user here.

I did notice first board I posted was repeating texture, fixed it like this:



#macro board_sq(p)
     object { Round_Box_Union(<-1.01,-0.01,-1.01>, < 0.01,-.25,0.01>, .01)
      translate p }
#end
#macro boardwhite()
   #local i=0;#local j=0;
   #while (i<8)
      #local j=0;
      #while (j<8)
         #if (mod(i+j,2)) board_sq(<-3+j,0,-3+i>) #end
         #local j=j+1;
      #end
   #local i=i+1;
   #end
#end

#macro boardblack()
   #local i=0;#local j=0;
   #while (i<8)
      #local j=0;
      #while (j<8)
         #if (!mod(i+j,2)) board_sq(<-3+j,0,-3+i>) #end
         #local j=j+1;
      #end
   #local i=i+1;
   #end
#end
union {
  boardwhite()
  texture { lightwood }
}
union {
  boardblack()
  texture { darkwood }
}

no pic, waiting for a better one @ adaptive 0 but looks like adaptive 50


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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