delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/02/22:46:13

From: Tudor <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Z-bufering
Date: Wed, 02 Apr 1997 20:54:41 -0800
Organization: Communications Accesibles Montreal
Lines: 26
Message-ID: <33433811.455@cam.org>
References: <33414D32 DOT 147D AT geocities DOT com> <5htheu$cf0$1 AT news0 DOT xs4all DOT nl>
Reply-To: tudor AT cam DOT org
NNTP-Posting-Host: dynappp-175.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

ellman AT xs4all DOT nl wrote:
> PS. I've just written some code to draw a sphere lit from a single lightsource,
> but it's too slow, and I think there may be a way better than the one I've
> used. I will use this code to experiment with Z buffering before I have a go at
> adding it to Allegro's polygons. Is anyone interested? Also, does anyone have
> any ideas on texture-mapping spheres?
Well,
1) How did you produce the sphere? I was thinking how the **** you can
automatically make one, like give it the center ,radius, number of
"stripes" and then it builds itself. But no luck so far... 
2) About textures..that seems a tough one. Thinking you'll have dozens
or hundreds of polys in a sphere you'll gonna have to find a smart algo
to texturing it... Something like Quake's skins? (like you have a single
bitmap for the guy and the engine will know how to wrap it up around
him..)

> --
> Andrei Ellman - URL: http://www.xs4all.nl/~ellman/ae-a - ae1 AT york DOT ac DOT uk
> "All I wanna do is have some fun     :-)     || ae-a AT minster DOT york DOT ac DOT uk
>  I've got the feeling I'm not the only one"  || mailto:ellman AT xs4all DOT nl
>      -- Sheryl Crow      :-)    ||       It's what you make of it.

-- 
tudor 'at' cam 'dot' org
http://www.cam.org/~tudor
'This is Scott Nudds of the Borg. C is irrelevant.'

- Raw text -


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