rootllama.wordpress.com
June 2014 – Progress Quest
https://rootllama.wordpress.com/2014/06
8211; Personal project page. Ray-Line Segment Intersection Test in 2D. June 20, 2014. October 20, 2014. In the Point in Polygon Test. Post we used a Ray-Line Segment intersection test in order to figure out how many sides of the polygon intersected a test ray. This post will explain how that test was derived. Find out if a ray with origin. Intersects a line segment with end points. This problem can be converted into a Ray-Ray intersection problem if you turn the line segment into a ray with origin.
rootllama.wordpress.com
October 2014 – Progress Quest
https://rootllama.wordpress.com/2014/10
8211; Personal project page. October 20, 2014. October 20, 2014. Up until recently I’ve been very good about using std: string for strings in all of my projects. In Kuiper 2 I decided that I wanted to try something different. String interning is a method of allocating strings such that there is only one instance of a particular string. For example:. If all strings were interned then writing: const char *a = Hello, world! Const char *b = Hello, world! Const InternedString &rhs ) const { return string!
rootllama.wordpress.com
May 2014 – Progress Quest
https://rootllama.wordpress.com/2014/05
8211; Personal project page. Point in Polygon Test. May 26, 2014. September 18, 2016. Given a polygon and a point, how do you tell if the point is inside or outside the polygon? Now let’s convert the idea into some code. Here is what a polygon looks like:. Struct Polygon { vec2 *Vertices; int NumVertices; };. Ray-Line Segment Intersection Test. Here is a way to test a ray against a line segment. To get this result just set the ray. Equal to the line segment. The ray will hit the line segment if.
rootllama.wordpress.com
Drawing a Full Screen Quad – Progress Quest
https://rootllama.wordpress.com/2015/02/12/drawing-a-full-screen-quad
8211; Personal project page. Drawing a Full Screen Quad. February 12, 2015. February 18, 2015. Say you want to draw a full screen quad in clip space. The straight forward way to do it is to draw two triangles to cover the viewport. But why waste two triangles when you can do the very same thing with just one? Using one triangle to draw a full screen quad. Drawing a triangle with vertices a, b and c covers the entire screen. To interpolate a parameter across the quad so that it has values u.
rootllama.wordpress.com
rootllama – Progress Quest
https://rootllama.wordpress.com/author/rootllama
8211; Personal project page. Drawing a Full Screen Quad. February 12, 2015. February 18, 2015. Say you want to draw a full screen quad in clip space. The straight forward way to do it is to draw two triangles to cover the viewport. But why waste two triangles when you can do the very same thing with just one? Using one triangle to draw a full screen quad. Drawing a triangle with vertices a, b and c covers the entire screen. To interpolate a parameter across the quad so that it has values u. The code segm...
rootllama.wordpress.com
Ray-Line Segment Intersection Test in 2D – Progress Quest
https://rootllama.wordpress.com/2014/06/20/ray-line-segment-intersection-test-in-2d
8211; Personal project page. Ray-Line Segment Intersection Test in 2D. June 20, 2014. October 20, 2014. In the Point in Polygon Test. Post we used a Ray-Line Segment intersection test in order to figure out how many sides of the polygon intersected a test ray. This post will explain how that test was derived. Find out if a ray with origin. Intersects a line segment with end points. This problem can be converted into a Ray-Ray intersection problem if you turn the line segment into a ray with origin. Octob...
rootllama.wordpress.com
String Interning – Progress Quest
https://rootllama.wordpress.com/2014/10/20/string-interning
8211; Personal project page. October 20, 2014. October 20, 2014. Up until recently I’ve been very good about using std: string for strings in all of my projects. In Kuiper 2 I decided that I wanted to try something different. String interning is a method of allocating strings such that there is only one instance of a particular string. For example:. If all strings were interned then writing: const char *a = Hello, world! Const char *b = Hello, world! Const InternedString &rhs ) const { return string!
rootllama.wordpress.com
February 2015 – Progress Quest
https://rootllama.wordpress.com/2015/02
8211; Personal project page. Drawing a Full Screen Quad. February 12, 2015. February 18, 2015. Say you want to draw a full screen quad in clip space. The straight forward way to do it is to draw two triangles to cover the viewport. But why waste two triangles when you can do the very same thing with just one? Using one triangle to draw a full screen quad. Drawing a triangle with vertices a, b and c covers the entire screen. To interpolate a parameter across the quad so that it has values u.
rootllama.wordpress.com
Smooth Gem Trail in Kuiper – Progress Quest
https://rootllama.wordpress.com/2014/07/11/smooth-gem-trail-in-kuiper
8211; Personal project page. Smooth Gem Trail in Kuiper. July 11, 2014. October 20, 2014. The player’s ship has a trail of gems following it as it flies about. To achieve this effect we need two things. First, the position information of the player has to be collected every frame. Second, we need to be able to place objects evenly along an arbitrary path. Player position and velocity history (debug mode). Here is the structure that goes into the queue:. The math library I use is called GLM. Given a histo...
SOCIAL ENGAGEMENT