Author Topic: Render only visible stuff and improve performance?  (Read 918 times)

Offline xNaXDy

  • byte
  • *
  • Posts: 7
    • View Profile
Render only visible stuff and improve performance?
« on: May 27, 2012, 10:58:56 pm »
I was wondering if there was a way to not-render all of the hidden faces of a - let's say - cube so when there are 50 or 200 cubes aligned, and you stand on top of them, only the top face of each cube will be drawn. Is this possible? And will this actually improve performance?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11775
    • View Profile
    • http://www.jpct.net
Re: Render only visible stuff and improve performance?
« Reply #1 on: May 28, 2012, 08:48:46 pm »
It's possible, but the engine can't detect that case. You would have to do it in your own code somehow.

Offline xNaXDy

  • byte
  • *
  • Posts: 7
    • View Profile
Re: Render only visible stuff and improve performance?
« Reply #2 on: May 30, 2012, 12:26:14 am »
I see, is there any other method of improving the frame rate? (I'm new to the 3d stuff as you can see :D)