POV-Ray : Newsgroups : povray.binaries.images : More materials based on proximity patterns : Re: More materials based on proximity patterns Server Time
14 May 2024 10:09:37 EDT (-0400)
  Re: More materials based on proximity patterns  
From: Bald Eagle
Date: 11 Oct 2017 21:45:00
Message: <web.59dec83df661679f5cafe28e0@news.povray.org>
I was thinking about this from entirely another angle:

Currently the object pattern can give us results based on inside vs outside of a
3D object.

Is there [no] ... could there be a way [in the future] to do something similar
to this where the _surface_ of the object is a result?

If this could be implemented in a way that a pattern function could take
advantage of that, then you could make an isosurface of any object, and then you
could scale it nonlinearly - which AFAIK is not currently possible.

http://www.econym.demon.co.uk/isotut/substitute.htm

It would also instantly provide a method to convert an object into a mesh using
one of the isosurface approximation methods.
And loads of people would LOVE to have that at their fingertips.

With regard to that aspect, if a surface pattern is too long off in the future,
is there a way to do a ray-object intersection "function" that returns the
crossing number
https://en.wikipedia.org/wiki/Point_in_polygon
AND an array that has the coordinates of the crossing points?

Because that would provide a powerful method to construct meshes, and do all
sorts of other analyses and manipulations on objects.

Just asking out of curiosity, since it seems these features aren't that
different from what's available already or happens internally.


Post a reply to this message

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