|
|
Is this possible? I have a beautiful antique lupe (Holmesian magnifying
glass) modelled, but the intricate texture of the handle is lost when there
is no direct illumination, as it uses a surface normal... radiosity is very
heavily used in this particular scene, so I was thinking... would it be
possible to do something like this:
#declare fn_lathe = [some sort of lathe object def]
#declare fn_pigment = [the pigment derived function]
And then do a run-of-the-mill isosurface using a pigment based function
subtracted from the base function, as I've done before per the POV docs.
Is this even feasible? TIA.
Post a reply to this message
|
|
|
|
In article <3ec550cf$1@news.povray.org>,
"Hal Meyer" <inf### [at] thepatchwerkscom> wrote:
> Is this possible? I have a beautiful antique lupe (Holmesian magnifying
> glass) modelled, but the intricate texture of the handle is lost when there
> is no direct illumination, as it uses a surface normal... radiosity is very
> heavily used in this particular scene, so I was thinking...
There is a feature that makes radiosity take the surface normal into
account. This apparently slows things down a bit, but may be worth
looking into. Try putting "normal on" in the radiosity block.
> would it be possible to do something like this:
>
> #declare fn_lathe = [some sort of lathe object def]
> #declare fn_pigment = [the pigment derived function]
>
> And then do a run-of-the-mill isosurface using a pigment based function
> subtracted from the base function, as I've done before per the POV docs.
> Is this even feasible? TIA.
You can't use a lathe as a base for an isosurface function. You seem to
be thinking of the object function, but it has an infinite gradient
between the "inside" and "outside" areas which causes problems for the
isosurface solving algorithm.
However, you *can* use spline functions in isosurfaces. Use a spline
function for the radius to a cylinder function and you have a sor
object. A lathe would be a bit tougher to do, but you can do other
things to distort the sor-isosurface into shapes that would ordinarily
only be possible with a lathe. A spline function is defined like this:
#declare MySplineFn = function {spline {...usual spline stuff...}}
And remember that it returns a vector, so you will have to use something
like "MySplineFn(t-expression).x" to use it in an isosurface. You could
use this to pack more information than usual into the spline...treat
each dimension as a separate spline with the same T values.
--
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/
Post a reply to this message
|
|
|
|
On Fri, 16 May 2003 21:29:22 -0500, Christopher James Huff
<cja### [at] earthlinknet> wrote:
> A lathe would be a bit tougher to do, but you can do other
> things to distort the sor-isosurface into shapes that would ordinarily
> only be possible with a lathe.
... and then there is a dedicated macro in isocsg to make isosurface similiar to
sor object http://www-public.tu-bs.de:8080/~y0013390/pov/ic/docu02.html#Sor
which internally use dedicated 3.5 compatible function or sor_spline type
builded in megapov http://megapov.inetart.net/manual/expressions.html#sor_spline
ABX
Post a reply to this message
|
|