POV-Ray : Newsgroups : povray.newusers : ERROR IN ISECT()?---developers lurking? : Re: ERROR IN ISECT()?---developers lurking? Server Time
30 Jul 2024 14:27:45 EDT (-0400)
  Re: ERROR IN ISECT()?---developers lurking?  
From: Christoph Hormann
Date: 12 Feb 2004 14:00:05
Message: <8cusf1-knk.ln1@triton.imagico.de>
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.