|
|
Hi! me again. played around with the paraboloids a little. I can't seem
to bound them, why?
take a look at this pov file.
// Persistence of Vision Ray Tracer Scene Description File
// File: ?.pov
// Vers: 3
// Desc: Checkered Floor Example (I use this example as a start for the
#includes, settings, and camera)
// Date: mm/dd/yy
// Auth: ?
//
#version 3
#include "colors.inc"
#include "shapes.inc"
global_settings
{
assumed_gamma 1.0
}
// ----------------------------------------
camera
{
location <0.0, 10.5, 0.0>
direction 1.5*z
right 4/3*x
look_at <0.0, 0.0, 0.0>
}
sky_sphere
{
pigment
{
gradient y
color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
}
}
light_source
{
0*x // light's position (translated below)
color red 1.0 green 1.0 blue 1.0 // light's color
translate <-30, 30, -30>
}
// ----------------------------------------
plane
{
y, -1
texture
{
pigment {checker color rgb 1 color blue 1 scale 0.5}
finish {reflection 0.2}
}
}
object
{Paraboloid_Y
rotate <90,180,0>
scale <1,1,1>
translate <0,-1,0>
bounded_by{box
{
<-3,0.5, 0> // one corner position <X1 Y1 Z1>
< 0, 0, -10> // other corner position <X2 Y2 Z2>
}
}
pigment {color green 1}
}
box
{
<-3,0.5, 0> // one corner position <X1 Y1 Z1>
< 0, 0, -10> // other corner position <X2 Y2 Z2>
}
^^ this box shows the region in the paraboloid to be bounded
Post a reply to this message
|
|
|
|
Eitan Tal wrote:
>
> Hi! me again. played around with the paraboloids a little. I can't seem
> to bound them, why?
Because Bounded_by is an old optimisation (which is usually removed by
the automatic bounding of pov unless you ask to keep it).
What you want is clipped_by !
Same old story, ever...
Post a reply to this message
|
|