RSS

Tag Archives: snapshot

C# Websocket programming: the simplest example


Create a winform Application:

image

Read the rest of this entry »

Advertisements
 
13 Comments

Posted by on July 23, 2015 in Dotnet/C#, Programming

 

Tags: , , , , , , , ,

JIRA & Jira Agile installation: A step-by-step guide with snapshots


JIRA and JIRA Agile are powerful tools for project management. In my recent work, I tried to install JIRA and JIRA Agile on a Ubuntu Server or Ubuntu Desktop, and though seemingly this is a straightforward process, however to really get it up and running as you expected, this is far from a trivial work.

The motivation of this post is to offer a step-by-step guide, with as many snapshots as possible, so as to make it easier for others to repeat this installation process.

I assume the Ubuntu Server is installed on another machine, be it a physical or a virtual machine, to get he IP of this Ubuntu server, run the below command in a terminal:

ifconfig

image

Read the rest of this entry »

 
Leave a comment

Posted by on April 29, 2015 in Project Management

 

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

Open Scene Graph: Render scene to image


OSG ships with many examples including several applications that renders the scene to image, for instance OsgAutoCapture, and OsgScreenCapture.

Whilst these applications are information rich, yet they lack sufficient conciseness and are not right to the point sometimes. It took me hours to get what I need, and for my specific task, I just need such a simple class OsgSnapshotHelper:

void Capture(osgViewer::Viewer* pViewer, std::string outputImagePath)
{
OsgSnapshotHelper* osh = new OsgSnapshotHelper(pViewer);
osh>Capture(outputImagePath);
delete osh;
osh = NULL;
std::cout << Ending Capture: << outputImagePath  << std::endl;
}

image

And here is my implementation, based on OsgAutoCapture example. I wrapped it to what I need and removed all unnecessary stuff into one single class, which would be very portable then.

image

Read the rest of this entry »

 
5 Comments

Posted by on June 30, 2014 in osg, Programming

 

Tags: , , , , , , ,