Search found 219 matches
- Sat Mar 15, 2008 5:04 pm
- Forum: Programming
- Topic: Texture rotation
- Replies: 49
- Views: 7338
Re: Texture rotation
Just call glLoadIdentity() after you've done with rotated textures.
- Sat Mar 15, 2008 4:29 pm
- Forum: Programming
- Topic: Texture rotation
- Replies: 49
- Views: 7338
Re: Texture rotation
glRotate has no effect within glBegin() - glEnd().
- Sat Mar 15, 2008 3:57 pm
- Forum: Programming
- Topic: Texture rotation
- Replies: 49
- Views: 7338
Re: Texture rotation
You can rotate textures using texture matrix:
Code: Select all
glMatrixMode(GL_TEXTURE);
glTranslatef( ... );
glRotatef( ... );
- Wed Mar 12, 2008 1:49 pm
- Forum: Compile
- Topic: building rpm-package of gigi fails
- Replies: 8
- Views: 1633
Re: building rpm-package of gigi fails
There's an option to specify directory where to install .pc files:
scons prefix=%{buildroot} pkgconfigdir=%{buildroot}/lib/pkgconfig
scons prefix=%{buildroot} pkgconfigdir=%{buildroot}/lib/pkgconfig
- Wed Mar 12, 2008 12:42 pm
- Forum: Compile
- Topic: building rpm-package of gigi fails
- Replies: 8
- Views: 1633
Re: building rpm-package of gigi fails
I'm not sure that "prefix" is used for anything other than specifying the location of the dir "install" copies files to, so try using "prefix" as "DESTDIR".obgr_seneca wrote:tell scons, where the files will go, when the package is installed.
- Wed Mar 12, 2008 11:10 am
- Forum: Compile
- Topic: building rpm-package of gigi fails
- Replies: 8
- Views: 1633
Re: building rpm-package of gigi fails
"scons prefix=%{buildroot} install". Why doesn't it work?obgr_seneca wrote:"make DESTDIR=%{buildroot} install". This doesn't work with scons.
- Fri Mar 07, 2008 10:00 pm
- Forum: Programming
- Topic: Statically linked Linux-version
- Replies: 111
- Views: 97720
Re: Statically linked Linux-version
It's necessary to link against OpenGL dynamically to use correct implementation(nvidia, ati...). It won't cause problems on different distros because OpenGL API is standardized.
- Wed Mar 05, 2008 7:50 pm
- Forum: Compile
- Topic: lib-dependencies on linux - to much
- Replies: 4
- Views: 1492
Re: lib-dependencies on linux - to much
there ARE unneeded dependencies which will be put into the resulting binary. Same set of -l* options is passed when compiling freeorion, freeoriond and freeorionca. Some -l's are needed e.g. by freeorion but not by freeorionca, but each -l is required by at least one of executables(unless it was ad...
- Wed Mar 05, 2008 4:54 pm
- Forum: Compile
- Topic: lib-dependencies on linux - to much
- Replies: 4
- Views: 1492
Re: lib-dependencies on linux - to much
All freeorion's direct dependencies are genuinely required. If you want to decrease number of dependencies, your best bet is to disable unused features in dependency libs(DevIL, python, graphviz... they all have optional dependencies).
- Wed Mar 05, 2008 9:43 am
- Forum: Compile
- Topic: Compiling GG tutorials under Ubuntu Gutsy Gibbon 7.10
- Replies: 4
- Views: 1787
Re: Compiling GG tutorials under Ubuntu Gutsy Gibbon 7.10
Those boost parameters are specific to freeorion's SCons script, they are not general SCons options. In order for tutorial's script take those parameters code to do so must be added to the script. That's why it's good idea to merge it with GG's main SConstruct: it won't be necessary to maintain para...
- Wed Mar 05, 2008 12:35 am
- Forum: Compile
- Topic: Compiling GG tutorials under Ubuntu Gutsy Gibbon 7.10
- Replies: 4
- Views: 1787
Re: Compiling GG tutorials under Ubuntu Gutsy Gibbon 7.10
Flatline is referring to GG tutorials located in FreeOrion/GG/tutorial. Their SConstruct indeed requires hand-hacking to work properly. IMHO it's a good idea to merge it with GG's main SConstruct.
- Mon Mar 03, 2008 3:39 pm
- Forum: Programming
- Topic: Ogre-integration
- Replies: 5
- Views: 3475
Re: Ogre-integration
This option sets the preferred render to texture(RTT) method: Copy, PBuffer or FBO.
http://www.ogre3d.org/phpBB2/viewtopic. ... 6f4e2718c6tzlaine wrote:Is there a link to something on the Ogre site I could read about this?
- Mon Mar 03, 2008 10:15 am
- Forum: Programming
- Topic: Ogre-integration
- Replies: 5
- Views: 3475
Re: Ogre-integration
I too had this issue when I was running Ogre samples with nvidia's beta driver. When I downgraded nvidia's driver to 100.14.19 this issue went away, even in FBO RTT mode.
- Wed Feb 20, 2008 10:01 am
- Forum: Compile
- Topic: Odd python error when compile
- Replies: 1
- Views: 1161
Re: Odd python error when compile
Try running this code in python interpreter:
What does it say after you type get_config_var("LDLIBRARY")?
Code: Select all
from distutils.sysconfig import get_config_var
get_config_var("LDLIBRARY")
- Tue Feb 12, 2008 9:59 am
- Forum: Compile
- Topic: GG Compile problem on Ubuntu 7.10
- Replies: 2
- Views: 1882
Re: GG Compile problem on Ubuntu 7.10
Make sure that you also have g++. It's a separate Ubuntu package. gcc package doesn't install C++ compiler.