Skip to main content

Samiam's Scribble Pad

Steering behaviour for wander as 1d noise of angular value.

Submitted by root on

Found a cool tute on a wander behaviour for my cat simulator

 

http://gamedevelopment.tutsplus.com/tutorials/understanding-steering-be…

This is a classic Ordinary Differential Equation for solving 2d position and velocity.

I was thinking about this.

And it looks like a lot of steps to produce a fairly continuous angular rotation with a random nature to it.

Continuous is both its first and second derivative.

Inverse decay of light and an alternative to traditional image based lighting and a move to incident light fields.

Submitted by root on

Let me take you back, way back to year 9 in high school in 1985, where I was introduced to light and photography and the inverse squared rule of light decay.

enlarger

In black and white photography, you expose of piece of photosensitive paper to light for a period of time using an enlarger then go an develop that exposure with a chemical reaction in a tray and the darkness develops in front of your eyes.

Python Implementation of Spherical Harmonics Stratified Sampling

Submitted by root on

Its Sunday afternoon and its time to write some code, this is pretty much lifted verbatim from Robin Green's 2003 Paper: Spherical Harmonic Lighting the Gritty Details

So for the next trick is to put this as a large table into a shader so I can bake out a set of 9 cooefficients (4 bands) for Shadowed Diffuse Transfer, these I will store per sample in a point cloud to be looked up during a shading stage.

Alias Wavefront OBJ Export in Maya Python with Examples

Submitted by root on

Before I start I wanted to explain why I think this is a classic exercise

If you can represent a mesh in OBJ text format you pretty much understand how the data polygonal data exists in the package you are using and you have enough skill to pack it into a data structure to put it to disk.

So here is what you should get a good understanding of:

Subscribe to Samiam's Scribble Pad