Results 1 to 10 of 121

Thread: G.T.A.2 Map Editor

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #24
    Strange thing is that on my current PC (not laptop) i have no CPU usage on map editor, all faces are drawn.
    But in my laptop which only has 16MB of video memory, it uses CPU, not alot but around 20-30 depends...

    If video mem is too low for gfx app this means Windows or something makes the app to use CPU also?


    And another question.
    Atm, i have lots of repeated vertex coords for all the slopes (blocks). The unit file size is 322KB. I was able to reduce it to this size with help of User137. Gave me great suggestions. Before that it was something like 1.6MB or something.

    I would like to make it even more smaller.
    And was thinking about only use unique vertex coords. Many blocks that need same vertex, is pointed to one vertex, so one vertex is not duplicated for each block that needs it.

    And also use glDrawElements, and maybe even interleaved arrays.
    Drawelements is in core from v1.1, so shouldnt be a problem on old hardware.


    Will this speed up my rendering also a bit?

    Here is example, how some vertex data is linked / pointed to other array element.
    http://pastebin.com/jpGTg9b3

    Copy/paste from TRSI lighting example.
    Last edited by hwnd; 10-09-2013 at 08:17 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •