🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1932

Wolf/UU (was plotting pixels)

#1932
From: olsen_jo
Date: Mon, 11 Jan 1993 18:46
41 lines
2328 bytes
In article <W2f=Jv-@engin.umich.edu>, geoffs@yangtze.engin.umich.edu (Geoffrey M Silverton) writes:
> 
> In article <725904224.0@njackn.fidonet.org>, Jacob.Hartog@f99.n121.z1.fidonet.org (Jacob Hartog) writes:
>>         I'm writing a wolf-3d/Ultima Underworld type game and have encountered 
>> something of a stumbling block.
> *** Just out of curiosity, how many people on rec.games.programmer are writing
> Wolf3D-type games?

wolf_writer_count++;

Better yet, how many have working scene rendering code?  Doing bitmapped walls
Wolf-style isn't too tough, and it can be done with either massive lookup
tables or a couple of multiplies per column of pixels.  The tricky part is
doing textured floors and ceilings, since you have to effectively perform
a Bresenham or similar line draw across each tile on the floor. (ick)

It can also get messy figuring out how to draw the objects and beasties.

I've opted (for now) to not use textured floors and ceilings since I'll be
needing a good chunk of processor for the AI routines.

Could someone who has seen Ultima Underworld (and others?) give
a quick eval?  It would be good to see:

- #angles you can turn to (4, 16, >500, etc)
- #degrees in field of view
- what surfaces are textured
- frames per second for a specific machine
- vertical movement resolution

For Wolf, the numbers are approximately the following:

- Over 640 angles (320 angles, and under 180 degree field of view)
- Roughly 135 degree field of view (I don't have it in front of me)
- Walls textured, floor all one color, ceiling all one color.
- 386/33 gets about 15-20 fps for me at full size.  I've seen it run at
  or over 30 fps on a 486.  It can run on a 286, but is a dog at full size.
  (full size means 320 x 100 window)
- No vertical movement.

olsen_jo@uvadm.uvcc.edu
Technical Details
Message-ID: <1993Jan11.114626.1@cc.uvcc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!park.uvcc.edu!cc.uvcc.edu!olsen_jo
References: <725904224.0@njackn.fidonet.org> <W2f=Jv-@engin.umich.edu>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!park.uvcc.edu!cc.uvcc.edu!olsen_jo
From: olsen_jo@cc.uvcc.edu
Subject: Wolf/UU (was plotting pixels)
Message-ID: <1993Jan11.114626.1@cc.uvcc.edu>
Lines: 41
Sender: news@park.uvcc.edu
Nntp-Posting-Host: uvadm.uvcc.edu
Organization: Utah Valley Community College
References:  <725904224.0@njackn.fidonet.org> <W2f=Jv-@engin.umich.edu>
Date: Mon, 11 Jan 1993 18:46:26 GMT