Hosting multiple flask applications in nginx

Posted on 2017-09-24 in flask • Tagged with flask, nginx, programming, web-programming

This article describes configuration details related to running flask application from within nginx subdirectory using uwsgi.

This article turned out to be big and messy, and it deals with one specific configuration detail. For a simple/clean introduction to python/flask I'd recommend to check out this tutorial first: The …


Continue reading

Generating aruco markers in python

Posted on 2017-09-24 in programming • Tagged with aruco, ar, python, programming

Few weeks ago I suddenly had to deal with aruco markers as a part of an OpenCV AR project.

For those who are not familiar with them, aruco markers are a type of marker used in AR application to indicate where something is.

They often look like this:

Aruco marker #0409
(aruco marker …


Continue reading

Unity3d - Doom Clone project WIP #5

Posted on 2017-06-14 in unity3d • Tagged with unity3d, youtube

Another update on "Doom clone in unity" project.

Changes:

  • Skybox
  • Openable doors
  • Shotgun colliders
  • Wall impact effects
  • Death effects

Continue reading

Clouds in blender 3d

Posted on 2017-06-11 in unity3d • Tagged with blender3d, youtube

Over past few days I've been looking into a quick method to make a better skybox for doom clone project.

This, unfortunately, sent me on a rabbit chase acrosss multiple tutorials dealing with blender's volumetric lighting.

A lot of tutorials spent a lot of time talking about unrelated matters, so …


Continue reading

Texture space shader (test/demo).

Posted on 2017-06-11 in unity3d • Tagged with unity3d, youtube

This is a quick shader made for demonstrating transforms that can be used to render into texture space.

code:

Shader "Unlit/DecalUnwrap"
{
    Properties
    {
        _MainTex ("Texture", 2D) = "white" {}
        _decalBlend ("DecalBlend", Range(0.0, 1.0)) = 0.0
    }
    SubShader
    {
        Tags { "RenderType"="Opaque" }
        LOD 100

        Pass
        {
            CGPROGRAM
            #pragma vertex vert
            #pragma fragment …

Continue reading

Unity3d - Doom Clone project - grayboxed level

Posted on 2017-06-08 in unity3d • Tagged with unity3d, youtube

Another update for "Doom Clone in Unity 3d" project.

Changes:

  • Grayboxed the level.
  • I've automated creation of sprites for the game.
  • Added glow effect on enemies. "Lit up" parts will no longer fade out into darkness.
  • Lots of tweaks in the level editor - level can now be split into multiple …

Continue reading

Unity3d - Doom Clone project - basic AI

Posted on 2017-06-05 in unity3d • Tagged with unity3d, youtube

Another update for "Doom Clone in Unity 3d" project.

I now have an very basic ai that reacts to being hit, and then fires back (while standing still at the moment). It will still need further tweaking.


Continue reading

Unity3d - Doom Clone project WIP #4

Posted on 2017-06-04 in unity3d • Tagged with unity3d, youtube

Another update on "Doom Clone in Unity 3d" project.

Finished the last monster and decided to postpone working on player character sprites (because player character sprite isn't visible in single player most of the time anyway)

I'll resume grayboxing the level. Then it'll be time to test mechanics and stuff …


Continue reading

Unity3d - Doom Clone project WIP #3

Posted on 2017-06-04 in unity3d • Tagged with unity3d, youtube

A quick update on Doom clone in Unity project.

I've made one more monster character, two more characters to go. I think something may be slightly wrong with distance fade, but I'll look into it later.


Continue reading

Unity3d - Doom Clone project WIP #2.1

Posted on 2017-06-03 in unity3d • Tagged with unity3d, youtube

Another quick update on doom clone work in progress

Surprisingly, making doom-style sprites requires a fairly large number of frames. With a very small number of animations and frames per animation, it is easy to end up with something like 96 frames per character. Needless to say, I didn't draw …


Continue reading