Jump to content
The Dark Mod Forums

Model question


Noisycricket

Recommended Posts

I wanted to make a dog/wolf model for a little atmosphere. I found this tutorial which looks like it would give great results if it will work. Basically it involves putting several 2d sprites around the dog. Would i be able to have several unconnected sprites around the dog model, or would they have to be connected to the dog model to work?

 

14301_500.jpg

Link to comment
Share on other sites

You don't have to connect the alpha mapped polygons to the body of the wolf. They will animate with the rest of the model just fine.

 

The bigger question is transparency. With id Tech 4 you only have three options and none of them are going to yield results like you see depicted in that tutorial.

 

The first option is the translucent material shader keyword. No alpha maps are used, the entire surface is rendered at 50% opacity, and you maintain light interactions. This won't be of any use here. It's better suited for things like glass windows.

 

The second option is the "blend" blend mode. Alpha maps are used here to their full 8-bit capacity but you lose light interactions. That means whatever colors you paint in the texture are what you will see in game. It's rendered at full brightness, i.e. red hair glows red even in a pitch black room.

 

The last option is alpha test. Alpha maps are used here as well but they are reduced to 1-bit images essentially making them behave like clip maps. The plus side is that you maintain light interactions.

 

vgh_hair_02.jpg

 

The problem is demonstrated well in this image from the tutorial. You paint an alpha map like that on the left and end up with a result like that on the right.

 

This is one of the first things I'd like to see get sorted out when the engine goes open source. Transparency in id Tech 4 is nasty.

Link to comment
Share on other sites

If i used only a fur color of 0,0,0, (totally black) would that make the interactions with light and shadows look ok?

 

It wouldn't look black like a black dog's fur, it would look black as in "completely black on the screen no matter what", like the staff in Robbing the Cradle.

Link to comment
Share on other sites

You don't have to connect the alpha mapped polygons to the body of the wolf. They will animate with the rest of the model just fine.

 

We already have a commoner head model with some hair, you could ask Springheel how he had done it. I thin since the fur is mainly black, you can possible get away with alphatest if you use it for only some sprites along the body to provide the silouette - the base fur will still be rendered ok.

 

This is one of the first things I'd like to see get sorted out when the engine goes open source. Transparency in id Tech 4 is nasty.

 

Indeed.

"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

You can get coloured alpha blending with faked lighting via specular. however you have to use half depth alpha, which isnt too bad for something like this.

 

I suspect you could even reuse the alpha for specular and tone it down. However I'm unsure as to how this would all act with HDR and postprocessing so I haven't really gone much farther down the road.

 

Otherwise you can use an alphatested surface with 2nd blend stage ontop of that to soften the edges, however the edges wont react to light at all.

Link to comment
Share on other sites

If i used only a fur color of 0,0,0, (totally black) would that make the interactions with light and shadows look ok? Thanks for the detailed answer Rich.

 

OrbWeaver is right. Like I said above you lose light interactions completely when you use the mode "blend". Black is less noticeable but it's still very unnatural looking.

 

That might work if accompanied by some wispy specular maps... hmm... :huh:

 

Nope. Specular reflections are light interactions. Black is still black.

Link to comment
Share on other sites

  • 3 weeks later...

I ran into two examples on transparent black hair, one actually in Doom 3 and it doesn't look bad at least in dark environments. The other is in Fable 3, and i can't tell if light is affecting it, it almost looks like its not. Since modeling the wolf was just for fun and to learn Maya, i may just make it, or part of it to test.

 

Fable3( at 2:20 )

 

doomae.jpg

Link to comment
Share on other sites

That's just a black texture like the one posted earlier, with a "blend" filter applied.

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

    • 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?
      https://sndup.net/z4ty/
      https://sndup.net/qwhy/
      · 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...