Having enemies throw grenades or launch projectiles in games often requires some form of trajectory planning in order to find the best launch moment, speed and angle. This research paper proposes a novel and practical approximation of 2D and 3D trajectories with drag and wind, which allows for very efficient trajectory planning as shown through a number of included examples. Includes an open source Unity3D implementation and demonstration.
Using a virtual camera with a large FOV can cause objectionable distortion near the screen’s edges. This article introduces a novel barrel distortion post effect that may be used to reduce stretch in this case. The effect can be controlled through multiple tweakable parameters, and requires only 2 additional instruction slots of a post effect’s fragment shader.
The Bernoulli distribution can be generalized to support more than two discrete states, where each state's probability is generated by linearly interpolating between two given extremes, evenly dividing the difference from one extreme to the other. This article describes the properties of this discrete staircase distribution, together with a method to generate random samples from it in constant time.
Finally, the Scape terrain editor prototype is now officially open sourced and freely available for download! This article on Scape is meant to provide an aggregated collection of links to previously published documentation and downloads, as well as to the new source code and binary package downloads.
In this fourth article on the Scape terrain editor, the actual brush-based editing pipeline is described from beginning to end, which uses either the CPU or the GPU to update the areas affected by a user's brush strokes. Besides many pipeline optimization details, it also covers Scape's direction noise feature.
This is the third article in the series on Scape, a GPU-based terrain editor, picking up where I left off in the previous article on procedural noise techniques. In this article, I'll discuss two novel procedural noise-mixing algorithms that are capable of generating terrain types that seem to be heavily eroded.
Scape is a heightfield terrain editor I developed as part of my thesis work at W!Games in 2008. It allows the user to sculpt large terrains using procedural brushes in real-time, using GPGPU techniques for the bulk of the work. In this first article on Scape, its (procedural) terrain rendering techniques are explained.