Category: Whateverinos


I hope somebody told our kids to sing today.

Advertisements

Before I forget

New version of the NES Art Bot – https://twitter.com/nintendoartbot – it’s using some NES constraints now related to tiles, backgrounds and sprites, I think the results look better.  Twitter compresses, mangles and stretches the heck out of these.

Also playing with non-malicious DeepFakery.  Today I asked Bert if I could record him leaning back as far as he could… I didn’t have any photos of him at that angle.  Also got some good profile images.  Woman who works there looked at me like I’ve got two heads.  Can’t wait until the day people wake up and realize how cool I am, then the kids and I can make crazy videos all day every day.

Welp

Might be going to jail for making sure my kids gave their mommy a birthday present. I have to keep doing the right thing regardless of the outcome. I love my family.

Update: Alright, bailed myself out – I hope Anna likes those birthday presents from the kids, two mugs that cost $40 and took 6 hours to design have now cost me another $420 + 24 hours.

So what’s not so bad about jail? You can sleep as much as you want on a hard mattress with no pillow, you can read as much as you want of sequels (seriously every book there was a Part 2), the guards are mostly friendly, the uniforms are green (my favorite color!) and the other inmates seem nice enough.  There are anti-rape posters on every wall, so that’s neat.

Do I want to go back? Nope. Do I think I will? No idea – she’s tried to have me sent a few times but this is the first thing I actually did that deserved it (buying presents is a violation of the order intended to protect her from imaginary murderous intent.) It’s possible that when I go back to court for this thing I’ll get some more time in there. It is what it is.  If I were her I wouldn’t expect any presents from the kids in the future unless someone else steps up… which I hope they do… because at the end of the day I hope there’s still a nice person inside of her.

I haven’t understood most of what she’s done for months in terms of ripping our families apart and wounding our kids for life, so I won’t lose sleep over it, but sending me to jail for making sure Bert and Corina have a birthday present to give her is sick. What kind of father wouldn’t make sure his children have presents to give their mother on her birthday? I lost some sleep last night but that was mostly down to spending from 10pm-1am in a 60 degree holding cell – on the bright side I don’t think I’ve shivered that hard since the one time we came back from a vacation in the winter and hadn’t turned on the heat in our apartment. How many socks did we wear then? I forget, but I remember that even the hand soap was frozen solid.  Better and colder times.


I wish I knew, Google Photos. I wish I knew.

Saturday!

Got to see Bert and Corina on a Saturday for the first time in 6 months. We watched Pororo, Grover and Mickey. Corina loves Anna more than she enjoys watching cartoons so we wound up watching a few videos of our family too. Corina likes her bacon crispy, Bert likes his soft… so next time I’ve got to cook half one way and half another. Bert told me he woke up during that earthquake and I wasn’t there to protect him – what would have happened if I’d called to make sure my family was safe? No idea. This domestic violence protection order is accomplishing two things: allowing people who are mistaken about me to remain that way and interfering with my love for our kids. There is nothing to protect anyone from, it’s so dumb. If Anna is starting to realize how unnecessary all of this then soon enough we’ll be having a laugh about the half a year we spent living in a Lifetime movie.

Probably going on a hot air balloon ride soon, it’s something I’ve always wanted to do… I want to go “uppy uppy uppy!” I don’t know if Anna would’ve done that with me but I wish I’d brought it up a decade ago.

Bacon

Bert didn’t know what bacon was so now I can cook bacon.

Bringing that boy some bacon.

Do I think he’ll eat it? Nope.

Corina might. I definitely will.

Update: Bert liked it! Corina didn’t seem to understand the texture, chewed it pretty thoroughly and then spit it out into her hand and gave it to me. Thanks, honey.

Peanut butter + honey + oats = peanut butter oat squares. Letting them set, if they’re not too gooey I’ll be bringing some when I see Bert and Corina tomorrow. I have a good feeling about these.

I just noticed they’ve got the same crying mouth shape.

Edit: I showed this to Bert and he wanted to know why he was purple. Why why why why? Corina just said “Baby!” I love them so much.

One good thing about being away from the people you love is that it helps you realize how important they are – every day I wake up and I know who I love and how much. I don’t think many people get to start their day like that, do they?

