Switching to Hugo CMS

Switching to Hugo CMS

I am switching CMS to Hugo. Easy and quite comfortable to work with, Disqus support (finally some comments on the site) with option to run on Google Application Engine. PS: Works better and faster than expected - I am already running new site at GAE.

Qt + boost build integration

Sometimes it is good to be able to include boost library without need to compile the whole package beforehand - just by including simple .pri file like this: # Wed Aug 24 09:21:20 CEST 2016 INCLUDEPATH += $$PWD/. SOURCES += "$$PWD/libs/regex/src/c_regex_traits.cpp" "$$PWD/libs/regex/src/cpp_regex_traits.cpp" "$$PWD/libs/regex/src/cregex.cpp" "$$PWD/libs/regex/src/fileiter.cpp" "$$PWD/libs/regex/src/icu.cpp" "$$PWD/libs/regex/src/instances.cpp" "$$PWD/libs/regex/src/posix_api.cpp" win32:SOURCES += unix:SOURCES += LIBS += -lz -lbz2 Here is a simple script that generates boost-mpi.pri script and set of headers and sources from Boost library located at /Volumes/USBSTORE/(Dev)/boost_1_61_0 path:
New Vector demo

New Vector demo

For some time I continue a project for retro-vector OpenGL drawing library called Vector - you can find it on my github: http://github.com/ppiecuch/Vector. I have added some new demo ported from [http://v.st project](http://v.st project). Looks quite retro. I am using Qt for UI/OpenGL setup. It is very handy and easy if you are doing a lot of cross-platform development (and it is free for personal use).
QLMesh - mipmaps preview for compressed textures

QLMesh - mipmaps preview for compressed textures

For the new version of QLMesh I have added preview of compressed textures. No big thing, but with mipmaps support it is quite handy solution. Turned out to be not so complex: CGContextRef kcontext = QLPreviewRequestCreatePDFContext(preview, NULL, NULL, properties); ... CGImageRef cimage = ...; // Fill 3/4 of the rect const float enlarge = 1.0 + 0.48*i*i; CGRect canvasRect = CGRectMake((image[0].width - w*enlarge)/2, (image[0].height - h*enlarge)/2, w*enlarge, h*enlarge); CGContextBeginPage(kcontext, &pageRect); CGContextDrawImage(kcontext, canvasRect, cimage); CGContextEndPage(kcontext);
QLMesh - control application

QLMesh - control application

Part of the QLMesh is control application for quicklook plugin. Usually that would not be anything worth to write an blog entry about, however for MacStore applications this is a very different story. MacStore applications are all sanboxed. There are ways to communicate and share data between such applications, eg. using App groups, but quicklook plugins do not support that feature. After struggling for some time with this problem I came out with this simple solution:
QLMesh - OSX QuickLook 3D plugin

QLMesh - OSX QuickLook 3D plugin

Apple has just accepted my application on AppStore: QLMeshl. It is a QuickLook plugin for displaying a preview of many 3d formats, base on Open Assets Import Library. All formats are supported: 3d, 3ds, ac, ac3d, acc, ase, ask, assbin, b3d, blend, bvh, cob, csm, dae, dxf, enff, fbx, hmp, ifc, ifczip, irr, irrmesh, lwo, lws, lxo, md2, md3, md5anim, md5camera, md5mesh, mdc, mdl, mesh, mesh.xml, mot, ms3d, ndo, nff, obj, off, ogex, pk3, ply, prj, q3o, q3s, raw, scn, smd, stl, ter, uc, vta, x, xgl, xml, zgl.
Github projects

Github projects

Check out some of projects I continue at http://github/ppiecuch: Shallow-water-fluid-simulator, FluidSolver and Vector. I have updated these projects to be working with the latest Qt versions.
QShaderEdit

QShaderEdit

For some time I have been developing some old project: QShaderEdit. I have upgraded the source code to Qt5 and added many new features + shaders. It is getting a pretty useful tool. I am using it for testing my shaders.