POV-Ray : Newsgroups : povray.newusers : Where after all it is: df3? : Re: Where after all it is: df3? Server Time
15 May 2024 03:26:00 EDT (-0400)
  Re: Where after all it is: df3?  
From: Thomas de Groot
Date: 28 Sep 2013 07:28:30
Message: <5246bd5e$1@news.povray.org>
On 28-9-2013 12:33, LanuHum wrote:

> No,no!
> Step 2. You have apply media with density using df3.
> What do you do?
> You won't go according to links on the Internet, you will act.
> How?
> What will you do by the second step?
> It is difficult to me to understand lectures, I don't speak English!
> Help me, please!
> Describe the personal actions if you did it:
> Step 2:??? You step 2 ???

This is a recent example of df3 use:

#declare Colour1       = srgb <0.5, 0.5, 0.1>;
#declare Colour2       = srgb <0.5, 0.1, 0.5>;
#declare C_Scattering1 = Colour1*100;
#declare C_Scattering2 = Colour2*10;
#declare C_Absorption1 = (1-Colour1)*0.2;
#declare C_Absorption2 = (1-Colour2)*0.2;
#declare Scale        = 40;

box{-0.5, 0.5
   pigment{rgbt 1}
   hollow on
   interior{
     ior 1.0
     media {
       scattering {1, C_Scattering1/Scale extinction 0.0}
       absorption C_Absorption2
       intervals 1
       samples 50
       density {
         density_file df3 "makedf3object_.df3"
         interpolate 1
         translate -0.5
         scale <1.25,-1,1>
         scale 1/5
         warp {turbulence 0.3
         lambda 2.1
         omega 0.8
         }
         scale 5
       }
     }
  }
   scale Scale
   rotate 0*y
}


Post a reply to this message

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