Tue, Nov 19, 4:25 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 18 10:25 pm)



Subject: Gamma Correction Poser Pro


ghost6677 ( ) posted Wed, 18 March 2009 at 8:56 AM · edited Sat, 16 November 2024 at 9:08 AM

file_426485.jpg

Hello all, i have got a silly question. I tried to follow bagginsbills explanations of gamma correction, but i did`t find the answer i was looking for :( i start this thread to maby get a little light shed on the question of gamma correction.

the rendered set is allways the v4 basic loaded as is and a simple infinity light , frontal at 100%.
i wonder why v4 turns green when i render with gamma 2.2 activated in rendersettings

since i dont know how to post a picture in a thread i attached them and answered myself... sooooory newbie on the forum interface g


ghost6677 ( ) posted Wed, 18 March 2009 at 8:57 AM

file_426486.jpg

and here without gamma...

the question is: why makes gamma the render so unusable annd turns it into green?


ziggie ( ) posted Wed, 18 March 2009 at 9:03 AM

Sorry... can't answer your question... but...

Quote - since i dont know how to post a picture in a thread i attached them and answered myself... sooooory newbie on the forum interface g

As Punch said to Judy... "Thats the way to do it..!

"You don't have to be mad to use Poser... but it helps"


hborre ( ) posted Wed, 18 March 2009 at 9:28 AM

I normally do not use the default texture for V4.  It would seem to me that the original texture was Gamma Corrected in some way, and what you are seeing is over correction hence the grayish cast to the texture.  In this case, you would need to reset GC in the render settings to 1.  There is a way to apply anti-gamma in poser which I don't recall at the moment.  However, there are threads here that cover the topic.  My impulse would be to take the texture into Photoshop, convert it, then redress and render at the right GC settings.


IsaoShi ( ) posted Wed, 18 March 2009 at 9:38 AM · edited Wed, 18 March 2009 at 9:41 AM

(edit - cross-post) Was called away from computer before I saved this, hence repeating some of what hborre said.

The default texture for V4 was designed to appear a reasonably good shade under the lighting you would normally use for a non-gamma corrected image.

You change two things when you switch on scene gamma correction in Poser Pro, and both of these things will make this texture look wrong in a gamma-corrected image.

  1. Your incoming texture maps are anti-gamma corrected before being used in the render. This is because most textures have gamma correction built into them, and this needs to be cancelled out before rendering. If you know for certain that a texture map you are using does not have any gamma correction in it, then you can turn it off in the Material Room by setting the GC value to 1.0.

  2. You increase the overall brightness of your image. With GC on, you don't need anywhere near the light intensity that you would use without it.

However, the too-deep fall-off of the shadows in your non-GC render are typical, and are totally unrealistic.

"If I were a shadow, I know I wouldn't like to be half of what I should be."
Mr Otsuka, the old black tomcat in Kafka on the Shore (Haruki Murakami)


MungoPark ( ) posted Wed, 18 March 2009 at 9:44 AM

 At this link you will get a good explanation:

http://www.normankoren.com/makingfineprints1A.html


hborre ( ) posted Wed, 18 March 2009 at 11:00 AM · edited Wed, 18 March 2009 at 11:06 AM

After understanding this principle, you may want to consider using Bill Baggins VSS prop for enhancing your skin textures for your models.  For many, it has become a standard in creating more realism in their models.


bagginsbill ( ) posted Wed, 18 March 2009 at 11:40 AM

I don't have time to check at the moment, so you'll have to look for this yourself.

DAZ V4 includes shaders - not just image maps, but a full-blown shader node network that removes some red from the texture and then adds a certain amount back in based on lighting. This was built by face_off and was designed before render GC was available.

I cannot remember if the low-res default shaders include these nodes.

If they do, they will blow up under GC, for two reasons. One, the brightess of the factors in that shader were already taking into account the need to boost certain things before GC took care of it. Second, there are colors in some of the shader nodes there that are not colors you look at, but colors used as data. They are used to multiply with other things, and as such they should not be modified by gamma correction. But Poser Pro has no knowledge of which color parameters are being rendered, versus which ones are data. The result is that instead of the original factors chosen by face_off, there are new factors being computed as anti-gamma-corrected versions of those colors.

This is neither face_off's fault nor Poser Pro's fault. The shaders work under a different system and the new system should be taken into account. Meaning - you want to use shaders designed for gamma correction. By this, I do not mean a shader that has GC built-in, but rather a shader where all the factors are designed with the understanding that Poser Pro render GC will touch and modify any color parameter that is not pure white or pure black.

So go into one of the skin materials, and have a look for a crapload of nodes, and some funny colors. If you see, for example, a pale cyan in a diffuse color, that's one of those values that is being accidentally modified by Poser Pro anti-GC. That pale cyan becomes a seriously rich green when Poser Pro anti-GC modifies it.
 
If that's the case, you need to stop using those shaders, or adjust the factors to accomodate the new process.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


ghost6677 ( ) posted Wed, 18 March 2009 at 12:32 PM

Thanks all, no i think i am less stupid ;)
each post teached me something... i now even know who punch and judy is (figures not known in germany) :D

@mungopark
i read the page linked and decided to use quickgamma for my monitor...
sadly it says "set the temperature of your monitor to 6500K"
my benq monitor has just "bluish" "reddish" and "normal" (and userdefined) as presets, saying nothing about temperature. any idea how to get the right "temperature"?
and most pages say for gammaadjustment "set contrast and brightness to max"... if i max contrast my screen gets so glearingly white i cant see anything anymore, it looks best at the default 50% contrast 90% brightness... is that normal for lcd screens or am i missing something? (not poser related but fits into the topic i think)..
i wanted to use quickgamma since on some pages it is stated that a jpeg isnt reliable for adjustment since windows allready fiddles something with it before it is displayed...

@bill
great guess about the cyan, its defaultly in the v4 diffuse channel.
than that it is what makes her fishy ;) your vss removes it and thats why the problem then disappears... i just concluded too early the poser gamma correction was crap or broken or me doing something fundamentally wrong ;)
ps: I LOVE your vss and all the other stuff thats simply astonishing for a newby like me. wow! you should write a book :D but not with too much maths ;) crouching into cover
but... if i have a texture with eyebrows painted on it, is there a way to spare them from the vssprocess other then creating a mask?

and one last questions...
i always read anti-gamma and gamma. my problem is more that my english on mathematical terms sucks....

am i right that "anti-gamma" means: jpeg^2.2
and gamma: jpeg^(1/2.2) (or 2.2th Root of Jpeg)
making the colormath pow node just the ^ sign?


IsaoShi ( ) posted Wed, 18 March 2009 at 1:44 PM · edited Wed, 18 March 2009 at 1:46 PM

Yes you are right...

GC = raise RGB to the power of 0.454545... (1 / 2.2), increases values and brightness.
Anti-GC = raise RGB to the power of 2.2, decreases values and brightness.

(2.2 is the accepted value to achieve an image in sRGB colour space from a linear RGB image).

I would not use the term "jpeg" as the starting point in each case. I would use "RGB", since the calculation is a color_math on these three channels (in the value range 0 to 1.0 of course... not  0 to 255!)

"If I were a shadow, I know I wouldn't like to be half of what I should be."
Mr Otsuka, the old black tomcat in Kafka on the Shore (Haruki Murakami)


MungoPark ( ) posted Wed, 18 March 2009 at 2:13 PM

ghost:  Unfortunately many monitors have not the correct adjustment possibilities - there is no chance. But what is user defined - can you enter something there ? What you need is a software to adjust your monitor - there are many free ones out there. Don't rely on the software of your graphics card - this is usually crap. 

There‘s only one rule: 2.2 gamma for internet and screen views, 1.8 for print because all professional printers use a 1.8  gamma. In addition gamma correction allows the computer to use the whole spectrum of luminance of your monitor (or printer) - if it has inbuilt gamma correction things are even better. Professional monitors have this - look for instance at LaCie monitors (we have them here, and I think there's nothing better). But gamma correction will help you will to get the maximum colour and luminance experience on any monitor and it will look the comparable on any adjusted monitor. For adjustment I use a measurement device which measures directly from the screen and then adjusts the monitor correctly.

My comment to the pictures above is that the gamma corrected one is the correct picture, you now should adjust the lights accordingly - if you have used the standard light they are colored - try white ones first. 


ghost6677 ( ) posted Wed, 18 March 2009 at 3:42 PM · edited Wed, 18 March 2009 at 3:44 PM

sorry that is not poser related anymore but i think mabe of interest... didnt knew of the importance of a correctly setup monitor until i figured out that there are things i cannot see but others can ;)

sigh
another x more hours spent on trying to learn about how to set up my monitor and... failed ;)

maybe i can circumvent 1000 more fruitless trials ;)

what i got:

a nvidia graphic card capable of
-brightness
-contrast
-gamma

a benq LCD monitor plugged in the digital? output of my graphic card with options for
-brightness
-contrast
-colortemperature? (saying bluish reddish normal or a custom set for red blue green from 0 to 100)

an icc profile coming with the monitor driver (for whatever i need this...?)

can anyone tell me what to do with the stuff i got to get the best out of my cheap monitor? ;)
i tried some tutorials allready and some tools, but each gets different results, and nothing is comprehensive enough for me (most of them say turn contrast and brightness at max, but then i cant see anything anymore :D)

thanks a lot!


bagginsbill ( ) posted Wed, 18 March 2009 at 3:56 PM

Don't do the max contrast and brightness. That's ridiculous. Setting brightness to maximum will make it impossible to get a real black. I don't know why so many instructions tell you to do that.

My experience is that some monitors just cannot be adjusted to sRGB standard. My laptop is one of those. My monitor at home is much brighter and shows much more detail at low levels than my laptop does. If I adjust my laptop to show those details, then the brights are blown out.

Your best bet is to adjust as best you can so that dither patterns with specific values match up with solid patterns of other specific values.

An example is here: http://en.wikipedia.org/wiki/File:Srgbnonlinearity.png

There is a very small image there. If you squint or blur your vision or stand far away, they should match up.

Regarding the color temperature, just make sure that white things look white, not blue or pink.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


ghost6677 ( ) posted Wed, 18 March 2009 at 4:27 PM · edited Wed, 18 March 2009 at 4:32 PM

file_426526.jpg

thanks for the fast response... regarding those greypics a new question arrises... what picture is the right one ;) maybe my vision is as strange as some other sensors on my body, but....

when i use the picture on this site called "color estimator" www.werbefoto.at/d_base/calibration.htm i end up in my nvidia control panel with gamma at 40%

when i use the picture you told me i end up with gamma 60%...
am i stupid or isnt a grey picture not equal a grey picture?

this one tells me to put it to 35%


Believable3D ( ) posted Wed, 18 March 2009 at 5:28 PM

BTW, I think that texture looks somewhat greenish even in DAZ Studio, IIRC.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


ghost6677 ( ) posted Fri, 20 March 2009 at 7:22 AM

me again ;) beware of my silly questions...

still stuck with the adjustment, but well, i "think" i got the right decision by trusting the "big f" (hope i didnt break any copyright by posting it in here) and adjusting graficcard gamma to 40%.

slowly i am getting into it, but a new question has arisen...

specular lights. if i use gamma correction the speculars i use on a figure seem to vanish completely.
i tested it on props having the chrome shader network, and the specular just reappeared how it was before applying gamma when my specular only light went from 100 to 250% ... erm. dont know why THAT happens, any idea?

and why does an ibl at higher percentages let the figure look like being a 2dimensional toon? sigh


bagginsbill ( ) posted Fri, 20 March 2009 at 7:38 AM

No light setting data, no demo renders, no shader setups - how can I begin to guess which of the 10,000 things you could be doing wrong?

Overall, it sounds like you're using too much light. First of all, pick indoor or outdoor and we'll discuss. The two are wildly different.

And your last question you answered yourself. "Ibl at higher percentages" which I translate to "IBL so bright that there are no unlit areas anymore". By "unlit" I mean there is some direction in which the lighting is very much less than the brightest area.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


bagginsbill ( ) posted Fri, 20 March 2009 at 7:40 AM

FYI, every point on an IBL influences an entire hemisphere.

For example, if I made an HDR IBL probe with a single pixel with a very high brightness, equal to that of the sun, then that point alone would light 1/2 of a sphere, just like an infinite light does.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


ghost6677 ( ) posted Fri, 20 March 2009 at 8:38 AM

file_426683.jpg

thanks for the explanation, the sad truce is i don`know whether to do indoor or outdoor, i want to understand the theory or at least the basic craft for being able to manipulate and at least having an idea what happens when i change what predictably...

