|
|
Well, I played a bit with that, and I tried to see what's going on with
clipped_by.
Clipped_By didn't gave the warning that Bounded_By gave: uneccary
bouding object
removed. If I clipped the box with the paraboloid, I got the cap of the
paraboloid,
and if I clipped the paraboloid with the box I got the cup.
I can merge them and get the full paraboloid. check this file:
--------------------------
// Persistence of Vision Ray Tracer Scene Description File
// File: ?.pov
// Vers: 3
// Desc: Checkered Floor Example
// Date: mm/dd/yy
// Auth: ?
//
#version 3
#include "colors.inc"
#include "shapes.inc"
global_settings
{
assumed_gamma 1.0
}
// ----------------------------------------
camera
{
location <0.0, 25.5, -20.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 4}
finish {reflection 0.2}
}
}
#declare Paraboloid_Cup =
object {Paraboloid_Y
pigment {color rgb <0,1,0>}
clipped_by { box { <10,10,10>, <-10,-10,-10> }}
}
#declare Paraboloid_Cap =
box {<10,10,10>, <-10,-10,-10>
pigment {color rgb <1,0,0>}
clipped_by {object {Paraboloid_Y}}
}
#declare Cutten_Paraboloid =
union {
object {Paraboloid_Cup}
object {Paraboloid_Cap}
}
object {Cutten_Paraboloid translate <-10,0,0>}
object {Paraboloid_Cup translate <0,0,0>}
object {Paraboloid_Cap translate <10,0,0>}
-------------
was that bound bug because the paraboloid is infinite or doesn't have
any region in it? (hollow?)
if it has no region, why would clipped_by work?
Post a reply to this message
|
|
|
|
On Wed, 23 Feb 2000 15:24:19 +0200, Eitan Tal wrote:
>was that bound bug because the paraboloid is infinite or doesn't have
>any region in it? (hollow?)
>if it has no region, why would clipped_by work?
IT'S NOT A BUG! Bounded_by doesn't do what you think it does! Go
reread the documentation!!!!!
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
|
|
|
Eitan Tal <eit### [at] netvisionnetil> wrote:
: Clipped_By didn't gave the warning that Bounded_By gave: uneccary
: bouding object
: removed.
Clipping and bounding are different things. They don't do the same thing.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|