fragment_program_shadow.py - Where to put?

fragment_program_shadow.py - Where to put?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

fragment_program_shadow.py - Where to put?

Post by Linebacker »

I have found a Python file from OpenGL, since I am missing this extension. I have no idea whatsoever about graphical stuff....but as Spring obviously needs this file, I downloaded it. Now, what do I do with it?

It's called: fragment_program_shadow.py (size: 1KB)


Additional off-topic question: where can I find the official Spring IRC channel?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Erm, extensions are features of your graphics card, there is no file you can dl to get them. That file is probably just example code.

There is no Spring IRC but there is the Spring lobby which, while looking like IRC, isn't IRC.
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

So my graphics card is missing an extension. Does that basically mean you can't play Spring with a GF 4200ti?

My drivers are of August 2006.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

#sy on quakenet irc
#taspring on freenode irc
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Set Shadows=-1 in .springrc (if on Linux) or
edit the corresponding Spring registry entry
(if on Windows) to get around this.
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

A vague hint into the registry... well I am not familiar with registry entries, but it's told everywhere that one should proceed with caution whilst editing its values. :o

Can I safely put Shadowmapsize (current value: 1024) to 0?
It's located here: HKEY_CURRENT_USER\Software\SJ\spring

Shadows is already set to 0 and there is no other entry that offers shadow*.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

Kloot wrote:Set Shadows=-1...
Linebacker wrote:Shadows is already set to 0...
0 != -1 ;)
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

No negative values allowed.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

You are running a 4200ti

Basic shader support was added to the Geforce series cards in the FX/5 generation.

And even if shadows worked, I wouldnt expect a very high fps from a 4200ti.

There are newer cards on sale for $10 that give a better fps count.
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

Bottom line: a GF4200ti is too old for Spring, it just supports newer cards.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

too old for shadows
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

Shadows is 0, if -1 has a "healing" effect on this problem, someone tell me how and where to enter the negative value.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Post by Kloot »

-1 prevents the shadow handler from
attempting to load the OGL extensions
needed to render shadows, but there's
no guarantee you won't run into other
problems related to your hardware or
drivers. Apparently though REG_DWORD
type values are unsigned, so this trick
won't actually work under Windows.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

4294967295 unsigned should be -1 signed. You may want to try that.
User avatar
Linebacker
Posts: 128
Joined: 25 Jul 2007, 21:30

Post by Linebacker »

Hmm, just 8 figures allowed, I entered the value as hexadecimal then. It that OK as well?

In my first game I experience quite a lot of framedrops to 1, so you can't even move your mousepointer, but I don't know whether its due to this new value or something else.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

in hex it should be all f's, but if it works it's ok.
Post Reply

Return to “Help & Bugs”