You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
|
4
|
5
|
|
6
(1) |
7
|
8
|
9
|
10
|
11
|
12
|
|
13
|
14
|
15
(2) |
16
(2) |
17
|
18
(5) |
19
(1) |
|
20
|
21
|
22
|
23
|
24
|
25
|
26
(1) |
|
27
|
28
(1) |
29
|
30
|
31
|
|
|
|
From: Tristan C. <ex...@us...> - 2002-10-28 20:01:32
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector In directory usw-pr-cvs1:/tmp/cvs-serv5421 Modified Files: Matrix4f.java Matrix3f.java Log Message: Fixed inversion error. Index: Matrix4f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix4f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix4f.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Matrix4f.java 16 Oct 2002 22:34:40 -0000 1.10 +++ Matrix4f.java 28 Oct 2002 20:01:24 -0000 1.11 @@ -575,15 +575,7 @@ float determinant = determinant(); - if (determinant == 1) - // proper orthogonal - transpose(); - else if (determinant == -1) - { // improper orthogonal - transpose(); - negate(); - } - else if (determinant != 0) + if (determinant != 0) { /* m00 m01 m02 m03 Index: Matrix3f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix3f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix3f.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- Matrix3f.java 16 Oct 2002 22:34:40 -0000 1.10 +++ Matrix3f.java 28 Oct 2002 20:01:26 -0000 1.11 @@ -371,15 +371,7 @@ + m01 * (m12 * m20 - m10 * m22) + m02 * (m10 * m21 - m11 * m20); - if (determinant == 1) - // matrix is proper orthogonal - transpose(); - else if (determinant == -1) - { // matrix is improper orthogonal - transpose(); - negate(); - } - else if (determinant != 0) + if (determinant != 0) { // do it the ordinary way |
|
From: Tristan C. <ex...@us...> - 2002-10-26 18:54:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory usw-pr-cvs1:/tmp/cvs-serv15860 Modified Files: org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp Log Message: Fixed some bugs. Index: org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp 28 Sep 2002 16:53:13 -0000 1.5 +++ org_lwjgl_Math_MatrixOpInvert_MatrixOpDirect.cpp 26 Oct 2002 18:54:54 -0000 1.6 @@ -98,48 +98,7 @@ #ifdef _DEBUG printf("Matrix Determinant: %f\n", det); printf("Matrix Determinant - 1 = %f\n", det -1); - printf("FLOATING POINT ERROR: %f\n", FLOATING_POINT_ERROR); -#endif - - // use approxEqual to avoid direct comparisons - if (approxEqual(det, 1.0f) || - approxEqual(det, -1.0f)) - { - -#ifdef _DEBUG - printf("Matrix is Orthogonal\n"); #endif - /* this matrix is orthogonal - - since inv(M) * M = I - when orthogonal - trans(M) * M = I - - proper orthogonal - inv(M) = trans(M) - improper orthogonal - inv(M) = -trans(M) - */ - - if (approxEqual(det, 1)) - { - // proper orthogonal - int srcIndex = 0; - for (int col = 0; col < source.width; col++) - for (int row = 0; row < source.height; row++) - destMatrix[col + row * source.width] = srcMatrix[srcIndex++]; - } - else - { - // improper orthogonal - int srcIndex = 0; - for (int col = 0; col < source.width; col++) - for (int row = 0; row < source.height; row++) - destMatrix[col + row * source.width] = -srcMatrix[srcIndex++]; - } - } - else - { float sign; @@ -167,12 +126,10 @@ = (sign / det) * determinant(temp_matrix, temp_side); // swap signs - sign = (sign == 1) ? -1.0f : 1.0f; + sign *= -1.0f; } } - - } dest.writeComplete(); } } Index: org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp 28 Sep 2002 16:53:13 -0000 1.5 +++ org_lwjgl_Math_MatrixOpInvert_MatrixOpSafe.cpp 26 Oct 2002 18:54:54 -0000 1.6 @@ -98,49 +98,9 @@ #ifdef _DEBUG printf("Matrix Determinant: %f\n", det); printf("Matrix Determinant - 1: %f\n", det-1); - printf("FLOATING POINT ERROR: %f\n", FLOATING_POINT_ERROR); -#endif - - // use approxEqual to avoid direct comparisons - if (approxEqual(det,1) || approxEqual(det, -1)) - { - -#ifdef _DEBUG - printf("Matrix is Orthogonal\n"); #endif - /* this matrix is orthogonal - since inv(M) * M = I - when orthogonal - trans(M) * M = I - - proper orthogonal - inv(M) = trans(M) - improper orthogonal - inv(M) = -trans(M) - */ - - if (approxEqual(det, 1)) - { - // proper orthogonal - int srcIndex = 0; - for (int col = 0; col < source.width; col++) - for (int row = 0; row < source.height; row++) - destMatrix[col + row * source.width] = srcMatrix[srcIndex++]; - } - else - { - // improper orthogonal - int srcIndex = 0; - for (int col = 0; col < source.width; col++) - for (int row = 0; row < source.height; row++) - destMatrix[col + row * source.width] = -srcMatrix[srcIndex++]; - } - } - else - { - - float sign; + float sign; for (int col = 0; col < source.width; col++) { @@ -166,11 +126,10 @@ = (sign / det) * determinant(temp_matrix, temp_side); // swap signs - sign = (sign == 1) ? -1.0f : 1.0f; + sign *= -1.0f; } } - } dest.writeComplete(); } |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-19 14:27:29
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory usw-pr-cvs1:/tmp/cvs-serv10062/src/native/win32 Added Files: org_lwjgl_input_Joystick.cpp org_lwjgl_input_GamePad.cpp Log Message: Ready to fill in. Go on, you know you want to. --- NEW FILE: org_lwjgl_input_Joystick.cpp --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_input_Joystick.cpp /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** * $Id$ * * Win32 analogue joystick handling. * * @author cix_foo <ci...@us...> * @version $Revision$ */ #define WIN32_LEAN_AND_MEAN #include <windows.h> #include "org_lwjgl_input_Joystick.h" #undef DIRECTINPUT_VERSION #define DIRECTINPUT_VERSION 0x0300 #include <dinput.h> extern LPDIRECTINPUT lpdi; LPDIRECTINPUTDEVICE lpdiJoystick; extern HWND hwnd; // The display, which must have been created /* * Class: org_lwjgl_input_Joystick * Method: initIDs * Signature: ()V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_Joystick_initIDs (JNIEnv * env, jclass clazz) {} /* * Class: org_lwjgl_input_Joystick * Method: nCreate * Signature: ()Z */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_Joystick_nCreate (JNIEnv * env, jclass clazz) { printf("Joystick not implemented yet!\n"); return JNI_FALSE; } /* * Class: org_lwjgl_input_Joystick * Method: nDestroy * Signature: ()V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_Joystick_nDestroy (JNIEnv * env, jclass clazz) { } /* * Class: org_lwjgl_input_Joystick * Method: nPoll * Signature: ()V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_Joystick_nPoll (JNIEnv * env, jclass clazz) { } /* * Class: org_lwjgl_input_Joystick * Method: nGetNumButtons * Signature: ()I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Joystick_nGetNumButtons (JNIEnv * env, jclass clazz) { return 0; } /* * Class: org_lwjgl_input_Joystick * Method: nHasZValue * Signature: ()Z */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_Joystick_nHasZValue (JNIEnv * env, jclass clazz) { return JNI_FALSE; } /* * Class: org_lwjgl_input_Joystick * Method: nRead * Signature: (I)I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Joystick_nRead (JNIEnv * env, jclass clazz, jint buf) { int * bufPtr = (int *) buf; return 0; } /* * Class: org_lwjgl_input_Joystick * Method: nEnableBuffer * Signature: ()I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Joystick_nEnableBuffer (JNIEnv * env, jclass clazz) { return 0; } --- NEW FILE: org_lwjgl_input_GamePad.cpp --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_input_GamePad.cpp /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** * $Id$ * * Win32 digital (Atari) joystick handling. These days it's a gamepad. * * @author cix_foo <ci...@us...> * @version $Revision$ */ #define WIN32_LEAN_AND_MEAN #include <windows.h> #include "org_lwjgl_input_GamePad.h" #undef DIRECTINPUT_VERSION #define DIRECTINPUT_VERSION 0x0300 #include <dinput.h> extern LPDIRECTINPUT lpdi; LPDIRECTINPUTDEVICE lpdiGamePad; extern HWND hwnd; // The display, which must have been created /* * Class: org_lwjgl_input_GamePad * Method: initIDs * Signature: ()V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_GamePad_initIDs (JNIEnv * env, jclass clazz) {} /* * Class: org_lwjgl_input_GamePad * Method: nCreate * Signature: ()Z */ JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_GamePad_nCreate (JNIEnv * env, jclass clazz) { printf("GamePad not implemented yet!\n"); return JNI_FALSE; } /* * Class: org_lwjgl_input_GamePad * Method: nDestroy * Signature: ()V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_GamePad_nDestroy (JNIEnv * env, jclass clazz) { } /* * Class: org_lwjgl_input_GamePad * Method: nPoll * Signature: (I)V */ JNIEXPORT void JNICALL Java_org_lwjgl_input_GamePad_nPoll (JNIEnv * env, jclass clazz, jint buf) { } /* * Class: org_lwjgl_input_GamePad * Method: nRead * Signature: (I)I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_GamePad_nRead (JNIEnv * env, jclass clazz, jint buf) { return 0; } /* * Class: org_lwjgl_input_GamePad * Method: nEnableBuffer * Signature: ()I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_GamePad_nEnableBuffer (JNIEnv * env, jclass clazz) { return 0; } /* * Class: org_lwjgl_input_GamePad * Method: nGetNumButtons * Signature: ()I */ JNIEXPORT jint JNICALL Java_org_lwjgl_input_GamePad_nGetNumButtons (JNIEnv * env, jclass clazz) { return 0; } |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-18 23:28:07
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory usw-pr-cvs1:/tmp/cvs-serv30591/src/java/org/lwjgl/opengl Modified Files: CoreGL.java GLConstants.java Log Message: *** keyword substitution change *** Index: CoreGL.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 Index: GLConstants.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLConstants.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLConstants.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-18 23:28:07
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl In directory usw-pr-cvs1:/tmp/cvs-serv30591/src/java/org/lwjgl Modified Files: Display.java Sys.java DisplayMode.java Math.java Log Message: *** keyword substitution change *** Index: Display.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/Display.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/Display.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 Index: Sys.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/Sys.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/Sys.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 Index: DisplayMode.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/DisplayMode.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/DisplayMode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 Index: Math.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/Math.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/Math.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-18 23:28:07
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext In directory usw-pr-cvs1:/tmp/cvs-serv30591/src/java/org/lwjgl/opengl/ext Modified Files: EXTAbgr.java EXTBgra.java EXTSeparateSpecularColor.java EXTLightMaxExponent.java EXTSharedTexturePalette.java EXTBlendSubtract.java EXTRescaleNormal.java EXTPackedPixels.java EXTTextureEnvCombine.java EXTTextureEnvDot3.java EXTVertexArray.java EXTBlendColor.java EXTBlendMinmax.java Log Message: *** keyword substitution change *** Index: EXTAbgr.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTAbgr.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTAbgr.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTBgra.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBgra.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBgra.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTSeparateSpecularColor.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSeparateSpecularColor.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSeparateSpecularColor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTLightMaxExponent.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTLightMaxExponent.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTLightMaxExponent.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTSharedTexturePalette.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSharedTexturePalette.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSharedTexturePalette.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTBlendSubtract.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendSubtract.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendSubtract.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTRescaleNormal.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTRescaleNormal.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTRescaleNormal.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTPackedPixels.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTPackedPixels.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTPackedPixels.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTTextureEnvCombine.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvCombine.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvCombine.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTTextureEnvDot3.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvDot3.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvDot3.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTVertexArray.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTVertexArray.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTVertexArray.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTBlendColor.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendColor.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendColor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 Index: EXTBlendMinmax.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendMinmax.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendMinmax.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-18 23:21:53
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext In directory usw-pr-cvs1:/tmp/cvs-serv28727/src/java/org/lwjgl/opengl/ext Added Files: EXTAbgr.java EXTBgra.java EXTSeparateSpecularColor.java EXTLightMaxExponent.java EXTSharedTexturePalette.java EXTBlendSubtract.java EXTRescaleNormal.java EXTPackedPixels.java EXTTextureEnvCombine.java EXTTextureEnvDot3.java EXTVertexArray.java EXTBlendColor.java EXTBlendMinmax.java Removed Files: EXTAgbr.java Log Message: New extensions --- NEW FILE: EXTAbgr.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTAbgr.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 15:29:12 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.ext; public interface EXTAbgr { public static final int ABGR_EXT = 0x8000; } --- NEW FILE: EXTBgra.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBgra.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_bgra_constants * * @author: cas */ public interface EXTBgra { /* public static final int BGR_EXT = 0x80E0; public static final int BGRA_EXT = 0x80E1; */ } --- NEW FILE: EXTSeparateSpecularColor.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSeparateSpecularColor.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_separate_specular_color constants. * @author: cas */ public interface EXTSeparateSpecularColor { public static final int SINGLE_COLOR_EXT = 0x81F9; public static final int SEPARATE_SPECULAR_COLOR_EXT = 0x81FA; public static final int LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8; } --- NEW FILE: EXTLightMaxExponent.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTLightMaxExponent.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_light_max_exponent constants * @author: cas */ public interface EXTLightMaxExponent { public static final int MAX_SHININESS_EXT = 0x8504; public static final int MAX_SPOT_EXPONENT_EXT = 0x8505; } --- NEW FILE: EXTSharedTexturePalette.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTSharedTexturePalette.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * Insert the type's description here. * Creation date: (07/11/99 19:15:54) * @author: */ public interface EXTSharedTexturePalette { public static final int SHARED_TEXTURE_PALETTE_EXT = 0x81FB; } --- NEW FILE: EXTBlendSubtract.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendSubtract.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_blend_subtract constants * @author: cas */ public interface EXTBlendSubtract { public static final int FUNC_SUBTRACT_EXT = 0x800A; public static final int FUNC_REVERSE_SUBTRACT_EXT = 0x800B; } --- NEW FILE: EXTRescaleNormal.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTRescaleNormal.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_rescale_normal * @author: cas */ public interface EXTRescaleNormal { public static final int RESCALE_NORMAL_EXT = 0x803A; } --- NEW FILE: EXTPackedPixels.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTPackedPixels.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * Insert the type's description here. * Creation date: (07/11/99 19:16:17) * @author: */ public interface EXTPackedPixels { public static final int UNSIGNED_BYTE_3_3_2_EXT = 0x8032; public static final int UNSIGNED_SHORT_4_4_4_4_EXT = 0x8033; public static final int UNSIGNED_SHORT_5_5_5_1_EXT = 0x8034; public static final int UNSIGNED_INT_8_8_8_8_EXT = 0x8035; public static final int UNSIGNED_INT_10_10_10_2_EXT = 0x8036; } --- NEW FILE: EXTTextureEnvCombine.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvCombine.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * Insert the type's description here. * Creation date: (22/02/00 01:26:05) * @author: */ public interface EXTTextureEnvCombine { public static final int COMBINE_EXT = 0x8570; public static final int COMBINE_RGB_EXT = 0x8571; public static final int COMBINE_ALPHA_EXT = 0x8572; public static final int SOURCE0_RGB_EXT = 0x8580; public static final int SOURCE1_RGB_EXT = 0x8581; public static final int SOURCE2_RGB_EXT = 0x8582; public static final int SOURCE0_ALPHA_EXT = 0x8588; public static final int SOURCE1_ALPHA_EXT = 0x8589; public static final int SOURCE2_ALPHA_EXT = 0x858A; public static final int OPERAND0_RGB_EXT = 0x8590; public static final int OPERAND1_RGB_EXT = 0x8591; public static final int OPERAND2_RGB_EXT = 0x8592; public static final int OPERAND0_ALPHA_EXT = 0x8598; public static final int OPERAND1_ALPHA_EXT = 0x8599; public static final int OPERAND2_ALPHA_EXT = 0x859A; public static final int RGB_SCALE_EXT = 0x8573; public static final int ADD_SIGNED_EXT = 0x8574; public static final int INTERPOLATE_EXT = 0x8575; public static final int CONSTANT_EXT = 0x8576; public static final int PRIMARY_COLOR_EXT = 0x8577; public static final int PREVIOUS_EXT = 0x8578; } --- NEW FILE: EXTTextureEnvDot3.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTTextureEnvDot3.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_texture_env_dot3 constants. * @author: cas */ public interface EXTTextureEnvDot3 { public static final int DOT3_RGB_EXT = 0x8740; public static final int DOT3_RGBA_EXT = 0x8741; } --- NEW FILE: EXTVertexArray.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTVertexArray.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * Insert the type's description here. * Creation date: (07/11/99 18:58:04) * @author: */ public interface EXTVertexArray { public static final int VERTEX_ARRAY_EXT = 0x8074; public static final int NORMAL_ARRAY_EXT = 0x8075; public static final int COLOR_ARRAY_EXT = 0x8076; public static final int INDEX_ARRAY_EXT = 0x8077; public static final int TEXTURE_COORD_ARRAY_EXT = 0x8078; public static final int EDGE_FLAG_ARRAY_EXT = 0x8079; public static final int VERTEX_ARRAY_SIZE_EXT = 0x807A; public static final int VERTEX_ARRAY_TYPE_EXT = 0x807B; public static final int VERTEX_ARRAY_STRIDE_EXT = 0x807C; public static final int VERTEX_ARRAY_COUNT_EXT = 0x807D; public static final int NORMAL_ARRAY_TYPE_EXT = 0x807E; public static final int NORMAL_ARRAY_STRIDE_EXT = 0x807F; public static final int NORMAL_ARRAY_COUNT_EXT = 0x8080; public static final int COLOR_ARRAY_SIZE_EXT = 0x8081; public static final int COLOR_ARRAY_TYPE_EXT = 0x8082; public static final int COLOR_ARRAY_STRIDE_EXT = 0x8083; public static final int COLOR_ARRAY_COUNT_EXT = 0x8084; public static final int INDEX_ARRAY_TYPE_EXT = 0x8085; public static final int INDEX_ARRAY_STRIDE_EXT = 0x8086; public static final int INDEX_ARRAY_COUNT_EXT = 0x8087; public static final int TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088; public static final int TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089; public static final int TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A; public static final int TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B; public static final int EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C; public static final int EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D; public static final int VERTEX_ARRAY_POINTER_EXT = 0x808E; public static final int NORMAL_ARRAY_POINTER_EXT = 0x808F; public static final int COLOR_ARRAY_POINTER_EXT = 0x8090; public static final int INDEX_ARRAY_POINTER_EXT = 0x8091; public static final int TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092; public static final int EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093; } --- NEW FILE: EXTBlendColor.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendColor.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * Insert the type's description here. * Creation date: (29/06/2000 00:45:10) * @author: */ public interface EXTBlendColor { public static final int CONSTANT_COLOR_EXT = 0x8001; public static final int ONE_MINUS_CONSTANT_COLOR_EXT = 0x8002; public static final int CONSTANT_ALPHA_EXT = 0x8003; public static final int ONE_MINUS_CONSTANT_ALPHA_EXT = 0x8004; public static final int BLEND_COLOR_EXT = 0x8005; } --- NEW FILE: EXTBlendMinmax.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTBlendMinmax.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package org.lwjgl.opengl.ext; /** * EXT_blend_minmax constants * @author: cas */ public interface EXTBlendMinmax { public static final int FUNC_ADD_EXT = 0x8006; public static final int MIN_EXT = 0x8007; public static final int MAX_EXT = 0x8008; public static final int BLEND_EQUATION_EXT = 0x8009; } --- EXTAgbr.java DELETED --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ext/EXTAgbr.java |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-18 23:21:53
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory usw-pr-cvs1:/tmp/cvs-serv28727/src/java/org/lwjgl/opengl Modified Files: GL.java CoreGL.java GLConstants.java Log Message: New extensions Index: GL.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GL.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- GL.java 20 Sep 2002 16:57:13 -0000 1.10 +++ GL.java 18 Oct 2002 23:21:49 -0000 1.11 @@ -1337,14 +1337,10 @@ public static native void wglFreeMemoryNV(int pointer); - - public static native int wglGetCurrentReadDCARB(); public static native String wglGetExtensionsStringARB(int hdc); - - public static native String wglGetExtensionsStringEXT(); public static native int wglGetPbufferDCARB(int hPbuffer); @@ -1379,7 +1375,9 @@ public static native int wglReleasePbufferDCARB(int hPbuffer, int hDC); - public static native boolean wglReleaseTexImageARB(int hPbuffer, int iBuffer); + public static native boolean wglReleaseTexImageARB( + int hPbuffer, + int iBuffer); public static native boolean wglRestoreBufferRegionARB( int hRegion, @@ -1468,21 +1466,32 @@ public boolean ARB_window_pos; public boolean EXT_abgr; public boolean EXT_bgra; + public boolean EXT_blend_color; public boolean EXT_blend_function_separate; + public boolean EXT_blend_minmax; + public boolean EXT_blend_subtract; public boolean EXT_compiled_vertex_array; public boolean EXT_cull_vertex; public boolean EXT_draw_range_elements; public boolean EXT_fog_coord; + public boolean EXT_light_max_exponent; public boolean EXT_multi_draw_arrays; + public boolean EXT_packed_pixels; + public boolean EXT_paletted_texture; public boolean EXT_point_parameters; - public boolean EXT_secondary_color ; + public boolean EXT_rescale_normal; + public boolean EXT_secondary_color; public boolean EXT_separate_specular_color; public boolean EXT_shadow_funcs; + public boolean EXT_shared_texture_palette; public boolean EXT_stencil_two_side; public boolean EXT_stencil_wrap; public boolean EXT_texture_compression_s3tc; + public boolean EXT_texture_env_combine; + public boolean EXT_texture_env_dot3; public boolean EXT_texture_filter_anisotropic; public boolean EXT_texture_lod_bias; + public boolean EXT_vertex_array; public boolean EXT_vertex_shader; public boolean EXT_vertex_weighting; public boolean ATI_element_array; @@ -1536,22 +1545,23 @@ * Determine which extensions are available */ private void determineAvailableExtensions() { - + determineAvailableWGLExtensions(); - + // Grab all the public booleans out of this class Field[] fields = GL.class.getDeclaredFields(); HashMap map = new HashMap(fields.length); - for (int i = 0; i < fields.length; i ++) { - if (!Modifier.isStatic(fields[i].getModifiers()) && fields[i].getType() == boolean.class) + for (int i = 0; i < fields.length; i++) { + if (!Modifier.isStatic(fields[i].getModifiers()) + && fields[i].getType() == boolean.class) map.put(fields[i].getName(), fields[i]); } - + String exts = getString(EXTENSIONS); StringTokenizer st = new StringTokenizer(exts); while (st.hasMoreTokens()) { String ext = st.nextToken(); - + Field f = (Field) map.get(ext); if (f != null) { try { @@ -1560,9 +1570,9 @@ e.printStackTrace(System.err); } } - + } - + // Let's see what openGL version we are too: String version = getString(VERSION); int i = version.indexOf("1."); @@ -1580,7 +1590,7 @@ } } } - + /* * Available WGL extensions */ @@ -1588,7 +1598,7 @@ public static boolean WGL_ARB_extensions_string; public static boolean WGL_ARB_pbuffer; public static boolean WGL_ARB_pixel_format; - public static boolean WGL_ARB_render_texture; + public static boolean WGL_ARB_render_texture; public static boolean WGL_EXT_extensions_string; public static boolean WGL_EXT_swap_control; @@ -1597,42 +1607,44 @@ * if available. */ private static native void checkWGLExtensionsString(); - + /** * Determine which WGL extensions are available */ private void determineAvailableWGLExtensions() { - + // First we must determine if WGL_EXT_extensions_string is available checkWGLExtensionsString(); if (!WGL_EXT_extensions_string && !WGL_ARB_extensions_string) return; - + // Grab all the public booleans out of this class Field[] fields = GL.class.getDeclaredFields(); HashMap map = new HashMap(fields.length); - for (int i = 0; i < fields.length; i ++) { - if (Modifier.isStatic(fields[i].getModifiers()) && fields[i].getType() == boolean.class) + for (int i = 0; i < fields.length; i++) { + if (Modifier.isStatic(fields[i].getModifiers()) + && fields[i].getType() == boolean.class) map.put(fields[i].getName(), fields[i]); } - + final String exts; - + if (WGL_ARB_extensions_string) - exts = wglGetExtensionsStringARB(Display.getHandle()); // Remember - this is an HWND not an HDC, which is what's required + exts = wglGetExtensionsStringARB(Display.getHandle()); + // Remember - this is an HWND not an HDC, which is what's required else exts = wglGetExtensionsStringEXT(); - + if (exts == null) return; - System.out.println("Available WGL extensions:"); + System.out.println("Available WGL extensions:"); StringTokenizer st = new StringTokenizer(exts); while (st.hasMoreTokens()) { String ext = st.nextToken(); - + System.out.println(ext); - + Field f = (Field) map.get(ext); if (f != null) { try { @@ -1641,8 +1653,8 @@ e.printStackTrace(System.err); } } - - } + + } } /* (non-Javadoc) Index: CoreGL.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/CoreGL.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- CoreGL.java 19 Aug 2002 14:01:03 -0000 1.4 +++ CoreGL.java 18 Oct 2002 23:21:49 -0000 1.5 @@ -57,6 +57,38 @@ public native void accum(int op, float value); public native void alphaFunc(int func, float ref); + public native void colorTable( + int target, + int internalFormat, + int width, + int format, + int type, + int data); + + public native void colorSubTable( + int target, + int start, + int count, + int format, + int type, + int data); + + public native void getColorTable( + int target, + int format, + int type, + int data); + + public native void getColorTableParameteriv( + int target, + int pname, + int params); + + public native void getColorTableParameterfv( + int target, + int pname, + int params); + public native void clearColor(float red, float green, float blue, float alpha); public native void clearAccum(float red, float green, float blue, float alpha); public native void clear(int mask); Index: GLConstants.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLConstants.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GLConstants.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- GLConstants.java 16 Aug 2002 21:53:02 -0000 1.4 +++ GLConstants.java 18 Oct 2002 23:21:49 -0000 1.5 @@ -39,7 +39,7 @@ import org.lwjgl.opengl.atix.ATIXPointSprites; import org.lwjgl.opengl.atix.ATIXTextureEnvRoute; import org.lwjgl.opengl.ext.*; -import org.lwjgl.opengl.ext.EXTAgbr; +import org.lwjgl.opengl.ext.EXTAbgr; import org.lwjgl.opengl.ext.EXTCompiledVertexArray; import org.lwjgl.opengl.hp.HPOcclusionTest; import org.lwjgl.opengl.nv.*; @@ -89,17 +89,28 @@ ATIVertexStreams, ATIXPointSprites, ATIXTextureEnvRoute, - EXTAgbr, + EXTAbgr, + EXTBgra, + EXTBlendColor, + EXTBlendMinmax, EXTCompiledVertexArray, EXTDrawRangeElements, EXTFogCoord, + EXTLightMaxExponent, + EXTPackedPixels, EXTPointParameters, + EXTRescaleNormal, EXTSecondaryColor, + EXTSeparateSpecularColor, + EXTSharedTexturePalette, EXTStencilTwoSide, EXTStencilWrap, EXTTextureCompressionS3TC, + EXTTextureEnvCombine, + EXTTextureEnvDot3, EXTTextureFilterAnisotropic, EXTTextureLODBias, + EXTVertexArray, EXTVertexShader, EXTVertexWeighting, HPOcclusionTest, |
|
From: Tristan C. <ex...@us...> - 2002-10-16 22:34:43
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector In directory usw-pr-cvs1:/tmp/cvs-serv11404 Modified Files: Matrix2f.java Matrix3f.java Matrix4f.java Log Message: added invert/determinant Index: Matrix2f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix2f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix2f.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- Matrix2f.java 28 Aug 2002 00:05:45 -0000 1.8 +++ Matrix2f.java 16 Oct 2002 22:34:40 -0000 1.9 @@ -292,8 +292,24 @@ * Invert this matrix * @return this */ - public Matrix invert() { - assert false : "Not implemented yet!"; + public Matrix invert() + { + + /* + inv(A) = 1/det(A) * adj(A); + */ + + float determinant = m00 * m11 - m01*m10; + float t00 = m11/determinant; + float t01 = -m01/determinant; + float t11 = m00/determinant; + float t10 = -m10/determinant; + + m00 = t00; + m01 = t01; + m10 = t10; + m11 = t11; + return this; } @@ -357,8 +373,7 @@ * @see org.lwjgl.vector.Matrix#determinant() */ public float determinant() { - assert false : "Not implemented yet!"; - return 0; + return m00 * m11 - m01*m10; } } Index: Matrix3f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix3f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix3f.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Matrix3f.java 28 Aug 2002 00:05:45 -0000 1.9 +++ Matrix3f.java 16 Oct 2002 22:34:40 -0000 1.10 @@ -365,8 +365,55 @@ * Invert this matrix * @return this */ - public Matrix invert() { - assert false : "Not implemented yet!"; + public Matrix invert() + { + float determinant = m00 * (m11 * m22 - m12 * m21) + + m01 * (m12 * m20 - m10 * m22) + + m02 * (m10 * m21 - m11 * m20); + + if (determinant == 1) + // matrix is proper orthogonal + transpose(); + else if (determinant == -1) + { // matrix is improper orthogonal + transpose(); + negate(); + } + else if (determinant != 0) + { + // do it the ordinary way + + /* inv(A) = 1/det(A) * adj(T), where adj(T) = transpose(Conjugate Matrix) + + m00 m01 m02 + m10 m11 m12 + m20 m21 m22 + */ + + // get the conjugate matrix + float t00 = m11 * m22 - m12* m22; + float t01 = - m10 * m22 + m12 *m20; + float t02 = m10 * m21 - m11 * m20; + float t10 = - m01 * m22 + m02 * m21; + float t11 = m00 * m22 - m02 * m20; + float t12 = - m00 * m21 + m01 * m20; + float t20 = m01 * m12 - m02 * m11; + float t21 = -m00 * m12 + m02 * m10; + float t22 = m00 * m11 - m01 * m10; + + + m00 = t00/determinant; + m11 = t11/determinant; + m22 = t22/determinant; + m01 = t10/determinant; + m10 = t01/determinant; + m20 = t02/determinant; + m02 = t20/determinant; + m12 = t21/determinant; + m21 = t12/determinant; + } + + return this; } Index: Matrix4f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix4f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Matrix4f.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Matrix4f.java 28 Aug 2002 00:05:45 -0000 1.9 +++ Matrix4f.java 16 Oct 2002 22:34:40 -0000 1.10 @@ -553,13 +553,84 @@ return f; } + /** + * Calculate the determinant of a 3x3 matrix + * @return result + */ + + private float determinant3x3(float t00, float t01, float t02, + float t10, float t11, float t12, + float t20, float t21, float t22) + { + return t00 * (t11 * t22 - t12 * t21) + + t01 * (t12 * t20 - t10 * t22) + + t02 * (t10 * t21 - t11 * t20); + } /** * Invert this matrix * @return this */ public Matrix invert() { - assert false : "Not implemented yet!"; + + float determinant = determinant(); + + if (determinant == 1) + // proper orthogonal + transpose(); + else if (determinant == -1) + { // improper orthogonal + transpose(); + negate(); + } + else if (determinant != 0) + { + /* + m00 m01 m02 m03 + m10 m11 m12 m13 + m20 m21 m22 m23 + m30 m31 m32 m33 + */ + + // first row + float t00 = determinant3x3( m11, m12, m13, m21, m22, m23, m31, m32, m33 ); + float t01 = -determinant3x3(m10, m12, m13, m20, m22, m23, m30, m32, m33 ); + float t02 = determinant3x3( m10, m11, m13, m20, m21, m23, m30, m31, m33 ); + float t03 = -determinant3x3(m10, m11, m12, m20, m21, m22, m30, m31, m32 ); + // second row + float t10 = -determinant3x3(m01, m02, m03, m21, m22, m23, m31, m32, m33 ); + float t11 = determinant3x3( m00, m02, m03, m20, m22, m23, m30, m32, m33 ); + float t12 = -determinant3x3(m00, m01, m03, m20, m21, m23, m30, m31, m33 ); + float t13 = determinant3x3( m00, m01, m02, m20, m21, m22, m30, m31, m32 ); + // third row + float t20 = determinant3x3( m01, m02, m03, m11, m12, m13, m31, m32, m33 ); + float t21 = -determinant3x3(m00, m02, m03, m10, m12, m13, m30, m32, m33 ); + float t22 = determinant3x3( m00, m01, m03, m10, m11, m13, m30, m31, m33 ); + float t23 = -determinant3x3(m00, m01, m02, m10, m11, m12, m30, m31, m32 ); + // fourth row + float t30 = -determinant3x3(m01, m02, m03, m11, m12, m13, m21, m22, m23 ); + float t31 = determinant3x3( m00, m02, m03, m10, m12, m13, m20, m22, m23 ); + float t32 = -determinant3x3(m00, m01, m03, m10, m11, m13, m20, m21, m23 ); + float t33 = determinant3x3( m00, m01, m02, m10, m11, m12, m20, m21, m22 ); + + // transpose and divide by the determinant + m00 = t00/determinant; + m11 = t11/determinant; + m22 = t22/determinant; + m33 = t33/determinant; + m01 = t10/determinant; + m10 = t01/determinant; + m20 = t02/determinant; + m02 = t20/determinant; + m12 = t21/determinant; + m21 = t12/determinant; + m03 = t30/determinant; + m30 = t03/determinant; + m13 = t31/determinant; + m31 = t13/determinant; + m32 = t23/determinant; + m23 = t32/determinant; + } return this; } |
|
From: Tristan C. <ex...@us...> - 2002-10-16 21:00:26
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory usw-pr-cvs1:/tmp/cvs-serv1607 Modified Files: MatrixOpCommon.cpp Log Message: fixed some memory errors Index: MatrixOpCommon.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/MatrixOpCommon.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/MatrixOpCommon.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- MatrixOpCommon.cpp 15 Oct 2002 20:30:45 -0000 1.5 +++ MatrixOpCommon.cpp 16 Oct 2002 21:00:21 -0000 1.6 @@ -310,28 +310,22 @@ float determinant (const float * matrix , int side) { - // We'll keep a scratch bit of memory around for doing temporary calculations: - static int current_side_size = 0; - static float * temp_matrix = NULL; // we are assuming for this case that the data is in column major format float det = 0; if (side == 2) - // your basic cross product + // your basic cross product aka 2x2 determinant det = matrix[0] * matrix[3] - matrix[2] * matrix[1]; else { - int temp_side = side - 1; // the dimensions of the sub matrix - if (temp_side > current_side_size) { - if (temp_matrix) - delete[] temp_matrix; - current_side_size = temp_side; - temp_matrix = new float[current_side_size * current_side_size]; - } + // create room to store the sub matrix + int temp_side = side - 1; // the dimensions of the sub matrix + float * temp_matrix = new float[temp_side * temp_side]; - bool sign_pos = 1; // the sign is positive + // keep the sign (this way we avoid an additional branch in the inner loop) + float sign = 1; for (int row = 0; row < side; row++) { @@ -339,12 +333,13 @@ subMatrix(matrix, side, temp_matrix, 0, row); // add to the determinant sign * [a]i0 * [M]i0 - det += ((sign_pos) ? matrix[row] : - -matrix[row]) * determinant (temp_matrix, temp_side); + det += sign * matrix[row] * determinant (temp_matrix, temp_side); // alternate the sign - sign_pos ^= 1; + sign *= -1; } + + delete [] temp_matrix; } return det; |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-15 20:30:53
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory usw-pr-cvs1:/tmp/cvs-serv1691/src/native/common Modified Files: org_lwjgl_opengl_CoreGL.h Log Message: Fixed native matrix code so it compiles. Added EXT_paletted_texture functions to CoreGL - whoops Index: org_lwjgl_opengl_CoreGL.h CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_CoreGL.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_opengl_CoreGL.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- org_lwjgl_opengl_CoreGL.h 15 Aug 2002 16:11:43 -0000 1.3 +++ org_lwjgl_opengl_CoreGL.h 15 Oct 2002 20:30:47 -0000 1.4 @@ -1,2568 +1,2608 @@ /* DO NOT EDIT THIS FILE - it is machine generated */ -#include <jni.h> +#include <jni.h> /* Header for class org_lwjgl_opengl_CoreGL */ #ifndef _Included_org_lwjgl_opengl_CoreGL -#define _Included_org_lwjgl_opengl_CoreGL +#define _Included_org_lwjgl_opengl_CoreGL #ifdef __cplusplus extern "C" { -#endif [...4818 lines suppressed...] - * Method: viewport - * Signature: (IIII)V - */ -JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_viewport + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: viewport + * Signature: (IIII)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_viewport (JNIEnv *, jobject, jint, jint, jint, jint); - + #ifdef __cplusplus } -#endif -#endif +#endif +#endif |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-15 20:30:52
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory usw-pr-cvs1:/tmp/cvs-serv1691/src/native/win32 Modified Files: org_lwjgl_opengl_CoreGL.cpp MatrixOpCommon.cpp Log Message: Fixed native matrix code so it compiles. Added EXT_paletted_texture functions to CoreGL - whoops Index: org_lwjgl_opengl_CoreGL.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_CoreGL.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_CoreGL.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_opengl_CoreGL.cpp 15 Aug 2002 16:08:16 -0000 1.5 +++ org_lwjgl_opengl_CoreGL.cpp 15 Oct 2002 20:30:44 -0000 1.6 @@ -3149,3 +3149,79 @@ CHECK_GL_ERROR } + void GetColorTableEXT( + enum target, + enum format, + enum type, + void *data); + + void GetColorTableParameterivEXT( + enum target, + enum pname, + int *params); + + void GetColorTableParameterfvEXT( + enum target, + enum pname, + float *params); + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: colorTable + * Signature: (IIIIII)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_colorTable + (JNIEnv * env, jobject obj, jint target, jint internalFormat, jint width, jint format, jint type, jint data) +{ + glColorTable(target, internalFormat, width, format, type, (const void *) data); + CHECK_GL_ERROR +} + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: colorSubTable + * Signature: (IIIIII)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_colorSubTable + (JNIEnv * env, jobject obj, jint target, jint start, jint count, jint format, jint type, jint data) +{ + glColorSubTable(target, start, count, format, type, (const void *) data); + CHECK_GL_ERROR +} + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: getColorTable + * Signature: (IIII)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_getColorTable + (JNIEnv * env, jobject obj, jint target, jint format, jint type, jint data) +{ + glGetColorTable(target, format, type, (void *) data); + CHECK_GL_ERROR +} + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: getColorTableParameteriv + * Signature: (III)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_getColorTableParameteriv + (JNIEnv * env, jobject obj, jint target, jint pname, jint params) +{ + glGetColorTableParameteriv(target, pname, (int *)params); + CHECK_GL_ERROR +} + +/* + * Class: org_lwjgl_opengl_CoreGL + * Method: getColorTableParameterfv + * Signature: (III)V + */ +JNIEXPORT void JNICALL Java_org_lwjgl_opengl_CoreGL_getColorTableParameterfv + (JNIEnv * env, jobject obj, jint target, jint pname, jint params) +{ + glGetColorTableParameterfv(target, pname, (float *)params); + CHECK_GL_ERROR +} + Index: MatrixOpCommon.cpp CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/native/win32/MatrixOpCommon.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/MatrixOpCommon.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- MatrixOpCommon.cpp 28 Sep 2002 16:53:13 -0000 1.4 +++ MatrixOpCommon.cpp 15 Oct 2002 20:30:45 -0000 1.5 @@ -1,6 +1,7 @@ //#include <iostream> #include <jni.h> +#include <memory.h> #include "MatrixOpCommon.h" bool Matrix::identicalDataSpaces(Matrix & other) @@ -308,6 +309,11 @@ float determinant (const float * matrix , int side) { + + // We'll keep a scratch bit of memory around for doing temporary calculations: + static int current_side_size = 0; + static float * temp_matrix = NULL; + // we are assuming for this case that the data is in column major format float det = 0; @@ -318,7 +324,13 @@ else { int temp_side = side - 1; // the dimensions of the sub matrix - float temp_matrix [temp_side * temp_side]; // hold a sub matrix of this matrix + if (temp_side > current_side_size) { + if (temp_matrix) + delete[] temp_matrix; + current_side_size = temp_side; + temp_matrix = new float[current_side_size * current_side_size]; + } + bool sign_pos = 1; // the sign is positive for (int row = 0; row < side; row++) |
|
From: Caspian Rychlik-P. <ci...@us...> - 2002-10-06 21:35:00
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector In directory usw-pr-cvs1:/tmp/cvs-serv28359/src/java/org/lwjgl/vector Modified Files: Vector3f.java Vector4f.java Log Message: Added load method Index: Vector3f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Vector3f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Vector3f.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Vector3f.java 28 Aug 2002 00:05:45 -0000 1.6 +++ Vector3f.java 6 Oct 2002 21:34:56 -0000 1.7 @@ -244,7 +244,10 @@ * @see org.lwjgl.vector.Vector#load(FloatBuffer) */ public Vector load(FloatBuffer buf) { - return null; + x = buf.get(); + y = buf.get(); + z = buf.get(); + return this; } /* (non-Javadoc) Index: Vector4f.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Vector4f.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/vector/Vector4f.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Vector4f.java 26 Aug 2002 20:24:29 -0000 1.5 +++ Vector4f.java 6 Oct 2002 21:34:56 -0000 1.6 @@ -222,7 +222,11 @@ * @see org.lwjgl.vector.Vector#load(FloatBuffer) */ public Vector load(FloatBuffer buf) { - return null; + x = buf.get(); + y = buf.get(); + z = buf.get(); + w = buf.get(); + return this; } /* (non-Javadoc) |