AminetAminet
Search:
84717 packages online
About
Recent
Browse
Search
Upload
Setup
Services

demo/intro/newvox_sdl-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Voxel-style landscape SDL effect (with sources)
Author:dash at xdr.com (Andrea Griffini), Morphos port by Fabrizio "Lanch" Bartoloni
Uploader:lanch tiscali it (Fabrizio Bartoloni)
Type:demo/intro
Version:1.0
Architecture:ppc-morphos
Date:2005-07-10
Download:http://aminet.net/demo/intro/newvox_sdl-mos.lha - View contents
Readme:http://aminet.net/demo/intro/newvox_sdl-mos.readme
Downloads:660

Voxel-style landscape rendering by Andrea Griffini

Move around the landscape using the arrow keys.
 
Landscape rendering
  
   Ok.. i know that voxel is something else... but a lot of people is using
   the name "voxel" to mean this kind of rendering tecnique.
   I wrote this to explain the basic idea behind the rendering of newvox4;
   newvox4 is very badly written (it's named 4 because is the fourth of
   a sequel of experiments) and is coded in pascal + asm.
   Since i got a few request of an explanation i decided to write the kernel
   of the rendering in C hoping that this will be easier to understand.
   This implements only the base landscape (no sky or floating ball) and
   with keyboard only support but i think you can get the idea of how I
   implemented those other things.
  
   I'm releasing this code to the public domain for free... and as it's
   probably really obvious there's no warranty of any kind on it.
   You can do whatever you want with this source; however a credit in any
   program that uses part of this code would be really appreciated :)
  
   Any comment is welcome :)
  
                                    Andrea "6502" Griffini, programmer
                                           agriff at ix.netcom.com
                                        http://vv.val.net/~agriffini

                                        
Note from porting author: I remember having seen this effect already ported
 inside an archive called SDL-demos.lha with several SDL effects taken from
 the demo section of www.libsdl.org but this one is provided with sources,
  readme, has smaller executable and is linked against latest PowerSDL.


Contents of demo/intro/newvox_sdl-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                27641   70280  39.3% -lh5- 9299 Jun 23 18:20 newvox-1.0/newvox
[generic]                   84     101  83.2% -lh5- 1d3d Oct  8  1999 newvox-1.0/README
[generic]                  966    1934  49.9% -lh5- b4f2 Jun 29 00:15 newvox-1.0/readme.morphos
[generic]                 2182    6036  36.1% -lh5- ff39 Dec 21  1999 newvox-1.0/sources/acinclude.m4
[generic]                 3733    9576  39.0% -lh5- f6f0 Dec 21  1999 newvox-1.0/sources/aclocal.m4
[generic]                  518    1151  45.0% -lh5- ebb4 Jun 23 18:20 newvox-1.0/sources/config.cache
[generic]                  432    1078  40.1% -lh5- 58aa Jun 23 18:20 newvox-1.0/sources/config.log
[generic]                 2062    5349  38.5% -lh5- 28a7 Jun 23 18:20 newvox-1.0/sources/config.status
[generic]                14400   50094  28.7% -lh5- 9306 Dec 21  1999 newvox-1.0/sources/configure
[generic]                  287     427  67.2% -lh5- 2823 Dec 21  1999 newvox-1.0/sources/configure.in
[generic]                 2233    5598  39.9% -lh5- a21f Oct 21  1999 newvox-1.0/sources/install-sh
[generic]                 2942    8951  32.9% -lh5- 0396 Jun 23 18:20 newvox-1.0/sources/Makefile
[generic]                   24      24 100.0% -lh0- 882d Oct 21  1999 newvox-1.0/sources/Makefile.am
[generic]                 2872    8745  32.8% -lh5- e37b Dec 21  1999 newvox-1.0/sources/Makefile.in
[generic]                 2135    6283  34.0% -lh5- b90d Oct 21  1999 newvox-1.0/sources/missing
[generic]                  382     725  52.7% -lh5- 763c Oct 21  1999 newvox-1.0/sources/mkinstalldirs
[generic]                 3226    8188  39.4% -lh5- 4088 Dec 21  1999 newvox-1.0/sources/newvox.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        17 files   66119  184540  35.8%            Jul 10 00:07

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>