Tonight I implemented texture atlas generation, integrated a basic material system into Welder, and hooked it up to the GPU tracer, making all the necessary memory arrangements. I also attached material flags to each triangle, so that materials can be specified on a per-triangle basis. Pretty awesome rate of accomplishments for tonight!
Here's a little reward for my efforts. Nothing fantastic, but at least it's starting to look vaguely spacey:
Wednesday, May 16, 2012
Tuesday, May 15, 2012
Texture
Ouch...that thing's pretty ugly (I just chose a random seed, didn't even bother checking to see if it looked good before rendering).
But make no mistake...it's textured ;)
Texture atlas transfer from host to device is working. Sampling in the device is working. Long way to go before texture week is over, but I've got a nice head start!
But make no mistake...it's textured ;)
Texture atlas transfer from host to device is working. Sampling in the device is working. Long way to go before texture week is over, but I've got a nice head start!
Monday, May 14, 2012
End of Week 1
My goal for last week was to finish the scene-building algorithms (i.e., the creative part of the project). I'd say I did a pretty good job! Sure, my ships aren't perfect, but they're still pretty compelling...I think. It's hard to tell without texture, but I think they're going to work nicely. There's also a good deal of variance among them, so I succeeded in designing a procedural algorithm rather than hand-modeling them. Things on the asteroid front are pretty much perfect! Of course, we knew they wouldn't be very challenging. Still, I went farther than I needed to, and I think the quality shows.
At the beginning of the week I had pretty much nothing; now I have a full-featured programming language designed for PCG, as well as several nice algorithms written in said language. I have my scene. I have asteroids, I have a ship, and I have guns. This week begins the texturing work. I'll finally implement texturing in the tracer, and start integrating texturing/materials into Welder so that I can paint my scene.
Here's a pretty nice ship navigating last night's asteroid field:
And another nice ship:
At the beginning of the week I had pretty much nothing; now I have a full-featured programming language designed for PCG, as well as several nice algorithms written in said language. I have my scene. I have asteroids, I have a ship, and I have guns. This week begins the texturing work. I'll finally implement texturing in the tracer, and start integrating texturing/materials into Welder so that I can paint my scene.
Here's a pretty nice ship navigating last night's asteroid field:
And another nice ship:
Sunday, May 13, 2012
Better Field
Gaussian distributions fix everything, right? :)
No more instancing, each asteroid is unique. I can accomplish this large of a scene by making the asteroid quality proportional to the size. That way, tris aren't wasted on small asteroids, but large ones maintain high detail.
No more instancing, each asteroid is unique. I can accomplish this large of a scene by making the asteroid quality proportional to the size. That way, tris aren't wasted on small asteroids, but large ones maintain high detail.
Instance Instance Instance Instance ...
Nothing saves time like instancing. In this case, I mean instancing in the Welder sense, not actual scene geometry instancing. It resulted in a pretty cool field (of only 300k tris!):
The very sad thing is that, while posting this, I realized why the small asteroids look somewhat axis-aligned. I scaled after I rotated. Facepalm.
Well, expect at least one more image tonight...
The very sad thing is that, while posting this, I realized why the small asteroids look somewhat axis-aligned. I scaled after I rotated. Facepalm.
Well, expect at least one more image tonight...
Asteroid Field
I'm back to working on asteroids tonight. Here's a simple field of them. Unfortunately, you can't see the detail so well, since I had to turn down the quality to allow generation of a whole field in a reasonable amount of time.
I'm now using value noise as a basis for the coarse shape of the roids, then traditional Worley noise for the finer details. There's also a cratering pre-pass, but the craters aren't very visible in this shot.
I'm now using value noise as a basis for the coarse shape of the roids, then traditional Worley noise for the finer details. There's also a cratering pre-pass, but the craters aren't very visible in this shot.
Saturday, May 12, 2012
Nice Ship
I really like this one. I'm playing around with post-deformations, and it's amazing what a little non-linear deformation will do to please the eye. Just looks so much better than straight lines everywhere!
Subscribe to:
Posts (Atom)








