POV-Ray : Newsgroups : povray.binaries.images : Upgrading POV-Ray's include files #1: granites.inc --> granites21.inc Server Time
4 Jul 2025 00:24:18 EDT (-0400)
  Upgrading POV-Ray's include files #1: granites.inc --> granites21.inc (Message 54 to 63 of 123)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc -->granites21.inc
Date: 16 Apr 2021 07:15:00
Message: <web.607971432b09e4971f9dae3025979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> Yes, the 'Cornell box' scene is in SCENES/RADIOSITY (I had to hunt for it.)

I peeked there, but it was the most cursory of late-night scans.  I missed it.
IIRC, it was a complicated scene that had a lot of code that I didn't
understand.

I was not suggesting the idea to show any true colors, but as a means of having
an absolute standard environment in terms of lighting, environment, and scale to
compare "side-by-side" two objects and their textures.

That way any differences are coming from the texture definition and any
quibbling and misunderstandings about lighting, object size, etc can be [mostly]
avoided.

Scene variants can have different light sources for highlighting, etc.
Not sure what a good object would be - a sphere with radial normal map?


And I do wish that kids like you and that DeGroot hoodlum would just GROW UP and
have a little maturity.  You spoiled children clearly flaunt your privilege and
brazenly appropriate the cultural heritage of the POV-Ray late 90's.  It's
shameful - and offensive.  "HOW DARE YOU!"  You're probably even using the wrong
surface modification and not the New Normal!  Rather than demonstrate how we as
a people have evolved and advanced civilization through enlightenment and
diversity, you prattle on in your ego chamber about inconsequential social
constructs that are devoid of relevance to the feelings about someone you've
never met and probably haven't ever heard of before now.  How then can we have
peace?  If you had the least care in the world about notional justice, you'd
burn down the city around you to show it - maybe even plowing through a crowd of
quartz and feldspar lovers with your van in the process.  Allahu Code Warrior!
Perhaps if you two were even woke enough to confront your own [m]in[eral]grained
biases, you'd loot a sto[n]re or two and get a REAL computer with a serious
operating system - like _Apple_.  Then we could take back the means of
production from the Upper Class, smash capitalism, strike a blow for the
underprivileged and oppressed, AND fight Climate Change all in one go!
Then under Full Communism, you could do things with your rightfully
redistributed property the One Right Way and we could - finally - have unity.

(Hey - - - Do you think we could code the granites in Unity and see what they
look like there ... ?)

War is Peace!
Freedom is Slavery!
and Ignorance is Strength.

Contemplate your sins against Big Brother Ive - and _be ashamed_.



Whoops - there goes my alarm - I've [sic] got to go take another Dried Frog Pill
and watch "Beyond Melodrome" ....  Anyone else around here need one?


Post a reply to this message

From: Thomas de Groot
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc -->granites21.inc
Date: 16 Apr 2021 08:49:58
Message: <607987f6$1@news.povray.org>
Op 16-4-2021 om 13:13 schreef Bald Eagle:
> Whoops - there goes my alarm - I've [sic] got to go take another Dried Frog Pill
> and watch "Beyond Melodrome" ....  Anyone else around here need one?
> 
> 

  I thought so this morning. Uncle Bill was looking a little green about 
the eyes and jumping up and down in the backyard mumbling to himself 
about... what was it...? a Cornell Box!? Probably meant the Cornflake 
Box; which is empty by the way. Your turn Ken to go down to the shop 
today. And don't forget the beer! but keep it out of sight of uncle 
Bill; you know what happened last time.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Upgrading POV-Ray's include files #1:granites.inc-->granites21.inc
Date: 16 Apr 2021 08:57:14
Message: <607989aa$1@news.povray.org>
Op 16-4-2021 om 11:28 schreef Ive:
> So I did completely waste my time here and it seems you did not even 
> bother to look at my code - as all I hear is just about comparing 
> images. So here is a final image from me also produced with my code but 
> with some more educated "guesses" to tweak one user parameter - based on 
> the image you did show.

Not even had the time to seriously look at your code, which I said I 
appreciated indeed. I have also a life besides POV-Ray and your comments 
need time to get digested seriously and commented on. Have a little 
patience, please?

> 
> My conclusion: my first thought was right, so please do not mention me 
> in any of your files, seriously I mean it.

Well... as you wish. No need to get angry. Have you never learned to 
take things in a relaxed way? My god, we use POV-Ray for our /pleasure/ 
or don't we? At least that is my philosophy.

> 
> No need to bother with a reply I'm outa here
> 
> so long - Ive
> 

Sorry to see you go...

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc-->granites21.inc
Date: 16 Apr 2021 11:14:07
Message: <6079a9bf@news.povray.org>
Op 14-4-2021 om 18:00 schreef Alain Martel:

> One thing that can be done with layered textures with a finish in more 
> than one is to simulate varnished metals.
> 
> Have the base texture with metallic highlights and reflection, while the 
> top texture is transparent with fresnel highlights and reflection. Just 
> need to add an interior for the ior.
> 
> The rendered image is quite similar to actual varnished metal.

