POV-Ray : Newsgroups : povray.newusers : ERROR IN ISECT()?---developers lurking? : Re: ERROR IN ISECT()?---developers lurking? Server Time
30 Jul 2024 14:22:07 EDT (-0400)
  Re: ERROR IN ISECT()?---developers lurking?  
From: MVSmith
Date: 12 Feb 2004 14:02:10
Message: <402bcdb2$1@news.povray.org>
Will post a test scene, probably tomorrow.

Chris


"Christoph Hormann" <chr### [at] gmxde> wrote in message
news:8cu### [at] tritonimagicode...
> MVSmith wrote:
> > In an earlier posting (on 20040121), I requested info on "scanning"
> > unions and differences of objects to read off height-field data from the
> > composite structure and thence out to a text file. A day or two after
this
> > I discovered the isect() function, which seems to do the trick.
>
> I don't know such a function, neither in POV-SDL syntax nor in the
> POV-Ray source code.
>
> > Except....that when the vector you're using to intersect with the
intended
> > surface strikes the junction between two objects in this composite
> > structure,
> > sometimes it shoots through the seam and intersects the surface on the
> > opposite
> > side.
> >
> > Here's a test case.
> > Create a cube 4 units on a side, centered at the origin.
> > Create a sphere of radius 1, offset 2 units along the +y axis.
> > Create an object that is the difference between these--what you get is
> > a cube with a hemispherical "basin" of radius 1. The composite object
> > is centered on the y axis.
> >
> > [...]
>
> It would probably be much easier if you just post a minimal test scene
> to reproduce your problem.
>
> Christoph
>
> --
> POV-Ray tutorials, include files, Sim-POV,
> HCR-Edit and more: http://www.tu-bs.de/~y0013390/
> Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.