POV-Ray : Newsgroups : povray.general : Re: [Fwd: mpov7.exe: strange rendering results!?] : Re: [Fwd: mpov7.exe: strange rendering results!?] Server Time
7 Aug 2024 17:29:04 EDT (-0400)
  Re: [Fwd: mpov7.exe: strange rendering results!?]  
From: Thorsten Froehlich
Date: 8 Aug 2001 08:14:44
Message: <3b712d34@news.povray.org>
In article <3B7100FE.A324DF01@psico.ch> , gimi <gim### [at] psicoch>  wrote:

> but anyway, now that you got it you'd better
> use it to render that scene and see whether
> it works for you or not. that would be helpful,
> pointing out the obvious definitely isn't.

Well, you report something you think is a bug you found in MegaPOV or a
version of POV-Ray 3.1g.  As you know, MegaPOV in an _unofficial_ version
and not supported by the POV-Team.  Further, there are changes in the media
implementation in MegaPOV, so you scene may or may not be affected by those.

As for POV-Ray 3.1g (as well as MegaPOV) you are aware that scaling of media
works a bit "different", don't you?  As your scene comment suggest that
media only disappears if you change the scaling, you may want to read the
documentation and will probably find that it is the problem in your scene...

> i rendered the appended scene on pov3.1, megapov and
> stuart gibson's megapov for dos, and noticed that the
> result was different for all three..
>
> i already mailed this to stuart, now i'd like to know
> what the official team has to say about it:
>
> <Original Message>
>
> when rendered with megapov, the media is there;
> with mpov7, it's not.
>
> funnily, if i comment out one part of the
> object, the media disappears in any version of
> pov i have!

------------------

sky_sphere { pigment { color rgbft <0,0,0,0,1> } }


#declare vid1 = object {
    height_field {
                png "vid_blur.png"
                hierarchy
                water_level .4
        }
}

#declare texture_vid = texture {
        pigment { color rgb <1,1,.2> } finish { ambient 0.1 diffuse 0.9 }
}


#declare vid = object {
    union{
//if this obj is commented out, media disappars in win32 pov, too!!?
        object { vid1 scale <1, 1,1> }
        object { vid1 scale <1,-1,1> }
                translate -.5*(x+z)
                scale < 1 , 1.00, (531/1168)>
                rotate -y*90
                rotate -z*90
        texture { texture_vid }
    }
}

object { vid scale 3 }

camera  { location <5,0,0> look_at 0 angle 90 }


// test
light_source {
        <-5,0,0>
        color rgb .4
        spotlight
        point_at        0
        radius          25
        falloff         25
        tightness       10
        media_attenuation on
}



// this media will not show up in megapovdos0.7
sphere {
        0, 20
        texture {
                pigment { color rgbft <0,0,0, 0,.7> }
                finish { ambient 0.0 diffuse 0.0 }
        }
        interior {
                media {
                        intervals   5
                        samples     1,20
                        confidence  .99
                        variance    .01
                        ratio       .6
                        density {
                                spherical
                                color_map {
                                        [ 0.000 color rgb 0.0 ] // out
                                        [ 0.500 color rgb 0.0 ]
                                        [ 1.000 color rgb 0.4 ] // center
                                }
                                scale 10
                        }
                        absorption .0
                        scattering { 3, <.6,.6,.6> extinction .0 }
                }
        }
        hollow
}


Post a reply to this message

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