Jump to content
The Dark Mod Forums

Tree model


Constantine

Recommended Posts

Hi all.

 

I have done some improvements of the tree_01.lwo model.

 

1. First, I noticed that one of branches of the tree was doubled so it looked more bright than other branches. I have removed it:

 

old_tree.jpgnew_tree.jpg

 

 

2. Second, I have edited the normal map a bit (current, new):

 

branch1_local_old.jpgbranch1_local_new.jpg

 

- the brunches were made more volumetric

- every leaf is bended in its own angle to avoid flatness of branches. Unfortunately, I had to leave this effect vary small, because when overusing it the tree starts looking too untidy, like a venik for Russian banya.

 

 

 

3. Third, I made some fixes of the models/tree/branch1 material:

 

Old:

	{
	blend diffusemap	
	map textures/darkmod/nature/foliage/branch1
	translate	 0.01 * sintable [ time * 0.1], 0.03 * sintable [ time * 0.03]
	alphatest 0.5
}

bumpmap		 textures/darkmod/nature/foliage/branch1_local

 

New:

	{
	blend diffusemap	
	map textures/darkmod/nature/foliage/branch1
	translate	 0.01 * sintable [ time * 0.1], 0.03 * sintable [ time * 0.03]
	alphatest 0.5
	clamp
}
{
	blend bumpmap	
	map textures/darkmod/nature/foliage/branch1_local
	translate	 0.01 * sintable [ time * 0.1], 0.03 * sintable [ time * 0.03]
	clamp
}

 

- added normal map oscillation which is the same as diffuse map oscillation (upon a closer view the lack of normal map shift was noticeable)

- added 'clamp' keyword to remove artefacts appearing on the corners of branche poligons when the texture shifts

 

This is how old material looks:

old_material.jpg

 

(it's better to see the fixed variant in game on the animated texture)

 

 

All changes are in this pack:

http://hedonism.29ru...ee/new_tree.pk4

(small versions of the tree are also included).

 

You can install this pack and load new_tree.map to see the changes:

 

trees.jpg

 

 

1. If you want to use fixed tree models, get them from models\darkmod\nature\trees\new_tree

 

2. If you like new normal map, it's in \textures\darkmod\nature\foliage\new_tree folder

 

3. If you want to fix the material, do not get it from this pack because this one was ajusted for test purposes. Use the code I gave above instead.

 

Anyway, I recommend to fix the model and the material definition. Using the new normal map is a matter of taste.

 

I hope all this will be useful. Good luck!

Link to comment
Share on other sites

Thank you very much! I vote for inclusion of thefixed variant, it looks good.

 

Would you also be able to build a simplified model of the same tree that could be used in LOD stages?

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Oh, so *THAT's* the reason the leaves seemed a bit too bright. That's the tree I use quite a lot and once thought that it looked a bit unnatural, but could exactly point my finger at why. Good job, C!

Clipper

-The mapper's best friend.

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

    • The Black Arrow

      Hey @nbohr1morehow come the zombies in The Dark Mod don't have a "resurrection" mechanic to it, similar to how Thief has it?
      They're quite a weak creature as of right now, it's merely a walking corpse that slashes you, making attacking them to kill them an actual strategy.
      Would be better if they had some cool mechanism to it that truly makes them a danger, such as the resurrection idea itself.
      · 2 replies
    • Ansome

      Query: when was the last time a zombie in a video game was unnerving or scary to you? I'm chipping away at my anniversary submission and I've been trying to gather opinions on the subject. I'm perfectly capable of lighting them well, changing their sfx, and creating effective ambience, but I'm worried that zombies at their core are just too overdone to be an effective payoff to the tension I'm creating.
      · 4 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
    • OrbWeaver

      Has anyone had any luck with textures from Polyhaven? Their OpenEXR normal maps seem too washed out and give incorrect shading in the engine.
      · 5 replies
    • datiswous

      I tried to upscale the TDM logo video. First try:

      briefing_video.mp4 You can test it ingame by making a copy of the core tdm_gui.mtr and place it in your-tdm-root/materials/ , then edit line 249 of that file into the location where you placed the new briefing.mp4 file.
      What I did was I extracted all the image files, then used Upscayl to upscale the images using General photo (Real-Esrgan) upscale setting and then turn it back into a video.
      I might have to crop it a bit, the logo looks smaller on screen (or maybe it's actually better this way?). My video editor turned it into a 16:9 video, which I think overal looks better than 1:1 video of original.
      · 1 reply
×
×
  • Create New...