i believe what i am aming to would would be a lightset that overlights the scene, resembling characters standing in a white room like a photostudio with the light grasping every bump, not blowing it away. i know its shameless...
but if you could create such a set working with gamma in poser pro i think my soul could find a rest and i would stop asking stupid questions, taking the lightset and carry it around like a child getting a puppy for christmas ;)

i reproduced the situation with a prop that behaves quite like the humans that dont get speculars on them...prop is sphere with simply added the poser chrome basic shader to it.

setup is: one ibl (contrast 1 - still trying to figure out what it does except of making it darker and adding detail at higher settings crouch to cover) with hdria pond running through a math 1 note to make it black/white. intensity 50%.
one specular blasting with 100%

here without gamma...


ghost6677 ( ) posted Fri, 20 March 2009 at 8:39 AM

file_426684.jpg

gamma and 100% specular


ghost6677 ( ) posted Fri, 20 March 2009 at 8:53 AM

file_426685.jpg

gamma and 250% specular. i know the diffuse color is grey, and the specular too... but its the same effect that happens with humans where i cant make out the reason .. the look saturated and bright without (but the shadows too dark) and greyer and duller with gamma (but with great shadows). trying to recreate the scene with humans and vss for more exact demonstration


hborre ( ) posted Sat, 21 March 2009 at 9:23 PM

Your second image looks quite correct in terms of your shadow wunder IBL.  Keep in mind, IBL will give you an ambient lighting condition while Gc darkens your brightness and lightens your shadows.  But when rendered, the image will still appear rather flat.  You need to introduce an infinite light with shadows activated to enhance the image to a more acceptable render.


IsaoShi ( ) posted Sat, 21 March 2009 at 11:03 PM

A slight correction, if I may... GC does not 'darken your brightness'.

Starting with black, GC multiplies the brightness by infinity (but of course infinity times zero is still zero) and then by ever decreasing amounts until it reaches white, which is multiplied by 1. So the most noticeable increase in brightness is in the darkest shades closest to black.

But the GC curve stays on the positive side of the linear colour space curve - i.e. all pixels between black and white are increased in brightness to a greater or lesser extent.

"If I were a shadow, I know I wouldn't like to be half of what I should be."
Mr Otsuka, the old black tomcat in Kafka on the Shore (Haruki Murakami)


hborre ( ) posted Sun, 22 March 2009 at 1:24 PM

Come to think of it, IsaoShi, you're right.  The Gc doesn't darken brightness but keeps it from getting over blown.  Good call.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.