New Wiki Snippet: Line charts in OGRE

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
Adis
Gnoblar
Posts: 15
Joined: Sun Apr 30, 2006 6:05 pm
x 5

New Wiki Snippet: Line charts in OGRE

Post by Adis »

Hi, I just added a new snippet on the wiki for making (filled) line charts in ogre. It's just something I made for a recent hardware and software competition where we made a linefollower robot and tracked it's position using accelerometers and bluetooth. I needed a fancy way to display elevation and orientation data on screen, so I created this.

Image
Image
Image
Image

The wiki article is here: http://www.ogre3d.org/tikiwiki/tiki-ind ... ne%20Chart
You can download a demo of it here: http://www.mediafire.com/?5q5l84b5l03r7rd

Hope someone finds use for it.
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 135
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by spacegaier »

Wow, that is some cool stuff! And one heck of a wiki article. Really good work, mate!
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by jacmoe »

Really cool!
Now where's the Kudos button? :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Adis
Gnoblar
Posts: 15
Joined: Sun Apr 30, 2006 6:05 pm
x 5

Re: New Wiki Snippet: Line charts in OGRE

Post by Adis »

Thank you for the kind words, it's really appreciated. :)
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4304
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 135
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by spacegaier »

One little thing for future references: When creating wiki article please do not link to external image hosters but upload the image directly to the wiki instead. This prevents us from loosing those precious images.

PS: I already did it for your article :) .
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...
User avatar
Adis
Gnoblar
Posts: 15
Joined: Sun Apr 30, 2006 6:05 pm
x 5

Re: New Wiki Snippet: Line charts in OGRE

Post by Adis »

Oh, ok. I just didn't want to waste the space on the server. :)
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by Klaim »

Adis> Hi, nice tool :D I wanted to write something like this later for my game (blah blah blah...) but using gorilla or something more 2D.

So, after having quickly browsed the (very complete and clear) wiki page, I downloaded the demo (to check a bit the performance of this thing).
The problem is that it don't find CG.dll that, AFAIK have to be provided by the app? Maybe you just forgot it.
User avatar
Adis
Gnoblar
Posts: 15
Joined: Sun Apr 30, 2006 6:05 pm
x 5

Re: New Wiki Snippet: Line charts in OGRE

Post by Adis »

Yes I did (it's in the PATH so I completely forgot about it). Note to self: check dependency graph before uploading :D.
It should be updated now, same link.
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by Klaim »

Excellent :D

By the way, what would be the performance bottleneck with Plot? I mean, does point count, update frequency or any other parameter have a huge impact on performance?
I'll have to try with more points and something like 1/10 second period, see how it behaves.

Anyway it's really great :D
User avatar
Adis
Gnoblar
Posts: 15
Joined: Sun Apr 30, 2006 6:05 pm
x 5

Re: New Wiki Snippet: Line charts in OGRE

Post by Adis »

There doesn't seem to be a noticeable framedrop when changing points and update time (I tried up to 2000 points and a new point on every frame).
Every pixel of the plot gets calculated on its own so unless the graphics card manages to cache something (I don't think it does that) the only parameter that should really matter is the actual size of the chart in pixels. (IMHO)
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by Klaim »

I see, that's good then. I don't need a big surface :D
User avatar
RoadKillGrill
Kobold
Posts: 39
Joined: Fri Mar 13, 2009 8:27 pm
Location: Ohio
x 6
Contact:

Re: New Wiki Snippet: Line charts in OGRE

Post by RoadKillGrill »

Thank you!!!!
It's a rule, artist applications are 50% magic and 40% productivity and 10% crash.
User avatar
LiMuBei
Goblin
Posts: 297
Joined: Mon Jun 09, 2008 3:56 pm
Location: Karlsruhe, Germany
x 10

Re: New Wiki Snippet: Line charts in OGRE

Post by LiMuBei »

That looks really cool. Will give it a try soon. Kudos to you :)
Post Reply