Profile

Cover photo
Stephen Cameron
Attended Texas A&M University
Lived in Houston, TX
1,659 followers|184,415 views
AboutPostsPhotosYouTube

Stream

Stephen Cameron

Shared publicly  - 
 
Unwrapped cube running my fluid dynamics thingy...  getting some hard corners in the flows, I think it's due to taking a hard corner through the perlin noise that determines the velocities at the edges of the faces.  I think if I instead, for each point on the cube faces construct a vector from the center of the cube, normalize it and scale it and choose the perlin noise values from the resulting sphere, these may smooth out.
1
Stephen Cameron's profile photo
 
Actually, I think I'm wrong.  I think the issue is not that a sharp corner is taken through the perlin noise cloud at face boundaries, the path through the noise actually doesn't matter so long as any continuous path along the cube faces maps to a countinuous path through the cloud.

I think the issue as that I calculate the gradient using deltas of the noise along different axes for different faces, which results in discontinuities in the velocity field.  I think If I fix the gradient calculations to always use the same axes that might fix it.
Add a comment...

Stephen Cameron

Shared publicly  - 
 
Fake fluid dynamics engine operating on six planes of a cube in a 3d perlin noise cloud, then cubemapped onto a sphere ...  seamless and free of artifacts at the poles.
https://github.com/smcameron/curly-vortex
3
Add a comment...

Stephen Cameron

Shared publicly  - 
 
I have a feeling if f I could paint something like this, I might be able to charge some some money for it.
4
Stephen Cameron's profile photoWebb Scales's profile photoJohn Cameron's profile photoDave Chinner's profile photo
7 comments
 
+John Cameron Yeah, it came out really cool.  BTW if you want to play with this little program, it should work on any of your computers pretty easily. First step is to grab "processing", which is here:
http://processing.org/
then grab my program, which is here:
https://github.com/smcameron/curly-vortex/archive/master.zip

Then you run "processing" and load my program "curly vortex" into it, and press the "play" button.

There are some parameters at the top of the file that you can mess with.  The best one is  source_image_file = "/home/scameron/test.jpg";   Probably you do not have any file called /home/scameron/test.jpg on your computer, so instead it will use a pre-set pattern.  You can change /home/scameron/test.jpg to some other file on your computer e.g. "C:\TEST.JPG", then copy pictures to that location then run the program and it will use that picture as a starting point.
Add a comment...

Stephen Cameron

Shared publicly  - 
 
An attempt at creating a Jupiter-like gas giant planet texture for Space Nerds In Space with curly-vortex, my fake fluid dynamics program.

This texture involved running 8 million particles over a 4096x2048 varying velocity field for 500 iterations, all on cpu, not gpu.  And I ran it on my laptop that is about 1cm thick and weighs a bit over 2 lbs in a matter of minutes.  In Java (well, Processing).   I am living in the future..

Still needs some work, but not too bad considering I began working on curly-vortex on Saturday.
9
Stephen Cameron's profile photoWebb Scales's profile photo
3 comments
 
Nah, just the first one, or two, or two-and-a-half, or so.  But, yeah, do read the first one.
Add a comment...

Stephen Cameron

Shared publicly  - 
 
I couldn't resist slapping the swirly slime output of my fake fluid dynamics program onto Planet Hendrix in Space Nerds In Space.
1
Add a comment...
Have him in circles
1,659 people

Stephen Cameron

Shared publicly  - 
1
Add a comment...

Stephen Cameron

Shared publicly  - 
1
Add a comment...

Stephen Cameron

Shared publicly  - 
 
Neat video of... not quite sure what, but interesting.
 
Breathtaking new animation by +Andy Lomas (in collaboration with DJ Max Cooper) building on his work “Cellular Forms” released in January.
1
1
Baun Johltz's profile photo
Add a comment...
 
Made some planet textures with a vertical slice of a public domain photo of Jupiter to feed into the curly-vortex fake fluid dynamics engine.  As you can see, there's a giant seam that I need to get rid of.  I have a program to map a 2x1 ratio image to a cube map, and that thing wants the input image to be seamless left/right and top/bottom.  There are some crude image space ways to do that (e.g. gimp's Map/Render/Make Seamless.)  But... there's got to be a better way.   Maybe if I make the Perlin noise that is the initial input potential field seamless first.... except I have to crop the output of the fluid dynamics program a bit to get rid of the "black" areas that creep in.  Hmmm.  I need a more sophisticated way to make the thing seamless.
1
Stephen Cameron's profile photoWebb Scales's profile photo

Stephen Cameron

Shared publicly  - 
 
And my fake fluid dynamics program, "curly-vortex" is potentially already being used in another game, StarDiver, by +GravityRide  for gas giant planet textures...
5
Add a comment...
People
Have him in circles
1,659 people
Work
Occupation
Computer programmer
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Houston, TX - marshall, ar - gainesville, fl - bay st. louis, ms
Links
Story
Introduction
I'm a computer programmer by trade.  I work on a couple drivers in the linux kernel, and also have a few projects on sourceforge (and a few on github )

I'm also into art, and do a little painting, and music, I play electric guitar though not as well as I'd like. 

Oh, I've built a cyclekart.  I've also been bitten by the 3d printing bug, and have made a few things.

I have a blog called Scary Reasoner, which is about various things, but notably, it's about atheism and religion, but other than that it is much the same as what I post on google+.  

Currently for fun I've been building on a multiplayer networked 3D starship simulator game I'm calling Space Nerds In Space in C, no network libraries (well, glibc), no 3D graphics libraries (well, gtk), without even *fonts*, all from scratch, just for the hell of it.

Education
  • Texas A&M University
    Computer Science, 1986 - 1991
Basic Information
Gender
Male