I’ve got no idea how I’m going to get my family back, I just know I need to do it before this hurts Anna and the kids more than it already has. The older Bert and Corina get the more they’re going to need me there, every day… and they already do. Sticking them in daycare or bringing in strangers to take care of them isn’t a solution, I am irreplaceable. Whether they can communicate that yet or not doesn’t matter – the statistics on children of divorce make it clear that this is in no way good for them.

The biggest mistake I’ve made during the last year was focusing on the thing I didn’t want to happen, the divorce, instead of the thing that matters to me, Anna’s feelings. I was too hurt to think clearly but no excuses. One of these days I’ll get my right to free speech back and do everything I can to remind her of who recognized her beauty in an ‘ugly’ picture, talked to her on the phone for years, took her to Denny’s, drove through a blizzard to profess his love, rescued her from her father, gave her a place to live, spilled tea everywhere, moved across the country to support her education, let a kitten loose in the car, edited comp answers, encouraged her to start a business, spent tens of hours shopping for engagement rings, loves her family as much as she does, fathered her children, loves her even through all of this and is too stubborn to stop.

Maybe we’ll already be divorced before I’m free to speak – doesn’t matter, don’t care. The money we’re wasting on this I can earn back. The time I’m losing with the kids I will make up to them somehow. Everyone who has taken her side? Already forgiven. I took vows and I meant them, I have children and I love them.

I made brownies…

Well… they’re brown! I got that part right!

I was going to try soaking one in milk but they’re so great I can’t even cut them – they’re positively impervious. The corner is missing because I cut one when they were still warm and only slightly hard. Now they are not warm. Now they are chocolate concrete.

=/

Kids and I have lost 5 months of time while they’re 1 and 3.

Never getting that time back. It hurts.

I’m not depressed, I’m not dangerous.

We’re all being punished.

Talking to Mom Mom helps.

Happy Fathers Day!

The 6 hours I spend as a father every week are what keeps me going, can’t wait until the kids are old enough to give me ties or something.

Yech.

Bert watches this at home now apparently:

I show him videos I made when we were a family and this:

I can only control what I do, I’ve just got to keep reminding myself of that.

do not want

Divorcing someone you love is hard. You have a nice dream about her and then you wake up and… well, that person doesn’t exist right now. 404. Not the best way to start a day.

New Animal Crossing at E3… I mean I know she doesn’t play games anymore, and definitely doesn’t have the time now, but the urge to share hasn’t gone away. Did she watch the new David Tenant show on Prime? I hope so! Did she watch Game of Thrones? I didn’t, didn’t feel right without her. I do so many dumb things she’d laugh at and I know she would because I know her. I bought single-ply toilet paper… and learned my lesson. I tried to make tacos in my George Foreman grill – oh lord the greases. Bought a pull-up bar that goes in the door frame and I use it but everything starts creaking like I’m about to bring the building down. Right now I’m trying to make fruit rolls by dehydrating apple sauce – I mean, is that even? What am I doing?

I’d get a pet but I feel like that would be betraying our cats. Any time I do anything I think Anna or the kids would enjoy I feel like I’m betraying them. Just constant internal conflict, that’s me these days. Still can’t get my brain to understand that the cats are not here, the white or black thing in my peripheral vision is not Ivy or Cuddlepuff. I’d kill for some occipital neural plasticity.

New Zelda game at E3 and I want to know what Vin thinks but by the time we’re talking it’s possible I’ll have beaten it. I hope everyone who sided with Anna, convinced her that this was the right thing to do and/or provided letters… I just really hope all those people are helping her with the kids so she can get a break. Maybe she got the 2nd aupair by now, is Melena even there anymore? I get villainized if I ask Bert questions about Corina’s preferences, if I started asking questions about their lives I’d probably be hung in the public square. Not knowing what my kids are doing most of the time… I really don’t understand how men abandon their families willingly. Why would anyone do this to themselves?

Anyway I’m sitting here doing the paperwork that her lawyer wants. It’s hard to get through because it makes me sad, that’s why I’m writing this instead. Gotta get back to it. Putting effort and finances into this mistake… it’s hard to do. I’ve got a fixed amount of time on this planet, I should be working for her and the kids, supporting her the way I always did when I was well and being a good Dad. I should be making people happy, this is just going to make our kids sad forever. If they weren’t holding Bert and Corina hostage I wouldn’t participate.

Alright, good news: Apple slices dehydrated nicely. Got up to 100 pushups per day. Feeling strong. Ortho and dentist appointments tomorrow.

When do I stop wanting to come home?

Update: When you dehydrate applesauce you get a fruit roll-up! I ate it, 4/5 stars – a bit too tough, try 4 hours instead of 5. Psyched. Going to try some jelly.

Operation

I couldn’t play this as a kid, the sound + light scared me. Bert and I had a lot of fun with it – give him love and encouragement and he’s a brave little boy. He was very concerned about how the man would feel if we took his bones out and I explained that he’d feel better because everything we were taking out bothered him. He was also concerned that the picture of the man on the box didn’t match the man in the game – I explained to him about artists and interpretations. When I have more than 3-6 hours with him per week we’re going to have so much more fun, it’s going to be great. He’s expressed interest in going back to Jujitsu!

Damn.

Finally got around to taking all the pictures of Bert from his nannycam for the first two years of his life and making a video. I know it’s mostly hilarious but it makes me too sad to watch right now. Wish I could see my kids, wish my wife loved me, etc – every day stuff for me for months now. Oh well, can’t control what other people do, right? Just gotta keep loving my family, trying to do the right thing and hoping something changes. Would post the full video but it definitely contains nudity. Everyone’s nudity. Somebody was always naked. Here’s 15 seconds that’s safe. It’s an hour and fifteen minutes of this.

Since I bought a George Foreman grill my diet has gone from carbs to protein. Beef burgers, turkey burgers and fish. Man food. Bert wanted a “cheeseburger with peanut butter and jelly” so I just made a slider with those toppings – if I don’t puke I’ll let him try one tomorrow.

“If you are distressed by anything external, the pain is not due to the thing itself, but to your estimate of it; and this you have the power to revoke at any moment.” ― Marcus Aurelius, Meditations

Hard.

It’s hard to go through all these old messages between Anna and I – it puts me in the frame of mind I was in at the time.

Now I’m at the part where the depression kicks in.  Anna was trying to cheer me up.

4/22/2015 – that’s when emails make it obvious I’m getting sick.

7/27/2018 – still sick.

8/31/2018 – back to normal.

Unfortunately by then the love and playfulness had dried up.

I guess I’ll just put on my willywinners, dry my dingus and scramble bamble.

Mars

Got the kids a couple of boarding passes.  Apparently their names will be etched onto a silicon chip and carried to Mars by a rover in 2020.

Wew.

As part of losing everything they make you go back through all your family photos.

I don’t know what to do, I miss this beast something fierce.  I got well too late.  I’m sorry.

I just want to come home.

For the Kids’ Sake

In Washington State when your wife decides to kick you out of your family you’ve got to attend this 4.25 hour seminar called For the Kids’ Sake. As if you weren’t heartbroken enough you get to learn how your children will never recover, divorce never ends and you’ll always be fighting. I saw nothing in those 4.25 hours which made me desire this future for myself, my wife or our children. Bert and Corina deserve better than this, I don’t understand how anyone thinks otherwise. I want to stay married and our kids are going to want us to be married.

At one point the ‘teacher’ defined anger as a secondary emotion, said that anger can be healthy to express and then said the difference between anger and rage is that in rage someone is scared. I asked “So if you’re angry, but I’m a very fearful person, does that mean you’re enraged?” Her answer, of course, was “Yes.” I’m living in Clown World – I can be considered violent without having committed violence because my emotions are decided by yours.

The world can go crazy but I will remain true to myself: I will always love my family and I will never hurt them. I do not want a divorce, I just want to come home and be a father and husband. I was depressed, I’m not now, I’m sorry and I couldn’t control it. By the time I understood the severity of our problems it had been decided for me that divorce was the only solution. I will always be willing to do what is best for our children and the statistics make it clear what that is. I will forgive my family for anything.

When I was depressed I said and did a lot of things which I regret, though none as horrible as the things I’ve been accused of. I can make amends to everyone except the one person who really deserves them.

Spaghett

Went to the libraries in Mill Creek and Marysville to track down books about Monster Trucks for Bert. Came home and Dad had made spaghetti. I didn’t really want to eat it and then I looked – he’d cut all the noodles up into little pieces. I find the long noodles annoying and when I expressed that he agreed emphatically. We ate the spaghetti. No fever for 24 hours, throat is still sore but I think the cold is almost over.

:/

The saddest part of this divorce is my son asking me “When are you coming home?” “Why don’t you come home?” “Are you coming home?” every time I see him at supervised visitation. He’s bright and the strategy of redirection with a “I’m here now, let’s play!” isn’t working. I’m not allowed to do anything else.

The next saddest thing is that Anna has convinced herself I was reading her emails, listening to her calls, etc. The truth is just that I love her – when she’d talk to me I’d listen.

Sorry kids, I tried as hard as I could. Maybe something changes in the future but I wouldn’t bet on it.

I’ve been playing video games for about 27 years now, starting with the NES, and I’ve never been less hyped about a Nintendo console or handheld.  I don’t think I’m alone here and my issue isn’t the price, it’s Nintendo’s track record.

Nintendo’s last handheld, the 3DS, is on its 3rd hardware revision.  The original 3DS was a beautiful system that I’ll miss owning, but holding it hurt my hands and it managed to scratch itself… so I upgraded to the XL.  I thought it was dumb that the XL didn’t include a 2nd analog stick, since at the time Nintendo was selling that idiotic Circle Pad Pro accessory, but whatever.  A little later and Nintendo released the New 3DS XL, which not only has a 2nd analog but superior guts which allows for SNES emulation and things like a Xenoblade port.  Having spent $250(?) on my launch 3DS and another $100 upgrading to the XL, I sat out the New – it just isn’t worth it.

Nintendo’s last home console, the Wii U, they supported for basically 4 years… the first and last of which were droughts.  3rd parties were repulsed by the comparatively weak hardware and while the 1st party games were excellent, they disappeared for the last year while Nintendo shifted all development to the Switch.

So the situation I’m looking at is Nintendo releasing a hybrid handheld/console, when they’re on the 3rd hardware revision of their last handheld and they supported their last console for just 4 years.  They’re launching in the middle of a generation with hardware that’s weak compared to the PS4 and Xbox One, to say nothing of the PS4 Pro and Project Scorpio.  Combine that with the poor localization coming from Nintendo of America and it’s just…  sad.

Sorry Nintendo.

Society

My controversial ideas I should probably keep to myself: Diversity should be a natural side-effect of equality – when we treat each other as equals, everyone will be judged on merit and other things (race, sex, age) won’t be part of the equation.

We never quite managed to get equality as a society – we became obsessed with jumping straight to diversity. In order to achieve diversity without equality, we had to attach additional value based on the phenotype of an individual. Our society is unwittingly attempting to achieve diversity by sacrificing equality – we purposefully draw attention to the things that make us different.

To say that this is divisive is an understatement.

ie. Buying a game gets you a game, but buying a game made by a woman gets you a game and diversity. It doesn’t stop there – it extends to supporting publications based on the gender and orientation of journalists, watching streamers on Twitch, supporting creators on Patreon, funding KickStarters, etc. Any movement which supports one person over another based on phenotype is discriminatory – discrimination always invites blowback.

We’ve gone from embracing one divisive paradigm (the old boy network) to another (the diversity movement) and there is no end in sight – there is nothing unique about gaming, it is just another battleground.

If you identify as a feminist, SJW, MRA or anything else I think you’re going about things the wrong way… but I don’t blame you.

  1. It’s possible we’re living through a period, like when mascot platformers or World War 2 shooters reigned supreme, which will naturally decline.
  2. If someone feels their values/beliefs/gender/skin/sexuality/etc. aren’t represented in art they’re free to express themselves through creation (making games has never been easier!)
  3. Consumers will probably tire of any trend and begin seeking novelty – underrepresentation is opportunity.
  4. The only games which actually represent players feature character customization which usually allows for female characters to be created.
  5. If VR takes off and you look down and your boobs are gone then you’re probably not going to be immersed.

Trollplaying Game

F2P MMORPG where you’re always in a single player instance, chat is global and all gameplay is quick time events. All chat is voice chat and the volume of a user is determined by the pitch of their voice. You cannot fail events, though earnest success earns you more experience – the game has RPG elements like a tech tree and stats, though the stats raise automatically when you level and the tech tree is entirely linear. Equipment is purely aesthetic, though you’re only able to obtain wearable equipment from a global auction house (the only verb you’re afforded on found equipment is ‘list’.) You build a character by placing 2 of the abilities you’ve unlocked onto a hotbar, which is activated with the ESC and Pause/Break keys.

My cat is the best cat. She goes to the bathroom in the bathroom like a person. My other cat is also the best cat, she loves to eat and always sleeps where it is the warmest. My girlfriend is the best girlfriend, she buys me good food at the store and kisses me and says nice things a lot. I study computer stuff and how to make better bad guys in computer games, like how to make the bad guys do better stuff and act more like people. I have the best life and I never sleep.

If I ever hire an engineer…

We’re just trying to gauge your thinking process, so feel free to ask questions.

How many ounces of mood slime would it take to provide a coat 1″ thick covering the interior of the statue of liberty?

If you were attempting to interface this psychoreactive ooze with peripherals designed for a Nintendo Entertainment System, what steps would you take?

Goblins

I was reading about some fearsome new variety of spider they found in Oregon and apparently this thing is related to goblin spiders.

Yes, according to Wikipedia there are around 1,000 species of goblin spiders – that’s a lot of goblins!

This evil little guy is a Silhouettella assumptia. Looks like a red Tektike. Neat!
And then, of course, there is the Goblin shark which is terrifyingly awesome.

Anna on the news!

The Paranormals

When I was really young I remember something inhuman saying my name.

When I was older I saw a ghost arm come through the wall – I was too young to freak out (until I walked into the other room trying to find the rest of the person and it was empty.)

When I was older my Mom and I thought we saw some UFOs while flying kites – neither of us can remember anything that happened after that.

At some point I saw Big in a Fox theater with my Dad – we got the mystery ending that everyone denies filming (the female love interest makes herself younger and shows up as a new student in the main character’s class.)

A few years later, I heard some clicking and visualized something I identified as an engine that was based around a toroidal magnetic field.  No idea where that came from.

At some point, I jokingly claimed to have caused an earthquake.  Mom told me to cause another, so I strained really hard.  Apparently at that moment there was a massive earthquake somewhere (we read about it the next day.)

In the field between my house and my grandparents house in Upperco, MD there was a spot in the field that was always noticeably cooler to stand in.  As a kid I figured something was buried there.

As a pre-teen there was a screaming sound coming from a nearby field – we called it ‘the creature.’  Dad and I went out to investigate and we’re 99% sure it flew, because the sound seemed to come from in front of us and then behind us.

In college I noticed street lights would wink a lot around me so I looked at one and thought “c’mon, wink out” – it did.

I don’t believe in the paranormal.

On Mass Effect 3

I think it’s worth appreciating that ME3 was created as a product first and foremost, that any artistic merit the game has was added for profitability.  This isn’t some indie passion project or an art installation – this is a mass-market product.

If we were talking about dissatisfaction with the graphics engine, the networking, the dialog trees – any of the technical parts of the game which had an equal amount of creativity poured into them – I doubt anyone would support a position of ‘Will Not Fix.’  As a developer, I find this insulting.

Game reviewers are writers – writers sticking together should not be surprising.  It should not surprise anyone that writers believe that their art is somehow sacred – that all things about a game should be malleable except the plot.  If software developers felt this way about their work, the entire industry would grind to a halt.

I haven’t played Mass Effect 3, so I can’t judge the ending, but it seems like this was the result of inadequate playtesting.

Raytracing!

So I’m taking CS500 this semester with Dr. Gary Herron and he mentioned one of the sample images we work with reminded his daughter of fractals.  Well, back in the 90’s I remember fractals being super cool, so of course I instantly decided I should learn how to raytrace them!  Raytrace is probably the wrong word – although I’m working with my raytracer, these shapes are using raymarching and some of the coolest things ever, distance estimators!

Anyhow, just in case anyone else is as interested in this as I am, I recommend starting here.
Here are some pictures I’ve generated so far:

More Dreaming

Thought up a new way to handle cube-based construction in a game – potentially really cool, hopefully I’ll either have time to try it someday, document it or someone else will beat me to the punch.  It isn’t voxel based (unless your voxels are teeny-tiny.)  Just posting here so I won’t forget, chonestly.

Dream Game

I just had a dream I was working on the following game:

It’s like Pokemon, where you train monsters to fight other trainers, except instead of a turn-based battle the combat takes place in real time in an arena.  The monsters are controlled by AI, leaving you to control your trainer – who actually fights (with boxing gloves.)  Other trainers are typically horrified to see you fighting their monsters.

The story is that you were a master of these battles back when the monsters made sense and there was a human component, but many years have passed since then and you think the new monsters the kids have found are dumb and this makes you very angry.  So you’re basically one of those 151-elitists…

Oh, and the first monster you start with is Meat Boy.

Then I woke up, I think Ivy jumped on me.

Invent words

Words which mean opposite things should have the first letters reflected across the center of the alphabet with the bigger/better version being on the right side…  so instead of min and max, you’d have min and nax.  Endothermic and exothermic?  Which is which, I can’t tell, but call them endothermic and vxothermic and all is clear.  Good and bad?  Yood and bad (or vood and evil, ymmv.)  This is a treat idea.

Roadmap

GDC is quickly approaching and Voxel Chronicles isn’t yet where I want it to be.

Here is the roadmap, though – in case you’re curious as to what I’m working on or how long something took.

His bed.

An integral part of the very short plot/tutorial level. Obviously our hero would have a Dwarf Fortress themed bedroom, pfft.

Link to video
Link to code

Weapons point in (0,0,-1) in model space with the tip of the handle located at (0,0,0). startingOffset and endingOffset are two vectors controlling the direction of the swing – for the mace above, they’re set to (0,1,-1) and (0,-1,-1) and then normalized (before we hit the code below.) The code is longer than it needs to be mainly for debugging/clarity, as I’m trying to isolate the problem. Any help is much appreciated!

The code looks like:

// this will be the player's transform
Transform* parentTransform = (Transform*)parent->GetComponent( CT_Transform );

