|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greetings all!
I am playing with povray the first day and really enjoying it. Here comes the
questions... I need to produce an empty hemisphere ("a dome") with a circular
bitmap image stretch onto the top as image_map
The bitmap looks something like this
img85.imageshack.us/img85/9955/123455555.png
If i run the following script.....
//-------------------------------
#include "colors.inc"
#include "coordinates.inc"
light_source { <-100, 100, -50> White }
object {coordinates}
camera { location <-70, 70, 0> look_at 0 angle 36 }
background { color Grey }
#declare Eggshell = difference {
sphere{<0,0,0>,10 pigment{ image_map { png "cmap.png" map_type 1} } }
sphere{<0,0,0>,9.9 pigment{Red} }
}
#declare CutEggshell = difference {
object{Eggshell}
box{<10,10,10>,<0,-10,-10> }
}
object{CutEggshell rotate<0,0,0>}
object{CutEggshell rotate<0,180,0> translate<0,0,-20>}
//-------------------------------
.... i've got a distorted map on the hemisphere surface like this
img687.imageshack.us/img687/4619/screenshot20120225at120.png
Can you recommend a correct way?
Thanks!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"s.soubatch" <s.s### [at] gmailcom> wrote:
> Greetings all!
>
> I am playing with povray the first day and really enjoying it. Here comes the
> questions... I need to produce an empty hemisphere ("a dome") with a circular
> bitmap image stretch onto the top as image_map
>
> The bitmap looks something like this
>
> img85.imageshack.us/img85/9955/123455555.png
>
> If i run the following script.....
>
> //-------------------------------
> #include "colors.inc"
> #include "coordinates.inc"
>
> light_source { <-100, 100, -50> White }
> object {coordinates}
> camera { location <-70, 70, 0> look_at 0 angle 36 }
> background { color Grey }
>
> #declare Eggshell = difference {
> sphere{<0,0,0>,10 pigment{ image_map { png "cmap.png" map_type 1} } }
> sphere{<0,0,0>,9.9 pigment{Red} }
> }
>
> #declare CutEggshell = difference {
> object{Eggshell}
> box{<10,10,10>,<0,-10,-10> }
> }
>
> object{CutEggshell rotate<0,0,0>}
> object{CutEggshell rotate<0,180,0> translate<0,0,-20>}
> //-------------------------------
>
> .... i've got a distorted map on the hemisphere surface like this
>
> img687.imageshack.us/img687/4619/screenshot20120225at120.png
>
> Can you recommend a correct way?
>
> Thanks!
problem solved!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|