Page 1 of 1

New Wiki Snippet: Line charts in OGRE

Posted: Fri Jan 28, 2011 8:59 pm
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.

Re: New Wiki Snippet: Line charts in OGRE

Posted: Fri Jan 28, 2011 9:03 pm
by spacegaier
Wow, that is some cool stuff! And one heck of a wiki article. Really good work, mate!

Re: New Wiki Snippet: Line charts in OGRE

Posted: Fri Jan 28, 2011 11:22 pm
by jacmoe
Really cool!
Now where's the Kudos button? :)

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 12:23 pm
by Adis
Thank you for the kind words, it's really appreciated. :)

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 12:45 pm
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 :) .

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 1:20 pm
by Adis
Oh, ok. I just didn't want to waste the space on the server. :)

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 1:27 pm
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.

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 2:05 pm
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.

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 2:22 pm
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

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 2:43 pm
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)

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 6:36 pm
by Klaim
I see, that's good then. I don't need a big surface :D

Re: New Wiki Snippet: Line charts in OGRE

Posted: Sat Jan 29, 2011 8:03 pm
by RoadKillGrill
Thank you!!!!

Re: New Wiki Snippet: Line charts in OGRE

Posted: Thu Feb 17, 2011 10:23 am
by LiMuBei
That looks really cool. Will give it a try soon. Kudos to you :)