Jump to content
The Dark Mod Forums

Lighting Problems With Animated Meshes [solved]


Magnesius

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:

 

shot000023ct.jpg

 

- 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.

bild29cb.th.jpg

- 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.

post-51-1141417134_thumb.jpg

post-51-1141417209_thumb.jpg

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.

Guest
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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...