sidebar features
sidebar content

Go Back   Blender Artists Forums > Game Engine > Works in Progress and Game Demos

Reply
 
Thread Tools
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
I interfaced the Blender Game Engine with a system and network monitoring package. The attached screenshot show a computer downloading a file from the internet. The model is an autolayout of the actual system components, except for the CPU utilization bars. I gratuitously replicated the machine's single CPU, to have something more to look at. The little yellow cubes represent blocks of data transiting to/from the network interface, and to/from the disks. The frame rate is very good, as one might expect for this example having so few moving parts.

The monitoring package used is Performance Co-Pilot.
http://en.wikipedia.org/wiki/Performance_Co-Pilot
http://oss.sgi.com/projects/pcp

An external process does the actual live data collection, so the BGE never waits on network latency. The activity measurements are pickled and passed into the BGE using System V Messages. The incoming messages are then decomposed by a hierarchy of receiver objects/scripts, and individual metric measurements are handed off to the objects that represent them.

The artwork is lame because I'm an engineer. Or, I'm an engineer because the artwork is lame - whichever you prefer.

Attached Images
File Type: jpg screen-shot3.jpg (132.7 KB, 137 views)

Last edited by codesmythe; 29-May-09 at 16:02. Reason: embedding the the attached image into the post
#1   Old 26-May-09, 23:37   
Reply With Quote


austen austen is offline
Member
 
Join Date: Apr 2009
Location: Montana
Posts: 83
I'm confused, but this looks cool. I'm a CS student but this looks a little over my head.
#2   Old 27-May-09, 02:36   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Austen - what part can I explain for you?
#3   Old 27-May-09, 06:24   
Reply With Quote
coonerboy's Avatar
coonerboy coonerboy is offline
Member
 
Join Date: Jan 2009
Posts: 477
So the point is that when you download something this will pop up and you will be able to see your data transfering in 3D? If so, thats neat!
............................................
Imagine how many poly's the whole world has?
-=OLP=-
One Location Productions
#4   Old 28-May-09, 00:02   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
coonerboy - It's similar to what you describe.
The blender app runs continuously, reading activity measurements from some computer(s) on your network that it has been told to monitor. Those activity measurements get translated into moving/wiggling objects in the game engine. So, one can continuously watch the innards of the computer(s) operate, and watch the interactions, much like watching some mechanical machines in a factory.

Last edited by codesmythe; 28-May-09 at 01:06. Reason: typo
#5   Old 28-May-09, 00:58   
Reply With Quote
Rorkimaru's Avatar
Rorkimaru Rorkimaru is offline
Member
 
Join Date: Jun 2008
Posts: 749
Quote:
Originally Posted by codesmythe View Post
coonerboy - It's similar to what you describe.
The blender app runs continuously, reading activity measurements from some computer(s) on your network that it has been told to monitor. Those activity measurements get translated into moving/wiggling objects in the game engine. So, one can continuously watch the innards of the computer(s) operate, and watch the interactions, much like watching some mechanical machines in a factory.
That's rather cool! it's an interesting prospect
#6   Old 28-May-09, 10:44   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Thank you all for the compliments.
#7   Old 28-May-09, 16:48   
Reply With Quote
KidVegas KidVegas is offline
Member
 
Join Date: May 2009
Posts: 1
Planning on releasing your code?
#8   Old 29-May-09, 14:42   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Quote:
Originally Posted by KidVegas View Post
Planning on releasing your code?
Yes, after a respin. The current rev is a messy late-night hack job.

Last edited by codesmythe; 30-May-09 at 15:42. Reason: typo
#9   Old 29-May-09, 16:13   
Reply With Quote
e_dantes e_dantes is offline
Member
 
Join Date: May 2009
Posts: 1
Can you describe real quick what the different elements do in your pic? Change size, move up/down, color, etc? Sorta hard to visualize it without seeing it move.
#10   Old 29-May-09, 17:56   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Best if I post a video later.
#11   Old 30-May-09, 15:40   
Reply With Quote
coonerboy's Avatar
coonerboy coonerboy is offline
Member
 
