POV-Ray : Newsgroups : povray.binaries.images : Mug, the Revenge Server Time
15 Nov 2024 04:19:29 EST (-0500)
  Mug, the Revenge (Message 1 to 4 of 4)  
From: Felbrigg
Subject: Mug, the Revenge
Date: 11 Mar 2004 09:20:53
Message: <405075c5@news.povray.org>
Inspired by James' Mug, posted Yesterday.  Heres another , just dont look
inside, something must have gone wrong in the kiln :-)

BTW it is my first lathe.

Source ,bit of mess, below...

#include "shapes.inc"
#include "colors.inc"


#declare SnakeWood =
texture {  /* Bottom wood-grain layer */
    pigment {
        wood
        turbulence 0.05
        color_map {
            [0.00 rgb <0.58, 0.45, 0.23>]
            [0.34 rgb <0.65, 0.45, 0.25>]
            [0.40 rgb <0.33, 0.23, 0.13>]
            [0.47 rgb <0.60, 0.40, 0.20>]
            [1.00 rgb <0.25, 0.15, 0.05>]
        }
    }
    finish {
        //crand 0.02
        //ambient 0.32
        diffuse 0.63
        //phong 0.2
        //phong_size 10
    }
    normal { bumps 0.05 }
}
texture {     /* top layer, adds small dark spots */
    pigment {
        bozo
        color_map {
            [0.0 rgbt <1.00, 1.00, 1.00, 1.00>]
            [0.8 rgbt <1.00, 0.90, 0.80, 0.80>]
            [1.0 rgbt <0.30, 0.20, 0.10, 0.40>]
        }
    scale 0.25
    }
    finish { ambient 0 }
}



camera  { location <6,15,-35> look_at <-5,5,0> }

background { color Black }

light_source {
        //<-40,70,00>
        <40,70,-50>
colour White
        spotlight point_at <0,0,0>
                tightness 50
                radius 7
                falloff 20
                photons {
                        reflection on
                        refraction on
                        }

 }

//light_source { <-60, 20, -50> color rgb <0.2, 0.25, 0.3> shadowless }

object  { Round_Box(<-42,0,-17>,<100,-5,1000>,0.2,no)
        texture {
                SnakeWood scale 0.5
                finish  {
                        ambient 0
                        }
                rotate <10,25,0>
                }
        texture {
                pigment { color rgbf< 0.7, 0.8, 0.98,1> }
                finish  {
                        reflection {0.1,0.12}
                        specular 0.5
                        ambient 0
                        diffuse 0.7
                        }
                }
        }




#declare mug =merge   {
        lathe   {
                quadratic_spline
                14,
                <-.5,0>, //control point
                <0,0.5>,
                <3,0.5>,
                <3.3, 0.1>,
                <3.6, 0.1>,
                <4,0.5>,
                <5,0.5>,
                <5.5,2>,
                <5.4,12.1>,
                <5,12.1>,
                <4.9,12>,
                <4.9,2>,
                <4.8,1.5>,
                <0,1.5>
                }


        sphere_sweep    {
                        cubic_spline
                        10,
                        <-0.4, 0, 0>, .5
                        <0, 1, 0>, .5
                        <0, 2, 0>, 0.5
                        <2, 3, 0>, 0.5
                        <3, 5, 0>, .5
                        <3,6,0>, .5
                        <2, 7, 0>,.5
                        <1,7,0>, .5
                        <0, 6, 0>,.5
                        <0, 5, 0>, .5
                        tolerance 0.1
                        rotate <0,0,2>
                        scale <.9,1.1,1.8>
                        translate <5.5,3,0>
                        }
        texture {
/*
                normal  {
                        spiral1 42  rotate <90,0,0>
                        warp { turbulence .5 }
                        }
*/
                pigment {
                        White *2
                        }
                finish  {
                        reflection {0.1,0.5}
                        specular 0.7
                        ambient 0
                        diffuse 0.7
                        }
                }
}


object { mug }
//object { mug  rotate <0,75,0> translate <-15,0,-5>}
//object { mug  rotate <0,193,0> translate <-12,0,2>}


Post a reply to this message


Attachments:
Download 'Mug2.jpg' (42 KB)

Preview of image 'Mug2.jpg'
Mug2.jpg


 

From: Dan P
Subject: Re: Mug, the Revenge
Date: 11 Mar 2004 19:15:37
Message: <40510129$1@news.povray.org>
"Felbrigg" <som### [at] microsoftcom> wrote in message
news:405075c5@news.povray.org...
> Inspired by James' Mug, posted Yesterday.  Heres another , just dont look
> inside, something must have gone wrong in the kiln :-)
>
> BTW it is my first lathe.


Cool. Revenge against whom/what though? Was the mug dropped? Did coffee
spill on some old lady's lap and she threw it out the window? Perhaps
McDonalds is the intended target? :-)

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


Post a reply to this message

From: James Taylor
Subject: Re: Mug, the Revenge
Date: 12 Mar 2004 08:37:52
Message: <4051bd30$1@news.povray.org>
Cool!

Plus I'm gonna run off with that SnakeWood texture.. If you don't mind?)

jim


Post a reply to this message

From: Felbrigg
Subject: Re: Mug, the Revenge
Date: 12 Mar 2004 09:07:43
Message: <4051c42f@news.povray.org>
> Plus I'm gonna run off with that SnakeWood texture.. If you don't mind?)

Go ahead!  I can't even remember where I nicked it from!


Post a reply to this message

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