John Tsiombikas [Thu, 14 Nov 2019 11:15:58 +0000 (13:15 +0200)]
setmode, crtc, list of standard modes
John Tsiombikas [Thu, 14 Nov 2019 02:00:03 +0000 (04:00 +0200)]
more vbe
John Tsiombikas [Tue, 12 Nov 2019 11:09:31 +0000 (13:09 +0200)]
start writing new VBE routines
John Tsiombikas [Tue, 12 Nov 2019 00:58:39 +0000 (02:58 +0200)]
dos backend partial rewrite starting with DPMI
John Tsiombikas [Wed, 4 Sep 2019 12:00:18 +0000 (15:00 +0300)]
backported g3d changes:
- rasterizer selection controled by enable bits
- polygon blending
- g3d_pixel typedef (uint16_t here)
John Tsiombikas [Wed, 4 Sep 2019 09:38:01 +0000 (12:38 +0300)]
foo
John Tsiombikas [Fri, 22 Feb 2019 22:06:06 +0000 (00:06 +0200)]
wtf did I write there?
John Tsiombikas [Mon, 10 Dec 2018 17:51:42 +0000 (19:51 +0200)]
fixed all the makefiles to build with the new libanim
John Tsiombikas [Mon, 10 Dec 2018 17:42:58 +0000 (19:42 +0200)]
added libanim, and moved gph-cmath into libs/cgmath
John Tsiombikas [Tue, 4 Dec 2018 04:36:23 +0000 (06:36 +0200)]
- fixed watcom build
- added gph-cmath C math library
- dropping oldmik, don't bother with music for watcom builds. final
build will be djgpp anyway.
John Tsiombikas [Tue, 4 Dec 2018 03:51:07 +0000 (05:51 +0200)]
added treestore and started a bit on the tilesets for the maze parts
John Tsiombikas [Sat, 1 Dec 2018 05:54:15 +0000 (07:54 +0200)]
theoretically added texture matrices. untested.
John Tsiombikas [Sat, 15 Sep 2018 17:15:17 +0000 (20:15 +0300)]
fixed bug introduced by the last bugfix
John Tsiombikas [Sat, 15 Sep 2018 16:32:52 +0000 (19:32 +0300)]
fixed overdlow when calculating winding of large polygons in the
rasterizert
John Tsiombikas [Wed, 12 Sep 2018 16:34:01 +0000 (19:34 +0300)]
fixed hairball update and drawing
John Tsiombikas [Tue, 11 Sep 2018 18:07:17 +0000 (21:07 +0300)]
added spaceball on linux
John Tsiombikas [Mon, 10 Sep 2018 16:18:35 +0000 (19:18 +0300)]
framerate limiter in hairball
John Tsiombikas [Mon, 10 Sep 2018 15:44:12 +0000 (18:44 +0300)]
hairball screen
John Tsiombikas [Sat, 8 Sep 2018 03:40:38 +0000 (06:40 +0300)]
backported fixes from rtxon
John Tsiombikas [Thu, 30 Aug 2018 06:04:46 +0000 (09:04 +0300)]
backported from rtxon: check_clip_poly (needed for new BSP code)
also commented out the BSP drawing in polytest for now.
John Tsiombikas [Thu, 30 Aug 2018 06:01:30 +0000 (09:01 +0300)]
backported fixes from rtxon: BSP tree construction and mouse handling
John Tsiombikas [Sat, 25 Aug 2018 04:51:11 +0000 (07:51 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Sat, 25 Aug 2018 04:49:57 +0000 (07:49 +0300)]
fixed bug in meshload. it would always expect it's loading obj files with quads.
John Tsiombikas [Sun, 25 Mar 2018 22:08:06 +0000 (01:08 +0300)]
starting tile-maze
John Tsiombikas [Sun, 25 Mar 2018 19:02:45 +0000 (22:02 +0300)]
separated the smoke-text effect to reuse it in multiple parts if
necessary
John Tsiombikas [Thu, 22 Mar 2018 22:35:45 +0000 (00:35 +0200)]
need reorganization
John Tsiombikas [Thu, 22 Mar 2018 18:25:19 +0000 (20:25 +0200)]
more pipes
John Tsiombikas [Thu, 22 Mar 2018 16:18:20 +0000 (18:18 +0200)]
procedural generator for the steam tunnels part
John Tsiombikas [Wed, 21 Feb 2018 04:01:17 +0000 (06:01 +0200)]
switching polytest between zsorting and BSP for performance testing
with 'b'
John Tsiombikas [Mon, 19 Feb 2018 22:41:22 +0000 (00:41 +0200)]
fixed warnings
John Tsiombikas [Mon, 19 Feb 2018 18:26:07 +0000 (20:26 +0200)]
simplified clip_poly and clip_frustum slightly
John Tsiombikas [Mon, 19 Feb 2018 10:06:32 +0000 (12:06 +0200)]
forgot to implement mouse calls for djgpp. moved it to mouse.asm
John Tsiombikas [Mon, 19 Feb 2018 08:01:12 +0000 (10:01 +0200)]
major bsp bugs fixed
John Tsiombikas [Mon, 19 Feb 2018 02:29:26 +0000 (04:29 +0200)]
I need to go deeper
John Tsiombikas [Mon, 19 Feb 2018 01:33:35 +0000 (03:33 +0200)]
added OpenGL debug/test program
John Tsiombikas [Sun, 18 Feb 2018 20:03:44 +0000 (22:03 +0200)]
debugging the BSP
John Tsiombikas [Sun, 18 Feb 2018 19:18:48 +0000 (21:18 +0200)]
bsp construction doesn't crash any more
John Tsiombikas [Sun, 18 Feb 2018 16:54:25 +0000 (18:54 +0200)]
BSP construction debugging
John Tsiombikas [Sun, 18 Feb 2018 06:59:33 +0000 (08:59 +0200)]
started BSP tree
John Tsiombikas [Sat, 17 Feb 2018 16:55:18 +0000 (18:55 +0200)]
added specular offset parameters in gen_phong_tex
John Tsiombikas [Sat, 17 Feb 2018 08:08:42 +0000 (10:08 +0200)]
envmap, fake phong texture generation, and more
John Tsiombikas [Sat, 17 Feb 2018 01:13:07 +0000 (03:13 +0200)]
writing obj loader
John Tsiombikas [Thu, 15 Feb 2018 05:02:47 +0000 (07:02 +0200)]
removed redundant immediate mode draw_cube from infcubes
John Tsiombikas [Thu, 15 Feb 2018 05:01:36 +0000 (07:01 +0200)]
- moved image rgb24->rgb16 conversion to gfxutil
- ugly infcubes textures
John Tsiombikas [Thu, 15 Feb 2018 04:30:14 +0000 (06:30 +0200)]
- added mesh operations: apply_mesh_xform, append_mesh, indexify_mesh (untested), gen_plane_mesh, gen_cube_mesh.
John Tsiombikas [Wed, 14 Feb 2018 05:35:58 +0000 (07:35 +0200)]
- separated mesh algorithms in mesh.h/mesh.c
- fixed backface culling precision issue
- fixed leftover old prototypes for g3d_color* functions
- added debug breakpoint in util and made the demo break when pressing
delete.
- fugly textured cube in infcubes part
John Tsiombikas [Tue, 13 Feb 2018 18:47:25 +0000 (20:47 +0200)]
starting infcubes part
John Tsiombikas [Tue, 13 Feb 2018 18:43:02 +0000 (20:43 +0200)]
- added immediate mode drawing in 3dgfx
- changed fullscreen toggle in SDL backend to alt-enter
John Tsiombikas [Mon, 12 Feb 2018 04:54:39 +0000 (06:54 +0200)]
- added optimization notes in readme
- added cpuid instruction for serializing/flushing cpu state before
taking rdtsc measurements
- moved perf variables to util.c to silence watcom warnings
John Tsiombikas [Sun, 11 Feb 2018 08:05:49 +0000 (10:05 +0200)]
added perf_start/perf_end assembly macros
John Tsiombikas [Sat, 10 Feb 2018 19:56:45 +0000 (21:56 +0200)]
attempt to use new mikmod for djgpp build
John Tsiombikas [Sat, 10 Feb 2018 19:10:26 +0000 (21:10 +0200)]
- added rules for building asm code in the gcc makefiles
- fixed missing parenthesis in PACK_RGB16
John Tsiombikas [Sat, 10 Feb 2018 12:04:24 +0000 (14:04 +0200)]
- added blur in gfxutil
- fixed 3dgfx to use the framebuffer set by g3d_framebuffer
- trying a variant of the greets effect with a frame by frame blur
John Tsiombikas [Fri, 9 Feb 2018 01:03:47 +0000 (03:03 +0200)]
adding fast blur function
John Tsiombikas [Thu, 8 Feb 2018 07:46:37 +0000 (09:46 +0200)]
changed the DJGPP makefiles to use different suffixes for intermediate
build files (.cof instead of .o, .dep instead of .d, and .dja instead of
.a), to make it possible to build both the linux and the dos version in
the same directory without conflict.
John Tsiombikas [Thu, 8 Feb 2018 07:16:00 +0000 (09:16 +0200)]
fixed point drawing in 3dgfx and added new greets screen
John Tsiombikas [Tue, 6 Feb 2018 22:56:32 +0000 (00:56 +0200)]
fixed mistake in the DJGPP version of dpmi_alloc
John Tsiombikas [Tue, 6 Feb 2018 21:47:34 +0000 (23:47 +0200)]
- instructed gcc to emit only pentium1 instructions
- moved wait_vsync into an assembly macro in gfx.h
John Tsiombikas [Tue, 6 Feb 2018 18:47:24 +0000 (20:47 +0200)]
forgot to undef the debugging NOKEYB macro
John Tsiombikas [Tue, 6 Feb 2018 03:42:44 +0000 (05:42 +0200)]
builds with djgpp but crashes
John Tsiombikas [Sun, 4 Feb 2018 18:48:46 +0000 (20:48 +0200)]
adding polyclip.obj to the watcom makefile
John Tsiombikas [Sat, 3 Feb 2018 22:44:45 +0000 (00:44 +0200)]
clipping bugs...
John Tsiombikas [Fri, 2 Feb 2018 12:00:35 +0000 (14:00 +0200)]
- clipper debugging
- fixed branches based on uninitialized variables in polyfiller
- added g3d_viewport function
John Tsiombikas [Thu, 1 Feb 2018 01:01:22 +0000 (03:01 +0200)]
optimized the metaballs slightly 3fps -> 5fps and fixed the zsorting bug
Michael Kargas [Thu, 20 Oct 2016 18:53:19 +0000 (19:53 +0100)]
Still not what I wanted to achieve, just wanted to test how the whities look when they are gathered together.
John Tsiombikas [Wed, 19 Oct 2016 21:32:05 +0000 (00:32 +0300)]
updated vs project
John Tsiombikas [Wed, 19 Oct 2016 21:26:08 +0000 (00:26 +0300)]
updated the dos makefile
John Tsiombikas [Wed, 19 Oct 2016 21:16:53 +0000 (00:16 +0300)]
metaballs
John Tsiombikas [Wed, 19 Oct 2016 20:56:47 +0000 (23:56 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Wed, 19 Oct 2016 17:15:53 +0000 (20:15 +0300)]
added serial spaceball support in the dos version. can be used for
debugging or even animation recording for 3D objects.
John Tsiombikas [Wed, 19 Oct 2016 01:57:36 +0000 (04:57 +0300)]
metaballs effect
Michael Georgoulopoulos [Mon, 17 Oct 2016 10:53:54 +0000 (13:53 +0300)]
moving the vertices with a sine
Michael Georgoulopoulos [Sun, 16 Oct 2016 23:26:16 +0000 (02:26 +0300)]
Fog and sorting
Michael Georgoulopoulos [Sun, 16 Oct 2016 20:43:56 +0000 (23:43 +0300)]
Many thunders from origin to random points on a rotating sphere
Michael Georgoulopoulos [Sun, 16 Oct 2016 13:20:28 +0000 (16:20 +0300)]
Oh no
Michael Georgoulopoulos [Sun, 16 Oct 2016 13:12:16 +0000 (16:12 +0300)]
Render thunder recursively
Michael Georgoulopoulos [Sat, 15 Oct 2016 23:13:45 +0000 (02:13 +0300)]
Thunder... thunder... THUNDER SCREEN! HOOOOOOOOOOOOO
Michael Georgoulopoulos [Sat, 15 Oct 2016 21:44:43 +0000 (00:44 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
John Tsiombikas [Tue, 11 Oct 2016 12:29:49 +0000 (15:29 +0300)]
removed the empty stop function from grise.c (I feel like I did that
before)
Michael Kargas [Mon, 10 Oct 2016 21:25:51 +0000 (22:25 +0100)]
Not exactly what I want to achieve here, just keeping this code now. The smaller the particles the more fuzzy or I have to dump down the offsetPower variable.
John Tsiombikas [Sun, 9 Oct 2016 06:29:21 +0000 (09:29 +0300)]
added polygon clipper, not using it yet
Michael Georgoulopoulos [Wed, 5 Oct 2016 16:13:10 +0000 (19:13 +0300)]
gitignore VS project user settings
John Tsiombikas [Wed, 5 Oct 2016 01:27:58 +0000 (04:27 +0300)]
removed drawFps from grise as it's now part of the main demo code
John Tsiombikas [Wed, 5 Oct 2016 01:20:29 +0000 (04:20 +0300)]
Merge branch 'master' of goat:git/dosdemo
John Tsiombikas [Wed, 5 Oct 2016 01:19:46 +0000 (04:19 +0300)]
moved the drawFps call to the backends so it works automatically for
any part
Michael Georgoulopoulos [Tue, 4 Oct 2016 23:40:47 +0000 (02:40 +0300)]
Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo
Michael Georgoulopoulos [Tue, 4 Oct 2016 23:40:34 +0000 (02:40 +0300)]
Removed division in displacement inner loop
Stole Optimus' FPS counter as an extern
John Tsiombikas [Tue, 4 Oct 2016 23:08:17 +0000 (02:08 +0300)]
SDL backend set the mouse button bitmask incorrectly
John Tsiombikas [Tue, 4 Oct 2016 16:10:00 +0000 (19:10 +0300)]
removed empty stop functions from bump and plasma to avoid delaying the
transitions
John Tsiombikas [Tue, 4 Oct 2016 16:05:36 +0000 (19:05 +0300)]
changed the tunnel rotation to match the smaller texture
John Tsiombikas [Tue, 4 Oct 2016 05:09:09 +0000 (08:09 +0300)]
added missing open flags and mode in init_logger
John Tsiombikas [Tue, 4 Oct 2016 04:47:51 +0000 (07:47 +0300)]
optional high-quality but slower calculation of attribute slopes across
each scanline, and extra color bits during interpolation.
John Tsiombikas [Tue, 4 Oct 2016 03:19:10 +0000 (06:19 +0300)]
DOS logger now redirects stdout/stderr instead of providing a new
logging function
John Tsiombikas [Tue, 4 Oct 2016 03:00:26 +0000 (06:00 +0300)]
added texture mapping
John Tsiombikas [Mon, 3 Oct 2016 07:58:17 +0000 (10:58 +0300)]
fixed build on macosx
John Tsiombikas [Mon, 3 Oct 2016 07:24:08 +0000 (10:24 +0300)]
split the polyfiller to a preprocessor-based template file, included
multiple times in polyfill.c to instanciate all the variants. currently
fully implemented are: flat and gouraud.
John Tsiombikas [Mon, 3 Oct 2016 06:40:03 +0000 (09:40 +0300)]
added dependency tracking to the GNU makefile
John Tsiombikas [Mon, 3 Oct 2016 05:23:00 +0000 (08:23 +0300)]
forgot to conditionally include malloc.h for alloca on watcom and msvc
John Tsiombikas [Mon, 3 Oct 2016 05:09:59 +0000 (08:09 +0300)]
use the fast double->int conversion in 3dgfx.c
John Tsiombikas [Mon, 3 Oct 2016 04:41:39 +0000 (07:41 +0300)]
added lighting