POV-Ray : Newsgroups : povray.binaries.images : Dairy Barn (WIP) (27K and 35K) Server Time
11 Aug 2024 13:24:05 EDT (-0400)
  Dairy Barn (WIP) (27K and 35K) (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: Dave Matthews
Subject: Dairy Barn (WIP) (27K and 35K)
Date: 24 Mar 2004 18:00:38
Message: <40621316@news.povray.org>
At the county library, I found building plans for a c. 1917 dairy barn. 
  The details of the framing are pretty good, but the rest is lacking 
(in the plans), so I'm going to have to do some research in the area. 
Luckily, we have hundreds of barns around here.

To get all of the boards different, I had to use #macros for the 
repeated elements, and fetch the boards from random locations out in 
"wood space," rather than to use objects.  Is this the usual method, or 
is there a better one?

Also, when I'm ready for it, does anyone have tips on shingles?  (The 
usual variety here at the time were cedar shakes, which are highly 
variable in length and width, so any kind of a regular pattern looks a 
bit artificial.)

Dave Matthews


Post a reply to this message


Attachments:
Download 'barnframe03.jpg' (26 KB) Download 'barnframe05.jpg' (37 KB)

Preview of image 'barnframe03.jpg'
barnframe03.jpg

Preview of image 'barnframe05.jpg'
barnframe05.jpg


 

From: "Jérôme M. Berger"
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 24 Mar 2004 18:16:22
Message: <406216c6$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	It's a nice start, keep up the good work

Dave Matthews wrote:
| To get all of the boards different, I had to use #macros for the
| repeated elements, and fetch the boards from random locations out in
| "wood space," rather than to use objects.  Is this the usual method, or
| is there a better one?
|

	I only know two (which doesn't mean that there aren't others):
* the one you describe with macros;
* group all parallel boards in a union and texture them at once with a
repeat warp to make the texture change from one board to the next. This
only works in cases where the boards are regularly spaced (like here).

	I don't know which would be faster in the present case (the second one
is very good to make things like brick walls or wood floors using only
one object properly textured)

		Jerome
- --
******************************
*      Jerome M. Berger      *
* mailto:jbe### [at] ifrancecom *
*  http://jeberger.free.fr/  *
******************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAYhbFqIYJdJhyixIRAjIjAKCAh/3Fis8j54DPoHvLACYamX0t/ACffWPK
BJKfQzyraFV41H+/hNfn6Cc=
=XiNh
-----END PGP SIGNATURE-----


Post a reply to this message

From: Dave Matthews
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 24 Mar 2004 18:33:35
Message: <40621acf$1@news.povray.org>



> * group all parallel boards in a union and texture them at once with a
> repeat warp to make the texture change from one board to the next. This
> only works in cases where the boards are regularly spaced (like here).
> 
>     I don't know which would be faster in the present case (the second one
> is very good to make things like brick walls or wood floors using only
> one object properly textured)
> 

Thanks.  That's a nice idea.  It should work with all of the regularly 
spaced parallel boards I have here, and it might also work well for the 
siding.  My problem is that I model things as if I'm actually building 
them.  I even find myself "cutting" ends of boards to make them fit, 
when the actual end would disappear into some other object, anyway.

Dave Matthews


Post a reply to this message

From: Remy Closset
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 25 Mar 2004 02:39:25
Message: <40628cad$1@news.povray.org>
Nice balloon frame. But some details are not complete. Are missing among
other things, beams against the wind effect. And I think that rafters are
too thin, talking into account of the long range between two longitudinal
beams.
Very interesting work




news:40621316@news.povray.org...
> At the county library, I found building plans for a c. 1917 dairy barn.
>   The details of the framing are pretty good, but the rest is lacking
> (in the plans), so I'm going to have to do some research in the area.
> Luckily, we have hundreds of barns around here.
>
> To get all of the boards different, I had to use #macros for the
> repeated elements, and fetch the boards from random locations out in
> "wood space," rather than to use objects.  Is this the usual method, or
> is there a better one?
>
> Also, when I'm ready for it, does anyone have tips on shingles?  (The
> usual variety here at the time were cedar shakes, which are highly
> variable in length and width, so any kind of a regular pattern looks a
> bit artificial.)
>
> Dave Matthews
>


----------------------------------------------------------------------------
----






----------------------------------------------------------------------------
----


Post a reply to this message

From: Felbrigg
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 25 Mar 2004 05:37:34
Message: <4062b66e@news.povray.org>
Heres a little macro that should give you a head start.  Obviously the
shingle colors are random and you'll want to stick a proper texture in
there.  Also I havn't changed the height of each shingles only the width.

#include "colors.inc"
#include "textures.inc"
#include "functions.inc"
#include "shapes.inc"

