POV-Ray : Newsgroups : povray.binaries.images : Invitation: The Gate is Never Locked : Re: Invitation: The Gate is Never Locked Server Time
2 Aug 2024 20:20:34 EDT (-0400)
  Re: Invitation: The Gate is Never Locked  
From: Stefan Viljoen
Date: 16 Jun 2007 06:14:40
Message: <4673b810@news.povray.org>
Kirk Andrews wrote:

>> Yikes! How do you "turn a bitmap into a function"? The isosurface part I
>> (think) I've got an idea how to do, as well as adding the bumps. But how
>> do you turn a bitmap into an isosurface function?
> 
> You can turn any pigment into a function, so first declare an image
> pattern pigment, and then declare a function using that pigment.  This is
> my code:

Ooooo! Thanks Kirk - I'd never have thought of that myself. Of course, it
probably is there in the docs, but I'd -never- have figured it out / picked
it up myself.

I've just had an epiphany here - you've opened up so many cool ideas my head
is spinning... thanks for sharing the code. You've just stimulated some
serious creativity - this technique offers so many possibilities (for me at
least.)

Thanks again...

Regards,
-- 
Stefan


Post a reply to this message

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