www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/12/16:30:19

From: whiteflame AT my-dejanews DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Need a good simple 3d library
Date: Thu, 12 Nov 1998 20:48:37 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 31
Message-ID: <72fhj6$hlf$1@nnrp1.dejanews.com>
NNTP-Posting-Host: 206.63.102.38
X-Article-Creation-Date: Thu Nov 12 20:48:37 1998 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
X-Http-Proxy: 1.1 x11.dejanews.com:80 (Squid/1.1.22) for client 206.63.102.38
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm looking to prototype an idea, but I need a simple 3d library to work
with. I need sub-pixel scan conversion, maybe gouraud shading, and an easy
interface.

I'd really like to see

verts[]={{x,y,z,r,g,b},{x,y,z,r,g,b}...};

faces[]={{2,3,5},{5,6,1}...}; //indices to verts[] array

objs[]={{faces,verts,xformmatrix},{faces,verts,matrix2},{facs2,verts2,mat}...};

cam={pos,dir,fov,size_x,size_y};

DoXforms();
RenderScene(cam,bitmap);
RenderScene(cam2,bitmap2);

Ya know, something easy like that where I can come up with a simple prototype
quickly and easily.  'twould be nice as well if I could do simple animation
just by changing a "verts" pointer to point to the next mesh.  Don't need
lighting, texture mapping, etc.  I've searched long and hard through many
online places; couldn't find anything quite that easy.  Any suggestions?

--
White Flame (aka David Holz)
http://www.geocities.com/ResearchTriangle/Lab/1767 (not updated in a couple of
years)

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019