Pages: [1]
  Print  
Author Topic: Move OpenArena engine to Rend2?  (Read 12679 times)
hairball
Half-Nub


Cakes 2
Posts: 52


« on: October 26, 2012, 06:22:42 pm »

Any thoughts on OA's renderer vs. the new ioquake3 rend2?

James Canete committed his rend2 (formerly renderergl2) renderer into ioquake3.  OpenArena is not compatible with it and crashes immediately.  Previously, James said he could help integrate any OA specific changes to rend2 but his first priority is Reaction Q3.  Now that rend2 is in ioquake3, it seems like a good time to start to move OpenArena to rend2 if you want.

The unofficial openarena_engine now includes rend2 but it is disabled by default.  You can uncomment BUILd_RENDERER_REND2=1 in the Makefile.local to build it.

https://github.com/undeadzy/openarena_engine

https://bugzilla.icculus.org/show_bug.cgi?id=4358#c67
Logged
Neon_Knight
In the year 3000
***

Cakes 49
Posts: 3763


Trickster God.


« Reply #1 on: October 26, 2012, 07:25:58 pm »

Does it guarantee mod/map compatibility? It's still a main objective of OA.
Logged


"Detailed" is nice, but if it gets in the way of clarity, it ceases being a nice addition and becomes a problem. - TVT
Want to contribute? Read this.
fromhell
Administrator
GET A LIFE!
**********

Cakes 34
Posts: 14506



WWW
« Reply #2 on: October 26, 2012, 09:53:21 pm »

"Move" is a bad word.  RendererGL2 when I tried, wasn't very satisfactory. How it is now crashing immediately is a very bad sign.

Notably why not:
  • Autosprites/tcMods are broken
  • No RAVENMD4
  • Shader syntax isn't very backward compatible leading to having to create new separate shader files for rend2 to maintain compatibility with the original renderer
  • Not enough flexibility for lighting (exponent textures lacking)
  • It's not going to solve the stiff animations problem
  • I like my system requirements low. Going Rend2 exclusively won't help that.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
hairball
Half-Nub


Cakes 2
Posts: 52


« Reply #3 on: October 27, 2012, 08:08:28 am »

"Move" is a bad word.  RendererGL2 when I tried, wasn't very satisfactory. How it is now crashing immediately is a very bad sign.

Oops, sorry.  I don't normally login most of the time so I forget to check the OA3 board.   s/move/support/

Notably why not:
  • Autosprites/tcMods are broken
  • No RAVENMD4
  • Shader syntax isn't very backward compatible leading to having to create new separate shader files for rend2 to maintain compatibility with the original renderer
  • Not enough flexibility for lighting (exponent textures lacking)
  • It's not going to solve the stiff animations problem
  • I like my system requirements low. Going Rend2 exclusively won't help that.

Fair enough.  Now that rend2 is in ioquake3, autosprites, RAVENMD4 and lighting flexibility are bugs or enhancements outside of OA.  Adding new shader files is impacted by OA's resources though.  Is it feasible to have new shader files?
Logged
fromhell
Administrator
GET A LIFE!
**********

Cakes 34
Posts: 14506



WWW
« Reply #4 on: October 27, 2012, 02:33:59 pm »

  Is it feasible to have new shader files?
If I don't like warnings on renderers that don't support them, yes.
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Suicizer
Member
Member
*

Cakes 2
Posts: 401


WWW
« Reply #5 on: February 16, 2013, 05:53:41 am »

"Move" is a bad word.  RendererGL2 when I tried, wasn't very satisfactory. How it is now crashing immediately is a very bad sign.

Notably why not:
  • Autosprites/tcMods are broken
  • No RAVENMD4
  • Shader syntax isn't very backward compatible leading to having to create new separate shader files for rend2 to maintain compatibility with the original renderer
  • Not enough flexibility for lighting (exponent textures lacking)
  • It's not going to solve the stiff animations problem
  • I like my system requirements low. Going Rend2 exclusively won't help that.

So any benefits when moving to rendergl2?
Logged

I'm good at everything but can't do anything...
pelya
Member


Cakes 6
Posts: 399


WWW
« Reply #6 on: February 16, 2013, 08:40:08 am »

Also, I will not port Rend2 to Android, because I don't know how to program shaders, and there is one huge difference in GL ES 2 compared to OpenGL+shaders - there are no texture units, at all - you'll have to explicitly replace them with shaders. So it seems more complicated than porting from OpenGL with no shaders to GL ES 1.
Logged
Pages: [1]
  Print  
 
Jump to: