Jump to content


Photo

Testers and reviewers wanted: BFG-style vertex cache


  • Please log in to reply
153 replies to this topic

#151 nbohr1more

nbohr1more

    Darkmod PR, Wordsmith

  • Development Role
  • PipPipPipPipPip
  • 8797 posts

Posted 07 July 2018 - 01:24 PM

I doubt that. The backend is not responsible for making decisions about what to render, that's the frontend's job.


Do you have a savegame or video for me, so that I can actually see what you are talking about?


Quicksave:
 
https://www.dropbox....save_0.zip?dl=0
 
I guess, I was thinking of the distance checking in the portal culling routine in the Renderer
but that technically counts as frontend too. I should end the bad habit of calling Render backend and
Game frontend...
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...)

#152 duzenko

duzenko

    Advanced Member

  • Active Developer
  • PipPipPip
  • 1170 posts

Posted 08 July 2018 - 01:22 AM

Question: are we mapping entire VBO and what driver is doing behind the scene?

Is it copying our entire vertex data (static and dynamic) each frame back and forth to system memory and then to VRAM?



#153 cabalistic

cabalistic

    Member

  • Development Role
  • PipPip
  • 283 posts

Posted 08 July 2018 - 03:45 AM

Static vertex cache is only copied once, after level load. The dynamic vertex cache is copied each frame, but only those parts that were actually used. I used glFlushMapBufferRange to mark the parts that need to be copied.



#154 lowenz

lowenz

    Advanced Member

  • Member
  • PipPipPip
  • 1788 posts

Posted 08 July 2018 - 10:03 AM

Don't know if it's FBO related or Vertex Cache related!

 

Accountant 1 sewers:

 

The_Dark_Modx64_2018_07_08_16_18_37_412.


Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users