To tell the truth, I do not find this easy. I looked up the rules Clipka 
put forward (see attached pdf) and applied those as well as I was able 
to a granite texture (see attached image and the code below). I find the 
result too reflective and really difficult to manage correctly. The hue 
changes dramatically with changes to the reflection value or the 
specular albedo block. I need some help here. Thanks!

//start code
   #local Fudge = 1.9;
   #declare T1_MohoganyPol =
   texture {
     pigment {
       granite
       //turbulence 0.4
       color_map {
         [0.00 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<not_0, 
not_0, not_0>))]
         [0.25 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.059, 
0.059, 0.059>))]
         [0.25 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.086, 
0.027, 0.059>))]
         [0.35 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.118, 
0.118, 0.078>))]
         [0.35 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.200, 
0.137, 0.110>))]
         [1.00 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.769, 
0.329, 0.298>))]
       }
       scale 0.1 //0.8
     }
     /*finish {
       diffuse 0.8
       brilliance 1.5
       specular 0.9
       roughness 0.005
     }*/
     finish {
       diffuse albedo 0.01*(1-Fudge) brilliance 1.5
       specular albedo 0.8*Fudge roughness 0.001
       metallic on
       reflection {0.8 metallic on}
     }
   } //texture

   #declare T2_MohoganyPol =
   texture {
     pigment {
       granite
       turbulence 0.2
       color_map {
         [0.00 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.200, 
0.200, 0.200>)) transmit 0.149]
         [0.25 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<0.200, 
0.200, 0.200>)) transmit 0.949]
         [0.25 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<1.000, 
1.000, 1.000>)) transmit 1.000]
         [1.00 ColourSat(SatBoost, BrightBoost, scRGB_to_sRGB(<1.000, 
1.000, 1.000>)) transmit 1.000]
       }
       scale 0.3
       translate <20.0, 20.0, 33.0>
       rotate <0.3, 0.2, 0.0>
     }
     /*finish {
       diffuse 0.8
       brilliance 1.5
       specular 0.9
       roughness 0.005
     }*/
     finish {
       diffuse albedo 0.8*(1-Fudge) brilliance 1.5
       specular albedo 0.2*Fudge roughness 0.001
       fresnel on
       reflection {0.2 fresnel on} conserve_energy
     }
   } //texture

   #declare MohoganyPol_1 = texture {T1_MohoganyPol}

   #declare MohoganyPol_2 =
   material {
     interior {ior 1.5}
     texture {T1_MohoganyPol}
     texture {T2_MohoganyPol}
   } //material
//end code

-- 
Thomas


Post a reply to this message


Attachments:
Download 'mohoganypol2-2.jpg' (83 KB) Download 'clipkas finish 1.pdf' (66 KB)

Preview of image 'mohoganypol2-2.jpg'
mohoganypol2-2.jpg

From: Bald Eagle
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc-->granites21.inc
Date: 16 Apr 2021 13:20:00
Message: <web.6079c68cf9c97af41f9dae3025979125@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
I find the
> result too reflective and really difficult to manage correctly. The hue
> changes dramatically with changes to the reflection value or the
> specular albedo block.

Whoa.  That's super shiny.  It looks like polished marble dipped in
polyurethane.

It took me while of looking over the surface to understand that what I thought
might be some weird artefact is actually the reflection of the edge of your
curved plane and the sky_sphere.

This would be a great texture to apply to make wet granite - maybe a bird bath
or a fountain or something.  I'm sure it would look interesting to texture an
isosurface with this and apply a few off-center radial sine-waves.


Post a reply to this message

From: Kenneth
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc-->granites21.inc
Date: 16 Apr 2021 22:20:00
Message: <web.607a4513f9c97af4d98418916e066e29@news.povray.org>
Ive <ive### [at] lilysoftorg> wrote:

>
> I'm can assure you that in 1996 absolutely nobody did use assumed_gamma
> 1.0 for reasons that are actually quite obvious even if you do not
> understand them.

Gee, I guess I don't, not being blessed with your obviously superior and
all-seeing knowledge.

>
> Well, my understanding was that this is not just about this particular
> granite file, but about a correct way to convert in general old textures
> from times were *never* assumed_gamma = 1.0 was used.
>
> Obviously this is not the case, sorry for this misunderstanding on my
> part but frankly you should have said so in the first place and should
> not have added a bunch of buzz words borrowed from color science into
> your header where these words make no sense at all.

Gee, an actual half-baked apology? From Your Highness?! (with a dose of further
insults, of course) Wow. I'll bet you choked on it, trying to get it out.
>
> So I did completely waste my time here...

Gee, that's sad.
>
> My conclusion: my first thought was right, so please do not mention me
> in any of your files, seriously I mean it.

Gee, that sounds SERIOUS. You mean it! (...or else?...) Personally, I would pay
no attention to such egotistic claptrap. It actually makes me laugh. And if you
felt insulted and wronged and that your *orders* were not being paid attention
to, you would be welcome to take your case to the International Criminal Court
of Justice to seek redress...if they don't laugh too, and kick you out of the
building.

>
> No need to bother with a reply

Yes Sir, if you say so Sir.

 I'm outa here

Gee, that's sad too. I guess you'll be flying back to Mount Olympus now, to be
among your fellow Gods. Well, don't let the door slam on your way out!
*Somehow*, the rest of us will manage to get along...
>
> so long - Ive

Send us a postcard from On High.

------
But I still like your IC app; I'm not yet going to tear it from my computer and
burn its bytes in a fit of childish temper...like you have displayed.

You may take your toys and go home now.


Post a reply to this message

From: Kenneth
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc -->granites21.inc
Date: 16 Apr 2021 23:25:00
Message: <web.607a53f72b09e497d98418916e066e29@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Kenneth" <kdw### [at] gmailcom> wrote:
>
> > Yes, the 'Cornell box' scene is in SCENES/RADIOSITY (I had to hunt for it.)
>
> I peeked there, but it was the most cursory of late-night scans...

What?! You only *peeked* at it??  No No No, that is NOT the 'POV-ray way'. The
rules are clearly spelled out in chapters 7,43, and 129 of the 'POV-ray
Behavior' manual. Don't tell me you haven't read them??
>
>
> And I do wish that kids like you and that DeGroot hoodlum would just
> GROW UP and have a little maturity.  You spoiled children clearly flaunt
> your privilege...

SPOILED?! Oh, you mean, because of that $50 million I inherited when I was 2
months old? Naw, I've always been the same lovable, cuddly, ever-so-pleasant
fellow that I was before then. I think.

> ...you'd burn down the city around you to show it - maybe even plowing
> through a crowd of quartz and feldspar lovers with your van in the process.

Personally, I would prefer olivine and soapstone lovers...they always irritate
me...


Post a reply to this message

From: Thomas de Groot
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc-->granites21.inc
Date: 17 Apr 2021 02:14:08
Message: <607a7cb0$1@news.povray.org>
Op 16/04/2021 om 19:17 schreef Bald Eagle:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> I find the
>> result too reflective and really difficult to manage correctly. The hue
>> changes dramatically with changes to the reflection value or the
>> specular albedo block.
> 
> Whoa.  That's super shiny.  It looks like polished marble dipped in
> polyurethane.
> 
> It took me while of looking over the surface to understand that what I thought
> might be some weird artefact is actually the reflection of the edge of your
> curved plane and the sky_sphere.
> 
> This would be a great texture to apply to make wet granite - maybe a bird bath
> or a fountain or something.  I'm sure it would look interesting to texture an
> isosurface with this and apply a few off-center radial sine-waves.
> 

See? In another post I've (sic) ;-) mentioned "serendipity" and... there 
we are!

Excellent suggestion! I shall put this in another file for later.

[where are my Round Tuits...? I really, I mean: Really, need more Round 
Tuits...]

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Upgrading POV-Ray's include files #1: granites.inc -->granites21.inc
Date: 17 Apr 2021 02:23:26
Message: <607a7ede$1@news.povray.org>
Op 17/04/2021 om 05:20 schreef Kenneth:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "Kenneth" <kdw### [at] gmailcom> wrote:
>>
>>> Yes, the 'Cornell box' scene is in SCENES/RADIOSITY (I had to hunt for it.)
>>
>> I peeked there, but it was the most cursory of late-night scans...
> 
> What?! You only *peeked* at it??  No No No, that is NOT the 'POV-ray way'. The
> rules are clearly spelled out in chapters 7,43, and 129 of the 'POV-ray
> Behavior' manual. Don't tell me you haven't read them??

Well... what did you expect, frankly? Big words and bla-bla imo. 
"late-night scans"...!  Whoaaa-ha-ha!

[have another beer]

>>
>>
>> And I do wish that kids like you and that DeGroot hoodlum would just
>> GROW UP and have a little maturity.  You spoiled children clearly flaunt
>> your privilege...
> 
> SPOILED?! Oh, you mean, because of that $50 million I inherited when I was 2
> months old? Naw, I've always been the same lovable, cuddly, ever-so-pleasant
> fellow that I was before then. I think.

Thanks for the loan, btw!  Whoaa-ha-haaa!

[Have abeer an otter...]

> 
>> ...you'd burn down the city around you to show it - maybe even plowing
>> through a crowd of quartz and feldspar lovers with your van in the process.
> 
> Personally, I would prefer olivine and soapstone lovers...they always irritate
> me...

nah... bunch of creeps... [burp]

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: @Mr: experimental granite - Re: Upgrading POV-Ray's include files #1: granites.inc --> granites21.inc
Date: 17 Apr 2021 09:04:17
Message: <607adcd1$1@news.povray.org>
Op 11-4-2021 om 14:48 schreef Mr:
> [snip]  Or combine
> two variants of that pattern with both scales using a third masking /warping
> pattern, so that variation seems less homogenous. 

Experimental and with finish commented-out.

Not bad at all!

Thanks for the suggestion. It took some time, but I am getting there.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'layeredtextures_finish_test.jpg' (91 KB)

Preview of image 'layeredtextures_finish_test.jpg'
layeredtextures_finish_test.jpg


 

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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