POV-Ray : Newsgroups : povray.text.scene-files : Birdhouse Source - include file (see other message) Server Time
31 Oct 2024 16:17:05 EDT (-0400)
  Birdhouse Source - include file (see other message) (Message 1 to 1 of 1)  
From: Tika
Subject: Birdhouse Source - include file (see other message)
Date: 3 Oct 1999 21:10:50
Message: <37f7fe9a@news.povray.org>
You'll want to see my main demo source in another message for information on
how to use this. Basically, I just split things up into several pieces (4
total) so that you can make objects from them and color each part of the
birdhouse the way you like, or add textures, etc.

If you alter this and add in things like trimmings, do post or let me know so
I can add it to my collection too. Hope you enjoy these!


** IMPORTANT NOTE **

I noticed that some of the bicubic lines are split in two. Just so you can
piece it back together again (sorry 'bout that), each of the 4 lines of
coordinates have 4 <>'s of coordinates (seems one of the sets gets put on a
separate line when I tried to paste it in this newsreader).

--

Tika

Tika's Graphics: http://www.5thpower.com/tika/

// Birdhouse Model v. 1.1
// by Tika Carr
// bicubic_patch areas created with sPatch (Copyright 1996-1998 by Mike
Clifton)
// Release: October 2, 1999

// Permission given to use this model for your own pictures. Note that this
include file
// is to be considered "unfinished", even though it is usable.

// No warranties or Guarantees are expressed nor implied. Use at your own
risk.

// NOTE: Created and Tested with POV-Ray for Windows 3.1g

// Roof
#declare Birdhouse_Roof =
merge {
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <0.019, -0.041, -0.000> <-0.137, -0.179, -0.000> <-0.344, -0.362, -0.000>
<-0.500, -0.500, 0.000>
    <0.019, -0.041, -0.000> <-0.137, -0.179, -0.000> <-0.194, -0.362, -0.150>
<-0.350, -0.500, -0.150>
    <0.019, -0.041, -0.000> <0.013, -0.179, -0.150> <-0.144, -0.362, -0.200>
<-0.150, -0.500, -0.350>
    <0.019, -0.041, -0.000> <0.013, -0.179, -0.150> <0.006, -0.362, -0.350>
<0.000, -0.500, -0.500>
  }
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <0.019, -0.041, -0.000> <0.019, -0.041, -0.000> <0.019, -0.041, -0.000>
<0.019, -0.041, -0.000>
    <-0.137, -0.179, -0.000> <-0.137, -0.179, -0.000> <0.013, -0.179, 0.150> <
0.013, -0.179, 0.150>
    <-0.344, -0.362, -0.000> <-0.194, -0.362, 0.150> <-0.144, -0.362, 0.200>
<0.006, -0.362, 0.350>
    <-0.500, -0.500, 0.000> <-0.350, -0.500, 0.150> <-0.150, -0.500, 0.350>
<0.000, -0.500, 0.500>
  }
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <0.019, -0.041, -0.000> <0.163, -0.179, -0.000> <0.356, -0.362, -0.000>
<0.500, -0.500, 0.000>
    <0.019, -0.041, -0.000> <0.163, -0.179, -0.000> <0.206, -0.362, 0.150>
<0.350, -0.500, 0.150>
    <0.019, -0.041, -0.000> <0.013, -0.179, 0.150> <0.156, -0.362, 0.200>
<0.150, -0.500, 0.350>
    <0.019, -0.041, -0.000> <0.013, -0.179, 0.150> <0.006, -0.362, 0.350>
<0.000, -0.500, 0.500>
  }
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <0.019, -0.041, -0.000> <0.019, -0.041, -0.000> <0.019, -0.041, -0.000>
<0.019, -0.041, -0.000>
    <0.163, -0.179, -0.000> <0.163, -0.179, -0.000> <0.013, -0.179, -0.150>
<0.013, -0.179, -0.150>
    <0.356, -0.362, -0.000> <0.206, -0.362, -0.150> <0.156, -0.362, -0.200>
<0.006, -0.362, -0.350>
    <0.500, -0.500, 0.000> <0.350, -0.500, -0.150> <0.150, -0.500, -0.350>
<0.000, -0.500, -0.500>
  }
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <-0.500, -0.500, 0.000> <-0.500, -0.500, 0.000> <-0.500, -0.500, 0.000>
<-0.500, -0.500, 0.000>
    <-0.350, -0.500, -0.150> <-0.200, -0.500, 0.000> <-0.200, -0.500, 0.000>
<-0.350, -0.500, 0.150>
    <-0.150, -0.500, -0.350> <-0.150, -0.500, -0.050> <-0.150, -0.500, 0.050>
<-0.150, -0.500, 0.350>
    <0.000, -0.500, -0.500> <0.000, -0.500, -0.200> <0.000, -0.500, 0.200>
