Author Topic: UI Design and Suggestions  (Read 8065 times)

0 Members and 1 Guest are viewing this topic.

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: UI Design and Suggestions
« Reply #45 on: May 30, 2013, 01:38:25 AM »
Graphics aren't my end but I'd imagine that we can take that image as is, and replace every blue pixel with whatever.
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: UI Design and Suggestions
« Reply #46 on: July 07, 2013, 02:51:12 PM »
On the subject of UI, I need a faster way to display ships then my current kludge of creating, then destroying markers. Just a circle would be fine, but I'm not entirely sure of how to update position on something on the screen. Also Default_GLFONT2 seems a little hard to read(it is the only one with numbers currently, thats why WP numbers aren't being displayed if anyone is wondering, they are default_GLFONT not default_GLFONT2). I haven't uploaded this yet because it is again a giant kludge at the moment but here is what I've been working on:
« Last Edit: July 07, 2013, 02:54:04 PM by Nathan_ »
 

Offline sublight

  • Moderator
  • Captain
  • *****
  • s
  • Posts: 592
  • Thanked: 17 times
Re: UI Design and Suggestions
« Reply #47 on: July 08, 2013, 07:34:11 AM »
Would it be faster to generate each visual frame from scratch internally every time and then do a single graphics update to replace the old frame with the new one?

I'm not sure how things work with OpenGL, but in console applications every command to display new text takes one screen refresh cycle, or about 17ms per print call. If, speculation, the same is true with every screen graphic update then destroying and creating 30 icons individually on 60Hz display would take 1 second for a complete update.
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: UI Design and Suggestions
« Reply #48 on: July 08, 2013, 11:54:20 AM »
Graphics programs generally do that the way you suggest, with a screen refresh call pushing the display buffer to the screen. you can see so and so object.refresh() calls throughout the code that is there. But the particular way I am doing it, using map markers, and deleting/recreating them is far far from optimal. Map markers shouldn't be used for this, thats just a stand in that I can draw right now.
 

Offline Nathan_

  • Pulsar 4x Dev
  • Commodore
  • *
  • N
  • Posts: 701
Re: UI Design and Suggestions
« Reply #49 on: July 13, 2013, 08:41:26 PM »
Quote
Would it be faster to generate each visual frame from scratch internally every time and then do a single graphics update to replace the old frame with the new one?
Again, my problem is that I do not understand how to do this. Just changing the PrimaryPrimitive's location does nothing. Changing it, recalculating the matrix, refreshing, and rerendering the primitive also do nothing.
 

Offline ollobrains

  • Commander
  • *********
  • o
  • Posts: 380
Re: UI Design and Suggestions
« Reply #50 on: December 26, 2013, 07:39:25 PM »
How are these for basic ship icons, as a general style?  Making them with three for each ship type, currently in one color but can do whatever people think works.  Haven't touched any warship icons yet, because it seems I can't manage to draw a decent diamond, but working on it.

Cargo ships, large and small:
Colonist ships, large and small:

Will they be somehow given race colors, or is multiple colors of each icon needed?

i think multiple colors might be a good way forward for each icon
 

Offline SnopyDogy (OP)

  • Pulsar 4x Dev
  • Chief Petty Officer
  • *
  • Posts: 41
  • Pulsar4x Dev
    • Pulsar4x
Re: UI Design and Suggestions
« Reply #51 on: December 30, 2013, 12:04:22 AM »
the easiest way to give them race colours would be to tint them in the shader. in that case then all we really need are the white versions of the icon so we can colour them.
 

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74