Eduardo Bart
e91f822f62
fixes in WIN32-EGL
2012-06-10 20:48:53 -03:00
Eduardo Bart
1a2e97bb5e
show private message on screen
...
* disable GL blending in some situations to speedup on older hardware
* fix wrap size in CachedText
2012-06-09 10:00:08 -03:00
Eduardo Bart
1a7f2a44fc
graphics fixes and improvements
2012-06-08 21:40:41 -03:00
Eduardo Bart
bb1fb939c4
just fixes
...
* fix battle rendering
* fix rendering glitch when following creatures
* properly throw exceptions from C++ to lua and avoid exception crashs
* fixes rendering states in framebuffer
2012-06-06 11:10:35 -03:00
Eduardo Bart
576e775494
fix initialization opengl glitch
2012-06-03 17:25:12 -03:00
Eduardo Bart
75f8b255ec
fix initialization opengl glitch
2012-06-03 17:06:05 -03:00
Eduardo Bart
d49cad31e2
fixes in EGL platform
2012-06-03 11:10:34 -03:00
Eduardo Bart
079b7a5c41
allow to change graphics engine in options
2012-06-02 18:41:20 -03:00
Eduardo Bart
257f652bb7
more opengl graphics fixes
2012-06-02 15:58:30 -03:00
Eduardo Bart
1c5b906b5b
some optimizations
2012-06-02 11:43:27 -03:00
Eduardo Bart
ba01909088
fix alpha blending issues
2012-06-01 20:22:10 -03:00
Eduardo Bart
14db1066fc
change logger
2012-06-01 17:39:23 -03:00
Eduardo Bart
bd2faabe99
graphics optimization feature inspirated by diablo3 engine
...
* the rendering now consits of two panes
- the background pane (for animated stuff like the map)
- the foreground pane (for steady stuff, like UI)
each pane has it own max FPS and works idependently
this may increase graphics performance on many platforms
2012-06-01 16:39:09 -03:00
Eduardo Bart
c01b32b032
rework log function and protocol
...
* remove some protocol ifdefs, replace with game features system
2012-05-28 19:04:44 -03:00
Eduardo Bart
ee664657fb
avoid some opengl redundant calls
2012-04-24 13:37:46 -03:00
Eduardo Bart
70f14b5ac3
improve performance on linux by removing glFinish()
2012-04-24 13:23:33 -03:00
Eduardo Bart
affcd03e06
don't use hardware buffers by default
2012-04-20 10:18:33 -03:00
Eduardo Bart
d006e52c78
support for non power of two textures
2012-04-20 09:07:47 -03:00
Eduardo Bart
f14706206a
continue implementing new graphics engine
...
* implement OpenGL ES 1.1 and OpenGL ES 2.0 support
* new framebuffer that can run on any opengl implementation
* fixes in outfit size rendering
2012-04-20 07:16:03 -03:00
Eduardo Bart
58d76e255d
begin implementing OpenGL 1.0 engine
...
* option to pass -opengl1 or -opengl2 as argument
* note that with this commit there are a lot of graphics regressions and the master will remaing unstable for a while
* shaders disabled for a while
2012-04-18 20:03:43 -03:00
Eduardo Bart
0b8d8b4595
enable ogl debug with ifdefs
2012-04-12 16:56:05 -03:00
Eduardo Bart
879827bdbc
enable opengl debugging on x11
2012-04-12 16:24:00 -03:00
Eduardo Bart
2017fb366e
some optimizations
2012-04-09 09:36:40 -03:00
Eduardo Bart
2835a66bab
experimental minimap
...
* a lot of rework in MapView
* new APIs for UIMap
2012-04-06 20:15:52 -03:00
Eduardo Bart
16acfebe3b
move clipping to painter
2012-04-04 19:46:49 -03:00
Eduardo Bart
b5a4d31fa7
more graphics optimizations
...
* avoid buffers clears
* use scisors testing instead of stencil testing for clipping
* remove stencil buffers
2012-04-04 17:18:24 -03:00
Eduardo Bart
034fce9147
improve clipping performance
2012-04-04 12:19:17 -03:00
Eduardo Bart
11ad1f5c5b
performance improvements
2012-04-04 09:56:22 -03:00
Eduardo Bart
c250bfcf42
fix issue
2012-04-03 23:54:56 -03:00
Eduardo Bart
dd875fc925
support for GL_EXT_framebuffer_object
2012-04-03 23:41:12 -03:00
Eduardo Bart
cb890e8cb1
prevent some protocol crashs
2012-04-03 19:24:15 -03:00
Eduardo Bart
c33741d324
display unsupported extensions
2012-04-03 17:12:05 -03:00
Eduardo Bart
4743763d48
remvoe blur, fix scroll issue on win32
2012-03-28 15:10:59 -03:00
Eduardo Bart
8c2a84b6be
motion blur for fun
2012-03-28 14:34:07 -03:00
Eduardo Bart
56d6cc2cc0
testing bloom and motion blur
2012-03-28 14:18:21 -03:00
Eduardo Bart
8ea154016b
fix and changes
...
* win32 compilation fix
* add buttons to miniwindow
* dispatcher events fixes
* ui fixes
2012-03-27 15:14:40 -03:00
Eduardo Bart
de0008caf1
ui and graphics changes
...
* implement draw clipping using opengl stencil buffers
* allow to create Widgets by style name with g_ui.createWidgetByStyle
* styles can now have children widgets
* make proper use of the isNotPathable in pathfinding
* add scrollbar skin
2012-03-24 12:22:40 -03:00
Eduardo Bart
159eb98df2
introduce startup options
...
* startup options with -help and -version
* many startup options for graphics
2012-03-22 13:10:12 -03:00
Eduardo Bart
28633a9e20
fixes
...
* dont use realtime mipmaps by default
* fix void rendering
* fix max Z rendering
2012-03-21 14:30:57 -03:00
Eduardo Bart
57adcb38bd
rework windows crash handler
...
* use -Ofast -fomit-frame-pointer for release
* new windows crash handler that can generate backtraces reports
* fix crash after fatal errors
2012-03-21 12:31:34 -03:00
Eduardo Bart
c7469e4454
graphics fixes
...
* zooming without real FBOs kinda works, but with lower quality
* hardware detection for glGenerateMipmaps
* possibility to disable bilinear filtering, mipmaps, framebuffers, and realtime mipmap generation in g_graphics
* otclient works well using 3D acceleration in VirtualBox again
* many fixes regarding FBOs fallback implementation
2012-03-21 09:41:43 -03:00
Eduardo Bart
01d5fad315
support for OpenGL 2.0
...
* use OpenGL 2.0 auxiliary buffers when FBO is not supported, thus this means that OpenGL 3 is not a requirement anymore, so otclient might work in older video cards
* map zooming will never work well with Opengl 2.0 because of glCopyTexSubImage2D limitation
2012-03-20 19:26:07 -03:00
Eduardo Bart
9db7bd2602
rework map rendering
2012-01-29 22:00:12 -02:00
Eduardo Bart
24aab00431
fix use with, improve move, change icons, improve topbar
2012-01-24 16:39:16 -02:00
Eduardo Bart
9104305f37
update copyright notice
2012-01-02 14:59:24 -02:00
Eduardo Bart
d597335135
make work on win32 again using GLEW
2011-12-29 16:21:58 -02:00
Eduardo Bart
3abbf5255e
introduce matrix class and use it
2011-12-24 21:14:12 -02:00
Eduardo Bart
2030a4da29
Merge branch 'revgraphics'
...
Conflicts:
src/framework/CMakeLists.txt
src/framework/application.cpp
src/framework/graphics/graphics.cpp
2011-12-09 12:23:32 -02:00
Henrique Santiago
a679f258ee
particles improve
2011-12-09 03:44:44 -02:00
Eduardo Bart
7eead50806
use GLSL shaders
2011-12-06 22:31:55 -02:00