Thursday, February 23, 2012

Barbarian Skill Trainer, the Second

Only about three hours (perhaps less) of work over my last posting of this illustration. It's still kind of rough and sketchy in places, but that's how I feel like leaving it for the moment. Just for posterity's sake - this is one of the skill trainers for my senior project game. He exists only as an illustration in our menu UI... but the character design's kind of neat, I think. Maybe one day I'll make a 3D model out of him? Probably not. Onwards, to the paladin!

Wednesday, February 22, 2012

Barbarian Skill Trainer

Since I finished my Korean Girl/Woman portrait, I decided to devote my artsy evenings to senior project - not to say that I would be coding all night, though. I do have two character portraits to complete for our user interface. Initially this was six, but as we cut down the number of trainers we'd include in our game, so fell the number of portraits I had to produce.



So this one's still pretty rough, but I don't like it that much. I never really felt into it, but I pushed along anyways. I hate touching his face, because it never seems to come out right. And yeah, he's only got one arm. He lost it as a child, before he ever picked up an axe. He's that badass. They call him two-hands, because he always chooses to use the biggest two handed weapon available.

Sunday, February 19, 2012

Replication of Variables in UDK

I will try to make this as brief as possible. If you're interested in something with a little more depth, I strongly recommend you read through Replicating a Flashlight's State; it isn't very long either, and probably makes my post obsolete, but I felt like presenting my understanding on the matter.

Networking in UDK

Alright, here goes. My first somewhat educational post, and I declare that it shall be on the illusive topic of networking. This will primarily cover the basic issues of creating a server, connecting to that server and also creating a combination between a client and a server. But first, an introduction to the concept of a client and a server.

Tuesday, February 14, 2012

Cain and Abel, the Third

Growing tired of this piece, and a drop of colour hasn't yet touched the canvas. This does not bode well! It may, however, just have something to do with the fact that I've been painting largely while being drowsy (it's 4am, so don't hold it against me). Been spending the majority of the past few days working hard. Today's endeavour was finishing off a website that will soon join my portfolio. In other news, I finally got around to watching Joseph (1995) today - remarkably good movie. First half was slow, but it really picked up towards the end. Though the climax was a little drawn out, leaving the viewer to wonder when the damn thing was finally going to peak properly. Still, good movie. Of course, I do like my biblical epics.

Monday, February 13, 2012

Cain and Abel, the Second

