collapse

Author Topic: Modding help needed  (Read 607 times)

Offline Jenya

  • Neonate
  • **
  • Posts: 59
Re: Modding help needed
« Reply #15 on: March 21, 2019, 02:47:10 PM »
I decompiled (with Crowbar 0.58) the MDL file provided in the attached link several posts above. (There are two MDL files in the attachment, but they are both identical, although names are different.)

I also decompiled (with Crowbar 0.58 and with MDL2SMD in the SDK) the MDL file found in the game.

Comparing the meshes in Blender, the mesh from the attachment shows different "vertex-per-face normals" at the problem area shown in the OP's screenshot. The image below highlights in green the "good" vertex normals, i.e. one normal per vertex. The red highlights show the "bad" vertex normals, which show two normals at those vertexes, causing the incorrect shading at those mesh edges.

Maybe the 3D tool you used assigned a "hard edge" where the textures meet, or it assigned different smoothing groups to each texture.
Than you. I dunno why it happens, cos I use old version of blender and how does it changes normals or smoothing groups just by importing model is a mystery to me.
Do you have any suggestions how to fix it in blender?

Offline DDLullu

  • Neonate
  • **
  • Posts: 68
Re: Modding help needed
« Reply #16 on: March 23, 2019, 12:42:22 AM »
I have change the exporter with a nice pup_block  so you can choose what you  want  to  save in the MDL By default the normals are not checked.

You should be able to make a nice seem with the new exporter if you choose the right things to export.

Offline Jenya

  • Neonate
  • **
  • Posts: 59
Re: Modding help needed
« Reply #17 on: March 23, 2019, 03:10:14 PM »
I have change the exporter with a nice pup_block  so you can choose what you  want  to  save in the MDL By default the normals are not checked.

You should be able to make a nice seem with the new exporter if you choose the right things to export.
Thanks a lot! It finally works as it should.

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 5804
  • Unofficial Patcher
Re: Modding help needed
« Reply #18 on: March 23, 2019, 03:48:14 PM »
I have change the exporter with a nice pup_block  so you can choose what you  want  to  save in the MDL By default the normals are not checked.

Thanks, I'll add this to your other scripts in the Unofficial Patch!