Jump to content
The Dark Mod Forums

Compass Model?


ascottk

compass styles  

3 members have voted

  1. 1. How do we want the compass to look?

    • Compass 1 (100thpenn)
      1
    • Compass 2 (pewter)
      1
    • Compass 3 (smartstart)
      1
    • Compass 4 (stanley)
      0
    • gallery.hd
      0
    • qpindia
      0


Recommended Posts

@Ishtvan: I'm under the impression that how much it affects performance mostly depends on how much of the screen it covers, how many layers it has, and how expensive those layers are to render (things using expensive shaders take up more fill-rate) Inventory icons take up a small amount of the screen and don't use expensive shaders, so I'm not particularly worried about their performance. In any case, the reason I was using icons rather than models had nothing to do with performance... (see below)

 

@SneaksieDave: Sorry, I guess I wasn't doing a good job of explaining myself... With D3 GUIs, you cannot change a model at runtime. (you can change the model's position/lighting/etc but not which model is rendered) Any model used by a GUI has to be hand-coded to be in the GUI. If you have a GUI with 10 models, it needs to have 10 windows, one for each model. This is not extensible and it prevents a mapper from just coding an item that uses a given model.

 

However, I think Sparhawk's idea of using the GUI overlay may provide a solution, because it can load up new GUIs on top of the HUD at runtime. (and I think this would also simplify the inventory display code slightly) It would still require a mapper to create a GUI for each model, but it's better than forcing them to replace the HUD with their own version.

 

Edit: Also, there's the issue that models may be difficult/impossible to fade.

Link to comment
Share on other sites

You wouldn't. But I thought you said your version 'faked' it in a way that never got to the point where you were looking at it from below?

 

In any case, the reason I was using icons rather than models had nothing to do with performance... (see below)

 

I think Ish was talking about the effect of adding animated texture effects to the inventory icons--if those animated textures are going to cause any kind of performance hit they probably aren't worth it (I don't know if they would or not).

Link to comment
Share on other sites

I think I can create a new version that allows it to be seen from above and below, if the sides are a single color.

 

I'm pretty sure animated materials have almost no effect on performance, especially given given the small icon sizes. Icons that rely on scripting to be animated (such as a compass, even with a model) might have a very slight impact, but the compass is pretty much a worst-case scenario (while selected, its script has to be run every frame), and for me the compass has no noticeable effect on framerate. (though admittedly, I haven't tested it in CPU-bound situations)

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

    • Baal

      Episode 3 of the second best Doom 3 mod, Phobos,  was just released.
      · 2 replies
    • snatcher

      TDM Modpack v4.2 released!
      · 1 reply
    • 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.
      · 3 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.
      · 8 replies
    • nbohr1more

      The Lieutenant 3 is out! Congrats Frost_Salamander! ( raising awareness )
      · 2 replies
×
×
  • Create New...