OpenGL animations done with affine transformations. A bee flies around a swaying flower with a sphere for foliage. Since OpenGL is not object-oriented and I do not feel comfortable handling non-object animations, I made classes for both the bee and the flower. The static keyword allows for calling class functions without creating an actual object.
Link to zipped executable here.
Friday, January 27, 2012
Thursday, January 19, 2012
Sierpinski Gasket
This fascinating pattern is created by the following steps:
- Pick 3 vertices for a triangle
- Assign a color for each vertex (In this case, red, green and blue)
- Pick an arbitrary point "p" that is inside the triangle, with an arbitrary color
- Pick, at random, one of the vertices.
- Find the midpoint, "m", between "p" and the randomly picked vertex, along with the mid-point color
- Draw "m", and replace "p" with "m"
- Repeat from step 4
Friday, January 13, 2012
Tornado in Unity3D with physics
Particle Effect Tornado in Unity3D. Sounds and Particle Effect settings NOT BY ME. These were provided by 3dnemo.com
All I did was add C# scripts to rigid-bodies, in this case the cubes, so that they would react when in proximity to the tornado.
WARNING!: Run in windowed mode! (only way to exit is to click the X button on the window)
Link to zipped executable.
Nachman: Class Project
Two screenshots from a class project from winter quarter of last year. This was done in C++.
Graphics Library by Konstantin Knizhnik
Link to zipped executable
Inception-Themed HL2 MAP/MOD
Mod Lab Part 2
Virtual Rangefinder in Unity3D
Over 900 individual collider-detecting raycasts
Covers a 45° by 45° Field of View square
Each point is saved as a Cartesian coordinate
Point Cloud generated from one iteration of the rangefinder. Every individual raycast is attributed to only one point
Sample Scene. Simple lighting, simple geometry
Green lines represent raycasts. Over 400 done in this frame.
Resulting Point Cloud
Sample Scene
Resulting Point Cloud
Overlapped
Multiple iterations will provide more accurate Point Cloud
Also works on models.
Result
Mod Lab Part1
Explosive Crossbow HL2
Very simple crossbow mod in the source engine .Ive added a few lines to create an explosion when a crossbow bolt hits something (and does not rebound). I was going for a Ramboish effect.
Subscribe to:
Posts (Atom)