|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello,
when i create a scene with
camera { location <0,0,-5> look_at <0,0,0>}
//hollow
box {
<-10,-10,-10>,<10,10,10>
pigment { color <0,0,0> }
finish { reflection 0}
}
#declare bars_width = 0.25;
#declare bars_height = 1;
#declare bars_depth = 1;
box {
<-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
pigment {color <1,1,1> }
}
i found out, that the bar is not centered.
it is shifted about x=0.215... to the right.
what went wrong?
thanks in advance
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It works fine for me. Have you tested that scene,
or is it an untested excerpt from a different
file?
--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: no_lights (@) digitaltwilight.de
> hello,
>
> when i create a scene with
> camera { location <0,0,-5> look_at <0,0,0>}
> //hollow
> box {
> <-10,-10,-10>,<10,10,10>
> pigment { color <0,0,0> }
> finish { reflection 0}
> }
> #declare bars_width = 0.25;
> #declare bars_height = 1;
> #declare bars_depth = 1;
> box {
> <-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
> pigment {color <1,1,1> }
> }
> i found out, that the bar is not centered.
> it is shifted about x=0.215... to the right.
> what went wrong?
>
> thanks in advance
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.520 / Virus Database: 318 - Release Date: 18.09.2003
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"marabou" <not### [at] availableyet> wrote in message
news:200### [at] availableyet...
seems okay - here's the version I tested with:
#version 3.5;
#include "colors.inc"
global_settings{
ambient_light 10
}
camera {orthographic location <0,0,-5> look_at <0,0,0>}
#declare bars_width = 0.25;
box {
<-1.5,-bars_width/2,0>,<1.5,bars_width/2,1>
pigment {color <1,1,1> }
}
cylinder{<-1.5-0.215, -5, 2>,<-1.5-0.215, 5, 2>,0.213 pigment{Yellow}}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|