GalaxyQuest:
I''m not sure why the demo had 0fps in 24 bit mode. I''m unable to test that video mode. Thanks for trying it out.
I''m not sure why the demo had all those triangles? It only happens with lighting effects right? If so it has to be the MMX alpha blending routines. Yup I''m using the ones from this site.
It''s probably because your card is a 555 mode card. I''m going to have to get my hands on one of those to work out my bugs for those cards. The triangles you are seeing are probably the corners of my isometric tiles. I''m probably alpha blending the transparency colour in 555 mode so thats probably why you see them. Are they an off-white colour?
As for tutorials around the web, I didn''t really look at any other than the basic Jim Adams ones. And that was many years ago. The height routine is all my creation, It''s my approximation at what the Ultima Online Engine does.
bogdanontanu:
You link is broken to me: seems www.gdarchive.net is down to me, I''ll check it out later.
I''m disappointed by the lighting speeds. Esp. on my machine.
My frame rates drop to 40-50fps in fullcscreen mode with lighting, from 100-120 fps without. And I have a TNT2 32 meg card. I can''t even imagine what a 4mb old card would do.
My question is: How is it possible to maintain a 30 fps rate with alpha blending enabled? Right now all my surfaces are in video memory, so I can see why the drop occurs, but If I move surfaces to system memory it''s even slower? What does everyone else do?
Coloured Lighting Demo...
Nice screen shots, your lighting effect needs work, but it reminds me the Ultima Games I played. The lighting is better than anything I had running in 2D before I went 3D, overall it is a nice job though .
http://www.gdarchive.net/druidgames/
http://www.gdarchive.net/druidgames/
Ok, i took the time to pay attentiont to exactly what happens so here it goes.
with everything off, game runs in upper 50 fps, no white triangles
with char light on: instead of a circle i get a square with a brighter circle(the one intended) within this square area..and its not the clear color as in your screenshots. no white triangles. about 25 fps average.
ambient lights on: the triangles appear. f5=white triangles, f6= all tiles purple along with purple triangles, f7 same as f6 but in a green color. about 25 fps average.
As to your disappointment in the fps i can only say that if your using the asm/mmx code your probably about the max fps possible for 2D shading so i wouldnt worry too much. Im sure 3D cards do it much faster because they have these shading/alpha blending algorithms hardwired or very low level coded so its much faster then 2d code, but thats just my 2cents.
cyas.
with everything off, game runs in upper 50 fps, no white triangles
with char light on: instead of a circle i get a square with a brighter circle(the one intended) within this square area..and its not the clear color as in your screenshots. no white triangles. about 25 fps average.
ambient lights on: the triangles appear. f5=white triangles, f6= all tiles purple along with purple triangles, f7 same as f6 but in a green color. about 25 fps average.
As to your disappointment in the fps i can only say that if your using the asm/mmx code your probably about the max fps possible for 2D shading so i wouldnt worry too much. Im sure 3D cards do it much faster because they have these shading/alpha blending algorithms hardwired or very low level coded so its much faster then 2d code, but thats just my 2cents.
cyas.
aka John M.
Never give up. Never surrender!
Without lighting I get a frame-rate of about 300, with lighting it drops to about 90. I''m running it on a pIII 750mhz with a geforce graphics card.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement