Jump to content


Photo

Bad display of certain foliage


  • Please log in to reply
5 replies to this topic

#1 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 11841 posts

Posted 20 April 2017 - 10:35 PM

In 2.05, this model:
 
models/darkmod/nature/bush_small03.lwo
 
using this skin:
 
nature/long_grass_lightyellow_dense
 
displays correctly.
 
In 2.06, the same model with the same skin displays the alpha channel as a black texture.
 
First image is 2.05, second is SVN.
 
Attached File  bush_205.jpg   455.82KB   0 downloads
 
Attached File  bush_SVN.jpg   343.12KB   0 downloads
 
Could someone with materials knowledge please figure out what's been broken since releasing 2.05? I took a quick look and didn't see any differences in the material or skin definitions, or the tga file for the grass texture.
 
Other bush skins might have the same problem.
 
The bugtracker issue is #4511.


#2 stumpy

stumpy

    Advanced Member

  • Member
  • PipPipPip
  • 1664 posts

Posted 21 April 2017 - 12:47 AM

the texture files are not the same size so it looks like one has been altered. maybe the alpha channel has been removed on the later texture.

it might depend on a texture editor some use 0 as transparent value and some use 255 as transparent value, if they've been swapped then the alpha channel would appear black.


  • teh_saccade likes this

#3 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 569 posts

Posted 21 April 2017 - 02:02 AM

Must be caused by my last change.

How/where can I see this model in TDM?

Start "In Remembrance of Him", go to the first door, and the bush is on the right.

 

I will try to look this week end



#4 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 569 posts

Posted 23 April 2017 - 05:51 AM

Resolved today.

Side note: vegetation LOD (lod_fadeout_range) needs testing.

BTW: How do you get bright lighting in this place? It's very dark for me.


  • nbohr1more likes this

#5 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 11841 posts

Posted 23 April 2017 - 09:23 AM

Resolved today.

Side note: vegetation LOD (lod_fadeout_range) needs testing.

BTW: How do you get bright lighting in this place? It's very dark for me.

 

Thanks!

 

I'm just using my normal settings of gamma = 1.28 and brightness = 1.02.

 

EDIT: Maybe I brightened the pictures before posting them. I don't remember.



#6 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 7810 posts

Posted 23 April 2017 - 12:10 PM

See comment on http://bugs.thedarkm...iew.php?id=4512


Please visit TDM's IndieDB site and help promote the mod:

http://www.indiedb.c...ds/the-dark-mod

(Yeah, shameless promotion... but traffic is traffic folks...)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users