POV-Ray : Newsgroups : povray.general : Glowing objects Server Time
20 Nov 2024 06:30:30 EST (-0500)
  Glowing objects (Message 1 to 3 of 3)  
From: Rob Brown-Bayliss
Subject: Glowing objects
Date: 2 Oct 2001 03:51:53
Message: <3bb97219@news.povray.org>
Hi.  I am new to this whole 3d thing, and am ambitiously trying to create
a jet engine of sorts.

What I had planned to do was place a few different coloured spheres
inside the rear end, with a light source behind them, make the spheres
glass, add some bumps and hope that ir would look like some thing hot was
happeneing inside.

I got a pretty ugly looking yelow and orenge blob wit ha light glowing
inside, but when I put bumps on one of the spheres the whole thing turned
to a black orb.

Anyone able to point me towards a decent alterative?  I have looked at
media, perhapse a working example here would be cool as well.  

Thanks



-- 

  Rob Brown-Bayliss
 ---======o======---


Post a reply to this message

From: Tom Melly
Subject: Re: Glowing objects
Date: 2 Oct 2001 04:56:01
Message: <3bb98121$1@news.povray.org>
"Rob Brown-Bayliss" <on_### [at] clearnetnz> wrote in message
news:3bb97219@news.povray.org...
> Hi.  I am new to this whole 3d thing, and am ambitiously trying to create
> a jet engine of sorts.
>
> What I had planned to do was place a few different coloured spheres
> inside the rear end, with a light source behind them, make the spheres
> glass, add some bumps and hope that ir would look like some thing hot was
> happeneing inside.

You probably want to use media for something like this. At the moment you are
trying to reproduce an interior effect (hot glowing gasses), by reproducing the
surface appearence. A bit like painting sand white and expecting it to taste
like sugar.

>
> I got a pretty ugly looking yelow and orenge blob wit ha light glowing
> inside, but when I put bumps on one of the spheres the whole thing turned
> to a black orb.
>

Hmm, that sounds like a problem with max_trace_level (check the docs).

> Anyone able to point me towards a decent alterative?  I have looked at
> media, perhapse a working example here would be cool as well.
>

Media is definately the way to go. Try something like:

// 'orrible media demo
#include "colors.inc"

camera {
  location  <0.0, 0.5, -15.0>
  look_at   <0.0, 0.0,  0.0>
}


sky_sphere {
  pigment {
    gradient y
    color_map {
      [0.0 rgb <0.6,0.7,1.0>]
      [0.7 rgb <0.0,0.1,0.8>]
    }
  }
}

light_source {
  <0, 0, 0>            // light's position (translated below)
  color rgb <1, 1, 1>  // light's color
  translate <-30, 30, -30>
}

// ----------------------------------------



union{
  cylinder{0,y*5,1.01 pigment{White}}

  difference{
    sphere{0,1}
    plane{-y,0}
    hollow
    pigment{rgbf 1}
    interior{
      media{
        emission rgb 5
        absorption rgb 5
        density{spherical turbulence 0.25 color_map{[0 rgb 0][1/6 Red][2/6
Blue][3/6 Yellow]}}
        density{wrinkles scale 10}
      }
    }
    scale<1,4,1>
  }
  rotate z*90
}


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Glowing objects
Date: 2 Oct 2001 13:40:52
Message: <3bb9fc24@news.povray.org>
In article <3bb97219@news.povray.org> , "Rob Brown-Bayliss" 
<on_### [at] clearnetnz> wrote:

> Hi.  I am new to this whole 3d thing, and am ambitiously trying to create
> a jet engine of sorts.

Take a look at of the images at <http://www.antonraves.com/>.  Some of the
Lego models have good looking "working" jet engines and some model POV scene
files are available for download (not sure if it includes those with jet
engines).


    Thorsten


Post a reply to this message

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