TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: HERMAN SCHONFELD
from: PETER CLERINX
date: 1997-06-22 17:00:00
subject: Doom like games...

Hi Herman!
Friday May 09 1997 20:10, Herman Schonfeld wrote to Cameron Clark:
 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 ratio).
 HS> a multiply, divide and two adds aren't bad for a projection. Thats about
 HS> as fast as I could possibly get it? Do you know any other ways?
 HS> But just remember, a good perspective can be 256, so a multiply can be
 HS> replaced with a very fast bit shitf. (<<8)
This way you'll only be able to look at the space along the z-axis...  you 
will still need a really fast function for rotating space...
 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.
 HS> Speed and accuracy can both be acheived. I will be happy to post some 
code
 HS> of mine for you if you want.
I'm interested ...  please post/netmail...
 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, .... )
 HS> So is there an engine for this from Fuzzy Logic? I would like to see it.
 HS> (post it or ftp address etc)
creating such an engine sounds like really fun to me...
the real trouble is drawing grafix and creating sfx for the game...  I'm 
certainly no artist :(
 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-
Greetz..!
Peter
           .... where the DiGiTaL sound was born.. => +32-89-731867
--- FMail/386 0.98a
(2:292/120.46)
---------------
* Origin: -= Digital Contact BBS POINT =- +32-89-731867 28.8 24

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™.