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!
Tuesday, May 15, 2012
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!
1 Million
Tonight, the tracer tackled a 1.1 million+ triangle ship. That's pretty impressive, considering the raw GPU buffer data weighs in at over 140 MB. But the system didn't break down. I can't say that it was as responsive as with the usual 100k scenes...but that shouldn't be a surprise.
The Welder code for this ship is actually pretty cool, and it only takes 50 lines to get the above result! The thing is way more procedural than the previous ships, so different seeds actually make a significant difference with this algorithm. I'd definitely call that a success for 50 lines of code...yay Welder!
The Welder code for this ship is actually pretty cool, and it only takes 50 lines to get the above result! The thing is way more procedural than the previous ships, so different seeds actually make a significant difference with this algorithm. I'd definitely call that a success for 50 lines of code...yay Welder!
Subscribe to:
Posts (Atom)








