Jump to content
The Dark Mod Forums

Lighting Problems With Animated Meshes [solved]


Recommended Posts

I want to animate my gramophone, so that its plate and handle are actually moving when the device emits some tunes. This should add to the whole credibility of the game.

The animation just runs fine.


However, I ran into an odd problem: Shadow artefacts appear on the surfaces, even when I split the mesh into several parts and use smoothgroups. That is really awkward:




- I used Blender to model and to animate the mesh. It has an origin armature.

- As pictured below, I did split the mesh and applied smoothgroups in nearly every possible way. Even without these steps, the results remains the same.


- Then I used der_ton's MD5 exporter for the D3 import.


Can anyone please help me in this matter?

Link to comment
Share on other sites

It's hard to tell from that one picture. Is the UV mapping messed up?

No, it is the very same gramophone as the static mesh. Besides, I have replaced the UV map with a simpler one, but the problem remained.


Have you put 'noselfshadow' in the shader?

Not in the first place, but unfortunately, it doesn't help either.


The weired thing is that the model shows up just fine as a static mesh, but doesn't when its exported to MD5.

Link to comment
Share on other sites

I dont' know, it's probably has something to do with smoothing errors.

I dn't use max or the max exporter, so you'd be better asking o nthe doom3world forums. The guy who wrote that exporter hangs out there, so he'll know if any one does.

A word aboutt he textures.

YOu dont want any details in the diffuse map if you're putting the same detail in the normal map. YOu want flat colours generally. You certainly don't want any specular detail in the diffuse map, you want the specular to be dynamic, not static, so that should all be in the specualr map.

I changed them quickly, the normals map is done with the nividia plugin, and it's usless for anything other than small texture details. You really need to be modeling high res versions of the model and generating the geometry detail normal maps from that.

I know it's hard to get out of the old habit you picked up from texturing in older engines where all the detail is in the diffuse map.


THe spec and diffuse maps shoud be looking something more like this, and you get a better result.



Civillisation will not attain perfection until the last stone, from the last church, falls on the last priest.

- Emil Zola


character models site

Link to comment
Share on other sites

That image of the dog should be removed too. I'm not quite sure why it's there to begin with, but it looks too much like a photograph, which doesn't exist in this setting.

Link to comment
Share on other sites

Magnesius, IMO its a good idea to see if you can get a copy of the apps oDDity uses and learn how to use them - these days its all the same stuff, just a different interface.

Only because then he can help you more directly and we know that his workflow method works fine and gets stuff into Doom 3 fine.

Link to comment
Share on other sites

so you'd be better asking o nthe doom3world forums.

Yes, I will ask him - but thanks for your help and inspecting the model!


THe spec and diffuse maps shoud be looking something more like this, and you get a better result.

That's quite a difference in quality. I will change it soon.


That image of the dog should be removed too. I'm not quite sure why it's there to begin with, but it looks too much like a photograph, which doesn't exist in this setting.

The model does actually not use the photograph-like image of a dog on the left, but only the very small picture on the right.


@Domarius: 3D Studio, huh? I saw that there is a student version for $100, but it is limited for 2 years and you can only get it for specific studies (design, physics etc.). I might get it, but even the use for non-commercial purposes is litmited as well; maybe a 'watermark' is distributed with the finished meshes, too.

I am quite happy with Blender, and I will not spend even more than $100 for such a program.


Edit: Thanks for your replies, I suppose the problem is solved now. I have detached the front part of the horn from the rest, instead of just splitting these parts (there is a small space between them now).

Link to comment
Share on other sites

Yes, but I have to change that. It does not fit well into the DM universe.

Of course we need some records for it... Saxmeister's record needs a label, and perhaps a record called "The voice of oiled gears" would be appropriate, too :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 3 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
      You guys did not know that, did you?
      · 2 replies
  • Create New...