?
Solved

What language to use??

Posted on 2006-04-12
5
Medium Priority
?
201 Views
Last Modified: 2010-04-17
I am developing a collaborative environment that will read in applications from other systems using VNC, and they will be all placed onto a 30" display.  The question is I want to be able to annotate 'on top' of VNC'ed windows.  Now there is no interaction between the user of the collaborative environment and the users of the applications.  I just want to basically draw lines, circles, rectangles and text on top of the VNC'ed windows.  What would be the best way to go about this?  We are going to be using either a Linux or Solaris OS.  I have looked into openGL but the more I look into this it seems as if openGL is a little overkill for what I am trying to accomplish?  Any direction would be appreciated?
0
Comment
Question by:jse2006
3 Comments
 
LVL 25

Accepted Solution

by:
InteractiveMind earned 252 total points
ID: 16439049
If just want to draw some very simple shapes, then why not use a custom library?

As for which language to use: almost any language is feasible. You should use the language that you're most comfortable with though.

Keeping in mind that C/C++ is generally faster for such operations; but for something simple, you shouldn't get much overhead in any language (not even Java!) ;-)
0
 

Author Comment

by:jse2006
ID: 16439168
Ok, in terms of language we are using C/C++, ... sorry I didn't post that earlier....

My first build is going to consist of the line drawing...(simple shapes)...  later builds may consist of some overlay/underlay of the windows with some transparency, image capture, and image export functions.

First, off would you feel the openGL is overkill???  During my initial research a lot of information that I found pushed me in that direction, to acutually manipulate the framebuffer and combine all of my VNC'ed apps into one buffer and then display it on the screen.  The more I read I was beginning to think, do I really need to do it that way, or can I let the OS/Graphics Card do it's own thing it terms of displaying the windows and actually just write the code to 'draw' ontop of all of the windows.  

When you say custom library...do you have any ideas/websites on where anything like this has been done to give me a decent starting point?

Thanks
0
 

Assisted Solution

by:G-SEMPE
G-SEMPE earned 248 total points
ID: 16439989
Hello,
You seems to need a simple 2D API. You can take a look at SDL library (http://www.libsdl.org/index.php). I think it should be a very interesting starting point for you.

Best regards,
Guillaume SEMPE.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Simple Linear Regression

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question