Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Best Matrix please for fps

Author
Message
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 11th Jan 2005 03:25
I am trying and experiment, I need some suggestions for what you think the best matrix is. I need complete code for the matrix section, I also hope sombody will help with some matrices that have remote data files. I am working on a Frames per Second test and need some variety.

Thanks a million,

Beth

Beth=The ditsy blonde. I like men and programming, but mainly programmed men!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 11th Jan 2005 04:10 Edited at: 11th Jan 2005 04:21
I ended up with this using a memblock matrix.

It also has a sky sphere and gets around 120fps on my system.
AMD AthlonXP 2400+
Radeon 9600 Pro
256MB RAM
I'll try and find the code for you.
[Edit]If you just search for 'memblock' or 'matrix' in this forum or Code Snippets you'll soon find something.[/Edit]

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 11th Jan 2005 04:20
Must.Get.Code.For.That.Mem.Block.Mat.Rix.

Sorry it still wows me even though I already saw it! I just want my DBC FPS to have a landscape that good!

Have a heart and join my message board.And now my messageboards work again!Woot!
3beth
21
Years of Service
User Offline
Joined: 13th Feb 2004
Location: Good ole Kentucky
Posted: 11th Jan 2005 04:30
Andrew,

If you could get me the whole code for that it would be great, today i've had little free time.
thanks,
Beth

Beth=The ditsy blonde. I like men and programming, but mainly programmed men!
Deadly Shadow
20
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 11th Jan 2005 04:56
How the hell do you get that landscape loaded in your game!? I try but I cant seem to load it right! "(jaw dropped)" sweeeeet landscape!!!!!!

Sega and Microsoft nothing but the best.
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Jan 2005 02:11
O.K. I'll have a look for the code. It is not my own. All I did was make the walking code, heightmap, texturemap, sky sphere and water. I'll do a quick search.

TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Jan 2005 02:23
Check out the download. The file "test2-mbmatrix.dba" is the one to run. The other two files contain functions. Just add your own media.
If you want some example terrain textures or heightmaps then let me know.

Attachments

Login to view attachments
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Jan 2005 02:59 Edited at: 12th Jan 2005 03:39
I'm going to download that and see how nice the thing is .

Yeah, could I have some sample media. Thanks.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Jan 2005 04:09
Sure. Here you are. They won't look as good as I'd hoped because I had a problem exporting and they are only 256x256.



Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Jan 2005 04:17
Thanks.

Have a heart and join my message board.And now my messageboards work again!Woot!
Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Jan 2005 04:21
Sorry for the double post:

The demo won't work unless you provide all the media like the lightmaps and whatnot for the includes.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Jan 2005 04:29 Edited at: 12th Jan 2005 04:31
What?
The includes don't load media.
All you need is a heightmap, a texturemap, a water texture and a skysphere texture.
I have marked with a 'rem *** Comment *** all the sections that load images and what images to load.

[Edit]Well actually the file "lightmap.dba" isn't an include but you don't need to use it.[/Edit]

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Jan 2005 04:48
Well I can't run the thing for some other reason then...

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 12th Jan 2005 05:33
You are running DBC Enhanced aren't you?

Cian Rice
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location:
Posted: 12th Jan 2005 06:31 Edited at: 12th Jan 2005 06:31
Yep.

But the error I get is related to an image.

Have a heart and join my message board.And now my messageboards work again!Woot!
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 13th Jan 2005 02:33
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 13th Jan 2005 02:35

Attachments

Login to view attachments
Sol462
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 13th Jan 2005 08:39
lol. i set the detail to 100 and my fps dropped to 3.

coffee + monkeys + creativity = games
Operation Pineapple - Multiplayer FPS WIP
Deadly Shadow
20
Years of Service
User Offline
Joined: 4th Dec 2004
Location: Oklahoma , USA
Posted: 13th Jan 2005 09:00
Thanks man! Hope it works! I have dbpro.

Sega and Microsoft nothing but the best.
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 14th Jan 2005 02:21
In the screenshot I was using detail 100.
AMD AthlonXP 2400+
Radeon 9600Pro
512MB RAM

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 14th Jan 2005 05:54
the memblock stuff is all in the code snippets

"eureka" - Archimedes
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 15th Jan 2005 00:28
I know. I already said:
Quote: "[Edit]If you just search for 'memblock' or 'matrix' in this forum or Code Snippets you'll soon find something.[/Edit]"


Ali M Oldboy
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: England, UK
Posted: 15th Jan 2005 00:39
3beth - what sort of fps?

Sorry if I do sound a bit 'What do you mean?'

Cheers,
Ali M

[b]Nukesoft[b]
[b]Bigfoot's Choice! [b]
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 15th Jan 2005 04:48
Kelebrindae
21
Years of Service
User Offline
Joined: 15th Sep 2003
Location: Where cheeses are scarier than dragons.
Posted: 19th Jan 2005 01:16
Hi to all!

@Deadly Shadow:
No, it won't work with DBpro, because the memblock structure for a mesh is different from the one in DBC (it contains more infos - vertex colors, etc. - ). Sorry...

@ [all the others]:
Here's the original post where you can find explainations, examples, and a few other things:
http://forum.thegamecreators.com/?m=forum_view&t=42441&b=10
You can also find the includes and a little documentation for the availables functions in the Codebase. Search for "memblock matrix"...

I hope it helps...

Ideas: memories of things which did not occur yet...

Login to post a reply

Server time is: 2025-05-29 05:28:08
Your offset time is: 2025-05-29 05:28:08