Ticket #556 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Try new approach for rendering

Reported by: kozmo Owned by: FIFE
Priority: normal Milestone: 0.3.3
Component: engine Version: trunk
Severity: normal Keywords: engine opengl experimental
Cc: Blocked By:
Blocking: Time planned:
Time remaining: Time spent:

Description

Currently, we need to render everything from back to front and that stopped us from changing rendering order (f.e. to batch primitives with the same texture). We also need to manually sort every instances. This 'new' approach tries to make it not required.

Change History

comment:1 Changed 3 years ago by kozmo

(In [3715]) * Added experimental OpenGL renderer to test new rendering path refs #556

comment:2 Changed 3 years ago by kozmo

(In [3716]) * Fixed warnings and error on gcc refs #556

comment:3 Changed 3 years ago by kozmo

(In [3717]) * Fixed small bug regarding outlines refs #556

comment:4 Changed 3 years ago by kozmo

(In [3720]) * Added colored overlays for SDL render backend .

  • Reworked z-value scaling computation for OpenGL experimental render backend .
  • Added support for colored overlays as well as semi-transparent instances for OpenGL experimental render backend .
  • Reverted layer drawing order for OpenGL experimental
  • Fixed small bug that caused improper deinitialization of render backend .
  • Changed GLCompressImages value type from int to boolean. refs #556

comment:5 Changed 3 years ago by kozmo

(In [3720]) * Added colored overlays for SDL render backend .

  • Reworked z-value scaling computation for OpenGL experimental render backend .
  • Added support for colored overlays as well as semi-transparent instances for OpenGL experimental render backend .
  • Reverted layer drawing order for OpenGL experimental
  • Fixed small bug that caused improper deinitialization of render backend .
  • Changed GLCompressImages value type from int to boolean. refs #556

comment:6 Changed 3 years ago by kozmo

(In [3720]) * Added colored overlays for SDL render backend .

  • Reworked z-value scaling computation for OpenGL experimental render backend .
  • Added support for colored overlays as well as semi-transparent instances for OpenGL experimental render backend .
  • Reverted layer drawing order for OpenGL experimental
  • Fixed small bug that caused improper deinitialization of render backend .
  • Changed GLCompressImages value type from int to boolean. refs #556

comment:7 Changed 3 years ago by kozmo

(In [3721]) * Removed unnecessary alpha value for lighting as well as alpha reference for alpha test

  • Removed appropriate fields in light editor
  • Reworked light model to be compatible with new render backend
  • Changed layer z offset computation for new render backend to use more precisely part of depth buffer as it's not linear
  • Added the ability for guichan to create atlas from its images on runtime - this is only applicable when using its image loader (see engine/python/fife/extensions/pychan/compat.py) refs #556

comment:8 Changed 3 years ago by kozmo

(In [3721]) * Removed unnecessary alpha value for lighting as well as alpha reference for alpha test

  • Removed appropriate fields in light editor
  • Reworked light model to be compatible with new render backend
  • Changed layer z offset computation for new render backend to use more precisely part of depth buffer as it's not linear
  • Added the ability for guichan to create atlas from its images on runtime - this is only applicable when using its image loader (see engine/python/fife/extensions/pychan/compat.py) refs #556

comment:9 Changed 3 years ago by kozmo

(In [3726]) * Fixed MinGW compilation refs #556

comment:10 Changed 3 years ago by prock

  • Status changed from new to closed
  • Resolution set to fixed

closed

Note: See TracTickets for help on using tickets.