RSS

Tag Archives: openFrameworks

2012 in review


The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 69,000 times in 2012. If it were a concert at the Barclays Center, it would take about 4 sold-out performances for that many people to see it.

Click here to see the complete report.

Advertisements
 
Leave a comment

Posted by on January 9, 2013 in General

 

Tags: , , , , , , , , , , , , , , , , , ,

C++: Show Full Screen Images in a UI (Part II: Using Openframework)


One of my colleague recommended me using Openframework to implement the program to show a full screen image. See more details in this previous blog.

So I first created an application class FullScreenApp, which derives from ofBaseApp:

image 

An ofImage object is then introduced, and the update() and draw() function is overriden:

image

In the main() function, call the below code:

image

Here the code to load background image and process command line argument is skipped since it is fairly simple and straightforward.

Build and Run! Happy coding!

 
Leave a comment

Posted by on June 6, 2012 in Programming

 

Tags: , , , , ,

Learning openFramework from a MFC-er’s perspective


Recently I began learning openFramework and ever talked with my colleagues about how to adapt to it as quickly as possible. As a programmer who started programming along the path C –> C++/MFC –> .Net/C#, I found the below analogy is quite useful to digest and use the framework.

ofBaseApp CWinApp
setup() InitInstance()
draw() OnDraw()
exit ExitInstance()

If you are willing to accept these new words/expressions, it will be trivial to get started with openFramework! I will update this as my project progresses.

Happy coding!

 
Leave a comment

Posted by on December 4, 2011 in openFrameworks

 

Tags: , ,

Learning openFramework from a MFC-er’s perspective


Recently I began learning openFramework and ever talked with my colleagues about how to adapt to it as quickly as possible. As a programmer who started programming along the path C –> C++/MFC –> .Net/C#, I found the below analogy is quite useful to digest and use the framework.

ofBaseApp CWinApp
setup() InitInstance()
draw() OnDraw()
exit ExitInstance()

If you are willing to accept these new words/expressions, it will be trivial to get started with openFramework! I will update this as my project progresses.

Happy coding!

 
Leave a comment

Posted by on December 4, 2011 in openFrameworks

 

Tags: , ,