POV-Ray : Newsgroups : povray.text.scene-files : Iso-surfaces + emmitting media problem Server Time
3 Jul 2024 01:59:38 EDT (-0400)
  Iso-surfaces + emmitting media problem (Message 1 to 3 of 3)  
From: Nekar Xenos
Subject: Iso-surfaces + emmitting media problem
Date: 6 Jun 2001 05:58:14
Message: <3b1dfeb6@news.povray.org>
#version unofficial MegaPov 0.7;

#include "colors.inc"

#include "STONES.INC"   // Binding include-file for STONES1 and STONES2
#include "STONES1.INC"  // Great stone-textures created by Mike Miller
#include "STONES2.INC"  // More, done by Dan Farmer and Paul Novak



global_settings
{
  assumed_gamma 1.0
}

// ----------------------------------------
camera
{
  location  <0.0, 2, -4.0>
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 1,  0.0>
}

sky_sphere
{
  pigment
  {
    bozo  turbulence 1.0
    color_map { [0.0 color rgb 0] [1.0 color rgb .5] }
  scale.1}
}




#declare MountFunc = function{"ridgedMF" <0.9, 2, 5, 0.75, 2>}
#declare MBase =
isosurface{
  function { y - MountFunc(x,0,z)}
  eval

 max_gradient 50
  contained_by{box{<-10,-1,-10>,<10,4,10>}}
  hollow
pigment { rgbt <1,1,1,1> }
finish { ambient 0 diffuse 0 }
interior {
media {
emission { 2, 1 }
method 3
intervals 5
samples 10,10
density {
gradient y*(20)
colour_map {
[0 rgb 0]
[0.5 rgb <0.1,0,0>]
[0.9 rgb <0.9,0.9,0>]
[1 rgb 1]
}
}
}
}
}

object{MBase  }


Post a reply to this message

From: Tom Melly
Subject: Re: Iso-surfaces + emmitting media problem
Date: 6 Jun 2001 06:29:42
Message: <3b1e0616@news.povray.org>
"Nekar Xenos" <j-p### [at] citywalkcoza> wrote in message
news:3b1dfeb6@news.povray.org...

<snip>

Unless things have changed in MP 0.7, then your emmission statement will prevent this
parsing.

Did you mean: emission 2 ? or maybe scattering {2,1} ?


Post a reply to this message

From: Nekar Xenos
Subject: Re: Iso-surfaces + emmitting media problem
Date: 6 Jun 2001 07:18:26
Message: <3b1e1182@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3b1e0616@news.povray.org...
> "Nekar Xenos" <j-p### [at] citywalkcoza> wrote in message
> news:3b1dfeb6@news.povray.org...
>
> <snip>
>
> Unless things have changed in MP 0.7, then your emmission statement will
prevent this
> parsing.
>
> Did you mean: emission 2 ? or maybe scattering {2,1} ?
>

I can't seem to find the post sent to p.u.p. about this question... looks like
Outlook Express is doing strange things again...

When I saw your mountain ridged iso on that lightning scene, the first thing I
thought of was "This could make a nice 'Sea of Fire' ",  but I can't seem to get
it right. I got the code from the rocket flame of the 'Towards the white' scene.
It always has these shady parts and I can't figure out where they come from.
Does it have something to do with max_trace?

I have tried emission <5,2,1>*4 with other isosurfaces and I got the same sort
of result.  I also tried it on this scene now and it also looks quite unlike I
would expect. Any ideas?

Thanks,

- Nekar


Post a reply to this message

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