if( parentTransform )
{
Body* weaponBody = (Body*)owner->GetComponent( CT_Body );

// The location of the wielder
btVector3 parentPosition = btVector3( parentTransform->position.x, parentTransform->position.y, parentTransform->position.z );

// The rotation of the wielder
btQuaternion parentRotation = btQuaternion( parentTransform->rotation.x, parentTransform->rotation.y, parentTransform->rotation.z, parentTransform->rotation.w );

// The weapon is offset from the parent position (to a point corresponding to the player's hand)
// TODO: Pass this in from the character controller
btVector3 handOffset = btVector3( -4, 1, -4 );

// this was to handle weapons with widths that are even
if( weaponBody && weaponBody->offset.x > 0 )
{
handOffset.setX( handOffset.getX() + weaponBody->offset.x );
}

// currentVector is some portion of the way between starting and ending offset
float progress = currentSwingDuration / totalSwingDuration;

btVector3 parentAxis = parentRotation.getAxis();
float parentAngle = parentRotation.getAngle();

// Rotate starting/ending to align with player, interpolate based on progress to get current
btVector3 rotatedStart = startingOffset.rotate( parentAxis, parentAngle );
btVector3 rotatedEnd = endingOffset.rotate( parentAxis, parentAngle );
btVector3 currentVector = rotatedStart.lerp( rotatedEnd, progress );

// get axis/angle to rotate starting vector to current
btVector3 planeThatRotatesStartToCurrent = rotatedStart.cross( currentVector );
float angleThatRotatesStartToCurrent = rotatedStart.angle( currentVector );

// get axis/angle to rotate weapon to start
btVector3 planeThatRotatesWepToStart = btVector3( 0, 0, -1 ).cross( rotatedStart );
float angleThatRotatesWepToStart = btVector3( 0, 0, -1 ).angle( rotatedStart );

// Rotate the handOffset
handOffset = handOffset.rotate( parentRotation.getAxis(), parentRotation.getAngle() );

//DebugDraw::instance.drawLine( parentPosition + handOffset, parentPosition + handOffset + ( currentVector * 30.0f ), btVector3( 0, 1, 0 ) );

// get a quaternion to rotate the weapon from it's default direction (0, 0, -1) to current...
btQuaternion weaponRotation = btQuaternion( planeThatRotatesStartToCurrent, angleThatRotatesStartToCurrent ) * btQuaternion( planeThatRotatesWepToStart, angleThatRotatesWepToStart );

// Push currentVector out based on the length of the weapon (we want the handle of the weapon located at the origin)
if( weaponBody )
{
currentVector *= abs( weaponBody->offset.z );
}

currentVector = currentVector + handOffset + parentPosition;

// Communicate the new position + rotation to our parent composition
owner->ReceiveMessage( &DataMessage( MSG_SetRotation, XMFLOAT4( weaponRotation.getX(), weaponRotation.getY(), weaponRotation.getZ(), weaponRotation.getW() ) ) );
owner->ReceiveMessage( &DataMessage( MSG_SetPosition, XMFLOAT3( currentVector.getX(), currentVector.getY(), currentVector.getZ() ) ) );

In mathematics, the quaternions are a number system that extend complex numbers.  A complex number is a number which can be put in the form a+bi, where a and b are real numbers and i is called the imaginary horror, a source of constant anxiety for mathematicians at a subconscious level, which when squared equals -1.

In January of 1843 the Irish explorer Sir William Rowan Hamilton discovered the tomb of Euler and, within it, a mural depicting the deceased mathematician crying a mixture of alphanumeric characters while vomiting into a four-dimensional box.  Slumped in front of this mural was the corpse of Euler himself.  As Hamilton would later write:

“I did not expect to find Leonhard Euler in Peru – his death in Russia a century ago is common knowledge.  If this was truly his final opus, perhaps his countrymen banished him for madness and then claimed him dead to save face?  My peers in academia refute my findings and my guides in the jungle refused transport for the corpse.  I’ve been dreaming of that day ever since – the smell, the heat, the symbols.  My dreams are becoming stranger still – last night Fourier was there with us, furiously peddling a child’s tricycle in tight circles, mumbling rhythmically in cacophonous tones while Euler stalked the four corners of the room.”

Later that year, while walking along the towpath of the Royal Canal with his wife, Hamilton began muttering and carving into the stone of Brougham Bridge.  His wife, concerned he was becoming unstable, transcribed his muttering as “Iejays’k jaykays’i  kayeye’sjay Cthulhu R’lyeh wgah’nagl fhtagn.”  His carving simply read: i2=j2=k2=ijk=-1.

On the following day, Hamilton wrote a letter to his friend and mathematician, John T. Graves.

“And here there dawned on me the notion that we must admit, in some sense, a fourth dimension of reality for the purpose of communing with triples… An electric circuit seemed to close, and a spark flashed forth in the darkness.”

Hamilton called a quadruple with these rules of multiplication a quaternion, and he devoted most of the remainder of his life to studying and teaching them. He founded a cult of “quaternionists” and authored several grimoires, the last and most powerful of which was titled Elements of Quaternions.

Although incomprehensible, Hamilton’s followers digitized and distributed his work in the late 20th Century, where it was rapidly adapted due to a preternatural ability to compactly describe spatial rotations without being susceptible to gimbal lock.  As of 2012, quaternionists have successfully infiltrated the following fields: computer graphics, computer vision, robotics, control theory, signal processing, altitude control, physics, bioinformatics, molecular dynamics, computer simulations and orbital mechanics.

Surviving quaternionists conduct an annual pilgrimage from Dunsink Observatory to the Royal Canal bridge where, fortunately, no trace of Hamilton’s carving remains.

It’s training, dummy!

A* + JPS

Finally got my A*+JPS implementation from last semester’s AI course into the game! Agents aren’t following the generated waypoints yet but the paths are coming in quickly and optimally, just the way we like them.

Old Firebalton

This is not my happy place.

Fixed a bug with the lighting = can zoom closer now (for now.)

Still nothing to marvel at, but I’ve got some material properties in my alpha channel now – a 9-bit glow color and 2-bit shininess. Wikipedia tells me 9-bit color was used by the Sega Genesis (SNES used 15-bit) – neat, eh?

SOPA? Nopa!

If anyone missed my SOPA blackout yesterday, click this.

Also, snow – there is a lot of it.  I think that wraps up yesterday’s news.

A triumph!

You’d never know, but that represents several hours of research into alpha blending and blend states and whatnot – eventually it dawned on me that CEGUI was changing my blend state and, yeah, I can write the alpha channel into my render targets (again?) – HOORAY!

I’m protesting SOPA on EmoryM.com, btw.