TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: HERMAN SCHONFELD
date: 1997-05-09 20:10:00
subject: Re: Doom like games...

HS> All 3d engines perform this task.
HS> It's easily projected by a
HS>
HS> 2dx = (3dx * perspective) / (3dz + space) + centre x
HS> 2dy = (3dy * perspective) / (3dz + space) + centre y
HS>
HS> Doesn't take 'years' to code something like that.
CC>    It takes a while to implement it right. This needs to be lightning
CC>    fast if you have to use this for every corner of every polygon (4 to
CC>1
CC>    ratio).
a multiply, divide and two adds aren't bad for a projection. Thats about as 
fast as I could possibly get it? Do you know any other ways?
But just remember, a good perspective can be 256, so a multiply can be 
replaced with a very fast bit shitf. (<<8)
CC>    #3 write a mapping function that will map a square picture onto
CC>    any 4 sided figure no matter its shape
HS>
HS> texture mapping is extensively easy!
CC>    It takes a while to implement it right. Once again, it needs to be
CC>    used once for every visible polygon. Which do you choose, speed or
CC>    acuratcy? The function should be highly malualbe to allow for speed
CC>    over acuratcy.
Speed and accuracy can both be acheived. I will be happy to post some code of 
mine for you if you want.
CC>    #6 add fuzzy logic engine for AI decision making by characters in
CC>    your game
HS>
HS> Pfft. Making a character engine is one the things you look forward
CC>to when
HS> developing a 3d game.
CC>    Analsis & Design must be done completely before you just into this
CC>one.
CC>    Think of a real life situation and apply it. Each character might
CC>have
CC>    a very schewed set of attribute (intelligence, speed, strength,
CC>    fraility, pack hunter/loner, stays in place/hunts, vision quality,
CC>    blinded by light/dark, ducks/strafs/jumps/hides, .... )
So is there an engine for this from Fuzzy Logic? I would like to see it. 
(post it or ftp address etc)
CC>    The best design would probably rely heavily on a world editor. This
CC>    program should tell you if section of a level are fast enough, are
CC>    within jumping distance of the player, can fall off of and live,
CC>etc-
... 80486 100Mhz. Don't you smell something burning?
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.