POV-Ray : Newsgroups : povray.general : Converting halo to interior Server Time
31 Jul 2024 00:34:09 EDT (-0400)
  Converting halo to interior (Message 4 to 13 of 13)  
<<< Previous 3 Messages Goto Initial 10 Messages
From: Warp
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 16:05:23
Message: <48751a02@news.povray.org>
Robert McGregor <rob### [at] mcgregorfineartcom> wrote:
> > "Nobody, and no algorithm or trick can do that.  Halos and media are
> > really different beasts.  The best you can do is learn to use media,
> > then try to re-create the effect.  That's a classic problem, and this
> > was always the only answer, sorry.

  One of the major problems is that media density components do not
support the filter/transmit channels. This makes it impossible to
simulate certain halo effects with media. (And no, I don't think this
is a good thing, and I think media should be enhanced in this respect.)

  For example having a density like this was possible with halos:

[0 rgb 1 transmit 0]
[1 rgb <1, 0, 0> transmit 1]

  With current media densities it's basically impossible to get the
same effect.

-- 
                                                          - Warp


Post a reply to this message

From: SharkD
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 17:00:00
Message: <web.487526ab85f76549fd73bb3b0@news.povray.org>
That said, can anyone help me with converting the following code? Thanks!

halo
{
 cubic
 max_value 3 spherical_mapping glowing
 colour_map {[0 color rgbt <1,0,0,1>][1 color rgbt <1,1,0,0>]}
 turbulence 1.5 samples 30
}
halo
{
 cubic
 max_value 3 spherical_mapping glowing
 colour_map {[0 color rgbt <1,0,0,1>][1 color rgbt <1,1,0,0>]}
 turbulence 1.05 samples 30 scale .5
 rotate  y*45 translate y*1
}

-Mike


Post a reply to this message

From: Warp
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 17:02:33
Message: <48752769@news.povray.org>
SharkD <nomail@nomail> wrote:
> That said, can anyone help me with converting the following code? Thanks!

  As I said in my post, it's not possible.

-- 
                                                          - Warp


Post a reply to this message

From: Robert McGregor
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 18:00:01
Message: <web.487534ac85f76549bd1b3ad10@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> That said, can anyone help me with converting the following code? Thanks!
>
> halo
> {
>  cubic
>  max_value 3 spherical_mapping glowing
>  colour_map {[0 color rgbt <1,0,0,1>][1 color rgbt <1,1,0,0>]}
>  turbulence 1.5 samples 30
> }
> halo
> {
>  cubic
>  max_value 3 spherical_mapping glowing
>  colour_map {[0 color rgbt <1,0,0,1>][1 color rgbt <1,1,0,0>]}
>  turbulence 1.05 samples 30 scale .5
>  rotate  y*45 translate y*1
> }
>
> -Mike

As Warp pointed out in his example, the transmit component (rgb*t*) isn't
possible, media ignores it. Maybe you could try using MegaPov's glow feature?
What are you trying to achieve? Can you post a sample image?

-Rob

"There is no spoon."


Post a reply to this message

From: SharkD
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 19:05:01
Message: <web.487543de85f765493de647460@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> wrote:
> As Warp pointed out in his example, the transmit component (rgb*t*) isn't
> possible, media ignores it. Maybe you could try using MegaPov's glow feature?
> What are you trying to achieve? Can you post a sample image?
>
> -Rob
>
> "There is no spoon."

It's supposed to look like a flame shooting out of a rocket, I think. I'm not
sure, I haven't been able to render it myself yet.

-Mike


Post a reply to this message

From: SharkD
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 19:05:01
Message: <web.4875440785f765493de647460@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> wrote:
> As Warp pointed out in his example, the transmit component (rgb*t*) isn't
> possible, media ignores it. Maybe you could try using MegaPov's glow feature?
> What are you trying to achieve? Can you post a sample image?
>
> -Rob
>
> "There is no spoon."

Has a free version of MegaPov been released yet? I thought it was still in
development.

-Mike


Post a reply to this message

From: Robert McGregor
Subject: Re: Converting halo to interior
Date: 9 Jul 2008 22:25:00
Message: <web.4875721a85f76549bd1b3ad10@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> Has a free version of MegaPov been released yet? I thought it was still in
> development.
>
> -Mike

MegaPov has always been free - the latest "official" unofficial release was just
over a year ago. It's just like POV-Ray with lots of additional features built
in:

http://megapov.inetart.net/

-Rob

"There is no spoon."


Post a reply to this message

From: SharkD
Subject: Re: Converting halo to interior
Date: 10 Jul 2008 03:55:01
Message: <web.4875bfcc85f76549b319b3150@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> wrote:
> MegaPov has always been free - the latest "official" unofficial release was just
> over a year ago. It's just like POV-Ray with lots of additional features built
> in:
>
> http://megapov.inetart.net/
>
> -Rob
>
> "There is no spoon."

Ah, I must be confused. I thought there was an add-on/POV variant that was
shareware.

-Mike


Post a reply to this message

From: Tim Attwood
Subject: Re: Converting halo to interior
Date: 11 Jul 2008 21:41:27
Message: <48780bc7@news.povray.org>
> That said, can anyone help me with converting the following code? Thanks!
>
One way to convert an old 3.5 halo is to break the single
halo statment into three media statments, with each of
the medias representing a single RGB color.

So...

halo
{
 cubic
 max_value 3 spherical_mapping glowing
 colour_map {[0 color rgbt <1,0,0,1>][1 color rgbt <1,1,0,0>]}
}

becomes something like...

   material {
      texture {
         pigment {Clear}
      }
      interior {
         media {
            emission <1,0,0>
            density {
               spherical
               color_map {
                  [0 rgb 0]
                  [1 rgb 1]
               }
            }
         }
         media {
            emission <0,1,0>
            density {
               spherical
               color_map {
                  [0.0 rgb 0]
                  [0.25 rgb 0]
                  [0.5 rgb 0.1]
                  [1.0 rgb 1]
               }
            }
         }
// blue media left off because it's all zero
      }
   }

Note the uneven density of the green, this is because the
falloff of green values is not linear in the halo, it's a
combination of color fade and transparency fade.
To get a good result you need to experiment with the
density maps, it's not an exact match.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Converting halo to interior
Date: 12 Jul 2008 04:08:14
Message: <4878666e$1@news.povray.org>
"Robert McGregor" <rob### [at] mcgregorfineartcom> schreef in bericht 
news:web.4875721a85f76549bd1b3ad10@news.povray.org...
> "SharkD" <nomail@nomail> wrote:
>> Has a free version of MegaPov been released yet? I thought it was still 
>> in
>> development.
>>
>> -Mike
>
> MegaPov has always been free - the latest "official" unofficial release 
> was just
> over a year ago. It's just like POV-Ray with lots of additional features 
> built
> in:
>
> http://megapov.inetart.net/
>

That was for Mac if I am reading correctly, wasn't it? Latest for Windows 
was in 2005.

Thomas


Post a reply to this message

<<< Previous 3 Messages Goto Initial 10 Messages

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