Search found 19 matches

by rkupke
Fri Mar 10, 2017 10:36 am
Forum: Play-Testing Feedback
Topic: Terraform Exobot colonies
Replies: 33
Views: 4710

Re: Terraform Exobot colonies

Could you simply allow construction of terraforming buildings on outposts?

A building on an outpost simply does nothing (waits for settlers).

Thus the player can "preload" a planet with terraforming buildings that wait for settlers to arrive.
by rkupke
Sun Feb 13, 2011 8:13 am
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

You've removed calls to glBindBuffer(GL_ARRAY_BUFFER, 0); after activating buffers. Won't that leave those buffers in use for any subsequent rendering? I'd expect that the pushing and popping of client/server attributes covers that in the rendering code. Otherwise the buffer classes would need a de...
by rkupke
Sat Feb 12, 2011 5:32 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

I have made the necessary changes to make sure shaders are not used with gl<2.0 ShaderProgram.[h|cpp]: Made default constructor private because using it would be an error Made constructor protected Implemented factory function that returns a new ShaderProgram or NULL Implemented stopUse() function t...
by rkupke
Fri Feb 11, 2011 6:46 am
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

Then feel free to ignore that suggestion. While I think the code complexity is negligible the artist involvement may become a problem when/if the textures are redone at a later point in time. While i did this experiment I found a small problem that might actually cause crashes on some systems. The f...
by rkupke
Thu Feb 10, 2011 3:45 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

I made a few additional changes. Starfields caused a huge drop of performance, so i created smaller textures. For gl<2.0 starfields are now rendered with only two 512x256 and 256x512 textures and have almost no effect on performance (~5 fps). For galaxy gas I made scaled down textures that are used ...
by rkupke
Wed Feb 09, 2011 6:25 pm
Forum: Compile
Topic: help with compiling >r3865 on MacOS needed
Replies: 12
Views: 3684

Re: help with compiling >r3865 on MacOS needed

Xcode stores user settings in <username>.mode* and <username>.pbxuser files. They are not relevant for other users.

All other files (currently just the "project.pbxproj") with the enclosing folder "FreeOrion.xcodeproj" need to be in svn.
by rkupke
Wed Feb 09, 2011 6:42 am
Forum: Compile
Topic: r3966 OS X errors
Replies: 6
Views: 2353

Re: r3966 OS X errors

Try to comment the line out.

It is just an assert macro. Testing undeclared variables doesn't make sense anyway.
by rkupke
Mon Feb 07, 2011 9:35 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

I finished the first version of the fallback code. Starlanes are drawn with supply lines, fleet supply lines and ship movement Galaxy gas works (with 15-30 fps) Starfields work (with 5 fps) Optimized system rendering works I have removed GLBuffer and replaced it with a small class hierarchy in its o...
by rkupke
Sat Feb 05, 2011 11:13 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

I think I can complete the changes. I switched to protected inheritance as a quick and dirty way make the compiler produce errors for each use of the class in the "old" way. I should have switched back to public after making all the changes. At first I will clean up GLClientBuffer and crea...
by rkupke
Sat Feb 05, 2011 1:54 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

Your fallback code draws the basic starlanes but no supply lines, no fleet supply lines and no fleet movement. Before I discovered the possibility to cheat with the GL version I started to write fallback code myself. Since InitStarlaneRenderingBuffers already collects the necessary data in temporary...
by rkupke
Sat Feb 05, 2011 7:07 am
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

There are checks for setting options defaults, but it should be possible to override those defaults by enabling / disabling settings in the options screen. The first thing MapWnd::InitSystemRenderingBuffers() and MapWnd::InitStarlaneRenderingBuffers() do is to test the GL version and return for ver...
by rkupke
Fri Feb 04, 2011 9:55 pm
Forum: Graphics
Topic: Colonization process | habitability indication
Replies: 22
Views: 7214

Re: Colonization process | habitability indication

Perhaps colored species icons would work?
Green, yellow, red depending on planet quality.
Slightly larger icons for species the player currently can use.
by rkupke
Fri Feb 04, 2011 9:38 pm
Forum: Compile
Topic: help with compiling >r3865 on MacOS needed
Replies: 12
Views: 3684

Re: help with compiling >r3865 on MacOS needed

I do release the changes under GPL 2.0.
by rkupke
Fri Feb 04, 2011 9:36 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

The result of GetGLVersion matters because several parts of the UI code check the GL version before they do anything. My system definitely renders GL 2.0 stuff, even if the reported GL version is only 1.4. If I understand the documentation correctly MacOSX supports three types of GL renderer: a) har...
by rkupke
Fri Feb 04, 2011 3:35 pm
Forum: Programming
Topic: Support for earlier OpenGL versions
Replies: 18
Views: 1771

Re: Support for earlier OpenGL versions

I found out that there is no need to modify the rendering code at all. The intel versions of MacOS X all come with a 2.0/2.1 software renderer that is used as a fallback. I modified GetGLVersion() in HumanClient.app to always report a minimum version of 2.0 for MacOS X intel systems. It looks like e...