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.

New Wiki Snippet: Line charts in OGRE

Postby Adis » Fri Jan 28, 2011 8:59 pm

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-index.php?page=Ogre%20Line%20Chart
You can download a demo of it here: http://www.mediafire.com/?5q5l84b5l03r7rd

Hope someone finds use for it.

For this message the author Adis has received 5 kudos
User avatar
Adis
Gnoblar
 
Posts: 15
Kudos: 5
Joined: 30 Apr 2006

Re: New Wiki Snippet: Line charts in OGRE

Postby spacegaier » Fri Jan 28, 2011 9:03 pm

Wow, that is some cool stuff! And one heck of a wiki article. Really good work, mate!
Ogre Admin [DevTeamMember, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your sparetime? Help the Ogre wiki grow!

For this message the author spacegaier has received kudos
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
 
Posts: 3881
Kudos: 87
Joined: 04 Feb 2008
Location: Germany

Re: New Wiki Snippet: Line charts in OGRE

Postby jacmoe » Fri Jan 28, 2011 11:22 pm

Really cool!
Now where's the Kudos button? :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, Fueled by Passion.
Ogre AppWizards - Ogre project wizards for VC 8-10, Code::Blocks and KDevelop.
OgreAssimpConverter - command-line to convert models to Ogre format.
TwOgreGUI - wrapper for AntTweakBar GUI library.
I accept donations | Me on Google+
User avatar
jacmoe
OGRE Moderator
OGRE Moderator
 
Posts: 21024
Kudos: 161
Joined: 22 Jan 2004
Location: Denmark

Re: New Wiki Snippet: Line charts in OGRE

Postby Adis » Sat Jan 29, 2011 12:23 pm

Thank you for the kind words, it's really appreciated. :)
User avatar
Adis
Gnoblar
 
Posts: 15
Kudos: 5
Joined: 30 Apr 2006

Re: New Wiki Snippet: Line charts in OGRE

Postby spacegaier » Sat Jan 29, 2011 12:45 pm

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 [DevTeamMember, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your sparetime? Help the Ogre wiki grow!
User avatar
spacegaier
OGRE Team Member
OGRE Team Member
 
Posts: 3881
Kudos: 87
Joined: 04 Feb 2008
Location: Germany

Re: New Wiki Snippet: Line charts in OGRE

Postby Adis » Sat Jan 29, 2011 1:20 pm

Oh, ok. I just didn't want to waste the space on the server. :)
User avatar
Adis
Gnoblar
 
Posts: 15
Kudos: 5
Joined: 30 Apr 2006

Re: New Wiki Snippet: Line charts in OGRE

Postby Klaim » Sat Jan 29, 2011 1:27 pm

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
Klaim
Old One
 
Posts: 2406
Kudos: 53
Joined: 11 Sep 2005
Location: Lille, France

Re: New Wiki Snippet: Line charts in OGRE

Postby Adis » Sat Jan 29, 2011 2:05 pm

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
Adis
Gnoblar
 
Posts: 15
Kudos: 5
Joined: 30 Apr 2006

Re: New Wiki Snippet: Line charts in OGRE

Postby Klaim » Sat Jan 29, 2011 2:22 pm

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
Klaim
Old One
 
Posts: 2406
Kudos: 53
Joined: 11 Sep 2005
Location: Lille, France

Re: New Wiki Snippet: Line charts in OGRE

Postby Adis » Sat Jan 29, 2011 2:43 pm

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
Adis
Gnoblar
 
Posts: 15
Kudos: 5
Joined: 30 Apr 2006

Re: New Wiki Snippet: Line charts in OGRE

Postby Klaim » Sat Jan 29, 2011 6:36 pm

I see, that's good then. I don't need a big surface :D
User avatar
Klaim
Old One
 
Posts: 2406
Kudos: 53
Joined: 11 Sep 2005
Location: Lille, France

Re: New Wiki Snippet: Line charts in OGRE

Postby RoadKillGrill » Sat Jan 29, 2011 8:03 pm

Thank you!!!!
It's a rule, artist applications are 50% magic and 40% productivity and 10% crash.
User avatar
RoadKillGrill
Kobold
 
Posts: 39
Kudos: 6
Joined: 13 Mar 2009
Location: Ohio

Re: New Wiki Snippet: Line charts in OGRE

Postby LiMuBei » Thu Feb 17, 2011 10:23 am

That looks really cool. Will give it a try soon. Kudos to you :)
User avatar
LiMuBei
Goblin
 
Posts: 297
Kudos: 9
Joined: 09 Jun 2008
Location: Karlsruhe, Germany


Return to Using OGRE in practice

Who is online

Users browsing this forum: Google [Bot] and 2 guests