POV-Ray : Newsgroups : povray.general : Converting halos (old question I know, but please read) Server Time
2 Nov 2024 15:26:09 EDT (-0400)
  Converting halos (old question I know, but please read) (Message 1 to 6 of 6)  
From: evbarry
Subject: Converting halos (old question I know, but please read)
Date: 13 Jan 2004 02:25:01
Message: <web.40039bcf889dff2267a4524c0@news.povray.org>
#declare EngineHalo =
sphere { 0, 0.8
  pigment { color rgbt <1, 1, 1, 1> }
  halo {
    emitting
    spherical_mapping
    cubic
    color_map {
      [ 0.0 color rgbt <1, 0, 0, 1>  ]
      [ 0.666 color rgbt <1, 1, 1, -1> ]
      [ 1   color rgbt <1, 1, 1, -1> ]
    }
  }
  hollow
  scale 0.5*x+y+z
}

I've been trying to convert some old models but my one attempt at a halo
using media ended up with a weak-looking transparent thing. Could someone
convert this for me? It should be very easy for an expert.

Thanks


Post a reply to this message

From: Tom Melly
Subject: Re: Converting halos (old question I know, but please read)
Date: 13 Jan 2004 04:37:27
Message: <4003bc57@news.povray.org>
"evbarry" <nomail@nomail> wrote in message
news:web.40039bcf889dff2267a4524c0@news.povray.org...

sphere { 0, 0.8
  pigment { color rgbt <1, 1, 1, 1> }
  interior{
    media {
      emission 1
      density{
        boxed
        color_map {
          [ 0.0 color rgbt <1, 0, 0, 1>  ]
          [ 0.666 color rgbt <1, 1, 1, -1> ]
          [ 1   color rgbt <1, 1, 1, -1> ]
        }
      }
    }
  }
  hollow
  scale 0.5*x+y+z
}

?


Post a reply to this message

From: Hughes, B 
Subject: Re: Converting halos (old question I know, but please read)
Date: 13 Jan 2004 05:08:26
Message: <4003c39a$1@news.povray.org>
Nice try Tom.

Those transmit (and filter, if were used) values are ignored so that can be
removed from the densities.

For pattern type 'boxed' is wrong since halo's cubic followed the spherical
mapping. I think maybe cubic_wave is the way to go then, but I'm not
completely sure if it is the same formula.

camera {location -3*z look_at 0}

sphere { 0, 0.8
  pigment { color rgbt <1, 1, 1, 1> }
  interior{
    media {
      emission 1
      density{
        spherical
        color_map {
          [ 0.0 color rgb <1, 0, 0>  ]
          [ 0.666 color rgb <1, 1, 1> ]
          [ 1   color rgb <1, 1, 1> ]
        }
    cubic_wave
      }
    }
  }
  hollow
  scale 0.5*x+y+z
}

-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

From: Tom Melly
Subject: Re: Converting halos (old question I know, but please read)
Date: 13 Jan 2004 05:24:50
Message: <4003c772@news.povray.org>
"Hughes, B." <omn### [at] charternet> wrote in message
news:4003c39a$1@news.povray.org...
> Nice try Tom.

Hey, if I want to be patronised, I'll talk to my kids.... ;)


Post a reply to this message

From: Hughes, B 
Subject: Re: Converting halos (old question I know, but please read)
Date: 13 Jan 2004 08:08:08
Message: <4003edb8$1@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:4003c772@news.povray.org...
> "Hughes, B." <omn### [at] charternet> wrote in message
> news:4003c39a$1@news.povray.org...
> > Nice try Tom.
>
> Hey, if I want to be patronised, I'll talk to my kids.... ;)

Ha. Well, it really was though. Not many people know anything about what to
do about halo or probably didn't know it existed before.

And "patronised" almost sounds like a good thing, similar sounding to the
word patriotic. Yeah, yeah, I'm just being annoying now.

Bob H.


Post a reply to this message

From: evbarry
Subject: Re: Converting halos (old question I know, but please read)
Date: 14 Jan 2004 02:50:02
Message: <web.4004f3fc765161c267a4524c0@news.povray.org>
Thanks guys, I will try it...


Post a reply to this message

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