Re: z-buffer routines & my page
- Posted by Greg Phillips <i.shoot at REDNECKS.COM> Oct 23, 1999
- 515 views
Wow!! Very impressive. I got about 15 fps on the house, and ~50 on the sphere. There were a couple random crashes though, I'll try to reproduce them for you. I'm still impressed how *fast* it is, and how little code (relatively). Regards, Greg Phillips jiri babor wrote: > Hi, > > If you are, like me, a Tapu's fan bored waiting for him to unveil > (de-shroud) his much touted 1 frame per second (233 MHz machine) 3-d > engine, you might like to wander over to my pages at > > homepages.paradise.net.nz/~jbabor/euphoria.html > > and fetch my z.zip. You will find it in the graphics section. It > contains a small set of z-buffer routines and a couple of simple demos > that I sketched in between tennis matches over the last few nights: > mapping of flat colored polygons (did I hear someone yawning loudly?), > a kind of Gouraud shading as well as full any-polygon-to-any-polygon > texture mapping. I am especially proud of the very last one, a texture > mapper with a twist: you can nominate one of the colors as > *transparent*, which virtually allows creation of arbitrary complex > polygons, even with funny 'curved' edges, or with holes, etc. All in > all > nothing much, but I think it does illustrate what can be done in good > pure high level language on today's machines. > > But, please, treat it with caution, it is a new born baby, very > fragile, > bound to misbehave - very much a work-in-progress! > > Enjoy. jiri