Tried looking for reference, especially for the figures of Adam and Eve embracing each other, but I couldn't find anything that would really even remotely suit the pose. So, I will have to wing it, I guess. Oh well. I'll try and give myself plenty of chances to re-evaluate my direction before I take this to colour (I'm still well away from that stage), so I hope I can work out some of the more glaring issues.


In other news, I managed to finish the annotated bibliography that's due on Tuesday for art history. We've been given a good twenty-three paintings (all, or most on display at the National Art Gallery) to choose from for our essay. I quickly narrowed it down to three; a Giordano, a Rembrandt or a West. Unfortunately, I could find next to nothing in terms of articles on the first two... Although in retrospect I don't remember looking particularly hard for the Rembrandt ("The Tribute Money"). I think I forgot about it, while fussing over the Giordano. It's too bad, because it really is a lovely painting. But anyways, I found a fair bit about the Benjamin West painting, and despite initially not being particularly taken by it, reading the articles really increased my interest in the piece. I think by nature I'm more drawn to pieces of classical nature and subject, but it is very much the fact that West pulls away from that standard that makes "The Death of General Wolfe" so alluring in its own right. Also helps that I remember doing a project back in junior high about the Battle of the Plains of Abraham, so I'm familiar with some context.

Considering, though, that the painting itself can be interpreted in so many different ways, and holds so many layers of meaning and significance, I shouldn't have too much trouble writing an essay on the topic. I hope.

Sunday, February 12, 2012

Cain and Abel, the First

So, as I mentioned in my last post, since 2008, I've felt compelled to work on pieces that express my take on the character of Lucifer. This started off with a few paintings of him suffering after being cast out of heaven. Last time, I moved more towards his supposed role in the original sin. I expressly made the decision not to worry very much about the distinction between the various devil figures (Lucifer, Satan, Samael, Azazel, etc), but am instead following the story with Lucifer playing a very pitiable and human role. The role of an arrogant son, cast out by an all-too heavy handed father. The role of a distraught, directionless being finding some level of peace in helping a man and woman attain the knowledge they seek. Now the role of a father, unable to properly care for his son as a man might, but doing what he can all the same.



I find that being able to look at these stories from a mythological stand-point allows me to appreciate them quite deeply. Without concerning myself with matters of truth, I'm able to consider various dynamics between characters, and explore various archetypes that can be applied to each figure. Not that these ideas are anything original... I was pretty pleased with my idea of Lucifer as a human figure to be empathized with, back when I painted the first piece - more recently I've discovered that this idea became pretty popular in the past couple of centuries. Gat dangit!

Saturday, February 11, 2012

Trees are Jerks

Seriously. They're too tall, you can't trust them. Fun to paint the limbs, but the leaves are unspeakably bothersome. Felt like reattempting the environment of a painting I did a couple years ago, as a speed paint. It was supposed to be the tree of knowledge, hanging over a pit of lava. I haven't really looked at the old painting yet for comparison's sake - I hope it's at least a bit of an improvement.

  

On that note, I'm considering moving onto the next entry (number four) of the biblical series I've been doing since I started college. I generally did one a year, and I did start on one last year, but grew disenchanted with it before I was able to finish. Not completely sure if I'll pick up where I left off, but I've been reading wikipedia articles on biblical myth again lately. Samael and Lilith are definitely quite inspiring.

Thursday, February 9, 2012

I'm getting tired of painting latex now...

So maybe tomorrow night I'll try something else. Perhaps something less like a big shiny ass. Ugh, I can't wait until tomorrow night, though. I finished most of the stressful bits of this week (essay proposal due tomorrow, but I handed it in already - although technically I was granted a five day extension, putting the due date to Tuesday). Still have to give a presentation tomorrow, but the slides and whatnot are all prepared. That is all.

Oh wait! One more thing. I finally decided to buy my art history course's textbook today. $185! Over two hundred at the campus book store, thankfully amazon had it for a bit cheaper. But still - before this, the most expensive textbook I'd purchased was around $100. Had better be worth it. Definitely couldn't put it off any longer though, since I've got a midterm on the subject at the end of this month.

Wednesday, February 8, 2012

Painful SQL, More Shiny Latex and Uneducated Drivel

Painful SQL

So today I was working on one of the contracts I've currently got going - the task itself is not large, but it has a few somewhat challenging components. I (kind of) conquered one of them today. An immensely complicated SQL query that involves sorting the returned rows by how the relative ratios of protein, carbohydrates and fats in each item retrieved differ from a user's goal. Furthermore, it has to take into consideration that it is less desirable for the bulk of the difference to be in one category instead of spread out across all three. Somehow, with a combination of standard deviation equations and some handy experimentation on my part, I managed to come up with a solution - hooray for first year statistics class! Still, thanks to the fact that you can't use aliases for much within the query itself (can't multiply two aliases together, etc) I ended up with an absolutely HIDEOUS query. Surprisingly enough, I had very few syntactical issues, and none of them came from the part to do with value on which the results were sorted. Enjoy:

