Category: Featured

Sound Manager for Unity3D

Unity3D’s default sound philosophy (2D/3D audio sources with support for directionality, volume, panning, property animations and filters like Reverb, Echo, etc.) is cool but if you want to add some simple sounds to your game really quickly and also: – keep playing music when loading and into new scenes – […]

Handling Java objects in MEX files

In case you are right now having the same doubts as author of this post, I might have some good news for you. The following snippet of code was supposed to be part of my upcoming Weka toolbox for SPM8. It copies content of a 2-D full real MATLAB array […]

Animated Water Shader

Due to popular request, I’m posting the source code of my Unity3D Animated Water Shader. It is a complete rewrite of Alzahiel/GraphicRunner’s shader. Brief list of changes: – It’s a surface shader (not Vertex+Fragment) – Doesn’t require script file, all animation is done in the shader using built-in _Time variable […]

Thin-Git Goes Open-Source

Hello everybody, Finally I have decided to release Thin-Git on an open-source license – BSD-old. Just to remind you, -old means that there is the advertising clause saying: 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by […]

Animated normal maps simulating geometry displacement

As promised – application example of Flow Editor‘s new functionality – an animation map. I created a high-poly model of an alien eyeball in Blender and texture-painted it. Then I baked the color map and normal map onto a regular low-poly sphere. After loading the generated color map into Flowed, […]

Flow Field Editor Still Alive

I’ve come up with some new ideas for what seemed a completed tool. This release of FFE (“Flow Field” Editor) has changed significantly, so I will describe it from scratch. Introduction What FFE now produces is in general an image. It can be created from: flow field points, color points, […]

GraviBall Demo

A small Unity3D game I started creating recently. Features custom character controller and several interesting transparent materials. It will get more fascinating as I come up with new ideas to employ the non-orthodox game physics. Game created in Unity Indie. All geometry and textures were created in Blender.

Save SPM8 results with anatomical labels

Hi there! This little script saves cluster-level SPM results along with anatomical labels to spm_results_with_anat.txt file in the current directory. Results are appended to the file, so that you can run it repeatedly for different contrasts. It requires SPM8. Included are AAL atlas files: aal_MNI_V4.nii, aal_MNI_V4.txt and atlas to anatomical […]

Faster dot product for SVM

If you’ve ever used SVM for classification of 3D images, you’re probably a big fan of the kernel trick as it improves SVM performance significantly when working with such huge sets of features. I’m working in neuroscience at the moment and I think it’s fair to say that using SVM […]

explore_matlab_path: Tree-based MATLAB source code browser

In my opinion MATLAB is rather lacking when it comes to modern software development. One of the things which always pissed me off is the absence of proper code hierarchy browser. Sure – there is current directory window but it displays everything, not only source code files and doesn’t provide […]