You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(52) |
Aug
(34) |
Sep
(99) |
Oct
(110) |
Nov
(21) |
Dec
(69) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(117) |
Feb
(90) |
Mar
(1) |
Apr
(22) |
May
(96) |
Jun
(25) |
Jul
(22) |
Aug
|
Sep
|
Oct
(18) |
Nov
(43) |
Dec
(71) |
2006 |
Jan
(20) |
Feb
(10) |
Mar
|
Apr
(4) |
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
(60) |
Nov
(63) |
Dec
(35) |
2007 |
Jan
(18) |
Feb
(40) |
Mar
(14) |
Apr
(18) |
May
(33) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(1) |
Mar
(25) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(15) |
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carsten W. <ca...@us...> - 2006-10-07 20:02:10
|
Update of /cvsroot/jake2/jake2/src/jake2/render/fastj In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26216/src/jake2/render/fastj Added Files: Tag: render-refactoring Light.java Polygon.java Warp.java Surf.java Main.java Image.java Mesh.java Misc.java Anorms.java Model.java Draw.java Log Message: (only for testing and history) --- NEW FILE: Image.java --- /* * Image.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [...1554 lines suppressed...] } /* * GL_ShutdownImages */ void GL_ShutdownImages() { image_t image; for (int i = 0; i < numgltextures; i++) { image = gltextures[i]; if (image.registration_sequence == 0) continue; // free image_t slot // free it texnum.put(0, image.texnum); gl.glDeleteTextures(texnum); image.clear(); } } } --- NEW FILE: Surf.java --- /* * Surf.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [...1244 lines suppressed...] // // pix.get(pixel); // // BufferedImage image = new BufferedImage(w, h, // BufferedImage.TYPE_4BYTE_ABGR); // image.setRGB(0, 0, w, h, pixel, 0, w); // AffineTransformOp op = new // AffineTransformOp(AffineTransform.getScaleInstance(scale, scale), // AffineTransformOp.TYPE_NEAREST_NEIGHBOR); // BufferedImage tmp = op.filter(image, null); // // if (frame == null) { // frame = new ImageFrame(null); // frame.show(); // } // frame.showImage(tmp); // // } } --- NEW FILE: Light.java --- /* * Light.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render.fastj; import jake2.Defines; import jake2.Globals; import jake2.client.dlight_t; import jake2.game.cplane_t; import jake2.qcommon.Com; import jake2.render.*; import jake2.util.Math3D; import jake2.util.Vec3Cache; import java.nio.ByteBuffer; import java.nio.IntBuffer; import java.util.Arrays; /** * Light * * @author cwei */ public abstract class Light extends Warp { // r_light.c int r_dlightframecount; static final int DLIGHT_CUTOFF = 64; /* * ============================================================================= * * DYNAMIC LIGHTS BLEND RENDERING * * ============================================================================= */ void R_RenderDlight(dlight_t light) { float rad = light.intensity * 0.35f; float[] v = Vec3Cache.get(); Math3D.VectorSubtract(light.origin, r_origin, v); gl.glBegin(GL_TRIANGLE_FAN); gl.glColor3f(light.color[0] * 0.2f, light.color[1] * 0.2f, light.color[2] * 0.2f); for (int i = 0; i < 3; i++) v[i] = light.origin[i] - vpn[i] * rad; gl.glVertex3f(v[0], v[1], v[2]); gl.glColor3f(0, 0, 0); float a; for (int i = 16; i >= 0; i--) { a = (float) (i / 16.0f * Math.PI * 2); for (int j = 0; j < 3; j++) v[j] = (float) (light.origin[j] + vright[j] * Math.cos(a) * rad + vup[j] * Math.sin(a) * rad); gl.glVertex3f(v[0], v[1], v[2]); } gl.glEnd(); Vec3Cache.release(); } /* * ============= R_RenderDlights ============= */ void R_RenderDlights() { if (gl_flashblend.value == 0) return; r_dlightframecount = r_framecount + 1; // because the count hasn't // advanced yet for this frame gl.glDepthMask(false); gl.glDisable(GL_TEXTURE_2D); gl.glShadeModel(GL_SMOOTH); gl.glEnable(GL_BLEND); gl.glBlendFunc(GL_ONE, GL_ONE); for (int i = 0; i < r_newrefdef.num_dlights; i++) { R_RenderDlight(r_newrefdef.dlights[i]); } gl.glColor3f(1, 1, 1); gl.glDisable(GL_BLEND); gl.glEnable(GL_TEXTURE_2D); gl.glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); gl.glDepthMask(true); } /* * ============================================================================= * * DYNAMIC LIGHTS * * ============================================================================= */ /* * ============= R_MarkLights ============= */ void R_MarkLights(dlight_t light, int bit, mnode_t node) { if (node.contents != -1) return; cplane_t splitplane = node.plane; float dist = Math3D.DotProduct(light.origin, splitplane.normal) - splitplane.dist; if (dist > light.intensity - DLIGHT_CUTOFF) { R_MarkLights(light, bit, node.children[0]); return; } if (dist < -light.intensity + DLIGHT_CUTOFF) { R_MarkLights(light, bit, node.children[1]); return; } msurface_t surf; int sidebit; // mark the polygons for (int i = 0; i < node.numsurfaces; i++) { surf = r_worldmodel.surfaces[node.firstsurface + i]; /* * cwei bugfix for dlight behind the walls */ dist = Math3D.DotProduct(light.origin, surf.plane.normal) - surf.plane.dist; sidebit = (dist >= 0) ? 0 : Defines.SURF_PLANEBACK; if ((surf.flags & Defines.SURF_PLANEBACK) != sidebit) continue; /* * cwei bugfix end */ if (surf.dlightframe != r_dlightframecount) { surf.dlightbits = 0; surf.dlightframe = r_dlightframecount; } surf.dlightbits |= bit; } R_MarkLights(light, bit, node.children[0]); R_MarkLights(light, bit, node.children[1]); } /* * ============= R_PushDlights ============= */ void R_PushDlights() { if (gl_flashblend.value != 0) return; r_dlightframecount = r_framecount + 1; // because the count hasn't // advanced yet for this frame dlight_t l; for (int i = 0; i < r_newrefdef.num_dlights; i++) { l = r_newrefdef.dlights[i]; R_MarkLights(l, 1 << i, r_worldmodel.nodes[0]); } } /* * ============================================================================= * * LIGHT SAMPLING * * ============================================================================= */ float[] pointcolor = { 0, 0, 0 }; // vec3_t cplane_t lightplane; // used as shadow plane float[] lightspot = { 0, 0, 0 }; // vec3_t float scalef = 1.0f/255; int RecursiveLightPoint(mnode_t node, float[] start, float[] end) { if (node.contents != -1) return -1; // didn't hit anything // ByteBuffer lightmap; // int maps; // calculate mid point // FIXME: optimize for axial cplane_t plane = node.plane; float front = Math3D.DotProduct(start, plane.normal) - plane.dist; float back = Math3D.DotProduct(end, plane.normal) - plane.dist; boolean side = (front < 0); int sideIndex = (side) ? 1 : 0; if ((back < 0) == side) return RecursiveLightPoint(node.children[sideIndex], start, end); float frac = front / (front - back); float[] mid = Vec3Cache.get(); mid[0] = start[0] + (end[0] - start[0]) * frac; mid[1] = start[1] + (end[1] - start[1]) * frac; mid[2] = start[2] + (end[2] - start[2]) * frac; // go down front side int r = RecursiveLightPoint(node.children[sideIndex], start, mid); if (r >= 0) { Vec3Cache.release(); return r; // hit something } if ((back < 0) == side) { Vec3Cache.release(); return -1; // didn't hit anuthing } // check for impact on this node Math3D.VectorCopy(mid, lightspot); lightplane = plane; int surfIndex = node.firstsurface; msurface_t surf; mtexinfo_t tex; float scale0; float scale1; float scale2; int s, t, ds, dt; ByteBuffer lightmap; int maps; for (int i = 0; i < node.numsurfaces; i++, surfIndex++) { surf = r_worldmodel.surfaces[surfIndex]; if ((surf.flags & (Defines.SURF_DRAWTURB | Defines.SURF_DRAWSKY)) != 0) continue; // no lightmaps tex = surf.texinfo; s = (int) (Math3D.DotProduct(mid, tex.vecs[0]) + tex.vecs[0][3]); t = (int) (Math3D.DotProduct(mid, tex.vecs[1]) + tex.vecs[1][3]); if (s < surf.texturemins[0] || t < surf.texturemins[1]) continue; ds = s - surf.texturemins[0]; dt = t - surf.texturemins[1]; if (ds > surf.extents[0] || dt > surf.extents[1]) continue; if (surf.samples == null) return 0; ds >>= 4; dt >>= 4; lightmap = surf.samples; int lightmapIndex = 0; Math3D.VectorCopy(Globals.vec3_origin, pointcolor); if (lightmap != null) { float[] rgb; lightmapIndex += 3 * (dt * ((surf.extents[0] >> 4) + 1) + ds); for (maps = 0; maps < Defines.MAXLIGHTMAPS && surf.styles[maps] != (byte) 255; maps++) { rgb = r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb; scale0 = gl_modulate.value * rgb[0]; scale1 = gl_modulate.value * rgb[1]; scale2 = gl_modulate.value * rgb[2]; pointcolor[0] += (lightmap.get(lightmapIndex + 0) & 0xFF) * scale0 * scalef; pointcolor[1] += (lightmap.get(lightmapIndex + 1) & 0xFF) * scale1 * scalef; pointcolor[2] += (lightmap.get(lightmapIndex + 2) & 0xFF) * scale2 * scalef; lightmapIndex += 3 * ((surf.extents[0] >> 4) + 1) * ((surf.extents[1] >> 4) + 1); } } Vec3Cache.release(); return 1; } // go down back side r = RecursiveLightPoint(node.children[1 - sideIndex], mid, end); Vec3Cache.release(); return r; } /* * =============== R_LightPoint =============== */ void R_LightPoint(float[] p, float[] color) { assert (p.length == 3) : "vec3_t bug"; assert (color.length == 3) : "rgb bug"; if (r_worldmodel.lightdata == null) { color[0] = color[1] = color[2] = 1.0f; return; } float[] end = Vec3Cache.get(); end[0] = p[0]; end[1] = p[1]; end[2] = p[2] - 2048; float r = RecursiveLightPoint(r_worldmodel.nodes[0], p, end); if (r == -1) { Math3D.VectorCopy(Globals.vec3_origin, color); } else { Math3D.VectorCopy(pointcolor, color); } // // add dynamic lights // float add; dlight_t dl; for (int lnum = 0; lnum < r_newrefdef.num_dlights; lnum++) { dl = r_newrefdef.dlights[lnum]; Math3D.VectorSubtract(currententity.origin, dl.origin, end); add = (dl.intensity - Math3D.VectorLength(end)); if (add > 0) { Math3D.VectorMA(color, add * scalef, dl.color, color); } } Math3D.VectorScale(color, gl_modulate.value, color); Vec3Cache.release(); } // =================================================================== float[] s_blocklights = new float[34 * 34 * 3]; /* * =============== R_AddDynamicLights =============== */ // TODO sync with jogl renderer. hoz void R_AddDynamicLights(msurface_t surf) { int sd, td; float fdist, frad, fminlight; float[] impact = Vec3Cache.get(); int s, t; dlight_t dl; float[] pfBL; float fsacc, ftacc; int smax = (surf.extents[0] >> 4) + 1; int tmax = (surf.extents[1] >> 4) + 1; mtexinfo_t tex = surf.texinfo; float local0; float local1; for (int lnum = 0; lnum < r_newrefdef.num_dlights; lnum++) { if ((surf.dlightbits & (1 << lnum)) == 0) continue; // not lit by this light dl = r_newrefdef.dlights[lnum]; frad = dl.intensity; fdist = Math3D.DotProduct(dl.origin, surf.plane.normal) - surf.plane.dist; frad -= Math.abs(fdist); // rad is now the highest intensity on the plane fminlight = DLIGHT_CUTOFF; // FIXME: make configurable? if (frad < fminlight) continue; fminlight = frad - fminlight; for (int i = 0; i < 3; i++) { impact[i] = dl.origin[i] - surf.plane.normal[i] * fdist; } local0 = Math3D.DotProduct(impact, tex.vecs[0]) + tex.vecs[0][3] - surf.texturemins[0]; local1 = Math3D.DotProduct(impact, tex.vecs[1]) + tex.vecs[1][3] - surf.texturemins[1]; pfBL = s_blocklights; int pfBLindex = 0; for (t = 0, ftacc = 0; t < tmax; t++, ftacc += 16) { td = (int) (local1 - ftacc); if (td < 0) td = -td; for (s = 0, fsacc = 0; s < smax; s++, fsacc += 16, pfBLindex += 3) { sd = (int) (local0 - fsacc); if (sd < 0) sd = -sd; if (sd > td) fdist = sd + (td >> 1); else fdist = td + (sd >> 1); if (fdist < fminlight) { pfBL[pfBLindex + 0] += (frad - fdist) * dl.color[0]; pfBL[pfBLindex + 1] += (frad - fdist) * dl.color[1]; pfBL[pfBLindex + 2] += (frad - fdist) * dl.color[2]; } } } } Vec3Cache.release(); } /* * * R_SetCacheState */ void R_SetCacheState(msurface_t surf) { for (int maps = 0; maps < Defines.MAXLIGHTMAPS && surf.styles[maps] != (byte) 255; maps++) { surf.cached_light[maps] = r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].white; } } // replaces the goto jump private Throwable gotoStore = new Throwable(); /* * =============== R_BuildLightMap * * Combine and scale multiple lightmaps into the floating format in * blocklights =============== */ // TODO sync with jogl renderer. hoz void R_BuildLightMap(msurface_t surf, IntBuffer dest, int stride) { int r, g, b, a, max; int i, j; int nummaps; float[] bl; //lightstyle_t style; if ((surf.texinfo.flags & (Defines.SURF_SKY | Defines.SURF_TRANS33 | Defines.SURF_TRANS66 | Defines.SURF_WARP)) != 0) Com.Error(Defines.ERR_DROP, "R_BuildLightMap called for non-lit surface"); int smax = (surf.extents[0] >> 4) + 1; int tmax = (surf.extents[1] >> 4) + 1; int size = smax * tmax; if (size > ((s_blocklights.length * Defines.SIZE_OF_FLOAT) >> 4)) Com.Error(Defines.ERR_DROP, "Bad s_blocklights size"); try { // set to full bright if no light data if (surf.samples == null) { int maps; for (i = 0; i < size * 3; i++) s_blocklights[i] = 255; // TODO useless? hoz // for (maps = 0 ; maps < Defines.MAXLIGHTMAPS && // surf.styles[maps] != (byte)255; maps++) // { // style = r_newrefdef.lightstyles[surf.styles[maps] & 0xFF]; // } // goto store; throw gotoStore; } // count the # of maps for (nummaps = 0; nummaps < Defines.MAXLIGHTMAPS && surf.styles[nummaps] != (byte) 255; nummaps++) ; ByteBuffer lightmap = surf.samples; int lightmapIndex = 0; // add all the lightmaps float scale0; float scale1; float scale2; if (nummaps == 1) { int maps; for (maps = 0; maps < Defines.MAXLIGHTMAPS && surf.styles[maps] != (byte) 255; maps++) { bl = s_blocklights; int blp = 0; // for (i = 0; i < 3; i++) // scale[i] = gl_modulate.value // * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[i]; scale0 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[0]; scale1 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[1]; scale2 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[2]; if (scale0 == 1.0F && scale1 == 1.0F && scale2 == 1.0F) { for (i = 0; i < size; i++) { bl[blp++] = lightmap.get(lightmapIndex++) & 0xFF; bl[blp++] = lightmap.get(lightmapIndex++) & 0xFF; bl[blp++] = lightmap.get(lightmapIndex++) & 0xFF; } } else { for (i = 0; i < size; i++) { bl[blp++] = (lightmap.get(lightmapIndex++) & 0xFF) * scale0; bl[blp++] = (lightmap.get(lightmapIndex++) & 0xFF) * scale1; bl[blp++] = (lightmap.get(lightmapIndex++) & 0xFF) * scale2; } } //lightmap += size*3; // skip to next lightmap } } else { int maps; // memset( s_blocklights, 0, sizeof( s_blocklights[0] ) * size * // 3 ); Arrays.fill(s_blocklights, 0, size * 3, 0.0f); for (maps = 0; maps < Defines.MAXLIGHTMAPS && surf.styles[maps] != (byte) 255; maps++) { bl = s_blocklights; int blp = 0; // for (i = 0; i < 3; i++) // scale[i] = gl_modulate.value // * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[i]; scale0 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[0]; scale1 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[1]; scale2 = gl_modulate.value * r_newrefdef.lightstyles[surf.styles[maps] & 0xFF].rgb[2]; if (scale0 == 1.0F && scale1 == 1.0F && scale2 == 1.0F) { for (i = 0; i < size; i++) { bl[blp++] += lightmap.get(lightmapIndex++) & 0xFF; bl[blp++] += lightmap.get(lightmapIndex++) & 0xFF; bl[blp++] += lightmap.get(lightmapIndex++) & 0xFF; } } else { for (i = 0; i < size; i++) { bl[blp++] += (lightmap.get(lightmapIndex++) & 0xFF) * scale0; bl[blp++] += (lightmap.get(lightmapIndex++) & 0xFF) * scale1; bl[blp++] += (lightmap.get(lightmapIndex++) & 0xFF) * scale2; } } //lightmap += size*3; // skip to next lightmap } } // add all the dynamic lights if (surf.dlightframe == r_framecount) R_AddDynamicLights(surf); // label store: } catch (Throwable store) { } // put into texture format stride -= smax; bl = s_blocklights; int blp = 0; int monolightmap = gl_monolightmap.string.charAt(0); int destp = 0; if (monolightmap == '0') { for (i = 0; i < tmax; i++, destp += stride) { for (j = 0; j < smax; j++) { r = (int) bl[blp++]; g = (int) bl[blp++]; b = (int) bl[blp++]; // catch negative lights if (r < 0) r = 0; if (g < 0) g = 0; if (b < 0) b = 0; /* * * determine the brightest of the three color components */ if (r > g) max = r; else max = g; if (b > max) max = b; /* * * alpha is ONLY used for the mono lightmap case. For this * reason * we set it to the brightest of the color * components so that * things don't get too dim. */ a = max; /* * * rescale all the color components if the intensity of * the greatest * channel exceeds 1.0 */ if (max > 255) { float t = 255.0F / max; r = (int) (r * t); g = (int) (g * t); b = (int) (b * t); a = (int) (a * t); } //r &= 0xFF; g &= 0xFF; b &= 0xFF; a &= 0xFF; dest.put(destp++, (a << 24) | (b << 16) | (g << 8) | r); } } } else { for (i = 0; i < tmax; i++, destp += stride) { for (j = 0; j < smax; j++) { r = (int) bl[blp++]; g = (int) bl[blp++]; b = (int) bl[blp++]; // catch negative lights if (r < 0) r = 0; if (g < 0) g = 0; if (b < 0) b = 0; /* * * determine the brightest of the three color components */ if (r > g) max = r; else max = g; if (b > max) max = b; /* * * alpha is ONLY used for the mono lightmap case. For this * reason * we set it to the brightest of the color * components so that * things don't get too dim. */ a = max; /* * * rescale all the color components if the intensity of * the greatest * channel exceeds 1.0 */ if (max > 255) { float t = 255.0F / max; r = (int) (r * t); g = (int) (g * t); b = (int) (b * t); a = (int) (a * t); } /* * * So if we are doing alpha lightmaps we need to set the * R, G, and B * components to 0 and we need to set alpha to * 1-alpha. */ switch (monolightmap) { case 'L': case 'I': r = a; g = b = 0; break; case 'C': // try faking colored lighting a = 255 - ((r + g + b) / 3); float af = a / 255.0f; r *= af; g *= af; b *= af; break; case 'A': default: r = g = b = 0; a = 255 - a; break; } //r &= 0xFF; g &= 0xFF; b &= 0xFF; a &= 0xFF; dest.put(destp++, (a << 24) | (b << 16) | (g << 8) | r); } } } } } --- NEW FILE: Mesh.java --- /* * Mesh.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render.fastj; import jake2.Defines; import jake2.client.VID; import jake2.client.entity_t; import jake2.qcommon.qfiles; import jake2.render.image_t; import jake2.util.*; import java.nio.FloatBuffer; import java.nio.IntBuffer; /** * Mesh * * @author cwei */ public abstract class Mesh extends Light { // g_mesh.c: triangle model functions /* * ============================================================= * * ALIAS MODELS * * ============================================================= */ static final int NUMVERTEXNORMALS = 162; float[][] r_avertexnormals = Anorms.VERTEXNORMALS; float[] shadevector = { 0, 0, 0 }; float[] shadelight = { 0, 0, 0 }; // precalculated dot products for quantized angles static final int SHADEDOT_QUANT = 16; float[][] r_avertexnormal_dots = Anorms.VERTEXNORMAL_DOTS; float[] shadedots = r_avertexnormal_dots[0]; void GL_LerpVerts(int nverts, int[] ov, int[] v, float[] move, float[] frontv, float[] backv) { int ovv, vv; FloatBuffer lerp = vertexArrayBuf; //PMM -- added RF_SHELL_DOUBLE, RF_SHELL_HALF_DAM if ((currententity.flags & (Defines.RF_SHELL_RED | Defines.RF_SHELL_GREEN | Defines.RF_SHELL_BLUE | Defines.RF_SHELL_DOUBLE | Defines.RF_SHELL_HALF_DAM)) != 0) { float[] normal; int j = 0; for (int i=0 ; i < nverts; i++/* , v++, ov++, lerp+=4 */) { vv = v[i]; normal = r_avertexnormals[(vv >>> 24 ) & 0xFF]; ovv = ov[i]; lerp.put(j, move[0] + (ovv & 0xFF)* backv[0] + (vv & 0xFF) * frontv[0] + normal[0] * Defines.POWERSUIT_SCALE); lerp.put(j + 1, move[1] + ((ovv >>> 8) & 0xFF) * backv[1] + ((vv >>> 8) & 0xFF) * frontv[1] + normal[1] * Defines.POWERSUIT_SCALE); lerp.put(j + 2, move[2] + ((ovv >>> 16) & 0xFF) * backv[2] + ((vv >>> 16) & 0xFF) * frontv[2] + normal[2] * Defines.POWERSUIT_SCALE); j += 3; } } else { int j = 0; for (int i=0 ; i < nverts; i++/* , v++, ov++, lerp+=4 */) { ovv = ov[i]; vv = v[i]; lerp.put(j, move[0] + (ovv & 0xFF)* backv[0] + (vv & 0xFF)*frontv[0]); lerp.put(j + 1, move[1] + ((ovv >>> 8) & 0xFF)* backv[1] + ((vv >>> 8) & 0xFF)*frontv[1]); lerp.put(j + 2, move[2] + ((ovv >>> 16) & 0xFF)* backv[2] + ((vv >>> 16) & 0xFF)*frontv[2]); j +=3; } } } FloatBuffer colorArrayBuf = Lib.newFloatBuffer(qfiles.MAX_VERTS * 4); FloatBuffer vertexArrayBuf = Lib.newFloatBuffer(qfiles.MAX_VERTS * 3); FloatBuffer textureArrayBuf = Lib.newFloatBuffer(qfiles.MAX_VERTS * 2); boolean isFilled = false; float[] tmpVec = { 0, 0, 0 }; float[][] vectors = { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } // 3 mal vec3_t }; /* * ============= GL_DrawAliasFrameLerp * * interpolates between two frames and origins FIXME: batch lerp all * vertexes ============= */ void GL_DrawAliasFrameLerp(qfiles.dmdl_t paliashdr, float backlerp) { int count; float alpha; qfiles.daliasframe_t frame = paliashdr.aliasFrames[currententity.frame]; int[] verts = frame.verts; qfiles.daliasframe_t oldframe = paliashdr.aliasFrames[currententity.oldframe]; int[] ov = oldframe.verts; if ((currententity.flags & Defines.RF_TRANSLUCENT) != 0) alpha = currententity.alpha; else alpha = 1.0f; // PMM - added double shell if ((currententity.flags & (Defines.RF_SHELL_RED | Defines.RF_SHELL_GREEN | Defines.RF_SHELL_BLUE | Defines.RF_SHELL_DOUBLE | Defines.RF_SHELL_HALF_DAM)) != 0) gl.glDisable(GL_TEXTURE_2D); float frontlerp = 1.0f - backlerp; float[] frontv = Vec3Cache.get(); // vec3_t // move should be the delta back to the previous frame * backlerp Math3D.VectorSubtract(currententity.oldorigin, currententity.origin, frontv); Math3D.AngleVectors(currententity.angles, vectors[0], vectors[1], vectors[2]); float[] move = Vec3Cache.get(); // vec3_t move[0] = Math3D.DotProduct(frontv, vectors[0]); // forward move[1] = -Math3D.DotProduct(frontv, vectors[1]); // left move[2] = Math3D.DotProduct(frontv, vectors[2]); // up Math3D.VectorAdd(move, oldframe.translate, move); float[] backv = Vec3Cache.get(); // vec3_t for (int i = 0; i < 3; i++) { move[i] = backlerp * move[i] + frontlerp * frame.translate[i]; frontv[i] = frontlerp * frame.scale[i]; backv[i] = backlerp * oldframe.scale[i]; } // ab hier wird optimiert GL_LerpVerts(paliashdr.num_xyz, ov, verts, move, frontv, backv); Vec3Cache.release(3); // frontv, move, backv //gl.glEnableClientState( GL_VERTEX_ARRAY ); gl.glVertexPointer(3, 0, vertexArrayBuf); // PMM - added double damage shell if ((currententity.flags & (Defines.RF_SHELL_RED | Defines.RF_SHELL_GREEN | Defines.RF_SHELL_BLUE | Defines.RF_SHELL_DOUBLE | Defines.RF_SHELL_HALF_DAM)) != 0) { gl.glColor4f(shadelight[0], shadelight[1], shadelight[2], alpha); } else { gl.glEnableClientState(GL_COLOR_ARRAY); gl.glColorPointer(4, 0, colorArrayBuf); // // pre light everything // FloatBuffer color = colorArrayBuf; int j = 0; float l; for (int i = 0; i < paliashdr.num_xyz; i++) { l = shadedots[(verts[i] >>> 24 ) & 0xFF]; color.put(j, l * shadelight[0]); color.put(j + 1, l * shadelight[1]); color.put(j + 2, l * shadelight[2]); color.put(j + 3, alpha); j += 4; } } gl.glClientActiveTextureARB(GL_TEXTURE0); gl.glTexCoordPointer(2, 0, textureArrayBuf); //gl.glEnableClientState( GL_TEXTURE_COORD_ARRAY); int pos = 0; int[] counts = paliashdr.counts; IntBuffer srcIndexBuf = null; FloatBuffer dstTextureCoords = textureArrayBuf; FloatBuffer srcTextureCoords = paliashdr.textureCoordBuf; int dstIndex = 0; int srcIndex = 0; for (int j = 0; j < counts.length; j++) { // get the vertex count and primitive type count = counts[j]; if (count == 0) break; // done srcIndexBuf = paliashdr.indexElements[j]; int mode = GL_TRIANGLE_STRIP; if (count < 0) { mode = GL_TRIANGLE_FAN; count = -count; } srcIndex = pos << 1; for (int k = 0; k < count; k++) { dstIndex = srcIndexBuf.get(k) << 1; dstTextureCoords.put(dstIndex++, srcTextureCoords .get(srcIndex++)); dstTextureCoords .put(dstIndex, srcTextureCoords.get(srcIndex++)); } gl.glDrawElements(mode, srcIndexBuf); pos += count; } // PMM - added double damage shell if ((currententity.flags & (Defines.RF_SHELL_RED | Defines.RF_SHELL_GREEN | Defines.RF_SHELL_BLUE | Defines.RF_SHELL_DOUBLE | Defines.RF_SHELL_HALF_DAM)) != 0) gl.glEnable(GL_TEXTURE_2D); gl.glDisableClientState(GL_COLOR_ARRAY); } /* * ============= GL_DrawAliasShadow ============= */ void GL_DrawAliasShadow(qfiles.dmdl_t paliashdr, int posenum) { int[] order; float height, lheight; int count; qfiles.daliasframe_t frame; lheight = currententity.origin[2] - lightspot[2]; frame = paliashdr.aliasFrames[currententity.frame]; height = 0; order = paliashdr.glCmds; height = -lheight + 1.0f; int orderIndex = 0; int index = 0; // TODO shadow drawing with vertex arrays float[] point = Vec3Cache.get(); while (true) { // get the vertex count and primitive type count = order[orderIndex++]; if (count == 0) break; // done if (count < 0) { count = -count; gl.glBegin(GL_TRIANGLE_FAN); } else gl.glBegin(GL_TRIANGLE_STRIP); do { index = order[orderIndex + 2] * 3; point[0] = vertexArrayBuf.get(index); point[1] = vertexArrayBuf.get(index + 1); point[2] = vertexArrayBuf.get(index + 2); point[0] -= shadevector[0] * (point[2] + lheight); point[1] -= shadevector[1] * (point[2] + lheight); point[2] = height; gl.glVertex3f(point[0], point[1], point[2]); orderIndex += 3; } while (--count != 0); gl.glEnd(); } Vec3Cache.release(); // point } /* * * R_CullAliasModel */ // TODO sync with jogl renderer. hoz boolean R_CullAliasModel(entity_t e) { qfiles.dmdl_t paliashdr = (qfiles.dmdl_t) currentmodel.extradata; if ((e.frame >= paliashdr.num_frames) || (e.frame < 0)) { VID.Printf(Defines.PRINT_ALL, "R_CullAliasModel " + currentmodel.name + ": no such frame " + e.frame + '\n'); e.frame = 0; } if ((e.oldframe >= paliashdr.num_frames) || (e.oldframe < 0)) { VID.Printf(Defines.PRINT_ALL, "R_CullAliasModel " + currentmodel.name + ": no such oldframe " + e.oldframe + '\n'); e.oldframe = 0; } qfiles.daliasframe_t pframe = paliashdr.aliasFrames[e.frame]; qfiles.daliasframe_t poldframe = paliashdr.aliasFrames[e.oldframe]; /* * * compute axially aligned mins and maxs */ float[] mins = Vec3Cache.get(); float[] maxs = Vec3Cache.get(); if (pframe == poldframe) { for (int i = 0; i < 3; i++) { mins[i] = pframe.translate[i]; maxs[i] = mins[i] + pframe.scale[i] * 255; } } else { float thismaxs, oldmaxs; for (int i = 0; i < 3; i++) { thismaxs = pframe.translate[i] + pframe.scale[i] * 255; oldmaxs = poldframe.translate[i] + poldframe.scale[i] * 255; if (pframe.translate[i] < poldframe.translate[i]) mins[i] = pframe.translate[i]; else mins[i] = poldframe.translate[i]; if (thismaxs > oldmaxs) maxs[i] = thismaxs; else maxs[i] = oldmaxs; } } /* * * compute a full bounding box */ float[] tmp; for (int i = 0; i < 8; i++) { tmp = bbox[i]; if ((i & 1) != 0) tmp[0] = mins[0]; else tmp[0] = maxs[0]; if ((i & 2) != 0) tmp[1] = mins[1]; else tmp[1] = maxs[1]; if ((i & 4) != 0) tmp[2] = mins[2]; else tmp[2] = maxs[2]; } /* * * rotate the bounding box */ tmp = mins; Math3D.VectorCopy(e.angles, tmp); tmp[YAW] = -tmp[YAW]; Math3D.AngleVectors(tmp, vectors[0], vectors[1], vectors[2]); for (int i = 0; i < 8; i++) { Math3D.VectorCopy(bbox[i], tmp); bbox[i][0] = Math3D.DotProduct(vectors[0], tmp); bbox[i][1] = -Math3D.DotProduct(vectors[1], tmp); bbox[i][2] = Math3D.DotProduct(vectors[2], tmp); Math3D.VectorAdd(e.origin, bbox[i], bbox[i]); } Vec3Cache.release(2); // mins, maxs int f, mask; int aggregatemask = ~0; // 0xFFFFFFFF for (int p = 0; p < 8; p++) { mask = 0; for (f = 0; f < 4; f++) { float dp = Math3D.DotProduct(frustum[f].normal, bbox[p]); if ((dp - frustum[f].dist) < 0) { mask |= (1 << f); } } aggregatemask &= mask; } if (aggregatemask != 0) { return true; } return false; } // bounding box float[][] bbox = { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } }; /* * ================= R_DrawAliasModel * * ================= */ // TODO sync with jogl renderer. hoz void R_DrawAliasModel(entity_t e) { int i; //qfiles.dmdl_t paliashdr; //float an; image_t skin; if ((e.flags & Defines.RF_WEAPONMODEL) == 0) { if (R_CullAliasModel(e)) return; } if ((e.flags & Defines.RF_WEAPONMODEL) != 0) { if (r_lefthand.value == 2.0f) return; } qfiles.dmdl_t paliashdr = (qfiles.dmdl_t) currentmodel.extradata; // // get lighting information // // PMM - rewrote, reordered to handle new shells & mixing // PMM - 3.20 code .. replaced with original way of doing it to keep mod // authors happy // if ((currententity.flags & (Defines.RF_SHELL_HALF_DAM | Defines.RF_SHELL_GREEN | Defines.RF_SHELL_RED | Defines.RF_SHELL_BLUE | Defines.RF_SHELL_DOUBLE)) != 0) { Math3D.VectorClear(shadelight); if ((currententity.flags & Defines.RF_SHELL_HALF_DAM) != 0) { shadelight[0] = 0.56f; shadelight[1] = 0.59f; shadelight[2] = 0.45f; } if ((currententity.flags & Defines.RF_SHELL_DOUBLE) != 0) { shadelight[0] = 0.9f; shadelight[1] = 0.7f; } if ((currententity.flags & Defines.RF_SHELL_RED) != 0) shadelight[0] = 1.0f; if ((currententity.flags & Defines.RF_SHELL_GREEN) != 0) shadelight[1] = 1.0f; if ((currententity.flags & Defines.RF_SHELL_BLUE) != 0) shadelight[2] = 1.0f; } else if ((currententity.flags & Defines.RF_FULLBRIGHT) != 0) { for (i = 0; i < 3; i++) shadelight[i] = 1.0f; } else { R_LightPoint(currententity.origin, shadelight); // player lighting hack for communication back to server // big hack! if ((currententity.flags & Defines.RF_WEAPONMODEL) != 0) { // pick the greatest component, which should be the same // as the mono value returned by software if (shadelight[0] > shadelight[1]) { if (shadelight[0] > shadelight[2]) r_lightlevel.value = 150 * shadelight[0]; else r_lightlevel.value = 150 * shadelight[2]; } else { if (shadelight[1] > shadelight[2]) r_lightlevel.value = 150 * shadelight[1]; else r_lightlevel.value = 150 * shadelight[2]; } } if (gl_monolightmap.string.charAt(0) != '0') { float s = shadelight[0]; if (s < shadelight[1]) s = shadelight[1]; if (s < shadelight[2]) s = shadelight[2]; shadelight[0] = s; shadelight[1] = s; shadelight[2] = s; } } if ((currententity.flags & Defines.RF_MINLIGHT) != 0) { for (i = 0; i < 3; i++) if (shadelight[i] > 0.1f) break; if (i == 3) { shadelight[0] = 0.1f; shadelight[1] = 0.1f; shadelight[2] = 0.1f; } } if ((currententity.flags & Defines.RF_GLOW) != 0) { // bonus items will // pulse with time float scale; float min; scale = (float) (0.1f * Math.sin(r_newrefdef.time * 7)); for (i = 0; i < 3; i++) { min = shadelight[i] * 0.8f; shadelight[i] += scale; if (shadelight[i] < min) shadelight[i] = min; } } // ================= // PGM ir goggles color override if ((r_newrefdef.rdflags & Defines.RDF_IRGOGGLES) != 0 && (currententity.flags & Defines.RF_IR_VISIBLE) != 0) { shadelight[0] = 1.0f; shadelight[1] = 0.0f; shadelight[2] = 0.0f; } // PGM // ================= shadedots = r_avertexnormal_dots[((int) (currententity.angles[1] * (SHADEDOT_QUANT / 360.0))) & (SHADEDOT_QUANT - 1)]; float an = (float) (currententity.angles[1] / 180 * Math.PI); shadevector[0] = (float) Math.cos(-an); shadevector[1] = (float) Math.sin(-an); shadevector[2] = 1; Math3D.VectorNormalize(shadevector); // // locate the proper data // c_alias_polys += paliashdr.num_tris; // // draw all the triangles // if ((currententity.flags & Defines.RF_DEPTHHACK) != 0) // hack the depth range to prevent view model from poking into walls gl.glDepthRange(gldepthmin, gldepthmin + 0.3 * (gldepthmax - gldepthmin)); if ((currententity.flags & Defines.RF_WEAPONMODEL) != 0 && (r_lefthand.value == 1.0f)) { gl.glMatrixMode(GL_PROJECTION); gl.glPushMatrix(); gl.glLoadIdentity(); gl.glScalef(-1, 1, 1); MYgluPerspective(r_newrefdef.fov_y, (float) r_newrefdef.width / r_newrefdef.height, 4, 4096); gl.glMatrixMode(GL_MODELVIEW); gl.glCullFace(GL_BACK); } gl.glPushMatrix(); e.angles[PITCH] = -e.angles[PITCH]; // sigh. R_RotateForEntity(e); e.angles[PITCH] = -e.angles[PITCH]; // sigh. // select skin if (currententity.skin != null) skin = currententity.skin; // custom player skin else { if (currententity.skinnum >= qfiles.MAX_MD2SKINS) skin = currentmodel.skins[0]; else { skin = currentmodel.skins[currententity.skinnum]; if (skin == null) skin = currentmodel.skins[0]; } } if (skin == null) skin = r_notexture; // fallback... GL_Bind(skin.texnum); // draw it gl.glShadeModel(GL_SMOOTH); GL_TexEnv(GL_MODULATE); if ((currententity.flags & Defines.RF_TRANSLUCENT) != 0) { gl.glEnable(GL_BLEND); } if ((currententity.frame >= paliashdr.num_frames) || (currententity.frame < 0)) { VID.Printf(Defines.PRINT_ALL, "R_DrawAliasModel " + currentmodel.name + ": no such frame " + currententity.frame + '\n'); currententity.frame = 0; currententity.oldframe = 0; } if ((currententity.oldframe >= paliashdr.num_frames) || (currententity.oldframe < 0)) { VID.Printf(Defines.PRINT_ALL, "R_DrawAliasModel " + currentmodel.name + ": no such oldframe " + currententity.oldframe + '\n'); currententity.frame = 0; currententity.oldframe = 0; } if (r_lerpmodels.value == 0.0f) currententity.backlerp = 0; GL_DrawAliasFrameLerp(paliashdr, currententity.backlerp); GL_TexEnv(GL_REPLACE); gl.glShadeModel(GL_FLAT); gl.glPopMatrix(); if ((currententity.flags & Defines.RF_WEAPONMODEL) != 0 && (r_lefthand.value == 1.0F)) { gl.glMatrixMode(GL_PROJECTION); gl.glPopMatrix(); gl.glMatrixMode(GL_MODELVIEW); gl.glCullFace(GL_FRONT); } if ((currententity.flags & Defines.RF_TRANSLUCENT) != 0) { gl.glDisable(GL_BLEND); } if ((currententity.flags & Defines.RF_DEPTHHACK) != 0) gl.glDepthRange(gldepthmin, gldepthmax); if (gl_shadows.value != 0.0f && (currententity.flags & (Defines.RF_TRANSLUCENT | Defines.RF_WEAPONMODEL)) == 0) { gl.glPushMatrix(); R_RotateForEntity(e); gl.glDisable(GL_TEXTURE_2D); gl.glEnable(GL_BLEND); gl.glColor4f(0, 0, 0, 0.5f); GL_DrawAliasShadow(paliashdr, currententity.frame); gl.glEnable(GL_TEXTURE_2D); gl.glDisable(GL_BLEND); gl.glPopMatrix(); } gl.glColor4f(1, 1, 1, 1); } } --- NEW FILE: Model.java --- /* * Model.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [...1223 lines suppressed...] model.counts[i] = count; count = (count < 0) ? -count : count; model.vertexIndexBuf.position(pos); model.indexElements[i] = model.vertexIndexBuf.slice(); model.indexElements[i].limit(count); pos += count; } } static void resetModelArrays() { globalModelTextureCoordBuf.rewind(); globalModelVertexIndexBuf.rewind(); } static void modelMemoryUsage() { System.out.println("AliasModels: globalVertexBuffer size " + globalModelVertexIndexBuf.position()); } } --- NEW FILE: Main.java --- /* * Main.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [...1512 lines suppressed...] float[] v; for (i = 0; i < NUM_BEAM_SEGS; i++) { v = start_points[i]; gl.glVertex3f(v[0], v[1], v[2]); v = end_points[i]; gl.glVertex3f(v[0], v[1], v[2]); v = start_points[(i + 1) % NUM_BEAM_SEGS]; gl.glVertex3f(v[0], v[1], v[2]); v = end_points[(i + 1) % NUM_BEAM_SEGS]; gl.glVertex3f(v[0], v[1], v[2]); } gl.glEnd(); gl.glEnable(GL_TEXTURE_2D); gl.glDisable(GL_BLEND); gl.glDepthMask(true); } } --- NEW FILE: Polygon.java --- /* * Polygon.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render.fastj; import jake2.render.glpoly_t; import jake2.util.Lib; import java.nio.FloatBuffer; /** * Polygon * * @author cwei */ public final class Polygon extends glpoly_t { private final static int MAX_POLYS = 20000; private final static int MAX_BUFFER_VERTICES = 120000; // backup for s1 scrolling private static float[] s1_old = new float[MAX_VERTICES]; private static FloatBuffer buffer = Lib.newFloatBuffer(MAX_BUFFER_VERTICES * STRIDE); private static int bufferIndex = 0; private static int polyCount = 0; private static Polygon[] polyCache = new Polygon[MAX_POLYS]; static { for (int i = 0; i < polyCache.length; i++) { polyCache[i] = new Polygon(); } } static glpoly_t create(int numverts) { Polygon poly = polyCache[polyCount++]; poly.clear(); poly.numverts = numverts; poly.pos = bufferIndex; bufferIndex += numverts; return poly; } static void reset() { polyCount = 0; bufferIndex = 0; } static FloatBuffer getInterleavedBuffer() { return (FloatBuffer) buffer.rewind(); } private Polygon() { } private final void clear() { next = null; chain = null; numverts = 0; flags = 0; } // the interleaved buffer has the format: // textureCoord0 (index 0, 1) // vertex (index 2, 3, 4) // textureCoord1 (index 5, 6) public final float s1(int index) { return buffer.get(offset(index)); } public final void s1(int index, float value) { buffer.put(offset(index), value); } public final float t1(int index) { return buffer.get(offset(index) + 1); } public final void t1(int index, float value) { buffer.put(offset(index) + 1, value); } public final float x(int index) { return buffer.get(offset(index) + 2); } public final void x(int index, float value) { buffer.put(offset(index) + 2, value); } public final float y(int index) { return buffer.get(offset(index) + 3); } public final void y(int index, float value) { buffer.put(offset(index) + 3, value); } public final float z(int index) { return buffer.get(offset(index) + 4); } public final void z(int index, float value) { buffer.put(offset(index) + 4, value); } public final float s2(int index) { return buffer.get(offset(index) + 5); } public final void s2(int index, float value) { buffer.put(offset(index) + 5, value); } public final float t2(int index) { return buffer.get(offset(index) + 6); } public final void t2(int index, float value) { buffer.put(offset(index) + 6, value); } public final void beginScrolling(float scroll) { int index = pos * STRIDE; for (int i = 0; i < numverts; i++, index += STRIDE) { scroll += s1_old[i] = buffer.get(index); buffer.put(index, scroll); } } public final void endScrolling() { int index = pos * STRIDE; for (int i = 0; i < numverts; i++, index += STRIDE) { buffer.put(index, s1_old[i]); } } private final int offset(int index) { return (index + pos) * STRIDE; } } --- NEW FILE: Warp.java --- /* * Warp.java * Copyright (C) 2003 * * $Id$ */ /* Copyright (C) 1997-2001 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render.fastj; import jake2.Defines; import jake2.Globals; import jake2.qcommon.Com; import jake2.render.*; import jake2.util.Math3D; import jake2.util.Vec3Cache; /** * Warp * * @author cwei */ public abstract class Warp extends Model { // warpsin.h public static final float[] SIN = { 0f, 0.19633f, 0.392541f, 0.588517f, 0.784137f, 0.979285f, 1.17384f, 1.3677f, 1.56072f, 1.75281f, 1.94384f, 2.1337f, 2.32228f, 2.50945f, 2.69512f, 2.87916f, 3.06147f, 3.24193f, 3.42044f, 3.59689f, 3.77117f, 3.94319f, 4.11282f, 4.27998f, 4.44456f, 4.60647f, 4.76559f, 4.92185f, 5.07515f, 5.22538f, 5.37247f, 5.51632f, 5.65685f, 5.79398f, 5.92761f, 6.05767f, 6.18408f, 6.30677f, 6.42566f, 6.54068f, 6.65176f, 6.75883f, 6.86183f, 6.9607f, 7.05537f, 7.14579f, 7.23191f, 7.31368f, 7.39104f, 7.46394f, 7.53235f, 7.59623f, 7.65552f, 7.71021f, 7.76025f, 7.80562f, 7.84628f, 7.88222f, 7.91341f, 7.93984f, 7.96148f, 7.97832f, 7.99036f, 7.99759f, 8f, 7.99759f, 7.99036f, 7.97832f, 7.96148f, 7.93984f, 7.91341f, 7.88222f, 7.84628f, 7.80562f, 7.76025f, 7.71021f, 7.65552f, 7.59623f, 7.53235f, 7.46394f, 7.39104f, 7.31368f, 7.23191f, 7.14579f, 7.05537f, 6.9607f, 6.86183f, 6.75883f, 6.65176f, 6.54068f, 6.42566f, 6.30677f, 6.18408f, 6.05767f, 5.92761f, 5.79398f, 5.65685f, 5.51632f, 5.37247f, 5.22538f, 5.07515f, 4.92185f, 4.76559f, 4.60647f, 4.44456f, 4.27998f, 4.11282f, 3.94319f, 3.77117f, 3.59689f, 3.42044f, 3.24193f, 3.06147f, 2.87916f, 2.69512f, 2.50945f, 2.32228f, 2.1337f, 1.94384f, 1.75281f, 1.56072f, 1.3677f, 1.17384f, 0.979285f, 0.784137f, 0.588517f, 0.392541f, 0.19633f, 9.79717e-16f, -0.19633f, -0.392541f, -0.588517f, -0.784137f, -0.979285f, -1.17384f, -1.3677f, -1.56072f, -1.75281f, -1.94384f, -2.1337f, -2.32228f, -2.50945f, -2.69512f, -2.87916f, -3.06147f, -3.24193f, -3.42044f, -3.59689f, -3.77117f, -3.94319f, -4.11282f, -4.27998f, -4.44456f, -4.60647f, -4.76559f, -4.92185f, -5.07515f, -5.22538f, -5.37247f, -5.51632f, -5.65685f, -5.79398f, -5.92761f, -6.05767f, -6.18408f, -6.30677f, -6.42566f, -6.54068f, -6.65176f, -6.75883f, -6.86183f, -6.9607f, -7.05537f, -7.14579f, -7.23191f, -7.31368f, -7.39104f, -7.46394f, -7.53235f, -7.59623f, -7.65552f, -7.71021f, -7.76025f, -7.80562f, -7.84628f, -7.88222f, -7.91341f, -7.93984f, -7.96148f, -7.97832f, -7.99036f, -7.99759f, -8f, -7.99759f, -7.99036f, -7.97832f, -7.96148f, -7.93984f, -7.91341f, -7.88222f, -7.84628f, -7.80562f, -7.76025f, -7.71021f, -7.65552f, -7.59623f, -7.53235f, -7.46394f, -7.39104f, -7.31368f, -7.23191f, -7.14579f, -7.05537f, -6.9607f, -6.86183f, -6.75883f, -6.65176f, -6.54068f, -6.42566f, -6.30677f, -6.18408f, -6.05767f, -5.92761f, -5.79398f, -5.65685f, -5.51632f, -5.37247f, -5.22538f, -5.07515f, -4.92185f, -4.76559f, -4.60647f, -4.44456f, -4.27998f, -4.11282f, -3.94319f, -3.77117f, -3.59689f, -3.42044f, -3.24193f, -3.06147f, -2.87916f, -2.69512f, -2.50945f, -2.32228f, -2.1337f, -1.94384f, -1.75281f, -1.56072f, -1.3677f, -1.17384f, -0.979285f, -0.784137f, -0.588517f, -0.392541f, -0.19633f }; // gl_warp.c -- sky and water polygons //extern model_t *loadmodel; // Model.java String skyname; float skyrotate; float[] skyaxis = { 0, 0, 0 }; image_t[] sky_images = new image_t[6]; msurface_t warpface; static final int SUBDIVIDE_SIZE = 64; void BoundPoly(int numverts, float[][] verts, float[] mins, float[] maxs) { int i, j; float[] v; mins[0] = mins[1] = mins[2] = 9999; maxs[0] = maxs[1] = maxs[2] = -9999; for (i = 0;... [truncated message content] |
From: Carsten W. <ca...@us...> - 2006-10-07 20:01:46
|
Update of /cvsroot/jake2/jake2/src/jake2/render/fastj In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv26206/src/jake2/render/fastj Log Message: Directory /cvsroot/jake2/jake2/src/jake2/render/fastj added to the repository --> Using per-directory sticky tag `render-refactoring' |
From: Carsten W. <ca...@us...> - 2006-10-07 19:59:27
|
Update of /cvsroot/jake2/jake2/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25371/.settings Modified Files: Tag: render-refactoring org.eclipse.jdt.ui.prefs org.eclipse.jdt.core.prefs Log Message: changed compiler settings and eclipse code style warnings Index: org.eclipse.jdt.core.prefs =================================================================== RCS file: /cvsroot/jake2/jake2/.settings/Attic/org.eclipse.jdt.core.prefs,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** org.eclipse.jdt.core.prefs 10 Jul 2005 17:47:29 -0000 1.1.2.1 --- org.eclipse.jdt.core.prefs 7 Oct 2006 19:59:24 -0000 1.1.2.2 *************** *** 1,3 **** ! #Sat Jul 09 19:19:31 CEST 2005 eclipse.preferences.version=1 org.eclipse.jdt.core.builder.cleanOutputFolder=clean --- 1,3 ---- ! #Wed Nov 16 20:04:38 CET 2005 eclipse.preferences.version=1 org.eclipse.jdt.core.builder.cleanOutputFolder=clean *************** *** 9,13 **** org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 ! org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.debug.lineNumber=generate --- 9,13 ---- org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 ! org.eclipse.jdt.core.compiler.codegen.unusedLocal=optimize out org.eclipse.jdt.core.compiler.compliance=1.5 org.eclipse.jdt.core.compiler.debug.lineNumber=generate *************** *** 26,30 **** org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning ! org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private --- 26,30 ---- org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning ! org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private Index: org.eclipse.jdt.ui.prefs =================================================================== RCS file: /cvsroot/jake2/jake2/.settings/Attic/org.eclipse.jdt.ui.prefs,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** org.eclipse.jdt.ui.prefs 10 Jul 2005 17:47:29 -0000 1.1.2.1 --- org.eclipse.jdt.ui.prefs 7 Oct 2006 19:59:24 -0000 1.1.2.2 *************** *** 1,3 **** ! #Thu Jun 30 01:35:22 CEST 2005 eclipse.preferences.version=1 formatter_settings_version=8 --- 1,3 ---- ! #Wed Nov 16 20:04:38 CET 2005 eclipse.preferences.version=1 formatter_settings_version=8 |
From: Carsten W. <ca...@us...> - 2006-10-07 19:57:37
|
Update of /cvsroot/jake2/jake2 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24613 Modified Files: Tag: render-refactoring .classpath Log Message: add the jsr231/jogl.jar to classpath Index: .classpath =================================================================== RCS file: /cvsroot/jake2/jake2/.classpath,v retrieving revision 1.6 retrieving revision 1.6.8.1 diff -C2 -d -r1.6 -r1.6.8.1 *** .classpath 14 Dec 2004 00:58:12 -0000 1.6 --- .classpath 7 Oct 2006 19:57:34 -0000 1.6.8.1 *************** *** 7,14 **** <classpathentry kind="lib" path="lib/joal/linux/joal.jar"/> <classpathentry kind="lib" path="lib/joal/windows/joal.jar"/> - <classpathentry kind="lib" path="lib/jogl/jogl.jar"/> <classpathentry kind="lib" path="resources"/> <classpathentry kind="lib" path="lib/lwjgl/lwjgl_util.jar"/> <classpathentry kind="lib" path="lib/lwjgl/lwjgl.jar"/> <classpathentry kind="output" path="build"/> </classpath> --- 7,15 ---- <classpathentry kind="lib" path="lib/joal/linux/joal.jar"/> <classpathentry kind="lib" path="lib/joal/windows/joal.jar"/> <classpathentry kind="lib" path="resources"/> <classpathentry kind="lib" path="lib/lwjgl/lwjgl_util.jar"/> <classpathentry kind="lib" path="lib/lwjgl/lwjgl.jar"/> + <classpathentry kind="lib" path="lib/jogl/jogl.jar"/> + <classpathentry kind="lib" path="lib/jsr231/jogl.jar"/> <classpathentry kind="output" path="build"/> </classpath> |
From: Carsten W. <ca...@us...> - 2006-10-07 19:56:01
|
Update of /cvsroot/jake2/jake2/lib/jsr231/linux In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22332/lib/jsr231/linux Modified Files: Tag: render-refactoring libjogl.so libjogl_awt.so libjogl_cg.so Added Files: Tag: render-refactoring libjogl_drihack.so Log Message: jsr231 1.0.0 libs (alias jogl) Index: libjogl.so =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/linux/Attic/libjogl.so,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvsFBkBZs and /tmp/cvsGjp5RM differ Index: libjogl_cg.so =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/linux/Attic/libjogl_cg.so,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvsHoW6mA and /tmp/cvs0l5ktU differ Index: libjogl_awt.so =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/linux/Attic/libjogl_awt.so,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 Binary files /tmp/cvsrcbpvB and /tmp/cvs8YxvFV differ --- NEW FILE: libjogl_drihack.so --- (This appears to be a binary file; contents omitted.) |
From: Carsten W. <ca...@us...> - 2006-10-07 19:56:01
|
Update of /cvsroot/jake2/jake2/lib/jsr231 In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22332/lib/jsr231 Modified Files: Tag: render-refactoring jogl.jar Log Message: jsr231 1.0.0 libs (alias jogl) Index: jogl.jar =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/Attic/jogl.jar,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvsCFonZJ and /tmp/cvsc2ZPt4 differ |
From: Carsten W. <ca...@us...> - 2006-10-07 19:56:00
|
Update of /cvsroot/jake2/jake2/lib/jsr231/osx In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22332/lib/jsr231/osx Added Files: Tag: render-refactoring libjogl_awt.jnilib libjogl.jnilib libjogl_cg.jnilib Log Message: jsr231 1.0.0 libs (alias jogl) --- NEW FILE: libjogl.jnilib --- (This appears to be a binary file; contents omitted.) --- NEW FILE: libjogl_awt.jnilib --- (This appears to be a binary file; contents omitted.) --- NEW FILE: libjogl_cg.jnilib --- (This appears to be a binary file; contents omitted.) |
From: Carsten W. <ca...@us...> - 2006-10-07 19:56:00
|
Update of /cvsroot/jake2/jake2/lib/jsr231/windows In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22332/lib/jsr231/windows Modified Files: Tag: render-refactoring jogl_cg.dll jogl_awt.dll jogl.dll Log Message: jsr231 1.0.0 libs (alias jogl) Index: jogl_awt.dll =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/windows/Attic/jogl_awt.dll,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 Binary files /tmp/cvsCD90KP and /tmp/cvsL2LSj8 differ Index: jogl_cg.dll =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/windows/Attic/jogl_cg.dll,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvsmLAtSO and /tmp/cvsn3vlu7 differ Index: jogl.dll =================================================================== RCS file: /cvsroot/jake2/jake2/lib/jsr231/windows/Attic/jogl.dll,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 Binary files /tmp/cvsyp4M5Q and /tmp/cvs4qd4N9 differ |
From: Carsten W. <ca...@us...> - 2006-10-07 19:51:19
|
Update of /cvsroot/jake2/jake2/lib/jsr231/osx In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22323/lib/jsr231/osx Log Message: Directory /cvsroot/jake2/jake2/lib/jsr231/osx added to the repository --> Using per-directory sticky tag `render-refactoring' |
From: Carsten W. <ca...@us...> - 2006-10-07 19:50:00
|
Update of /cvsroot/jake2/jake2/scripts In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv21548/scripts Modified Files: Tag: render-refactoring Jake2_mac.sh Log Message: add a second library path Index: Jake2_mac.sh =================================================================== RCS file: /cvsroot/jake2/jake2/scripts/Jake2_mac.sh,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -C2 -d -r1.2 -r1.2.4.1 *** Jake2_mac.sh 26 May 2005 16:56:31 -0000 1.2 --- Jake2_mac.sh 7 Oct 2006 19:49:56 -0000 1.2.4.1 *************** *** 2,5 **** --- 2,6 ---- export LD_LIBRARY_PATH=lib/osx + export DYLD_LIBRARY_PATH=lib/osx CP=lib/jake2.jar:lib/jogl.jar:lib/linux/joal.jar |
From: Carsten W. <ca...@us...> - 2006-10-07 19:47:05
|
Update of /cvsroot/jake2/jake2/test/jake2/render In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20414/test/jake2/render Added Files: Tag: render-refactoring CommonGL.java Log Message: only for testing --- NEW FILE: CommonGL.java --- package jake2.render; import java.nio.*; public interface CommonGL { /* AccumOp */ public static final int GL_ACCUM = 0x0100; public static final int GL_LOAD = 0x0101; public static final int GL_RETURN = 0x0102; public static final int GL_MULT = 0x0103; public static final int GL_ADD = 0x0104; /* AlphaFunction */ public static final int GL_NEVER = 0x0200; public static final int GL_LESS = 0x0201; public static final int GL_EQUAL = 0x0202; public static final int GL_LEQUAL = 0x0203; public static final int GL_GREATER = 0x0204; public static final int GL_NOTEQUAL = 0x0205; public static final int GL_GEQUAL = 0x0206; public static final int GL_ALWAYS = 0x0207; /* AttribMask */ public static final int GL_CURRENT_BIT = 0x00000001; public static final int GL_POINT_BIT = 0x00000002; public static final int GL_LINE_BIT = 0x00000004; public static final int GL_POLYGON_BIT = 0x00000008; public static final int GL_POLYGON_STIPPLE_BIT = 0x00000010; public static final int GL_PIXEL_MODE_BIT = 0x00000020; public static final int GL_LIGHTING_BIT = 0x00000040; public static final int GL_FOG_BIT = 0x00000080; public static final int GL_DEPTH_BUFFER_BIT = 0x00000100; public static final int GL_ACCUM_BUFFER_BIT = 0x00000200; public static final int GL_STENCIL_BUFFER_BIT = 0x00000400; public static final int GL_VIEWPORT_BIT = 0x00000800; public static final int GL_TRANSFORM_BIT = 0x00001000; public static final int GL_ENABLE_BIT = 0x00002000; public static final int GL_COLOR_BUFFER_BIT = 0x00004000; public static final int GL_HINT_BIT = 0x00008000; public static final int GL_EVAL_BIT = 0x00010000; public static final int GL_LIST_BIT = 0x00020000; public static final int GL_TEXTURE_BIT = 0x00040000; public static final int GL_SCISSOR_BIT = 0x00080000; public static final int GL_ALL_ATTRIB_BITS = 0x000fffff; /* BeginMode */ public static final int GL_POINTS = 0x0000; public static final int GL_LINES = 0x0001; public static final int GL_LINE_LOOP = 0x0002; public static final int GL_LINE_STRIP = 0x0003; public static final int GL_TRIANGLES = 0x0004; public static final int GL_TRIANGLE_STRIP = 0x0005; public static final int GL_TRIANGLE_FAN = 0x0006; public static final int GL_QUADS = 0x0007; public static final int GL_QUAD_STRIP = 0x0008; public static final int GL_POLYGON = 0x0009; /* BlendingFactorDest */ public static final int GL_ZERO = 0; public static final int GL_ONE = 1; public static final int GL_SRC_COLOR = 0x0300; public static final int GL_ONE_MINUS_SRC_COLOR = 0x0301; public static final int GL_SRC_ALPHA = 0x0302; public static final int GL_ONE_MINUS_SRC_ALPHA = 0x0303; public static final int GL_DST_ALPHA = 0x0304; public static final int GL_ONE_MINUS_DST_ALPHA = 0x0305; /* BlendingFactorSrc */ /* GL_ZERO */ /* GL_ONE */ public static final int GL_DST_COLOR = 0x0306; public static final int GL_ONE_MINUS_DST_COLOR = 0x0307; public static final int GL_SRC_ALPHA_SATURATE = 0x0308; public static final int GL_CONSTANT_COLOR = 0x8001; public static final int GL_ONE_MINUS_CONSTANT_COLOR = 0x8002; public static final int GL_CONSTANT_ALPHA = 0x8003; public static final int GL_ONE_MINUS_CONSTANT_ALPHA = 0x8004; /* Boolean */ public static final int GL_TRUE = 1; public static final int GL_FALSE = 0; /* ClipPlaneName */ public static final int GL_CLIP_PLANE0 = 0x3000; public static final int GL_CLIP_PLANE1 = 0x3001; public static final int GL_CLIP_PLANE2 = 0x3002; public static final int GL_CLIP_PLANE3 = 0x3003; public static final int GL_CLIP_PLANE4 = 0x3004; public static final int GL_CLIP_PLANE5 = 0x3005; /* DataType */ public static final int GL_BYTE = 0x1400; public static final int GL_UNSIGNED_BYTE = 0x1401; public static final int GL_SHORT = 0x1402; public static final int GL_UNSIGNED_SHORT = 0x1403; public static final int GL_INT = 0x1404; public static final int GL_UNSIGNED_INT = 0x1405; public static final int GL_FLOAT = 0x1406; public static final int GL_2_BYTES = 0x1407; public static final int GL_3_BYTES = 0x1408; public static final int GL_4_BYTES = 0x1409; public static final int GL_DOUBLE = 0x140A; /* DrawBufferMode */ public static final int GL_NONE = 0; public static final int GL_FRONT_LEFT = 0x0400; public static final int GL_FRONT_RIGHT = 0x0401; public static final int GL_BACK_LEFT = 0x0402; public static final int GL_BACK_RIGHT = 0x0403; public static final int GL_FRONT = 0x0404; public static final int GL_BACK = 0x0405; public static final int GL_LEFT = 0x0406; public static final int GL_RIGHT = 0x0407; public static final int GL_FRONT_AND_BACK = 0x0408; public static final int GL_AUX0 = 0x0409; public static final int GL_AUX1 = 0x040A; public static final int GL_AUX2 = 0x040B; public static final int GL_AUX3 = 0x040C; /* ErrorCode */ public static final int GL_NO_ERROR = 0; public static final int GL_INVALID_ENUM = 0x0500; public static final int GL_INVALID_VALUE = 0x0501; public static final int GL_INVALID_OPERATION = 0x0502; public static final int GL_STACK_OVERFLOW = 0x0503; public static final int GL_STACK_UNDERFLOW = 0x0504; public static final int GL_OUT_OF_MEMORY = 0x0505; /* FeedBackMode */ public static final int GL_2D = 0x0600; public static final int GL_3D = 0x0601; public static final int GL_3D_COLOR = 0x0602; public static final int GL_3D_COLOR_TEXTURE = 0x0603; public static final int GL_4D_COLOR_TEXTURE = 0x0604; /* FeedBackToken */ public static final int GL_PASS_THROUGH_TOKEN = 0x0700; public static final int GL_POINT_TOKEN = 0x0701; public static final int GL_LINE_TOKEN = 0x0702; public static final int GL_POLYGON_TOKEN = 0x0703; public static final int GL_BITMAP_TOKEN = 0x0704; public static final int GL_DRAW_PIXEL_TOKEN = 0x0705; public static final int GL_COPY_PIXEL_TOKEN = 0x0706; public static final int GL_LINE_RESET_TOKEN = 0x0707; /* FogMode */ /* GL_LINEAR */ public static final int GL_EXP = 0x0800; public static final int GL_EXP2 = 0x0801; /* FrontFaceDirection */ public static final int GL_CW = 0x0900; public static final int GL_CCW = 0x0901; /* GetMapTarget */ public static final int GL_COEFF = 0x0A00; public static final int GL_ORDER = 0x0A01; public static final int GL_DOMAIN = 0x0A02; /* GetTarget */ public static final int GL_CURRENT_COLOR = 0x0B00; public static final int GL_CURRENT_INDEX = 0x0B01; public static final int GL_CURRENT_NORMAL = 0x0B02; public static final int GL_CURRENT_TEXTURE_COORDS = 0x0B03; public static final int GL_CURRENT_RASTER_COLOR = 0x0B04; public static final int GL_CURRENT_RASTER_INDEX = 0x0B05; public static final int GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06; public static final int GL_CURRENT_RASTER_POSITION = 0x0B07; public static final int GL_CURRENT_RASTER_POSITION_VALID = 0x0B08; public static final int GL_CURRENT_RASTER_DISTANCE = 0x0B09; public static final int GL_POINT_SMOOTH = 0x0B10; public static final int GL_POINT_SIZE = 0x0B11; public static final int GL_POINT_SIZE_RANGE = 0x0B12; public static final int GL_POINT_SIZE_GRANULARITY = 0x0B13; public static final int GL_LINE_SMOOTH = 0x0B20; public static final int GL_LINE_WIDTH = 0x0B21; public static final int GL_LINE_WIDTH_RANGE = 0x0B22; public static final int GL_LINE_WIDTH_GRANULARITY = 0x0B23; public static final int GL_LINE_STIPPLE = 0x0B24; public static final int GL_LINE_STIPPLE_PATTERN = 0x0B25; public static final int GL_LINE_STIPPLE_REPEAT = 0x0B26; public static final int GL_LIST_MODE = 0x0B30; public static final int GL_MAX_LIST_NESTING = 0x0B31; public static final int GL_LIST_BASE = 0x0B32; public static final int GL_LIST_INDEX = 0x0B33; public static final int GL_POLYGON_MODE = 0x0B40; public static final int GL_POLYGON_SMOOTH = 0x0B41; public static final int GL_POLYGON_STIPPLE = 0x0B42; public static final int GL_EDGE_FLAG = 0x0B43; public static final int GL_CULL_FACE = 0x0B44; public static final int GL_CULL_FACE_MODE = 0x0B45; public static final int GL_FRONT_FACE = 0x0B46; public static final int GL_LIGHTING = 0x0B50; public static final int GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51; public static final int GL_LIGHT_MODEL_TWO_SIDE = 0x0B52; public static final int GL_LIGHT_MODEL_AMBIENT = 0x0B53; public static final int GL_SHADE_MODEL = 0x0B54; public static final int GL_COLOR_MATERIAL_FACE = 0x0B55; public static final int GL_COLOR_MATERIAL_PARAMETER = 0x0B56; public static final int GL_COLOR_MATERIAL = 0x0B57; public static final int GL_FOG = 0x0B60; public static final int GL_FOG_INDEX = 0x0B61; public static final int GL_FOG_DENSITY = 0x0B62; public static final int GL_FOG_START = 0x0B63; public static final int GL_FOG_END = 0x0B64; public static final int GL_FOG_MODE = 0x0B65; public static final int GL_FOG_COLOR = 0x0B66; public static final int GL_DEPTH_RANGE = 0x0B70; public static final int GL_DEPTH_TEST = 0x0B71; public static final int GL_DEPTH_WRITEMASK = 0x0B72; public static final int GL_DEPTH_CLEAR_VALUE = 0x0B73; public static final int GL_DEPTH_FUNC = 0x0B74; public static final int GL_ACCUM_CLEAR_VALUE = 0x0B80; public static final int GL_STENCIL_TEST = 0x0B90; public static final int GL_STENCIL_CLEAR_VALUE = 0x0B91; public static final int GL_STENCIL_FUNC = 0x0B92; public static final int GL_STENCIL_VALUE_MASK = 0x0B93; public static final int GL_STENCIL_FAIL = 0x0B94; public static final int GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95; public static final int GL_STENCIL_PASS_DEPTH_PASS = 0x0B96; public static final int GL_STENCIL_REF = 0x0B97; public static final int GL_STENCIL_WRITEMASK = 0x0B98; public static final int GL_MATRIX_MODE = 0x0BA0; public static final int GL_NORMALIZE = 0x0BA1; public static final int GL_VIEWPORT = 0x0BA2; public static final int GL_MODELVIEW_STACK_DEPTH = 0x0BA3; public static final int GL_PROJECTION_STACK_DEPTH = 0x0BA4; public static final int GL_TEXTURE_STACK_DEPTH = 0x0BA5; public static final int GL_MODELVIEW_MATRIX = 0x0BA6; public static final int GL_PROJECTION_MATRIX = 0x0BA7; public static final int GL_TEXTURE_MATRIX = 0x0BA8; public static final int GL_ATTRIB_STACK_DEPTH = 0x0BB0; public static final int GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1; public static final int GL_ALPHA_TEST = 0x0BC0; public static final int GL_ALPHA_TEST_FUNC = 0x0BC1; public static final int GL_ALPHA_TEST_REF = 0x0BC2; public static final int GL_DITHER = 0x0BD0; public static final int GL_BLEND_DST = 0x0BE0; public static final int GL_BLEND_SRC = 0x0BE1; public static final int GL_BLEND = 0x0BE2; public static final int GL_LOGIC_OP_MODE = 0x0BF0; public static final int GL_INDEX_LOGIC_OP = 0x0BF1; public static final int GL_COLOR_LOGIC_OP = 0x0BF2; public static final int GL_AUX_BUFFERS = 0x0C00; public static final int GL_DRAW_BUFFER = 0x0C01; public static final int GL_READ_BUFFER = 0x0C02; public static final int GL_SCISSOR_BOX = 0x0C10; public static final int GL_SCISSOR_TEST = 0x0C11; public static final int GL_INDEX_CLEAR_VALUE = 0x0C20; public static final int GL_INDEX_WRITEMASK = 0x0C21; public static final int GL_COLOR_CLEAR_VALUE = 0x0C22; public static final int GL_COLOR_WRITEMASK = 0x0C23; public static final int GL_INDEX_MODE = 0x0C30; public static final int GL_RGBA_MODE = 0x0C31; public static final int GL_DOUBLEBUFFER = 0x0C32; public static final int GL_STEREO = 0x0C33; public static final int GL_RENDER_MODE = 0x0C40; public static final int GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50; public static final int GL_POINT_SMOOTH_HINT = 0x0C51; public static final int GL_LINE_SMOOTH_HINT = 0x0C52; public static final int GL_POLYGON_SMOOTH_HINT = 0x0C53; public static final int GL_FOG_HINT = 0x0C54; public static final int GL_TEXTURE_GEN_S = 0x0C60; public static final int GL_TEXTURE_GEN_T = 0x0C61; public static final int GL_TEXTURE_GEN_R = 0x0C62; public static final int GL_TEXTURE_GEN_Q = 0x0C63; public static final int GL_PIXEL_MAP_I_TO_I = 0x0C70; public static final int GL_PIXEL_MAP_S_TO_S = 0x0C71; public static final int GL_PIXEL_MAP_I_TO_R = 0x0C72; public static final int GL_PIXEL_MAP_I_TO_G = 0x0C73; public static final int GL_PIXEL_MAP_I_TO_B = 0x0C74; public static final int GL_PIXEL_MAP_I_TO_A = 0x0C75; public static final int GL_PIXEL_MAP_R_TO_R = 0x0C76; public static final int GL_PIXEL_MAP_G_TO_G = 0x0C77; public static final int GL_PIXEL_MAP_B_TO_B = 0x0C78; public static final int GL_PIXEL_MAP_A_TO_A = 0x0C79; public static final int GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0; public static final int GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1; public static final int GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2; public static final int GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3; public static final int GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4; public static final int GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5; public static final int GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6; public static final int GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7; public static final int GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8; public static final int GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9; public static final int GL_UNPACK_SWAP_BYTES = 0x0CF0; public static final int GL_UNPACK_LSB_FIRST = 0x0CF1; public static final int GL_UNPACK_ROW_LENGTH = 0x0CF2; public static final int GL_UNPACK_SKIP_ROWS = 0x0CF3; public static final int GL_UNPACK_SKIP_PIXELS = 0x0CF4; public static final int GL_UNPACK_ALIGNMENT = 0x0CF5; public static final int GL_PACK_SWAP_BYTES = 0x0D00; public static final int GL_PACK_LSB_FIRST = 0x0D01; public static final int GL_PACK_ROW_LENGTH = 0x0D02; public static final int GL_PACK_SKIP_ROWS = 0x0D03; public static final int GL_PACK_SKIP_PIXELS = 0x0D04; public static final int GL_PACK_ALIGNMENT = 0x0D05; public static final int GL_MAP_COLOR = 0x0D10; public static final int GL_MAP_STENCIL = 0x0D11; public static final int GL_INDEX_SHIFT = 0x0D12; public static final int GL_INDEX_OFFSET = 0x0D13; public static final int GL_RED_SCALE = 0x0D14; public static final int GL_RED_BIAS = 0x0D15; public static final int GL_ZOOM_X = 0x0D16; public static final int GL_ZOOM_Y = 0x0D17; public static final int GL_GREEN_SCALE = 0x0D18; public static final int GL_GREEN_BIAS = 0x0D19; public static final int GL_BLUE_SCALE = 0x0D1A; public static final int GL_BLUE_BIAS = 0x0D1B; public static final int GL_ALPHA_SCALE = 0x0D1C; public static final int GL_ALPHA_BIAS = 0x0D1D; public static final int GL_DEPTH_SCALE = 0x0D1E; public static final int GL_DEPTH_BIAS = 0x0D1F; public static final int GL_MAX_EVAL_ORDER = 0x0D30; public static final int GL_MAX_LIGHTS = 0x0D31; public static final int GL_MAX_CLIP_PLANES = 0x0D32; public static final int GL_MAX_TEXTURE_SIZE = 0x0D33; public static final int GL_MAX_PIXEL_MAP_TABLE = 0x0D34; public static final int GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35; public static final int GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36; public static final int GL_MAX_NAME_STACK_DEPTH = 0x0D37; public static final int GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38; public static final int GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39; public static final int GL_MAX_VIEWPORT_DIMS = 0x0D3A; public static final int GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B; public static final int GL_SUBPIXEL_BITS = 0x0D50; public static final int GL_INDEX_BITS = 0x0D51; public static final int GL_RED_BITS = 0x0D52; public static final int GL_GREEN_BITS = 0x0D53; public static final int GL_BLUE_BITS = 0x0D54; public static final int GL_ALPHA_BITS = 0x0D55; public static final int GL_DEPTH_BITS = 0x0D56; public static final int GL_STENCIL_BITS = 0x0D57; public static final int GL_ACCUM_RED_BITS = 0x0D58; public static final int GL_ACCUM_GREEN_BITS = 0x0D59; public static final int GL_ACCUM_BLUE_BITS = 0x0D5A; public static final int GL_ACCUM_ALPHA_BITS = 0x0D5B; public static final int GL_NAME_STACK_DEPTH = 0x0D70; public static final int GL_AUTO_NORMAL = 0x0D80; public static final int GL_MAP1_COLOR_4 = 0x0D90; public static final int GL_MAP1_INDEX = 0x0D91; public static final int GL_MAP1_NORMAL = 0x0D92; public static final int GL_MAP1_TEXTURE_COORD_1 = 0x0D93; public static final int GL_MAP1_TEXTURE_COORD_2 = 0x0D94; public static final int GL_MAP1_TEXTURE_COORD_3 = 0x0D95; public static final int GL_MAP1_TEXTURE_COORD_4 = 0x0D96; public static final int GL_MAP1_VERTEX_3 = 0x0D97; public static final int GL_MAP1_VERTEX_4 = 0x0D98; public static final int GL_MAP2_COLOR_4 = 0x0DB0; public static final int GL_MAP2_INDEX = 0x0DB1; public static final int GL_MAP2_NORMAL = 0x0DB2; public static final int GL_MAP2_TEXTURE_COORD_1 = 0x0DB3; public static final int GL_MAP2_TEXTURE_COORD_2 = 0x0DB4; public static final int GL_MAP2_TEXTURE_COORD_3 = 0x0DB5; public static final int GL_MAP2_TEXTURE_COORD_4 = 0x0DB6; public static final int GL_MAP2_VERTEX_3 = 0x0DB7; public static final int GL_MAP2_VERTEX_4 = 0x0DB8; public static final int GL_MAP1_GRID_DOMAIN = 0x0DD0; public static final int GL_MAP1_GRID_SEGMENTS = 0x0DD1; public static final int GL_MAP2_GRID_DOMAIN = 0x0DD2; public static final int GL_MAP2_GRID_SEGMENTS = 0x0DD3; public static final int GL_TEXTURE_1D = 0x0DE0; public static final int GL_TEXTURE_2D = 0x0DE1; public static final int GL_FEEDBACK_BUFFER_POINTER = 0x0DF0; public static final int GL_FEEDBACK_BUFFER_SIZE = 0x0DF1; public static final int GL_FEEDBACK_BUFFER_TYPE = 0x0DF2; public static final int GL_SELECTION_BUFFER_POINTER = 0x0DF3; public static final int GL_SELECTION_BUFFER_SIZE = 0x0DF4; /* GetTextureParameter */ /* GL_TEXTURE_MAG_FILTER */ /* GL_TEXTURE_MIN_FILTER */ /* GL_TEXTURE_WRAP_S */ /* GL_TEXTURE_WRAP_T */ public static final int GL_TEXTURE_WIDTH = 0x1000; public static final int GL_TEXTURE_HEIGHT = 0x1001; public static final int GL_TEXTURE_INTERNAL_FORMAT = 0x1003; public static final int GL_TEXTURE_BORDER_COLOR = 0x1004; public static final int GL_TEXTURE_BORDER = 0x1005; /* GL_TEXTURE_RED_SIZE */ /* GL_TEXTURE_GREEN_SIZE */ /* GL_TEXTURE_BLUE_SIZE */ /* GL_TEXTURE_ALPHA_SIZE */ /* GL_TEXTURE_LUMINANCE_SIZE */ /* GL_TEXTURE_INTENSITY_SIZE */ /* GL_TEXTURE_PRIORITY */ /* GL_TEXTURE_RESIDENT */ /* HintMode */ public static final int GL_DONT_CARE = 0x1100; public static final int GL_FASTEST = 0x1101; public static final int GL_NICEST = 0x1102; /* LightName */ public static final int GL_LIGHT0 = 0x4000; public static final int GL_LIGHT1 = 0x4001; public static final int GL_LIGHT2 = 0x4002; public static final int GL_LIGHT3 = 0x4003; public static final int GL_LIGHT4 = 0x4004; public static final int GL_LIGHT5 = 0x4005; public static final int GL_LIGHT6 = 0x4006; public static final int GL_LIGHT7 = 0x4007; /* LightParameter */ public static final int GL_AMBIENT = 0x1200; public static final int GL_DIFFUSE = 0x1201; public static final int GL_SPECULAR = 0x1202; public static final int GL_POSITION = 0x1203; public static final int GL_SPOT_DIRECTION = 0x1204; public static final int GL_SPOT_EXPONENT = 0x1205; public static final int GL_SPOT_CUTOFF = 0x1206; public static final int GL_CONSTANT_ATTENUATION = 0x1207; public static final int GL_LINEAR_ATTENUATION = 0x1208; public static final int GL_QUADRATIC_ATTENUATION = 0x1209; /* ListMode */ public static final int GL_COMPILE = 0x1300; public static final int GL_COMPILE_AND_EXECUTE = 0x1301; /* LogicOp */ public static final int GL_CLEAR = 0x1500; public static final int GL_AND = 0x1501; public static final int GL_AND_REVERSE = 0x1502; public static final int GL_COPY = 0x1503; public static final int GL_AND_INVERTED = 0x1504; public static final int GL_NOOP = 0x1505; public static final int GL_XOR = 0x1506; public static final int GL_OR = 0x1507; public static final int GL_NOR = 0x1508; public static final int GL_EQUIV = 0x1509; public static final int GL_INVERT = 0x150A; public static final int GL_OR_REVERSE = 0x150B; public static final int GL_COPY_INVERTED = 0x150C; public static final int GL_OR_INVERTED = 0x150D; public static final int GL_NAND = 0x150E; public static final int GL_SET = 0x150F; /* MaterialParameter */ public static final int GL_EMISSION = 0x1600; public static final int GL_SHININESS = 0x1601; public static final int GL_AMBIENT_AND_DIFFUSE = 0x1602; public static final int GL_COLOR_INDEXES = 0x1603; /* GL_AMBIENT */ /* GL_DIFFUSE */ /* GL_SPECULAR */ /* MatrixMode */ public static final int GL_MODELVIEW = 0x1700; public static final int GL_PROJECTION = 0x1701; public static final int GL_TEXTURE = 0x1702; /* PixelCopyType */ public static final int GL_COLOR = 0x1800; public static final int GL_DEPTH = 0x1801; public static final int GL_STENCIL = 0x1802; /* PixelFormat */ public static final int GL_COLOR_INDEX = 0x1900; public static final int GL_STENCIL_INDEX = 0x1901; public static final int GL_DEPTH_COMPONENT = 0x1902; public static final int GL_RED = 0x1903; public static final int GL_GREEN = 0x1904; public static final int GL_BLUE = 0x1905; public static final int GL_ALPHA = 0x1906; public static final int GL_RGB = 0x1907; public static final int GL_RGBA = 0x1908; public static final int GL_LUMINANCE = 0x1909; public static final int GL_LUMINANCE_ALPHA = 0x190A; /* PixelType */ public static final int GL_BITMAP = 0x1A00; /* GL_BYTE */ /* GL_UNSIGNED_BYTE */ /* GL_SHORT */ /* GL_UNSIGNED_SHORT */ /* GL_INT */ /* GL_UNSIGNED_INT */ /* GL_FLOAT */ /* PolygonMode */ public static final int GL_POINT = 0x1B00; public static final int GL_LINE = 0x1B01; public static final int GL_FILL = 0x1B02; /* RenderingMode */ public static final int GL_RENDER = 0x1C00; public static final int GL_FEEDBACK = 0x1C01; public static final int GL_SELECT = 0x1C02; /* ShadingModel */ public static final int GL_FLAT = 0x1D00; public static final int GL_SMOOTH = 0x1D01; /* StencilOp */ /* GL_ZERO */ public static final int GL_KEEP = 0x1E00; public static final int GL_REPLACE = 0x1E01; public static final int GL_INCR = 0x1E02; public static final int GL_DECR = 0x1E03; /* GL_INVERT */ /* StringName */ public static final int GL_VENDOR = 0x1F00; public static final int GL_RENDERER = 0x1F01; public static final int GL_VERSION = 0x1F02; public static final int GL_EXTENSIONS = 0x1F03; /* TextureCoordName */ public static final int GL_S = 0x2000; public static final int GL_T = 0x2001; public static final int GL_R = 0x2002; public static final int GL_Q = 0x2003; /* TexCoordPointerType */ /* GL_SHORT */ /* GL_INT */ /* GL_FLOAT */ /* GL_DOUBLE */ /* TextureEnvMode */ public static final int GL_MODULATE = 0x2100; public static final int GL_DECAL = 0x2101; /* GL_BLEND */ /* GL_REPLACE */ /* TextureEnvParameter */ public static final int GL_TEXTURE_ENV_MODE = 0x2200; public static final int GL_TEXTURE_ENV_COLOR = 0x2201; /* TextureEnvTarget */ public static final int GL_TEXTURE_ENV = 0x2300; /* TextureGenMode */ public static final int GL_EYE_LINEAR = 0x2400; public static final int GL_OBJECT_LINEAR = 0x2401; public static final int GL_SPHERE_MAP = 0x2402; /* TextureGenParameter */ public static final int GL_TEXTURE_GEN_MODE = 0x2500; public static final int GL_OBJECT_PLANE = 0x2501; public static final int GL_EYE_PLANE = 0x2502; /* TextureMagFilter */ public static final int GL_NEAREST = 0x2600; public static final int GL_LINEAR = 0x2601; /* TextureMinFilter */ /* GL_NEAREST */ /* GL_LINEAR */ public static final int GL_NEAREST_MIPMAP_NEAREST = 0x2700; public static final int GL_LINEAR_MIPMAP_NEAREST = 0x2701; public static final int GL_NEAREST_MIPMAP_LINEAR = 0x2702; public static final int GL_LINEAR_MIPMAP_LINEAR = 0x2703; /* TextureParameterName */ public static final int GL_TEXTURE_MAG_FILTER = 0x2800; public static final int GL_TEXTURE_MIN_FILTER = 0x2801; public static final int GL_TEXTURE_WRAP_S = 0x2802; public static final int GL_TEXTURE_WRAP_T = 0x2803; /* GL_TEXTURE_BORDER_COLOR */ /* GL_TEXTURE_PRIORITY */ /* TextureWrapMode */ public static final int GL_CLAMP = 0x2900; public static final int GL_REPEAT = 0x2901; /* ClientAttribMask */ public static final int GL_CLIENT_PIXEL_STORE_BIT = 0x00000001; public static final int GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002; public static final int GL_ALL_CLIENT_ATTRIB_BITS = 0xffffffff; /* polygon_offset */ public static final int GL_POLYGON_OFFSET_FACTOR = 0x8038; public static final int GL_POLYGON_OFFSET_UNITS = 0x2A00; public static final int GL_POLYGON_OFFSET_POINT = 0x2A01; public static final int GL_POLYGON_OFFSET_LINE = 0x2A02; public static final int GL_POLYGON_OFFSET_FILL = 0x8037; /* texture */ public static final int GL_ALPHA4 = 0x803B; public static final int GL_ALPHA8 = 0x803C; public static final int GL_ALPHA12 = 0x803D; public static final int GL_ALPHA16 = 0x803E; public static final int GL_LUMINANCE4 = 0x803F; public static final int GL_LUMINANCE8 = 0x8040; public static final int GL_LUMINANCE12 = 0x8041; public static final int GL_LUMINANCE16 = 0x8042; public static final int GL_LUMINANCE4_ALPHA4 = 0x8043; public static final int GL_LUMINANCE6_ALPHA2 = 0x8044; public static final int GL_LUMINANCE8_ALPHA8 = 0x8045; public static final int GL_LUMINANCE12_ALPHA4 = 0x8046; public static final int GL_LUMINANCE12_ALPHA12 = 0x8047; public static final int GL_LUMINANCE16_ALPHA16 = 0x8048; public static final int GL_INTENSITY = 0x8049; public static final int GL_INTENSITY4 = 0x804A; public static final int GL_INTENSITY8 = 0x804B; public static final int GL_INTENSITY12 = 0x804C; public static final int GL_INTENSITY16 = 0x804D; public static final int GL_R3_G3_B2 = 0x2A10; public static final int GL_RGB4 = 0x804F; public static final int GL_RGB5 = 0x8050; public static final int GL_RGB8 = 0x8051; public static final int GL_RGB10 = 0x8052; public static final int GL_RGB12 = 0x8053; public static final int GL_RGB16 = 0x8054; public static final int GL_RGBA2 = 0x8055; public static final int GL_RGBA4 = 0x8056; public static final int GL_RGB5_A1 = 0x8057; public static final int GL_RGBA8 = 0x8058; public static final int GL_RGB10_A2 = 0x8059; public static final int GL_RGBA12 = 0x805A; public static final int GL_RGBA16 = 0x805B; public static final int GL_TEXTURE_RED_SIZE = 0x805C; public static final int GL_TEXTURE_GREEN_SIZE = 0x805D; public static final int GL_TEXTURE_BLUE_SIZE = 0x805E; public static final int GL_TEXTURE_ALPHA_SIZE = 0x805F; public static final int GL_TEXTURE_LUMINANCE_SIZE = 0x8060; public static final int GL_TEXTURE_INTENSITY_SIZE = 0x8061; public static final int GL_PROXY_TEXTURE_1D = 0x8063; public static final int GL_PROXY_TEXTURE_2D = 0x8064; /* texture_object */ public static final int GL_TEXTURE_PRIORITY = 0x8066; public static final int GL_TEXTURE_RESIDENT = 0x8067; public static final int GL_TEXTURE_BINDING_1D = 0x8068; public static final int GL_TEXTURE_BINDING_2D = 0x8069; /* vertex_array */ public static final int GL_VERTEX_ARRAY = 0x8074; public static final int GL_NORMAL_ARRAY = 0x8075; public static final int GL_COLOR_ARRAY = 0x8076; public static final int GL_INDEX_ARRAY = 0x8077; public static final int GL_TEXTURE_COORD_ARRAY = 0x8078; public static final int GL_EDGE_FLAG_ARRAY = 0x8079; public static final int GL_VERTEX_ARRAY_SIZE = 0x807A; public static final int GL_VERTEX_ARRAY_TYPE = 0x807B; public static final int GL_VERTEX_ARRAY_STRIDE = 0x807C; public static final int GL_NORMAL_ARRAY_TYPE = 0x807E; public static final int GL_NORMAL_ARRAY_STRIDE = 0x807F; public static final int GL_COLOR_ARRAY_SIZE = 0x8081; public static final int GL_COLOR_ARRAY_TYPE = 0x8082; public static final int GL_COLOR_ARRAY_STRIDE = 0x8083; public static final int GL_INDEX_ARRAY_TYPE = 0x8085; public static final int GL_INDEX_ARRAY_STRIDE = 0x8086; public static final int GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088; public static final int GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089; public static final int GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A; public static final int GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C; public static final int GL_VERTEX_ARRAY_POINTER = 0x808E; public static final int GL_NORMAL_ARRAY_POINTER = 0x808F; public static final int GL_COLOR_ARRAY_POINTER = 0x8090; public static final int GL_INDEX_ARRAY_POINTER = 0x8091; public static final int GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092; public static final int GL_EDGE_FLAG_ARRAY_POINTER = 0x8093; public static final int GL_V2F = 0x2A20; public static final int GL_V3F = 0x2A21; public static final int GL_C4UB_V2F = 0x2A22; public static final int GL_C4UB_V3F = 0x2A23; public static final int GL_C3F_V3F = 0x2A24; public static final int GL_N3F_V3F = 0x2A25; public static final int GL_C4F_N3F_V3F = 0x2A26; public static final int GL_T2F_V3F = 0x2A27; public static final int GL_T4F_V4F = 0x2A28; public static final int GL_T2F_C4UB_V3F = 0x2A29; public static final int GL_T2F_C3F_V3F = 0x2A2A; public static final int GL_T2F_N3F_V3F = 0x2A2B; public static final int GL_T2F_C4F_N3F_V3F = 0x2A2C; public static final int GL_T4F_C4F_N3F_V4F = 0x2A2D; public static final int GL_SHARED_TEXTURE_PALETTE_EXT = 0x81FB; /* * sub set of OpenGL functions for Jake2 */ // void glAlphaFunc(int func, float ref); // // void glBegin(int mode); // // void glBindTexture(int target, int texture); // // void glBlendFunc(int sfactor, int dfactor); // // void glClear(int mask); // // void glClearColor(float red, float green, float blue, float alpha); // // void glColor3f(float red, float green, float blue); // // void glColor3ub(byte red, byte green, byte blue); // // void glColor4f(float red, float green, float blue, float alpha); // // void glColor4ub(byte red, byte green, byte blue, byte alpha); // // void glColorPointer(int size, boolean unsigned, int stride, // ByteBuffer pointer); // // void glColorPointer(int size, int stride, FloatBuffer pointer); // // void glCullFace(int mode); // // void glDeleteTextures(IntBuffer textures); // // void glDepthFunc(int func); // // void glDepthMask(boolean flag); // // void glDepthRange(double zNear, double zFar); // // void glDisable(int cap); // // void glDisableClientState(int cap); // // void glDrawArrays(int mode, int first, int count); // // void glDrawBuffer(int mode); // // void glDrawElements(int mode, IntBuffer indices); // // void glEnable(int cap); // // void glEnableClientState(int cap); // // void glEnd(); // // void glFinish(); // // void glFlush(); // // void glFrustum(double left, double right, double bottom, double top, // double zNear, double zFar); // // int glGetError(); // // void glGetFloat(int pname, FloatBuffer params); // // String glGetString(int name); // // void glInterleavedArrays(int format, int stride, FloatBuffer pointer); // // void glLoadIdentity(); // // void glLoadMatrix(FloatBuffer m); // // void glMatrixMode(int mode); // // void glOrtho(double left, double right, double bottom, double top, // double zNear, double zFar); // // void glPixelStorei(int pname, int param); // // void glPointSize(float size); // // void glPolygonMode(int face, int mode); // // void glPopMatrix(); // // void glPushMatrix(); // // void glReadPixels(int x, int y, int width, int height, int format, // int type, ByteBuffer pixels); // // void glRotatef(float angle, float x, float y, float z); // // void glScalef(float x, float y, float z); // // void glScissor(int x, int y, int width, int height); // // void glShadeModel(int mode); // // void glTexCoord2f(float s, float t); // // void glTexCoordPointer(int size, int stride, FloatBuffer pointer); // // void glTexEnvi(int target, int pname, int param); // // void glTexImage2D(int target, int level, int internalformat, int width, // int height, int border, int format, int type, ByteBuffer pixels); // // void glTexImage2D(int target, int level, int internalformat, int width, // int height, int border, int format, int type, IntBuffer pixels); // // void glTexParameterf(int target, int pname, float param); // // void glTexParameteri(int target, int pname, int param); // // void glTexSubImage2D(int target, int level, int xoffset, int yoffset, // int width, int height, int format, int type, IntBuffer pixels); // // void glTranslatef(float x, float y, float z); // // void glVertex2f(float x, float y); // // void glVertex3f(float x, float y, float z); // // void glVertexPointer(int size, int stride, FloatBuffer pointer); // // void glViewport(int x, int y, int width, int height); // // void glColorTable(int target, int internalFormat, int width, int format, // int type, ByteBuffer data); // // void glActiveTextureARB(int texture); // // void glClientActiveTextureARB(int texture); // // void glPointParameterEXT(int pname, FloatBuffer pfParams); // // void glPointParameterfEXT(int pname, float param); } |
From: Rene S. <sa...@us...> - 2006-08-20 21:47:40
|
Update of /cvsroot/jake2/jake2/src/jake2/render In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv769/src/jake2/render Modified Files: mmodel_t.java Log Message: cosmetic Index: mmodel_t.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/render/mmodel_t.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** mmodel_t.java 7 Jul 2004 19:59:35 -0000 1.1.1.1 --- mmodel_t.java 20 Aug 2006 21:47:36 -0000 1.2 *************** *** 26,30 **** public class mmodel_t { ! public float[] mins = { 0, 0, 0 }, maxs = { 0, 0, 0 }; public float[] origin = { 0, 0, 0 }; // for sounds or lights public float radius; --- 26,31 ---- public class mmodel_t { ! public float[] mins = { 0, 0, 0 }; ! public float[] maxs = { 0, 0, 0 }; public float[] origin = { 0, 0, 0 }; // for sounds or lights public float radius; |
From: Rene S. <sa...@us...> - 2006-08-20 21:46:45
|
Update of /cvsroot/jake2/jake2/src/jake2/util In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv353/src/jake2/util Modified Files: Vec3Cache.java Log Message: cosmetic Index: Vec3Cache.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/util/Vec3Cache.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Vec3Cache.java 16 Jan 2005 15:16:44 -0000 1.1 --- Vec3Cache.java 20 Aug 2006 21:46:40 -0000 1.2 *************** *** 15,19 **** public final class Vec3Cache { - //private static Stack cache = new Stack(); private static final float[][] cache = new float[64][3]; private static int index = 0; --- 15,18 ---- |
From: Rene S. <sa...@us...> - 2006-08-20 21:46:13
|
Update of /cvsroot/jake2/jake2/src/jake2/qcommon In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv32765/src/jake2/qcommon Modified Files: Qcommon.java Log Message: bugfix Index: Qcommon.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/qcommon/Qcommon.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Qcommon.java 13 Feb 2006 10:05:55 -0000 1.22 --- Qcommon.java 20 Aug 2006 21:46:07 -0000 1.23 *************** *** 256,260 **** } catch (longjmpException e) { ! Com.DPrintf("lonjmp exception:" + e); } } --- 256,260 ---- } catch (longjmpException e) { ! Com.DPrintf("longjmp exception:" + e); } } |
From: Holger Z. <hz...@us...> - 2006-05-08 14:00:10
|
Update of /cvsroot/jake2/jake2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3146 Modified Files: Tag: r_0_9_5 ChangeLog Log Message: release date Index: ChangeLog =================================================================== RCS file: /cvsroot/jake2/jake2/ChangeLog,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** ChangeLog 13 Feb 2006 10:09:23 -0000 1.9 --- ChangeLog 8 May 2006 14:00:02 -0000 1.9.2.1 *************** *** 1,3 **** ! 0.9.5 - quake video (cinematics) support including sound streaming --- 1,3 ---- ! 0.9.5 2006-05-08 - quake video (cinematics) support including sound streaming |
From: Holger Z. <hz...@us...> - 2006-05-08 13:57:56
|
Update of /cvsroot/jake2/jake2/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1761/scripts Modified Files: Tag: r_0_9_5 Jake2_dedicated.sh Log Message: Index: Jake2_dedicated.sh =================================================================== RCS file: /cvsroot/jake2/jake2/scripts/Attic/Jake2_dedicated.sh,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** Jake2_dedicated.sh 13 Feb 2006 10:55:32 -0000 1.1.2.1 --- Jake2_dedicated.sh 8 May 2006 13:57:48 -0000 1.1.2.2 *************** *** 5,7 **** CP=lib/jake2.jar ! exec java -Xmx64M -cp $CP jake2.Jake2 --- 5,7 ---- CP=lib/jake2.jar ! exec java -Xmx64M -cp $CP jake2.Jake2 +set dedicated 1 |
From: Carsten W. <ca...@us...> - 2006-04-09 17:15:52
|
Update of /cvsroot/jake2/jake2/webstart In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19533/webstart Removed Files: Tag: r_0_9_5 jake2_jogl11ATI.jnlp Log Message: unused. --- jake2_jogl11ATI.jnlp DELETED --- |
From: Carsten W. <ca...@us...> - 2006-04-09 17:06:07
|
Update of /cvsroot/jake2/jake2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13621 Modified Files: Tag: r_0_9_5 README_DE README Log Message: switch to 0.9.5 and latin1 encoding Index: README =================================================================== RCS file: /cvsroot/jake2/jake2/README,v retrieving revision 1.9.4.1 retrieving revision 1.9.4.2 diff -C2 -d -r1.9.4.1 -r1.9.4.2 *** README 13 Feb 2006 10:55:30 -0000 1.9.4.1 --- README 9 Apr 2006 17:05:54 -0000 1.9.4.2 *************** *** 7,11 **** The port was done completely in Java. No native libraries are used for the game functionality. We use the jogl Java OpenGL bindings for graphics rendering ! and Java OpenAL (joal) for sound. The 0.9.4 release comes with an lwjgl driver as an alternative for the jogl/joal combination. --- 7,11 ---- The port was done completely in Java. No native libraries are used for the game functionality. We use the jogl Java OpenGL bindings for graphics rendering ! and Java OpenAL (joal) for sound. Since 0.9.4 release, Jake2 comes with an lwjgl driver as an alternative for the jogl/joal combination. *************** *** 26,30 **** from binary distribution: ! - run the installer with "java -jar Jake2-0.9.4-install.jar" - follow the instructions - change to the installation directory --- 26,30 ---- from binary distribution: ! - run the installer with "java -jar Jake2-0.9.5-install.jar" - follow the instructions - change to the installation directory Index: README_DE =================================================================== RCS file: /cvsroot/jake2/jake2/README_DE,v retrieving revision 1.8.4.1 retrieving revision 1.8.4.2 diff -C2 -d -r1.8.4.1 -r1.8.4.2 *** README_DE 13 Feb 2006 10:55:30 -0000 1.8.4.1 --- README_DE 9 Apr 2006 17:05:54 -0000 1.8.4.2 *************** *** 29,33 **** ausgehend von der Binärdistribution: ! - Installationsprogramm mit "java -jar Jake2-0.9.4-install.jar" starten - den Anweisungen folgen - ins Installationsverzeichnis wechseln --- 29,33 ---- ausgehend von der Binärdistribution: ! - Installationsprogramm mit "java -jar Jake2-0.9.5-install.jar" starten - den Anweisungen folgen - ins Installationsverzeichnis wechseln |
From: Carsten W. <ca...@us...> - 2006-04-06 13:15:24
|
Update of /cvsroot/jake2/jake2/src/jake2/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24659/src/jake2/client Modified Files: Tag: r_0_9_5 Menu.java Log Message: real names of bytonic members Index: Menu.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/client/Menu.java,v retrieving revision 1.20 retrieving revision 1.20.2.1 diff -C2 -d -r1.20 -r1.20.2.1 *** Menu.java 3 Dec 2005 19:47:36 -0000 1.20 --- Menu.java 6 Apr 2006 13:14:59 -0000 1.20.2.1 *************** *** 1714,1718 **** static String idcredits[] = { "+QUAKE II BY ID SOFTWARE", "", "+PROGRAMMING", "John Carmack", "John Cash", "Brian Hook", "", ! "+JAVA PORT BY BYTONIC", "CWEI", "HOZ", "RST", "", "+ART", "Adrian Carmack", "Kevin Cloud", "Paul Steed", "", "+LEVEL DESIGN", "Tim Willits", "American McGee", "Christian Antkow", --- 1714,1718 ---- static String idcredits[] = { "+QUAKE II BY ID SOFTWARE", "", "+PROGRAMMING", "John Carmack", "John Cash", "Brian Hook", "", ! "+JAVA PORT BY BYTONIC", "Carsten Weisse", "Holger Zickner", "Rene Stoeckel", "", "+ART", "Adrian Carmack", "Kevin Cloud", "Paul Steed", "", "+LEVEL DESIGN", "Tim Willits", "American McGee", "Christian Antkow", |
From: Holger Z. <hz...@us...> - 2006-02-13 10:55:42
|
Update of /cvsroot/jake2/jake2/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1536/scripts Modified Files: Tag: r_0_9_5 Jake2_lwjgl.bat Jake2.bat Added Files: Tag: r_0_9_5 Jake2_dedicated.bat Jake2_dedicated.sh Log Message: 0.9.5 release preparation Index: Jake2_lwjgl.bat =================================================================== RCS file: /cvsroot/jake2/jake2/scripts/Jake2_lwjgl.bat,v retrieving revision 1.2 retrieving revision 1.2.6.1 diff -C2 -d -r1.2 -r1.2.6.1 *** Jake2_lwjgl.bat 26 May 2005 16:56:31 -0000 1.2 --- Jake2_lwjgl.bat 13 Feb 2006 10:55:32 -0000 1.2.6.1 *************** *** 2,4 **** SET PATH=lib\windows;%PATH% SET CP=lib/jake2.jar;lib/lwjgl.jar;lib/lwjgl_util.jar ! java -Xmx100M -Dsun.java2d.noddraw=true -Djava.library.path=lib/windows -cp %CP% jake2.Jake2 \ No newline at end of file --- 2,4 ---- SET PATH=lib\windows;%PATH% SET CP=lib/jake2.jar;lib/lwjgl.jar;lib/lwjgl_util.jar ! start javaw -Xmx100M -Dsun.java2d.noddraw=true -Djava.library.path=lib/windows -cp %CP% jake2.Jake2 \ No newline at end of file --- NEW FILE: Jake2_dedicated.bat --- @echo off SET CP=lib/jake2.jar java -Xmx64M -cp %CP% jake2.Jake2 +set dedicated 1 --- NEW FILE: Jake2_dedicated.sh --- #!/bin/bash cd `dirname $0` CP=lib/jake2.jar exec java -Xmx64M -cp $CP jake2.Jake2 Index: Jake2.bat =================================================================== RCS file: /cvsroot/jake2/jake2/scripts/Jake2.bat,v retrieving revision 1.5 retrieving revision 1.5.6.1 diff -C2 -d -r1.5 -r1.5.6.1 *** Jake2.bat 26 May 2005 16:56:32 -0000 1.5 --- Jake2.bat 13 Feb 2006 10:55:32 -0000 1.5.6.1 *************** *** 2,4 **** SET PATH=lib\windows;%PATH% SET CP=lib/jake2.jar;lib/jogl.jar;lib/windows/joal.jar ! java -Xmx100M -Dsun.java2d.noddraw=true -Djava.library.path=lib/windows -cp %CP% jake2.Jake2 \ No newline at end of file --- 2,4 ---- SET PATH=lib\windows;%PATH% SET CP=lib/jake2.jar;lib/jogl.jar;lib/windows/joal.jar ! start javaw -Xmx100M -Dsun.java2d.noddraw=true -Djava.library.path=lib/windows -cp %CP% jake2.Jake2 \ No newline at end of file |
From: Holger Z. <hz...@us...> - 2006-02-13 10:55:42
|
Update of /cvsroot/jake2/jake2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1536 Modified Files: Tag: r_0_9_5 build.xml install.xml README .classpath README_DE Log Message: 0.9.5 release preparation Index: README =================================================================== RCS file: /cvsroot/jake2/jake2/README,v retrieving revision 1.9 retrieving revision 1.9.4.1 diff -C2 -d -r1.9 -r1.9.4.1 *** README 1 Jul 2005 14:24:45 -0000 1.9 --- README 13 Feb 2006 10:55:30 -0000 1.9.4.1 *************** *** 13,17 **** ja...@by.... ! Currently Jake2 supports Linux, Windows2000/XP and Mac OS X. requirements: --- 13,18 ---- ja...@by.... ! Currently Jake2 supports Linux, Windows2000/XP and Mac OS X. The Jake2 dedicated ! server runs on every Java supported plattform. requirements: *************** *** 62,66 **** ant build tool http://ant.apache.org xerces XML library http://xml.apache.org - proguard obfuscator http://proguard.sourceforge.net Use <ja...@by...> for bug reports and feedback. --- 63,66 ---- Index: .classpath =================================================================== RCS file: /cvsroot/jake2/jake2/.classpath,v retrieving revision 1.6 retrieving revision 1.6.10.1 diff -C2 -d -r1.6 -r1.6.10.1 *** .classpath 14 Dec 2004 00:58:12 -0000 1.6 --- .classpath 13 Feb 2006 10:55:30 -0000 1.6.10.1 *************** *** 2,6 **** <classpath> <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="test"/> <classpathentry kind="src" path="patch"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> --- 2,5 ---- Index: build.xml =================================================================== RCS file: /cvsroot/jake2/jake2/build.xml,v retrieving revision 1.28 retrieving revision 1.28.2.1 diff -C2 -d -r1.28 -r1.28.2.1 *** build.xml 18 Nov 2005 07:28:45 -0000 1.28 --- build.xml 13 Feb 2006 10:55:29 -0000 1.28.2.1 *************** *** 2,17 **** <project name="jake2" default="usage" basedir="."> - <taskdef name="proguard" classname="proguard.ant.ProGuardTask"> - <classpath> - <pathelement location="lib/proguard/proguard.jar"/> - </classpath> - </taskdef> - - <taskdef name="izpack" classpath="lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/> <!-- properties --> ! <property name="version" value="cvs"/> <property name="src" location="src"/> <property name="patch" location="patch"/> --- 2,10 ---- <project name="jake2" default="usage" basedir="."> <taskdef name="izpack" classpath="lib/izpack/standalone-compiler.jar" classname="com.izforge.izpack.ant.IzPackTask"/> <!-- properties --> ! <property name="version" value="0.9.5"/> <property name="src" location="src"/> <property name="patch" location="patch"/> *************** *** 119,123 **** <include name="LICENSE"/> <include name="README"/> ! <include name="readme.id"/> </fileset> </copy> --- 112,116 ---- <include name="LICENSE"/> <include name="README"/> ! <include name="readme.id"/> </fileset> </copy> *************** *** 148,161 **** <os name="Mac OS X"/> </condition> - <!-- proguard printseeds="on" printusage="off" outjar="${dist}/lib/jake2.jar" - defaultpackage="" overloadaggressively="off" printmapping="jake2.map"> - <injar name="jake2.jar"/> - <libraryjar name="lib/jogl/jogl.jar"/> - <libraryjar name="lib/joal/linux/joal.jar"/> - <libraryjar name="${classes}"/> - <keep access="public" name="jake2.Jake2"> - <method name="main(java.lang.String[])"/> - </keep> - </proguard --> </target> --- 141,144 ---- *************** *** 205,208 **** --- 188,192 ---- <include name="install.xml"/> <include name="readme.id"/> + <include name="Jake2_Eclipse_Setup.txt"/> </tarfileset> </tar> *************** *** 221,225 **** <include name="README*"/> <include name="install.xml"/> ! <include name="readme.id"/> </zipfileset> </zip> --- 205,210 ---- <include name="README*"/> <include name="install.xml"/> ! <include name="readme.id"/> ! <include name="Jake2_Eclipse_Setup.txt"/> </zipfileset> </zip> Index: README_DE =================================================================== RCS file: /cvsroot/jake2/jake2/README_DE,v retrieving revision 1.8 retrieving revision 1.8.4.1 diff -C2 -d -r1.8 -r1.8.4.1 *** README_DE 1 Jul 2005 14:24:45 -0000 1.8 --- README_DE 13 Feb 2006 10:55:30 -0000 1.8.4.1 *************** *** 16,22 **** Bugreports und Rückmeldungen ist ja...@by.... ! Jake2 wird von uns unter Linux und Windows2000/XP getestet. Wir haben Feedback, ! dass Jake2 mit den richtigen plattformspezifischen jogl Bibliotheken auch auf ! Mac OS X läuft. Mindestanforderungen: --- 16,21 ---- Bugreports und Rückmeldungen ist ja...@by.... ! Jake2 läuft unter Linux, Windows2000/XP sowie Mac OS X. Als reiner Server ohne ! grafische Oberfläche läuft Jake2 auf jeder Plattform mit JRE1.4. Mindestanforderungen: *************** *** 68,72 **** ant build tool http://ant.apache.org xerces XML library http://xml.apache.org - proguard obfuscator http://proguard.sourceforge.net <ja...@by...> für Bugreports und Rückmeldungen. --- 67,70 ---- Index: install.xml =================================================================== RCS file: /cvsroot/jake2/jake2/install.xml,v retrieving revision 1.5 retrieving revision 1.5.6.1 diff -C2 -d -r1.5 -r1.5.6.1 *** install.xml 26 May 2005 16:56:31 -0000 1.5 --- install.xml 13 Feb 2006 10:55:30 -0000 1.5.6.1 *************** *** 6,10 **** <info> <appname>Jake2</appname> ! <appversion>cvs</appversion> <authors> <author name="Bytonic Software" email="ja...@by..."/> --- 6,10 ---- <info> <appname>Jake2</appname> ! <appversion>0.9.5</appversion> <authors> <author name="Bytonic Software" email="ja...@by..."/> |
From: Holger Z. <hz...@us...> - 2006-02-13 10:55:42
|
Update of /cvsroot/jake2/jake2/lib/proguard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1536/lib/proguard Removed Files: Tag: r_0_9_5 proguard.jar Log Message: 0.9.5 release preparation --- proguard.jar DELETED --- |
From: Holger Z. <hz...@us...> - 2006-02-13 10:55:41
|
Update of /cvsroot/jake2/jake2/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1536/test Removed Files: Tag: r_0_9_5 ConvertDefines.java AdapterRegister.java Unpack.java Log Message: 0.9.5 release preparation --- ConvertDefines.java DELETED --- --- AdapterRegister.java DELETED --- --- Unpack.java DELETED --- |
From: Holger Z. <hz...@us...> - 2006-02-13 10:55:41
|
Update of /cvsroot/jake2/jake2/src/jake2/sound/jsound In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1536/src/jake2/sound/jsound Removed Files: Tag: r_0_9_5 SND_JAVA.java JSoundImpl.java SND_DMA.java SND_MIX.java Log Message: 0.9.5 release preparation --- SND_MIX.java DELETED --- --- SND_DMA.java DELETED --- --- JSoundImpl.java DELETED --- --- SND_JAVA.java DELETED --- |