<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8680426251683760033</id><updated>2011-07-08T07:31:38.563-07:00</updated><title type='text'>Henry Owen Wiggins</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kindjie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8680426251683760033/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kindjie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kindjie</name><uri>http://www.blogger.com/profile/13807917120604154605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='12' height='32' src='http://bp0.blogger.com/_1Pa0HxwLCzI/SAv8iWv65II/AAAAAAAAAAQ/pR9DduAt4R4/S220/Owen1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8680426251683760033.post-3386650289730539626</id><published>2008-04-20T19:18:00.000-07:00</published><updated>2008-04-21T00:19:33.815-07:00</updated><title type='text'>Fish Tale</title><content type='html'>&lt;h3&gt;&lt;b&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:78%;"&gt;CpSc 426 Project w/&lt;i&gt;Sahar Sajadieh&lt;/i&gt;&lt;/span&gt;&lt;i&gt;  &lt;/i&gt;&lt;br /&gt;&lt;/h3&gt;  &lt;h4&gt;Downloads: &lt;/h4&gt;    Please see my site on Google Pages for downloads: &lt;a href="http://kindjie.googlepages.com/home"&gt;Google Pages&lt;/a&gt;&lt;br /&gt;&lt;h4&gt;Concept:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Deep ocean scene with Gerstner modeled deep ocean (infinite depth) waves and boiding flocks of fish.&lt;/li&gt;&lt;li&gt;Fish have a slight attractive force to the camera, and repulsive force from the water plane. &lt;/li&gt;&lt;li&gt;Freemoving FPS-style camera. &lt;/li&gt;&lt;li&gt;Spheremapped water texture.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Skybox is used to create background.&lt;/li&gt;&lt;li&gt;Fog to create sense of depth.&lt;/li&gt;&lt;li&gt;Single directional light in -y direction. &lt;/li&gt;&lt;li&gt;Models in OBJ format are supported.&lt;/li&gt;&lt;li&gt;Textures can be any format supported by DevIL.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Gerstner Wave Algorithm:&lt;a href="http://graphics.ucsd.edu/courses/rendering/2005/jdewall/tessendorf.pdf"&gt;[Tessendorf 01]&lt;/a&gt; &lt;/h4&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;x0 - &lt;/b&gt;Undisturbed horizontal position on surface.&lt;/li&gt;&lt;li&gt;&lt;b&gt;y0&lt;/b&gt; - Undisturbed vertical position on surface.&lt;/li&gt;&lt;li&gt;A - Amplitude of wave.&lt;/li&gt;&lt;li&gt;&lt;b&gt;k - &lt;/b&gt;Wave vector.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;   &lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;x&lt;/b&gt; = &lt;b&gt;x0&lt;/b&gt; - (&lt;b&gt;k&lt;/b&gt; / |k|) A sin(&lt;b&gt;k &lt;/b&gt;. &lt;b&gt;x0&lt;/b&gt; - wt)&lt;/li&gt;&lt;li&gt;y = A cos(&lt;b&gt;k&lt;/b&gt; . &lt;b&gt;x0&lt;/b&gt; - wt)&lt;/li&gt;&lt;li&gt;Multiple waves can be summed.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;   &lt;br /&gt;    See: &lt;i&gt;RenderableGlWater.h&lt;/i&gt; &amp;amp; &lt;i&gt;RenderableGlWater.cpp&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4&gt;Boiding Algorithm:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;d - Distance.&lt;/li&gt;&lt;li&gt;&lt;b&gt;x0&lt;/b&gt; - Average position amongst neighbours.&lt;/li&gt;&lt;li&gt;&lt;b&gt;v0&lt;/b&gt; - Average velocity amongst neighbours.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Separation force - Repulses boids from neighbours based on 1/d&lt;/li&gt;&lt;li&gt;Cohesion force - Attracts boids to &lt;b&gt;x0&lt;/b&gt; based on d^2.&lt;/li&gt;&lt;li&gt;Alignment force - Aligns boids in direction of &lt;b&gt;v0&lt;/b&gt;. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;br /&gt;    See:    &lt;i&gt;Boider.h&lt;/i&gt; &amp;amp; &lt;i&gt;Boider.cpp&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4&gt;Physics:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Euler integration. &lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Libraries:&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://openil.sourceforge.net/"&gt;DevIL&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.boost.org/"&gt;Boost&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.cmldev.net/"&gt;CML&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://freeglut.sourceforge.net/"&gt;FreeGlut&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a href="http://cggmwww.csie.nctu.edu.tw/courses/cgu/2002/"&gt;OBJ Loader&lt;/a&gt; &lt;/li&gt;&lt;li&gt;&lt;a href="http://glew.sourceforge.net/"&gt;GLEW&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8680426251683760033-3386650289730539626?l=kindjie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kindjie.blogspot.com/feeds/3386650289730539626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8680426251683760033&amp;postID=3386650289730539626' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8680426251683760033/posts/default/3386650289730539626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8680426251683760033/posts/default/3386650289730539626'/><link rel='alternate' type='text/html' href='http://kindjie.blogspot.com/2008/04/fish-tale.html' title='Fish Tale'/><author><name>Kindjie</name><uri>http://www.blogger.com/profile/13807917120604154605</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='12' height='32' src='http://bp0.blogger.com/_1Pa0HxwLCzI/SAv8iWv65II/AAAAAAAAAAQ/pR9DduAt4R4/S220/Owen1.jpg'/></author><thr:total>1</thr:total></entry></feed>
