nicked on 14/6/2011 at 12:30
Heh, yeah he's pretty funny. What I spent most time on was trying to get a consistent look to all the enemies in the game, so that most of the bad guys have something in common and can be seen to be allies.
sNeaksieGarrett on 16/6/2011 at 00:34
It's not much, and it's not my own project, but I'm taking this scripting class in college and we have to make space invaders. So far I've got a half working ship (can move but can't shoot), and some other code for blocks but having some trouble with it. Got a bit of ways to go. I'm using Unity for this project. I'll make it be known that I'm not really into programming, and I'm a noob with javascript; the only programming i did before was for a previous course, fundamentals of programming where we used C++.
zombe on 16/6/2011 at 05:18
Btw, what is the total texel count for that model? Looks very detailed. Also, how many individual textures?
Renzatic on 16/6/2011 at 07:40
Quote Posted by zombe
Btw, what is the total texel count for that model? Looks very detailed. Also, how many individual textures?
Texel size? I have no idea. But it's 3 2048x UV sheets. One for the main frame, upper windows, and posts, one for the roof, and one for the porch, lower windows, and the back extension. I could have fit it all on one or two 1024x UV sheets, but since I'm baking AO into everything, I have to give almost every surface it's own unique coordinates.
So 3 uncompressed TGA files comes out to 36 meg of textures. I'm not sure how that'll translate into texel usage, but I don't think it's a 1:1 conversion to video memory. The 1024x textures are only 9 meg, and it doesn't look half bad at that size, but it does muddy it up a bit, and loses some of the finer details.
SubJeff on 16/6/2011 at 08:46
I'm making some simple info apps for Android. It's hilarious fun.
no, no it isnt:(
zombe on 16/6/2011 at 12:11
While moving my old stuff over to the new framework i hit a snag: the LZO lib i used is GPL infected :( ... damnit ... for doing my own stuff it did not matter, but now i have to (or rather: prefer to assume i need to be free of GPL infection at some point) protect myself against that kind of thing. Which means LZO is useless (its commercial form is not an option at the present time). :(
So, any recommendations for replacement that has similar goals / performance characteristics?
PS. If sacrifices need to be made then i prefer to do them at the compression time.
zombe on 16/6/2011 at 14:41
Alrighty ... getting them all - will report results whenever i get some tests going.
zombe on 16/6/2011 at 17:33
File:
* arial.ttf (367112 B) - quite good match for typical data
Test method:
* doing every action twice and timing only on the second time to eliminate cache effects.
* tests come in pairs: packing and then unpacking the result
* times are given in CPU clock cycles (ie. __rdtsc).
* all results have been verified by memcmp + data length ("OK!").
* time fraction is given compared to LZO (packFast & unpack).
Results:
* 32bit target
* full optimizations (link time codegen, __fastcall, etc)
Code:
LZO pack fast : T 12946703 ( 0.998) 248355 (0.677)
LZO unpack : T 2383290 ( 1.000) OK!
LZO pack well : T 152666078 (11.772) 216378 (0.589)
LZO unpack : T 2849355 ( 1.196) OK!
FastLZ pack fast : T 8414670 ( 0.649) 251407 (0.685)
FastLZ unpack : T 2930790 ( 1.230) OK!
FastLZ pack well : T 8443125 ( 0.651) 251407 (0.685)
FastLZ unpack : T 2931443 ( 1.230) OK!
LibZF pack fast : T 6640260 ( 0.512) 249666 (0.680)
LibZF unpack : T 2358060 ( 0.990) OK!
Snappy pack fast : T 8971065 ( 0.692) 258600 (0.704)
Snappy unpack : T 1797510 ( 0.754) OK!
* 64bit target
* full optimizations (link time codegen, __fastcall, etc)
Code:
LZO pack fast : T 14421023 ( 1.016) 248355 (0.677)
LZO unpack : T 2402130 ( 1.000) OK!
LZO pack well : T 135855637 ( 9.568) 216378 (0.589)
LZO unpack : T 2857927 ( 1.190) OK!
FastLZ pack fast : T 7763407 ( 0.547) 251407 (0.685)
FastLZ unpack : T 2835637 ( 1.181) OK!
FastLZ pack well : T 7762125 ( 0.547) 251407 (0.685)
FastLZ unpack : T 2835847 ( 1.181) OK!
LibZF pack fast : T 6416865 ( 0.452) 249666 (0.680)
LibZF unpack : T 2459917 ( 1.024) OK!
Snappy pack fast : T 10050075 ( 0.708) 258600 (0.704)
Snappy unpack : T 1641833 ( 0.684) OK!
Snappy is WAY faster at unpacking than anything else! However - compression ratio is also the worst.
Packing efficiency is quite equal among them all - except LZO slow packing which is much better than anything else :/ ... yeah, it was perfect for baking data.
Notes:
* LibLZ has some compile time options i did not tamper with.
* Snappy causes a LOT of warnings.
* Snappy does not compile under VC++ at all due of errors - threw away all "inline" etc that caused problems (link time codegen should remedy that i think).
* FastLZ, LibZF & Snappy seem to be unaware of 64bit target - lots of 64bit incompatibility related warnings.
Judith on 18/6/2011 at 17:54
Quote Posted by Renzatic
Man. Glowy bits. Extra texture layers. I kinda wish I went with a more modern engine sometimes, if just for the little atmospheric perks you can throw around everywhere. Oh well. Working with NWN is teaching me constraint, at least. Which is something I've always needed to learn.
And speaking of which, I've finally got most of my house finished. I've had to cut quite a few corners to give each wall on the main frame of the house it's own unique surface, so I can bake in AO. It looks good right now, but I'm worried I might lose too much detail when I scale the UV sheets down from 2048x.
(
http://dl.dropbox.com/u/3018396/House_1.jpg) Side Front Shot
(
http://dl.dropbox.com/u/3018396/House_2.jpg) Back Shot
I just need to add the doors, some throwaway details, then start working on the dried up kudzu hanging off the porch and other miscellaneous foliage. I want to have a really big bush growing wild in the corner of the house, for instance.
It looks gorgeous! I don't remeber NWN material specification, but would you be able to make the windows lit or you'd have to use regular lights?
By the way, a I made a short clip for the lantern: (
http://www.youtube.com/watch?v=rCpIDgUksdw)
Now I am trying to do something from this concept of a gothic sofa: (
http://www.mediafire.com/imgbnc.php/cca3a0af452103ff2216c6f6679bff502f71fa3ddf466b702972b28bcac98f086g.jpg)
Not so much yet, but I feel it is going somewhere: (
http://www.mediafire.com/imgbnc.php/63db93174df99f4b6280decab21b15267594e85e2d53711191b909142b2d74726g.jpg)