<0.000, -0.500, 0.500>
  }
  bicubic_patch {
    type 1
    flatness 0
    u_steps 3
    v_steps 3
    <0.500, -0.500, 0.000> <0.500, -0.500, 0.000> <0.500, -0.500, 0.000>
<0.500, -0.500, 0.000>
    <0.350, -0.500, 0.150> <0.200, -0.500, 0.000> <0.200, -0.500, 0.000>
<0.350, -0.500, -0.150>
    <0.150, -0.500, 0.350> <0.150, -0.500, 0.050> <0.150, -0.500, -0.050>
<0.150, -0.500, -0.350>
    <0.000, -0.500, 0.500> <0.000, -0.500, 0.200> <0.000, -0.500, -0.200>
<0.000, -0.500, -0.500>
  }
  translate <0, 2, 0>
}

// House
#declare Birdhouse_House =
merge {
  union {
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <-0.500, 0.500, -0.500> <-0.300, 0.500, -0.500> <0.300, 0.500, -0.500>
<0.500, 0.500, -0.500>
      <-0.500, 0.500, -0.400> <-0.300, 0.500, -0.400> <0.300, 0.500, -0.400>
<0.500, 0.500, -0.400>
      <-0.500, 0.500, 0.300> <-0.300, 0.500, 0.300> <0.300, 0.500, 0.300>
<0.500, 0.500, 0.300>
      <-0.500, 0.500, 0.500> <-0.300, 0.500, 0.500> <0.300, 0.500, 0.500>
<0.500, 0.500, 0.500>
    }
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <-0.500, 0.500, -0.500> <-0.500, 0.500, -0.400> <-0.500, 0.500, 0.300>
<-0.500, 0.500, 0.500>
      <-0.500, 0.300, -0.500> <-0.500, 0.300, -0.400> <-0.500, 0.300, 0.300>
<-0.500, 0.300, 0.500>
      <-0.500, -0.300, -0.500> <-0.500, -0.300, -0.400> <-0.500, -0.300,
0.300> <-0.500, -0.300, 0.500>
      <-0.500, -0.500, -0.500> <-0.500, -0.500, -0.400> <-0.500, -0.500,
0.300> <-0.500, -0.500, 0.500>
    }
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <-0.500, 0.500, -0.500> <-0.500, 0.300, -0.500> <-0.500, -0.300, -0.500>
<-0.500, -0.500, -0.500>
      <-0.300, 0.500, -0.500> <-0.300, 0.300, -0.500> <-0.300, -0.300, -0.500>
<-0.300, -0.500, -0.500>
      <0.300, 0.500, -0.500> <0.300, 0.300, -0.500> <0.300, -0.300, -0.500>
<0.300, -0.500, -0.500>
      <0.500, 0.500, -0.500> <0.500, 0.300, -0.500> <0.500, -0.300, -0.500>
<0.500, -0.500, -0.500>
    }
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <-0.500, 0.500, 0.500> <-0.300, 0.500, 0.500> <0.300, 0.500, 0.500>
<0.500, 0.500, 0.500>
      <-0.500, 0.300, 0.500> <-0.300, 0.300, 0.500> <0.300, 0.300, 0.500>
<0.500, 0.300, 0.500>
      <-0.500, -0.300, 0.500> <-0.300, -0.300, 0.500> <0.300, -0.300, 0.500>
<0.500, -0.300, 0.500>
      <-0.500, -0.500, 0.500> <-0.300, -0.500, 0.500> <0.300, -0.500, 0.500>
<0.500, -0.500, 0.500>
    }
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <-0.500, -0.500, -0.500> <-0.500, -0.500, -0.400> <-0.500, -0.500,
0.300> <-0.500, -0.500, 0.500>
      <-0.300, -0.500, -0.500> <-0.300, -0.500, -0.400> <-0.300, -0.500,
0.300> <-0.300, -0.500, 0.500>
      <0.300, -0.500, -0.500> <0.300, -0.500, -0.400> <0.300, -0.500, 0.300>
<0.300, -0.500, 0.500>
      <0.500, -0.500, -0.500> <0.500, -0.500, -0.400> <0.500, -0.500, 0.300>
<0.500, -0.500, 0.500>
    }
    bicubic_patch {
      type 1
      flatness 0
      u_steps 3
      v_steps 3
      <0.500, 0.500, -0.500> <0.500, 0.300, -0.500> <0.500, -0.300, -0.500>
<0.500, -0.500, -0.500>
      <0.500, 0.500, -0.400> <0.500, 0.300, -0.400> <0.500, -0.300, -0.400>
<0.500, -0.500, -0.400>
      <0.500, 0.500, 0.300> <0.500, 0.300, 0.300> <0.500, -0.300, 0.300>
<0.500, -0.500, 0.300>
      <0.500, 0.500, 0.500> <0.500, 0.300, 0.500> <0.500, -0.300, 0.500>
<0.500, -0.500, 0.500>
    }
    scale .7
    translate <0, 1.155, 0>
    rotate <0, 45, 0>
  }

  // Hole
  cylinder {
    <.7, 2.5, 0>,
    <0, 2.5, 0>,
    0.25
    open
    rotate <0, 45, 0>
    scale .5
  }
}

// Perch
#declare Birdhouse_Perch =
cylinder {
  <-.2, 1.1, 0>,
  <.5, 1.1, 0>,
  0.02
  rotate <0, 45, 0>
}

// Post
#declare Birdhouse_Post =
  cylinder {
  <-1, 0, 0>,
  <1, 0, 0>,
  0.07
  rotate <45, 0, 90>
}


Post a reply to this message

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