camera  { location <10,0,-40> look_at <10,0,0> }

background { Blue }

light_source { <900, 560, -500> color White }
light_source { <-900, -560, -500> color White }
light_source { <900, 560, 500> color White }
light_source { <-900, -560, 500> color White }

#declare rStream = seed(0);

#macro
RowOfShingles(heightOfShingle,widthOfShingle,depthOfShingle,lengthOfRow)

        #declare currentLength = 0;
        #declare gapBetweenShingles = 0.1;

        union   {
                #while(currentLength < lengthOfRow)
                        #declare thisShingleWidth = widthOfShingle +
(rand(rStream)*(widthOfShingle/2));
                        box     {
                                <currentLength,0,0>,

<currentLength+thisShingleWidth,heightOfShingle,depthOfShingle>
                                texture {
                                        pigment {
                                                rgb
<rand(rStream),rand(rStream),rand(rStream)>
                                                }
                                        }
                                }
                        #declare currentLength = currentLength +
thisShingleWidth + gapBetweenShingles;

                #end
                }
#end

object  {
        RowOfShingles(3,2,0.5,40)
        }


Post a reply to this message

From: Dan P
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 25 Mar 2004 19:23:09
Message: <406377ed@news.povray.org>
"Dave Matthews" <dma### [at] nospamnet> wrote in message
news:40621316@news.povray.org...
> At the county library, I found building plans for a c. 1917 dairy barn.
>   The details of the framing are pretty good, but the rest is lacking
> (in the plans), so I'm going to have to do some research in the area.
> Luckily, we have hundreds of barns around here.
>
> To get all of the boards different, I had to use #macros for the
> repeated elements, and fetch the boards from random locations out in
> "wood space," rather than to use objects.  Is this the usual method, or
> is there a better one?
>
> Also, when I'm ready for it, does anyone have tips on shingles?  (The
> usual variety here at the time were cedar shakes, which are highly
> variable in length and width, so any kind of a regular pattern looks a
> bit artificial.)


Being from Wisconsin, I polled the local cows for their opinion. They all
love it! So do I! Can't wait to see future versions!

-- 
- Respectfully,
Dan
http://<broken link>


Post a reply to this message

From: Dave Matthews
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 26 Mar 2004 11:19:10
Message: <406457fe$1@news.povray.org>
Remy Closset wrote:
> Nice balloon frame. But some details are not complete. Are missing among
> other things, beams against the wind effect. And I think that rafters are
> too thin, talking into account of the long range between two longitudinal
> beams.
> Very interesting work
> 


Much was not complete, you're right. (See new post.) The Dimensions of 
the rafters and the longitudinal beams is as the plans specified (2"x6" 
rafters), but they do seem a might spindly, as you say.

Thanks

Dave Matthews


Post a reply to this message

From: Dave Matthews
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 26 Mar 2004 11:19:51
Message: <40645827$1@news.povray.org>
Thank you!  That should be a great start!

Dave Matthews


Post a reply to this message

From: Dave Matthews
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 26 Mar 2004 11:20:51
Message: <40645863$1@news.povray.org>
> Being from Wisconsin, I polled the local cows for their opinion. They all
> love it! So do I! Can't wait to see future versions!
>

Thanks!  See the new post, below (oops, I haven't posted it yet, please 
be patient.)

Dave Mattthews


Post a reply to this message

From: Jeremy M  Praay
Subject: Re: Dairy Barn (WIP) (27K and 35K)
Date: 26 Mar 2004 13:37:18
Message: <4064785e$1@news.povray.org>
I'm trying to do shingles for my old school (www.beantoad.com/wips.htm), but
I've had limited success, and I'm currently re-thinking the entire way that
I'm going about doing them.

If you come up with something for cedar shingles, I hope you'll share...
:-)

-- 
Jeremy
www.beantoad.com


"Dave Matthews" <dma### [at] nospamnet> wrote in message
news:40621316@news.povray.org...
> At the county library, I found building plans for a c. 1917 dairy barn.
>   The details of the framing are pretty good, but the rest is lacking
> (in the plans), so I'm going to have to do some research in the area.
> Luckily, we have hundreds of barns around here.
>
> To get all of the boards different, I had to use #macros for the
> repeated elements, and fetch the boards from random locations out in
> "wood space," rather than to use objects.  Is this the usual method, or
> is there a better one?
>
> Also, when I'm ready for it, does anyone have tips on shingles?  (The
> usual variety here at the time were cedar shakes, which are highly
> variable in length and width, so any kind of a regular pattern looks a
> bit artificial.)
>
> Dave Matthews
>


----------------------------------------------------------------------------
----






----------------------------------------------------------------------------
----


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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