Forums » Linux

Black squares on skybox (windowed mode, linux)

Jul 17, 2004 Grzywacz link
Hi, I've tried playing vendetta in windowed mode and strange black thingies started to appeared on the skybox:

http://kolos.math.uni.lodz.pl/~grzywacz/dump0000.jpg
http://kolos.math.uni.lodz.pl/~grzywacz/dump0001.jpg
http://kolos.math.uni.lodz.pl/~grzywacz/dump0002.jpg
http://kolos.math.uni.lodz.pl/~grzywacz/dump0003.jpg

Warping to different sectors didn't help.
I use X.org (6.7.0-r1) with latest NVidia drivers, graphics card is geforce FX5600.
Jul 20, 2004 red cactus link
This might not help, but it might: have you tried turning rglow off? /set rglow 0
Jul 20, 2004 AlienB link
that's...cool
Jul 20, 2004 raybondo link
What resolution are you playing Vendetta in window-mode? 640x480? If so, is your bachground mode set to high or higher?
Try switching to 800x600 or setting your background mode to medium.
In linux, vendetta uses the window to pre-render the background and in high background mode (and higher) it uses 512x512 sized textures which is bigger than 640x480.
So I think it is clipping the background to 512x480.
Set your mode to 800x600 and see if that fixes the problem.
Jul 22, 2004 a1k0n link
He's running 1024x768, as evidenced by his screenshots. But what's weird is that the screenshots are cut off at the bottom, and as a result the skybox textures are also cut off.

So, it's probably your window manager chopping the bottom off of the window, or your window got resized smaller than it should be, or window decorations in the way, or something of that nature.
Jul 22, 2004 mr_spuck link
on a related note .. I noticed a while back that the game window is resizeable in window mode. Wouldn't it be better to make it fixed size?

I never did any gl/game programming (not counting freaky character based critters written in turbo pascal :D) but that can't be more than a one liner to set the WM hint. Or am I missing something?
Jul 22, 2004 Celkan link
I get this on the computer i'm on now. Which (I *know* this is the linux forum) runs XP.

"System Properties" window
Win XP Pro
Intel(R) Celeron(TM) CPU
1300MHz
1.29 GHz
512 MB of RAM

Vid card is (i think) an "Intel(R) 82810E Graphics Controller"
Sound, I think, is "SoundMAX Integrated Digital Audio"
Aug 05, 2004 Grzywacz link
Sorry for late reply. As for the screenshots being cut off at the bottom, I had the window stick outside the screen when I made those screenshots. Is window not fitting in the screen the cause of those sqare-shaped black things? I have background details set to extremely high.

mr_spuck: you're right, I think it shouldn't be resizeable.
Aug 05, 2004 a1k0n link
Yes, that is the cause. The backgrounds are rendered to the window and then transferred to a texture. If the window is too small, they are cut off.

P.S. Yes, environment mapping works in linux.
Aug 05, 2004 randomblast link
hmm, i noticed the resizable window thing a while ago, filed a bugrep iirc.
somebody told me that it didn't matter, but it should be fixed, and it is simple to do.