POV-Ray : Newsgroups : povray.binaries.images : some bubbles : Re: some bubbles Server Time
14 Aug 2024 07:12:18 EDT (-0400)
  Re: some bubbles  
From: hughes, b 
Date: 22 Nov 2002 17:31:03
Message: <3ddeb027@news.povray.org>
"Apache" <apa### [at] yahoocom> wrote in message
news:web.3dde3c90e657c75cd6c85a140@news.povray.org...
> How can I do that? Maybe I shouldn't use iridiscence and do the texturing
> "by hand"? Or can I do this by changing the current thickness and
> turbulence?
>
> Remco de Korte wrote:
> >The colours on the bubbles should have sharper edges I think.

That would be a good thing to be able to do with irid{}. As it is now it
looks like the way it is created makes for something like a bozo pattern
with a triangle wave in the pattern.

Checking it in the source code here I found it in lighting.cpp. I can't make
head nor tails of the actual way it gets created but I changed it a little
to see what would happen. I got narrower bands of color is all. Does so
already if you raise either thickness or turbulence, which appears to almost
scale it inversely as the values are raised. But I think I know a
possibility to set it up to be sharper boundaries so I'm going to try that
next. I don't know this C++ programming at all, or enough to confidently
modify it right.

Anyway, the turbulence counterparts, lambda and omega, are set in the source
and unchangeable within your pov script. Only thing you can change is
irid_wavelength; to shift the color spectrum, I guess you could call it.


Post a reply to this message

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