POV-Ray : Newsgroups : povray.newusers : How to make the dish look like a mesh : How to make the dish look like a mesh Server Time
2 Jun 2024 14:12:49 EDT (-0400)
  How to make the dish look like a mesh  
From: gharryh
Date: 16 Jun 2013 16:10:01
Message: <web.51be1a90f61a7d1a520168c30@news.povray.org>
Having completed the contruction of a satelite dish using this code.
The scene code looks like this:
[code]
// Create a dish width a diameter of 120cM
#declare dish_radius = 600;
#declare dish_depht = 15;

#declare BasicDish =
union {
    intersection {
        object { Paraboloid_Y scale <dish_radius, dish_depht, dish_radius> }
        object { Paraboloid_Y scale <dish_radius-1, dish_depht-1, dish_radius-1>
}
        plane  { y,dish_depht }
        texture{ clear_al }
        finish {
            ambient 0.2
            diffuse 0.8
            phong 1.0
            phong_size 10
        }
    }
}

#declare Rim =
union {
    difference {
        cylinder{<0,0,0><0,2,0>dish_radius }
        cylinder{<0,-.5,0><0,2.5,0>dish_radius-2.5 }
    } texture{ Brushed_Aluminum }
}

#declare MountingPlate =
union {
    difference {
        cylinder{<0,0,0><0,-4,0>100 }
        cylinder{<0,.5,0><0,-4.5,0>7.5 }
    } texture{ vero_green }
}

#declare SatDish =
union {
    union {
        difference {
            object{ BasicDish }
            cylinder{<0,-.5,0><0,dish_depht+1,0>2.25 }
        }
        object{ Rim translate<0,dish_depht,0> }
        object{ MountingPlate }
    } rotate<90,0,0>
}[/code]
But the question is how make i the dish look like its made out of mesh
It should look somthing like this
http://www.harry-arends.nl/werkgroep/images/schotelKL.jpg


Post a reply to this message

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