QNX 6.5 running OpenGL ES 2.0

Hello Everyone,

I just wanted to let you all know that Crank now has Storyboard™ Embedded Engine for QNX 6.5 available for installation. I’ve put together a step by step to get you all up and running quickly.

If you want to run OpenGL ES 2.0 on the QNX 6.5 target platform there are a couple of steps that you need to do first. I’ve added a link to our forums that describes what those steps are.

Thanks,

-JamieV

Storyboard Performance Logging

Hello Everyone,

Here is a quick tutorial using performance logging to identify and preload images to prevent stalls on initial application start up with Storyboard Designer.

Open up the Storyboard Simulator Configuration.

 

Enable the libgre-plugin-logger.dll and check “Get Performance Information” and “Start Now” and then “Apply” and “Run”. This setup will display information to the console.

You can also export the information to a .csv file and then use the filter options in Microsoft Excel to help look through the data. To capture information to a .csv file instead of displaying to the console, do the same as above but enter a file name in the field provided. The .csv file will show up in your project directory after running the Storyboard application. If you don’t want the performance logging to start when the application starts, you only need to check the “Get Performance Information” action and leave the “Start Now” action unchecked.

Once you have the data you’ll want to do a filter to just show the load calls. All duration times are in ms.  Now you can identify the images that cause the largest issues and use the Lua gre.load_resource() call to preload these images during a splash screen or another appropriate time.

-JamieV

 

Storyboard IO

Hello Everyone,

We have had many customers and people evaluating Storyboard asking about communicating with external programs. Storyboard does this using what we call Storyboard IO. The Storyboard IO API provides a platform independent communication API that allows inter-task and inter-process queued message passing. To read more on Storyboard IO please see here.

Since this issue has come up many times recently I thought I would put together a step by step so anyone interested could run an external application and see Storyboard IO in action. This step by step assumes you are using Storyboard 1.3 and Microsoft Visual Studio 2008.

Lets get started!

1) Start Microsoft Visual Studio 2008 and create a console project

File -> New Project -> Win32 Console Application

Name: storyboardio
Path: c:\crank\<some dir name>

Agree to the defaults presented in the auto config wizard

2) Add in the include path for Storyboard IO

** Right click project (storyboardio) select Properties

** Expand C/C++ > General

** Add the Win32 Storyboard Engine include path:

C:\Program Files (x86)\Crank Software\Storyboard Engine\1.3.0.201109261539\win32-x86-win32-obj\include

3) Add in the header definition for Storyboard IO to the source

** Add in to the main source file (storyboardio.cpp)

#include <gre/greio.h>

4) Add in the MS missing standard C files (stdint.h/inttypes.h)

** Download http://code.google.com/p/msinttypes/downloads/list

** Add them to the project (wherever you want in the filesystem) and to the include path

** Suggest adding $(ProjectDir) to path

5) Add in the Storyboard IO library

** Right click project (storyboardio) select Properties

** Expand Linker -> Input

** Add libgreio.lib to  the additional dependencies

** Expand Linker -> General

** Add the path to the grieo library

C:\Program Files (x86)\Crank Software\Storyboard Engine\1.3.0.201109261539\win32-x86-win32-obj\lib

6) Build the project

** Build -> Build Solution

7) Below is a sample MS VS 2008 sample application.

** Run any Storyboard application with the command line option of:

-ogreio,channel=testgreio

C:\Program Files (x86)\Crank Software\Storyboard Engine\1.3.0.201109261539\win32-x86-win32-obj\bin\sbengine.exe -vvv -ogreio,channel=testgreio C:\Program Files (x86)\Crank Software\Samples\media_player\media_player.gapp

** Then run the MS VS 2008 sample application, it will cause the Storyboard application to quit.

----- Sample App -----
 // storyboardio.cpp : Defines the entry point for the console application.
 //
#include "stdafx.h"
#include <gre/greio.h>
int _tmain(int argc, _TCHAR* argv[])
{
    gre_io_t *handle;
    gre_io_serialized_data_t *buffer;
handle = gre_io_open("testgreio", GRE_IO_TYPE_WRONLY);
if(handle == NULL) {
    printf("I can't open the IO channel\n");
    return 1;
}
buffer = gre_io_serialize(NULL, NULL, "gre.quit", NULL, NULL, 0);
if(buffer == NULL) {
    printf("I can't serialize an event \n");
    return 1;
}
gre_io_send(handle, buffer);
gre_io_close(handle);
return 0;
}

Thanks,
-Jamie

What’s up doc?

Hello Everyone,

With the release of Storyboard Suite 1.3 we also updated our documentation. Not only were they updated to reflect the new functionality of features new to 1.3 but, we also restructured / updated older content and refreshed the images. When you have a minute or two stop by and take a read.

Thanks,

-JamieV