Author Topic: Extra materials  (Read 8963 times)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Extra materials
« on: August 13, 2018, 10:44:19 am »
Mike,

For your tests, here are two new models with extra materials currently not used in OR.
« Last Edit: August 13, 2018, 10:46:20 am by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #1 on: August 13, 2018, 03:25:28 pm »
Excellentissimo Patrice!!! :)

These are simply awesome models! I'm going to generate height maps for XenoRaven in CrazyBump to try and use our new parallax bumps in it. I've improved on our uber shader; it can now distinguish between conventional, parallax and steep parallax materials on the fly. The parallax materials now fully account for the light incidence angles and adjust the tex coords accordingly in real time. 8)

Thank you very much for the models!
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #2 on: August 13, 2018, 04:43:21 pm »
Do you think it would be possible to improve the rendering of human skin (see the Harley_quinn face) to get read of the shiny metallic aspect on it.
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #3 on: August 13, 2018, 06:44:31 pm »
Yes,

Skin shouldn't be rendered with parallax bump mapping. Only very bumpy and preferably static surface emulations should be (steeply) parallaxed.

The new uber shader allows us to set a per-material bump mapping mode: BUMP_NORMAL, BUMP_PARALLAX, BUMP_STEEP, and BUMP_SELFSHADOW. The quality depends on how exactly occlusion, height, and specular maps match the geometry. The preset displacement values are hardcoded to best suit flat surfaces like brick roads, walls and fences. Wall fretwork (stucco) also renders quite nicely. 8)

Here's the alien -- more smoothly normalized, ambiently occluded, deeply heightened, and heavily parallaxed. :D

« Last Edit: August 13, 2018, 06:54:41 pm by Michael Lobko-Lobanovsky »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #4 on: August 13, 2018, 07:43:30 pm »
And here's the beautiful Harley totally under BUMP_NORMAL but with nice AO and specular maps on her dentelle (whatever that means). :)

(BTW her nose was not the only bad parallax artifact. Another one was a wide gap in her garment zipper right between her enormous boobs ;D)
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #5 on: August 13, 2018, 09:06:30 pm »
See the original rendered into SketchFab
https://sketchfab.com/models/84b37a847c2b4e5a9663979eb79d8481

This should be our source of inspiration…  8)

Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #6 on: August 13, 2018, 09:24:08 pm »
Hehe,

If you look attentively at this screenshot on a well calibrated monitor, you will be able to see I've managed to render AO and specularity even on your black velvet.  8)

I think pornhub latex will now be just a piece of cake. ;)


P.S. As I can see, SketchFab post-processing implements so-called "subsurface scattering". It emulates a pinky tint of light scattered in the depth of her skin by the skin blood capillaries. There are special PP shaders for that; our uber shader will never be able to emulate this effect all on its own. :)
« Last Edit: August 13, 2018, 09:34:00 pm by Michael Lobko-Lobanovsky »
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #7 on: August 13, 2018, 11:39:23 pm »
My friend

I shall send you a set of new material(s) tomorrow to show you what i came with my reworked harley... 8)
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #8 on: August 14, 2018, 07:02:08 am »
Patrice,

Harley's eye normal map is deficient. It scatters the eyeball retina normals and thus changes the color of her eyes.

To keep the original eye color light blue (which I actually don't like, hehe, because it makes the face look cheaper and kind of vulgar), please use the normal map attached below.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #9 on: August 14, 2018, 09:34:49 am »
OK,

Here comes a new precompiled reference ObjReader.

It recognizes new #bump normal/parallax/steep/shadow metadirectives of which only normal and parallax are currently fully operational. Normal is the default and can be omitted for backwards compatibility. Steep parallax kind of runs too but still needs more work; it doesn't account correctly for the eyeView direction but rather depends on where the object is located on the screen. It also needs some interpolation to be added to its calc to smooth out its sampling steps. Self-shadowing (steep parallax can self-shadow programmatically, though rather computationally intensive, even without the use of bent normal maps) is not yet implemented.

You can see the effect of various bumping techniques on the low res test model I've also included in the zip.

Please check your WIP for compatibility with this reference compilation.
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #10 on: August 14, 2018, 09:45:12 am »
Mike

The main problem with the Harley's materal is the rendering of the black parts of the suit that looks almost flat even with bump mapping ,because the color being used is full black RGB 0 0 0.
There is obviously something wrong in our shader compared to SketchFab, currently the only work out is to convert the full black color into a shade of gray..
For example the black eye mask has no visible bump parts compared to the original.
« Last Edit: August 14, 2018, 10:51:09 am by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Extra materials
« Reply #11 on: August 14, 2018, 09:58:58 am »
Patrice,

Get the new ObjReader recompilation above. You cannot render normal maps the old way with the outdated reference renderer you have; it enforces steep parallax pipeline only.

I will send you my Harley for you to see what can be done with the black velvet garment and the new renderer. Then you can try to change it to latex, as in the SketchFab render.

The model features new specular and AO maps. The original ones are too simple and deficient. :)
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #12 on: August 14, 2018, 10:45:13 am »
Please use the attached textures, because those provided with the one downloaded from SketchFab, do not use the correct size.
Must be 2048x1024 rather than 2048x2048.

Patrice
(Always working with the latest Windows version available...)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #13 on: August 14, 2018, 10:54:46 am »
I have dowloaded the new binary and the ParallaxTest example (thanks).
I shall test this new build with my WIP, and tell you how it goes once done.
Patrice
(Always working with the latest Windows version available...)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1983
    • zapsolution
Re: Extra materials
« Reply #14 on: August 14, 2018, 10:58:35 am »
I forgot to send you a screen shot of my reworked version (see the mask on her face).
Patrice
(Always working with the latest Windows version available...)