Re: 3D Engines

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Hello all,
>
> I have a few questions
>
> I was wondering how feasible a 3D game Engine(Doom Style) would be in
> Euphoria?
> Can you think of any foreseeable problems using Euphoria for such a
> project?
> Has anyone here attempted to create one in Euphoria?
> Can anyone recommend any good books on creating 3d Engines?
> Please feel free to add anything else you think would apply.
>
> Any help is much appreciated.

it'll be slow...  no doubt about it...  if you're planning it do it
in screen mode 19 (which i hope you are) then you can speed up the
graphics output a whole lot by writing directly to memory...

screen mode 19 uses linear memory (i.e. the pixel one to the right of
another will follow IMMEDIATELY after it)...  so...  i'd write a
little routine like this:

procedure s19_pixel(sequence pos,integer colour)
   -- where pos is {x,y}
   poke(#A0000 + 320 * pos[2] + pos[1],colour)
end procedure

anyway...  for the actual 3d engine...  i'd check some of the 3d
tutorials at:
ftp://x2ftp.oulu.fi (i don't know the exact directory)
ftp://ftp.cdrom.com/.3/demos/code review

w00p


 ...oooO        MikPos of MARTYR        Oooo...
..ooO  http://www.geocities.com/SoHo/9036  Ooo..
   ....oooO       mike burrell      OOooo....

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu