Package: rss-glx
Version: 0.8.1-3
Severity: normal
Tags: patch

I found a bug in hyperspace, when one runs it, the position of the
camera is incorrect : resizing a little bit the window corrects
the problem. by examinig rsxs-0.9 source code, i found that this 
patch (in fact, adds code from hack_reshape) makes hyperspace work.

note : i recompiled 0.8.1-9 release, not etch one.

###############################################################
--- hyperspace.cpp.orig 2006-02-25 21:40:54.000000000 +0100
+++ hyperspace.cpp      2008-03-19 21:21:41.000000000 +0100
@@ -144,6 +144,14 @@
                first = 0;
        }

+       aspectRatio = float(XStuff->windowWidth) / float(XStuff->windowHeight);
+       glViewport(0, 0, XStuff->windowWidth, XStuff->windowHeight);
+
+       // setup projection matrix
+       glMatrixMode(GL_PROJECTION);
+       glLoadIdentity();
+       gluPerspective(float(dFov), aspectRatio, 0.001f, 200.0f);
+       glGetDoublev(GL_PROJECTION_MATRIX, projMat);
        glMatrixMode(GL_MODELVIEW);

        // Camera movements
#############################################################


best regards,

Alain Cabiran



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (100, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24.3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages rss-glx depends on:
ii  libalut0            1.0.1-1              OpenAL Utility Toolkit
ii  libbz2-1.0          1.0.3-6              high-quality block-sorting file co
ii  libc6               2.3.6.ds1-13etch5    GNU C Library: Shared libraries
ii  libfreetype6        2.3.5-1.1            FreeType 2 font engine, shared lib
ii  libgcc1             1:4.1.1-21           GCC support library
ii  libgl1-mesa-glx [li 6.5.1-0.6            A free implementation of the OpenG
ii  libglew1            1.3.4-5              The OpenGL Extension Wrangler - ru
ii  libglu1-mesa [libgl 6.5.1-0.6            The OpenGL utility library (GLU)
ii  libice6             1:1.0.1-2            X11 Inter-Client Exchange library
ii  libjasper-1.701-1   1.701.0-2            The JasPer JPEG-2000 runtime libra
ii  libjpeg62           6b-13                The Independent JPEG Group's JPEG 
ii  liblcms1            1.15-1               Color management library
ii  libmagick9          7:6.2.4.5.dfsg1-0.14 Image manipulation library
ii  libopenal0a         1:0.0.8-4            OpenAL is a portable library for 3
ii  libpng12-0          1.2.15~beta5-1       PNG library - runtime
ii  libsm6              1:1.0.1-3            X11 Session Management library
ii  libstdc++6          4.1.1-21             The GNU Standard C++ Library v3
ii  libtiff4            3.8.2-7              Tag Image File Format (TIFF) libra
ii  libx11-6            2:1.0.3-7            X11 client-side library
ii  libxext6            1:1.0.1-2            X11 miscellaneous extension librar
ii  libxml2             2.6.27.dfsg-2        GNOME XML library
ii  zlib1g              1:1.2.3-13           compression library - runtime

rss-glx recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to