From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7e9132129baea72f,start X-Google-Attributes: gid103376,public From: Gautier Subject: A small 3D engine Date: 1999/03/10 Message-ID: <36E68C3E.6D4D2776@Maths.UniNe.CH>#1/1 X-Deja-AN: 453411434 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-03-10T00:00:00+00:00 List-Id: If you'd like to see a small standalone 3D engine (no binding) in Ada, look at ftp://ftp.unine.ch/incoming/gautier/eng3d001.zip I hope the ftp works - anyway it's a *provisory* location ! Some infos. - It's simply a rotating cube, with some effects. Since it's not hardcoded as a cube, you could replace it by a teapot, a pink elephant or a part of a maze. - The effects: Z_shading, Lambert, Gouraud, (environment-mapped) Phong for lighting; textures; not both yet. - It comes from the nice "Peroxide / Telemachos" tutorial #4 with Pascal sources. URL: http://www.image.dk/~tm/ . There the docs are. - Runs at least under MS-DOS, DR-DOS, Win9x. provided there is a 386+ and a VESA (SVGA) graphics card. - To (re)compile it, you need the GNAT/DOS compiler. To search it: http://ftpsearch.lycos.com/cgi-bin/search?form=normal&query=ez2load . Then "gnatmake demo3d00" - plus usual optimizations if you want... - It's limitated and experimental, you are warned! E.g. the pseudo-Phong doesn't use the lighting vector; the textures are deformed. - There are plenty of things to improve and optimize. The present state is readability-oriented (100% Ada for the nontrivial renderings). Anyway the optimizer does a great job ! -- Gautier