setDisplayResolution(width, height, bpp, rate):

Hi, I want to know if this def , is really working on the tuhopuu2? I tryed to use it, but nothing happens.

Im using linux.

Bye.

I don’t know, but i think this only works in StandAlones.
Doc

I tryed to use in a standalone, but nothing happens too.

it works, but you schould save this options to external file and then restart game. :wink:

jm

Thank’s for that Info jm. This is a very useful Feature. I hope this comes soon in the regular Blender.
Doc

Could you make an example, plz?

I tryed to run again, but I get these errors:

AttributeError: 'module' object has no attribute 'setDisplayResolution'

The f2 key do the code:

Rasterizer.setDisplayResolution(800, 600, 32, 60)

and then restart the game.

try this link
http://blender.borec.cz/

he made it, but I think that some links are dead at this time :frowning:

It will only work on Linux if tuhopuu2 has been compiled with Xrandr support & your X server has Xrandr support.