|
|
Am 23.02.2019 um 08:42 schrieb Thomas de Groot:
> On 22-2-2019 20:04, MichaelJF wrote:
>> Hi to the crowd,
>>
>> this image has still a lot of flaws (sun colour and reflections, the
>> swan model itself, textures of the cattails) and may be limitations to
>> media by POV. media seems to be handling color_maps or density_maps
>> different than pigment or texture having no interpolation between the
>> map entries but shap edges. This is what I derived in a first attempt.
>> Rendering time was a little bit longer (3 weeks).
>>
>
> Phew... Michael! That is no easy matter to model! But you seem to be on
> the right track already. Well done so far.
>
> I do not understand your comment about the sharp edges using density
> maps. In my experience they work pretty much like colour or texture
> maps. May it be a question of scaling which troubles you? That is
> something where density maps do differ I understand. Maybe a little
> piece of code can clarify the matter. I am currently putting order in my
> collection of media tests, so maybe I can help.
>
> No kidding? 3 (three) weeks render time?! Wow!
>
Hi Thomas,
this time a didn't click accidentally into the image while converting it
to jpg with the GIMP, but with purpose. In the marked area you can see
the sharp edges I mean. The code was
#if(SteamFog)
#declare DensBoden1= density {
agate
agate_turb 1
density_map {
[ 0 rgb <1,1,1>/5 ]
//[ 0.02 rgb <1,1,1> ]
[ 0.03 rgb <0,0,0> ]
[ 1 rgb <0,0,0> ]
}
}
#declare DensBoden3= density {
agate
agate_turb 1
density_map {
[ 0 rgb <1,1,1>/5 ]
//[ 0.02 rgb <1,1,1> ]
[ 0.02 rgb <0,0,0> ]
[ 1 rgb <0,0,0> ]
}
scale <5,50,5>
//warp { turbulence <0.5,0.1,0.5> }
//rotate <0,90,0>
}
#declare DensLuft = density {
rgb <0,0,0>
}
box { <-150,0.001,-15>,<150.01,1,150> pigment { rgbt 1 } hollow
interior {
media {
scattering { 2, White/5 }
//absorption <0,0.25,1>
//intervals 25
samples 64
density {
gradient y
density_map {
[ 0 DensBoden1 ]
[ 0.5 DensBoden1 ]
[ 0.6 DensLuft ]
[ 1 DensLuft ]
}
scale <1,2,1> translate <0,-0.5,0> // avoid repetition
at height 1
warp { turbulence <0.01,0.4,0.01> }
}
}
media {
scattering { 2, White/5 }
//absorption <0,0.25,1>
//intervals 25
samples 64
density {
gradient y
density_map {
[ 0 DensBoden3 ]
[ 0.5 DensBoden3 ]
[ 0.6 DensLuft ]
[ 1 DensLuft ]
}
scale <1,2,1> translate <0,-0.5,0> // avoid repetition
at height 1
warp { turbulence <0.01,0.3,0.01> }
}
}
#if(GlobalFog)
media { scattering {2, White/5 } density { rgb 0.001 } }
#end
}
}
#if(GlobalFog)
box { <-100,1.001,-5.9>,<100,25,130> pigment { rgbt 1} hollow
interior {
media { scattering {2, White/5 } density { rgb 0.0001 } }
}
}
#end
#end
GlobalFog was activated. May be I have overlooked some thing or the other.
Best regards
Michael
Post a reply to this message
Attachments:
Download 'thelonelyswan_problemzone.jpg' (421 KB)
Preview of image 'thelonelyswan_problemzone.jpg'
|
|