blog logo
> CHICIO CODING_Pixels. Code. Unplugged.
How to calculate the reflection vector

How to calculate the reflection vector

·

In this post I will talk about reflection vector used in some lighting models, for example the Phong reflection model. I will show you how this vector is calculated. [...]

Model View Presenter on iOS: no more excuses, write your unit test

Model View Presenter on iOS: no more excuses, write your unit test

·

In this post I will talk about the model view presenter architectural pattern and how it can improve your unit test and your TDD workflow when developing an iOS application. [...]

Phong reflection model

Phong reflection model

·

In this post I will talk about phong reflection model: one of the oldest and most popular lighting model in computer graphics. [...]

A first approach to contract test

A first approach to contract test

·

In this post I will talk about contract test: what they are and how you can use them. [...]

Swift Closure: demystifying @escaping and @autoclosure attributes

Swift Closure: demystifying @escaping and @autoclosure attributes

·

In this post I will talk about Swift closure and the potential of the @escaping and @autoclosure attributes [...]

Swift Closure: definition and syntax

Swift Closure: definition and syntax

·

In this post I will talk about Swift closure: what they are and their syntax [...]

A physically based scene with three.js

A physically based scene with three.js

·

In this post I will show you how to create a scene using ThreeJS with support for Physically Based Rendering [...]