
05-01-2001, 05:12 AM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
The reason why it doesn't show light effects:
There are different 3D engines, like glide
(for voodoo, also known as 3dfx), OpenGL and
Direct3D. If you want to do 3D graphics then
you must support all of them to get good
results, most 3D games do that.
The problem that Graal has: it also needs
to display 2D graphics (background, sprites etc.).
The only engine that can handle both 2D and
3D is Direct3D, so Graal uses that. People
without 3D card can still see something, while
people with Direct3D(7)-enabled card see
additional light effects.
About using other engines: It is possible to
use other engines, problem is to do the 2D
stuff there since all surfaces must be like 256x256
or some other widthxheight that is a power of 2
(but limited to 256x256 on voodoo cards).
Somehow it would be possible to support that
by writing some complicate conversion code,
but there are still a lot of problems:
- limited texture size
- limited graphic card RAM (at least on older voodoo
cards)
- often only works in fullscreen and doesn't allow
to use any windows stuff like playerlist window,
so that would need to be converted too
I hope you understand that this would be too
much work and would probably produce many
bugs. All newer graphics card (I would say
since end of 1998) support Direct3D |
|
|
|