Jump to content
The Dark Mod Forums

Samson-

Member
  • Posts

    7
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Samson-

  1. On 7/16/2020 at 9:29 AM, MirceaKitsune said:

    The Blender 2.8 md5anim exporter is throwing an error when I attempt to export any animation. And since I already saved the new Blend with it I can't go back to 2.79 either. Anyone know what this could be about? Here's a screenshot of what happens and the error I get when I attempt exporting:

    The import/export script for 2.8 is a little picky about how the meshes/armature are grouped - you will need to add them to a collection.  Take a look at the readme file for the script - it should help clear it up.  Looks like I may need to add some better error checking to it.

     

    Hope this helps

    io_scene_md5_28-readme.pdf

    • Like 2
    • Thanks 2
  2. That would happen if you forgot to remove renderbump command from your material definition.

     

    You know, when I first read this comment, I thought to myself 'man, what kind of idiot does this guy think I am? I checked the material def a bunch of times!'. Turns out you know exactly what kind of idiot I am - I was editing the wrong material def. :) Fixed it and problem resolved.

     

     

    TDM uses DirectX normal maps (Y-). So if you had Blender bake Y+ ones you could see weirdness at the seams, while at a glance it would seem the map is doing its job.

    So in blender is it as simple as switching +Y to -Y under bake/swizzle? ( does D3 also use -Y?)

     

    Thanks a ton for the help - saved me lots of frustration!

  3. Hi guys - I'm getting my feet wet with modeling, and was hoping maybe someone could help with a couple of questions.

     

    I was starting with some base models from D3 to experiment. I was originally using one of the default blender .lwo export scripts, which did not seem to ever set smoothing on export, so unless i edited the materials to use the renderbump command, the models were faceted in game. I switched to the script referenced earlier in this post, and smoothing is definitely now set in the exported .lwo ( Yeah! ), but now I'm having a different issue - I can't seem to set a hard edge. Even if I select a portion of the model and split it off ( select faces then 'Y' to split ), the engine still smooths across that edge. The only way I could find to stop the behaviour was to assign the same material with a different name to the split portion of the mesh. Anyone experience this before? Using Blender 2.77 fwiw. Remove doubles is NOT set on the export script - just the smoothing option is set.

     

    My second question is about baking normals ( which is turning out to be a pretty interesting rabbit hole ). I was trying to model a simple cup - ( styrofoam coffee cup ). I made high and low poly models, and baked the normal from the high to the low, and it generally seems to work. The issue I'm having is the seam where the normal map wraps around the cup. Where the halves of the map meet, the normals look obviously inverted on the model in game. I tried splitting the model in half, unwrapping the UV's for half the model to the full texture space, mirroring the half to complete the model, welding the halves together, moving the mirrored UVs off the 0-1 UV map, baking the normal map, then moving the mirrored UVs back. This looks better, but the normals still seem to be wrong when looking at the model from different angles in game. I feel like I'm missing something here, any ideas would be appreciated. Thanks!

×
×
  • Create New...