Scientific Graphs, Navigation

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Post Reply
User avatar
AntonTheManton
Greenskin
Posts: 100
Joined: Sun Jan 14, 2007 1:47 am

Scientific Graphs, Navigation

Post by AntonTheManton »

Some graphs for displaying navigation system details in real-time. When interesting phenomena spotted data plots can be exported (when F3 is hit) to GNUPlot or CSV formats. It's part of my PhD work. The graphs don't have y-axis labels because I couldn't be bothered incorporating rotated text. It does export them though.

Image

Image

I've built line graphs, fuzzy set membership graphs, scrolling line graphs (like CPU monitors) and some that scale automatically. In the Fuzzy set membership graphs the green line is the real value - the other lines are membership functions for different sets.
Last edited by AntonTheManton on Mon Oct 13, 2008 11:24 pm, edited 2 times in total.
User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 15
Contact:

Post by metaldev »

anton, your pictures can't be seen :?
User avatar
AntonTheManton
Greenskin
Posts: 100
Joined: Sun Jan 14, 2007 1:47 am

not pics

Post by AntonTheManton »

Hmm - okay guess they were too big. You can now click on thumbnails instead.
User avatar
Jabberwocky
OGRE Moderator
OGRE Moderator
Posts: 2819
Joined: Mon Mar 05, 2007 11:17 pm
Location: Canada
x 218
Contact:

Post by Jabberwocky »

Looks like there's some neat pathing AI going on.

Those graphs look nice. How are you drawing them?
Image
User avatar
AntonTheManton
Greenskin
Posts: 100
Joined: Sun Jan 14, 2007 1:47 am

Graphs

Post by AntonTheManton »

The graphs are made up of the same thing that I used for 3d lines - ManualObject, which I projected with the identity matrix so that they sit in front of the camera.

It's quite easy to add more points to ManualObject lines so they were ideal. I just keep track of all the real values of these points so that I can optimise or save the whole plot later. I even did the axis lines with the same method.

The backgrounds are just overlays but there's no reason that you couldn't use another gui system if you wanted to tie it in with your existing one or do some sort of speed optimisation (it doesn't seem to make any diffference in my sim).

I'm using it to track what's happening with my navigation - it's a hybrid system that does kind of smooth path motion as well as long-distance planning.
User avatar
NoodlesOnMyBack
Goblin
Posts: 200
Joined: Tue Feb 05, 2008 4:14 am
Location: Buenos Aires, Argentina
Contact:

Post by NoodlesOnMyBack »

I cant see the pictures, not even when i copied the link from the html code... weird...
Image
User avatar
Lee04
Minaton
Posts: 945
Joined: Mon Jul 05, 2004 4:06 pm
Location: Sweden
x 1

Great this can be used for preformance graphs using hardware

Post by Lee04 »

Great Ogre could make use of this for preformance graphs using hardware counters in the graphics card.

Good work
Ph.D. student in game development
User avatar
Kentamanos
Minaton
Posts: 980
Joined: Sat Aug 07, 2004 12:08 am
Location: Dallas, TX

Post by Kentamanos »

Very cool looking AntonTheManton :).
User avatar
SpannerMan
Gold Sponsor
Gold Sponsor
Posts: 446
Joined: Fri May 02, 2003 10:05 am
Location: UK
Contact:

Post by SpannerMan »

That looks really interesting AntonTheManton - Is the fuzzy stuff related to machine learning?
User avatar
alexdbkim
Greenskin
Posts: 130
Joined: Sat Oct 18, 2008 7:50 am
Location: Sydney, Australia / Seoul, Korea
Contact:

Post by alexdbkim »

I'm really interested in the part showing various graphs and oscilloscopes. =)

cheers,
Alexander Dong Back Kim - ê¹€ë
User avatar
AntonTheManton
Greenskin
Posts: 100
Joined: Sun Jan 14, 2007 1:47 am

Re: Machine learning

Post by AntonTheManton »

No machine learning implemented yet but as the fuzzy navigation system requires a lot of manual tuning to get right we have just proposed a genetic algorithm for automatic calibration. The idea is that if we can record the collisions and time taken over some custom-made obstacle course then we have a fitness function to self-improve the character's motion. I'm looking at building a generic motion/collision avoidance system that is scalable and auto-tuning so that it will apply to a range of different 3d environments and animated characters - not just to vehicles.
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Post by pratty70 »

It's something I want to do in my system - graph results from the game running - any chance of releasing some code to ease the process of having to develope line graphing myself?

Cheers

Chris
User avatar
AntonTheManton
Greenskin
Posts: 100
Joined: Sun Jan 14, 2007 1:47 am

Code

Post by AntonTheManton »

Yeah it's all in my Sourceforge project
http://sourceforge.net/projects/markiv/
If you checkout or browse the source it's under markiv/trunk/main/src/gui/LineGraphWidget
there are one or two source dependencies (LabelWidget I think)
A
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Post by pratty70 »

Nice one AntonTheManton - many thanks

Chris
Post Reply