Join Date: Jan 2009
Posts: 477
Once it is finished what will you do with it. Sell it? Free download? Eventualy you should get some better models or ask someone to make them for you. Anyway sounds neat and if it works i might even want it.
............................................
Imagine how many poly's the whole world has?
-=OLP=-
One Location Productions
#12   Old 30-May-09, 16:26   
Reply With Quote
yournamehere's Avatar
yournamehere yournamehere is offline
Member
 
Join Date: Nov 2007
Location: Location: Location
Posts: 1,330
That's a great project Codesmythe--probably one of the coolest apps to come out of blender. I don't know; however, if blender is the program for the job. It's not the most flexible program when it comes to windowed and/or moveable apps. :|

peace,
-nick
............................................
*New* Blender Texture Pack | 128x128 Texture Pack

"You could call Bill Gates a compassionate Pimp"
-Al Capone
#13   Old 30-May-09, 22:05   
Reply With Quote
Olm-Z's Avatar
Olm-Z Olm-Z is offline
Member
 
Join Date: Apr 2006
Location: Bxl - Be
Posts: 289
I've seen it slashdotted !! : http://tech.slashdot.org/story/09/05...mance-Co-Pilot ha !
#14   Old 30-May-09, 22:21   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Quote:
Originally Posted by coonerboy View Post
Once it is finished what will you do with it. Sell it? Free download? Eventualy you should get some better models or ask someone to make them for you. Anyway sounds neat and if it works i might even want it.
I plan on posting the .blend, after I clean up and rewire a few things.
#15   Old 31-May-09, 15:13   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Quote:
Originally Posted by yournamehere View Post
That's a great project Codesmythe--probably one of the coolest apps to come out of blender. I don't know; however, if blender is the program for the job. It's not the most flexible program when it comes to windowed and/or moveable apps. :|

peace,
-nick
Thanks for the compliment. That is uncomfortably high praise, considering the level of talent
in the blender community.

What do you find troublesome about working with windowed/movable apps in blender?
What program do you think would be better suited?
#16   Old 31-May-09, 15:38   
Reply With Quote
deltaray's Avatar
deltaray deltaray is offline
Member
 
Join Date: Jan 2008
Location: Bloomington, IN
Posts: 86
Still plan on releasing the code? I'm very interested in this because I wanted to do something like this as well. Basically I was wanting to make a blender game that would read tcpdump output and visualize it. Probably would need to use libpcap.
............................................
Its amazing how easy Blender makes it.
#17   Old 05-Apr-10, 13:31   
Reply With Quote
Fake Fake is offline
Member
 
Join Date: Jan 2008
Location: http://fake.yolasite.com
Posts: 325
That looks cool. Can't wait for the blend.Probably wouldn't keep it running all the time, but the input from another program is immensely interesting to me.
............................................
My website that happens to have blender tutorials on it. Some anyway.

A computer is like air conditioning; it becomes useless when you open Windows --- Linus Torvalds

Your desktop background is a window into your soul.

Look ma, it's a bezier cube.
#18   Old 09-Apr-10, 07:35   
Reply With Quote
codesmythe codesmythe is offline
Member
 
Join Date: Apr 2009
Posts: 10
Deltaray & Fake - The short answer is yes. I wanted to circle back around and clean up the code before releasing it, but clearly it's been pushed far down the stack. It was my first blender program, hacked up over a week. So, you can imagine the state of it. I'll endeavor to revisit it this coming week, lay aside any pretension of craftsmanship, and post you some happiness. Recently I've been working on a new rev of the Performance Co-Pilot python libraries, which this relies upon. But, that is still several weeks from being done.
#19   Old 09-Apr-10, 17:34   
Reply With Quote
Reply

Bookmarks

Thread Tools

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


All times are GMT. The time now is 19:36.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Blender Headlines
Featured Artwork
Crocodile by Julia Korbut
Classic vintage look renders by HANGAR
Blending life - Old George by bigbad
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Social BlenderArtists