|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello !
Well i've been trying to use some isosurfaces, i copied the exact source
code from a tutorial, and the output image is ugly. Why ??
Here is the code :
#include "colors"
#declare Check1 = pigment {checker color YellowGreen color OrangeRed}
camera {location <2,1.6,1.2> direction z*1 look_at <0,0,0>}
box {-1,1 pigment {White transmit .7} no_shadow} //montre le conteneur
light_source {<40,50,30> White*2}
isosurface {
function {x*x + y*y + z*0 - 0.5}
threshold 0
contained_by {box {-1,1}}
max_trace 3
pigment {Check1}
}
And here is the picture :
http://img142.imageshack.us/img142/1672/objets7eo.th.png
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This is a problem of max_gradient.
Look at the documentation, chapter 2.3.3.3.10 and 3.4.4
Then, add the line
max_gradient 3
into your isosurface block
news:web.44659be2a18bc2191ba56a630@news.povray.org...
> Hello !
> Well i've been trying to use some isosurfaces, i copied the exact source
> code from a tutorial, and the output image is ugly. Why ??
>
> Here is the code :
>
> #include "colors"
> #declare Check1 = pigment {checker color YellowGreen color OrangeRed}
> camera {location <2,1.6,1.2> direction z*1 look_at <0,0,0>}
> box {-1,1 pigment {White transmit .7} no_shadow} //montre le conteneur
> light_source {<40,50,30> White*2}
>
> isosurface {
> function {x*x + y*y + z*0 - 0.5}
> threshold 0
> contained_by {box {-1,1}}
> max_trace 3
> pigment {Check1}
> }
>
> And here is the picture :
> http://img142.imageshack.us/img142/1672/objets7eo.th.png
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
well okay i hadnt seen the FAQ xD
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it Gyscos who wrote:
>Hello !
>Well i've been trying to use some isosurfaces, i copied the exact source
>code from a tutorial, and the output image is ugly. Why ??
>
>Here is the code :
>
>#include "colors"
>#declare Check1 = pigment {checker color YellowGreen color OrangeRed}
>camera {location <2,1.6,1.2> direction z*1 look_at <0,0,0>}
>box {-1,1 pigment {White transmit .7} no_shadow} //montre le conteneur
>light_source {<40,50,30> White*2}
>
>isosurface {
> function {x*x + y*y + z*0 - 0.5}
> threshold 0
> contained_by {box {-1,1}}
> max_trace 3
> pigment {Check1}
>}
Somehow you've got "max_trace" instead of "max_gradient".
See: http://www.econym.demon.co.uk/isotut/maxgradient.htm
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|