.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > Obsession Software Ltd.
Obsession Software Ltd. This forum is devoted to the building of a real, tactical first-person shooter - insane people only!

Reply
 
Thread Tools
Re: Working on a game...
Old
  (#31)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: Working on a game... - 09-10-2006

Hi mirv (been a while since i posted here O_o),

I've been following your progress with great anticipation, just thought i'd log into my old account to voice my support, keep up the great work


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: Working on a game...
Old
  (#32)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 12-10-2006

Thanks for the support!
I'm still poking away at my tree structure. It's nice to have a static environment of 50,000 boxes, but a dynamic one is a whole different story. As expected, some slow downs occur when moving 5000 of the boxes around, however I haven't as yet optimised any of the "update" code (at the moment, I simply remove then reinsert each updated box from the root node). I could spit out some framerates, but they probably don't give much indication of what's under the hood considering I always try to get a high end computer. I suppose I should give out a little test app soon for other people to look at.


mirv the Silly Fish.
  
Reply With Quote
Re: Working on a game...
Old
  (#33)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 28-10-2006

I haven't been idle - simply been reworking the editor to comply with a change in idea on how to handle terrain. Blending layers is slow compared to using one large texture, so I'm going with the large texture. Several ideas came to me on getting it to fit nicely into video ram - unfortunately the best one I came up with I think happens to be what Megatextures are all about. I'll probably get around to that one day - but for now, a 4096x4096 texture compressed to about 8MB + appropriate mip map levels is where I'm headed. Maybe combine it with a random noise detail texture...hmm...
Anyway, if anybody wants I hope to have a (very) basic, undocumented terrain editor in a usable state on monday. Just for fun.


mirv the Silly Fish.
  
Reply With Quote
Re: Working on a game...
Old
  (#34)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 30-10-2006

http://garry.rank.googlepages.com/test.zip
No loading or saving yet. No smoothing or shifting of terrain. Many of those things did work, but then I changed some stuff and broke it all. It will load and save again when I put in the ability to load and save compressed textures (give me a few days). The editor is not meant to be superb or anything - just something to give me levels to load into the engine! Texture packages are best saved into the "textures" folder - no jpeg support at the moment, sorry!
Comments welcome.


mirv the Silly Fish.
  
Reply With Quote
Re: Working on a game...
Old
  (#35)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: Working on a game... - 18-12-2006

Looking good there, nice work


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: Working on a game...
Old
  (#36)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 22-12-2006

Things are on hold a little bit to see what ageia does - they're supposed to be releasing linux software soon, and I'd prefer to use a mature physics library rather than write my own. Bullet is a good alternative, but it's still very much a work in progress and changes quite regularly.


mirv the Silly Fish.
  
Reply With Quote
Re: Working on a game...
Old
  (#37)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: Working on a game... - 23-12-2006

Agreed, you have to be careful when choosing something which will be wrapped around in a large portion of the engine, however, just to be on the safe side, i'd recommend creating a 'wrapper' library which sits between the main code, and the engine you use. That way, if at some point you change your mind, just re-implement your custom (classes/)methods.

Also means that if an update to the physics engine does become avaliable and changes something, you can transparently alter your wrapper.

I did this recently with a small C++ linux project i was working on, given the different OSs, the socket engine varied (i could have stuck with the basics, but Linux 2.6+ and FreeBSD have optimised socket engines). During the configuration stage, a single include is added for the socket engine it's going to use, and it becomes built in with no changes to the core code

Something to concider.


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Re: Working on a game...
Old
  (#38)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 06-01-2007

You're right - a wrapper is most definitely the way to go. Sadly I'm getting twitchy about a few things with various physics libraries - either the way things are done, or stuff not being released, so I'll just write my own (basic) one soon, and change it as required. When I get back in a couple of months anyway.

-- back, working on it again!


mirv the Silly Fish.

Last edited by mirv; 01-03-2007 at 17:50.. Reason: updated info
  
Reply With Quote
Re: Working on a game...
Old
  (#39)
mirv
Super Moderator
 
mirv's Avatar
 
Status: Offline
Posts: 152
Join Date: Apr 2004
Default Re: Working on a game... - 22-03-2007

Thought I might post a quick update where I'm at. I've got most of the core physics functions done, though there's still a fair bit to be built on top of that. At the moment I'm optimising my sphere/triangle collision code. And running a large number of tests on the same data to see where things do actually slow down.


mirv the Silly Fish.
  
Reply With Quote
Re: Working on a game...
Old
  (#40)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: Working on a game... - 23-03-2007

Nice



=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com