SELECT it.items as name, it.grams as grams, it.portion as portion,  it.calories as calories, it.grams_p as protein, it.grams_c as carbs,  it.grams_f as fat, it.grams_sat_f as saturated, (SQRT(((((14 -  (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  - (((14 - (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) + (56 - (it.grams_c*4/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) + (30 -  (it.grams_f*9/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f *  9)))))/3)) * ((14 - (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) - (((14 - (it.grams_p*4/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) + (56 -  (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  + (30 - (it.grams_f*9/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))))/3))) + (((56 - (it.grams_c*4/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) - (((14 -  (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9)))) + (56 - (it.grams_c*4/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) + (30 -  (it.grams_f*9/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f *  9)))))/3)) * ((56 - (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) - (((14 - (it.grams_p*4/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) + (56 -  (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  + (30 - (it.grams_f*9/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))))/3))) + (((30 - (it.grams_f*9/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) - (((14 -  (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  + (56 - (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) + (30 - (it.grams_f*9/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))))/3)) * ((30 - (it.grams_f*9/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))) - (((14 -  (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  + (56 - (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) + (30 - (it.grams_f*9/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))))/3))))/2) * ((14 -  (it.grams_p*4/((it.grams_p * 4) + (it.grams_c * 4) + (it.grams_f * 9))))  + (56 - (it.grams_c*4/((it.grams_p * 4) + (it.grams_c * 4) +  (it.grams_f * 9)))) + (30 - (it.grams_f*9/((it.grams_p * 4) +  (it.grams_c * 4) + (it.grams_f * 9)))))) AS sortorder FROM items it LEFT  JOIN intake int_f ON (it.id_foods=int_f.id_foods and int_f.Date >=  DATE_SUB(CURDATE(),INTERVAL 4 DAY) and int_f.user_id='1') LEFT JOIN  intake int_fg ON (it.id_groups=int_fg.id_groups and int_fg.Date >=  DATE_SUB(CURDATE(),INTERVAL 2 DAY) and int_fg.user_id='1') WHERE  int_f.id_intake IS NULL and int_fg.id_intake IS NULL and ((IF(it.meal_id=0,it.meal_id,(SELECT SUM(sint_f.id_intake) + SUM(sint_fg.id_intake) FROM meal_ingredients ming LEFT JOIN items mit ON (ming.item_id = mit.id_items) LEFT JOIN intake sint_f ON (mit.id_foods=sint_f.id_foods and sint_f.Date >= DATE_SUB(CURDATE(),INTERVAL 4 DAY) and sint_f.user_id='$user') LEFT JOIN intake sint_fg ON (mit.id_groups=sint_fg.id_groups and sint_fg.Date >= DATE_SUB(CURDATE(),INTERVAL 2 DAY) and sint_fg.user_id='$user') WHERE ming.meal_id=it.meal_id))) IS NULL or it.meal_id='0') ORDER BY sortorder ASC LIMIT 15

More Shiny Latex

On another note, I did another latex study. It's nice, you know, to have a blog that no one reads - means I don't have to be self conscious for using latex fetish models for studies. Today's was Susan Wayland. Still needs work, and I threw the face and hair on there rather quickly because I was getting tired. Not that I should be making excuses.



Uneducated Drivel

Oh! Today's Art History lecture was very interesting, once again. It pains me that I've missed two classes already thanks to the weather (I haven't been keen on driving through snowstorms for an evening elective). It's not common for me to regret missing a class or two. Today we covered various interpretations of Baroque art; Spanish, Flemish and Dutch. A lot of beautiful pieces, although I didn't find myself particularly fond of the all-too everyday paintings of Vermeer. I mean, I know they hold deeper meaning in raising the average person to a piece of interest, but it just doesn't do much for me. Even some of the still lifes from the same period and region seemed more intriguing to me. Then again, it may have been the particular pieces our professor showed us - I do remember finding The Girl with the Pearl Earring somewhat interesting.

But oh jeez. Las Meninas, by Velázquez? I have no words. The amount of depth in the painting, and how the mere presence of a canvas blocking off the far left brings the viewer into the piece is astonishing. By adding that border element, it seems to knock away all other edges and immerse you into the scene. I did appreciate that same sort of element of Vermeer's The Art of Painting, but I think its disregard of the viewer, counters that connection and allows me to detach all too easily.

... But seriously. How does Vermeer know what his own back looks like?