POV-Ray : Newsgroups : povray.binaries.images : Set of old renders 5/10 - Water cup : Re: Set of old renders 5/10 - Water cup Server Time
29 Apr 2024 10:26:58 EDT (-0400)
  Re: Set of old renders 5/10 - Water cup  
From: Alain
Date: 28 Jan 2018 18:07:05
Message: <5a6e5799$1@news.povray.org>

> "HENON fabien" <fab### [at] caramailcom> wrote:
>> "HENON fabien" <fab### [at] caramailcom> wrote:
>>> "Bald Eagle" <cre### [at] netscapenet> wrote:
>>>> "Kenneth" <kdw### [at] gmailcom> wrote:
>>>>
>>>>> I like this; the 'embossed' shapes on the cup look to be actual geometry, not
>>>>> just some fancy normals(?).
>>>>
>>>> It does appear that way, doesn't it?  I was wondering how he achieved such a
>>>> beautiful effect, and you prompted me to unzip the source files he provided and
>>>> look.
>>>> It's just a bump map.
>>>> Alain pointed out the gold stripe, but that I suppose could be due to almost
>>>> anything, depending upon how the cup is "built".
>>>>
>>>>> I wonder how this would look with POV-Ray's newer subsurface scattering effect
>>>>> added?
>>>>
>>>> Yes, that would be something to see, wouldn't it?
>>>> Perhaps add a thin layer of clear glaze with some crazing as well - perhaps do
>>>> an old/new comparison...
>>>>
>>>> Really beautiful work.  This and the watch are my favorites.  Maybe I'll get the
>>>> time to peek at the source of that as well.  :)
>>>
>>> Hi,
>>> Thanks for your comments.
>>> Yes it's just a bump map.
>>> If you remove the area_light from the scene, it gets ugply : the bump effect
>>> disappears
>>> Povray 3.7 does not render POV 3.0 well.
>>>
>>> I rendered the scene again but with povwin 3.0 (as orginially) and this time
>>> the gold line  is now gone, and the bumps are reversed
>> With the render, that's better..
> I just wonder why the golden line appear once at the top in povray 3.0 (as it
> should) and twice on povray 3.7.
> 
> To me it's a bug. I included the code in the middle.
> Has the texture gradient handling changed ?
> 

Prior to version 3.5, the gradient pattern was reversed in the negative 
region. Now, it's direction stay the same everywhere.

It incorrectly was:
  ----++++
  \ \  / /
   \ \/ /

It's now as it should always have been:
----++++
  / / / /
/ / / /

This can introduce some glitches with some older scenes that made use of 
the inverted grade.
You can add "triangle_wave" to get alternated up and down slopes with a 
period of 2. In your case, that would be a viable solution.


Post a reply to this message

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