Author Topic: Mil_Mi-24D  (Read 4324 times)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1980
    • zapsolution
Mil_Mi-24D
« on: November 04, 2018, 07:33:45 pm »
Mike

Here is a low poly model you may find handy for test purpose in debug mode.
So far we are unable to apply roughness and metallic textures altogether, i did used metallic in map_Ks to have the reflection effect on the lateral window glass and the chrome parts.
« Last Edit: November 05, 2018, 09:26:19 am by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Mil_Mi-24D
« Reply #1 on: November 04, 2018, 10:43:00 pm »
Thanks for sharing the model, Patrice! :)

Regretfully the model's normal map is not an OpenGL tangent space map that we use in ObjReader but rather a MS Direct3D tangent space normal map with a different orientation of coordinate axes. That's why the surface bumping effect is poor and lighting looks weird (the model looks kinda sideways-lit rather than front-lit) when the roughness texture is applied, as it should, in place of classic specular map in ObjReader's uber shader.

Theoretically it's possible to convert that normal map's axes to the order OpenGL expects them to be in and re-normalize the map after conversion, but I don't have such a converter at hand ATM. :(
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)

Patrice Terrier

  • Administrator
  • *****
  • Posts: 1980
    • zapsolution
Re: Mil_Mi-24D
« Reply #2 on: November 05, 2018, 09:28:34 am »
Here we are…

I did from my best to preserve the individual .fbx meshes, while using the same single texture.

We should use another wallpaper, because indeed it is a static model (not flying).

Note: If you want you can animate the rotors, look at the end of the .mtl file, but then the main rotor blades should be reworked, i already fixed the space between the main and rear rotor, because in the real world the one from the original .fbx will probably get broken  ::)
« Last Edit: November 05, 2018, 10:54:15 am by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Mil_Mi-24D
« Reply #3 on: November 05, 2018, 03:15:06 pm »
This one looks better. :)

Yeah, flying blades should be bent slightly upwards else they won't look natural.

Thank you!
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: Mil_Mi-24D
« Reply #4 on: November 05, 2018, 04:33:19 pm »
The DL speed is exceptionally slow today -- 80 to 120 KB/sec... :(
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: Mil_Mi-24D
« Reply #5 on: November 05, 2018, 04:54:39 pm »
Re. PBR in ObjReader, there is a lot of PBR formula stuff all over the net but surprisingly few ready-made shaders.

I was able to find only two of them we might potentially use but both are built around custom projection matrices generated by the viewer camera class rather than built in OpenGL. Both may need quite a bit of work trying to integrate them in our existing code...
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: Mil_Mi-24D
« Reply #6 on: November 05, 2018, 05:03:31 pm »
The flying model is excellent! 8)

The Oblivion wallpaper looks a bit out of place. OTOH one could find some similar Syrian scenery shots where the Russian combat aircraft would now look more organic and up to date. ;)

I think your custom synthetic metallic/rougness map should be renamed DefaultMaterial_Specular.png. Let the original textures stay unmodified as they are.
« Last Edit: November 05, 2018, 05:09:12 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: 1980
    • zapsolution
Re: Mil_Mi-24D
« Reply #7 on: November 05, 2018, 07:30:38 pm »
Here is the release candidate version (followed your advice).
« Last Edit: November 05, 2018, 07:34:34 pm by Patrice Terrier »
Patrice
(Always working with the latest Windows version available...)

Michael Lobko-Lobanovsky

  • Administrator
  • *****
  • Posts: 1481
Re: Mil_Mi-24D
« Reply #8 on: November 05, 2018, 09:33:17 pm »
Downloading at the same miserable speed. :(

And also both of your last screenshots won't enlarge for me though reporting a number of views...
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: Mil_Mi-24D
« Reply #9 on: November 05, 2018, 09:43:47 pm »
!!! TERRIFIC !!! 8)

Thank you, Patrice. This is how it is now in Syria and Eastern Ukraine because of this pygmy dickhead in the Muscovite Kremlin! >:(
Mike
(3.6GHz Intel Core i5 Quad w/ 16GB RAM, nVidia GTX 1060Ti w/ 6GB VRAM, Windows 7 Ultimate Sp1)