March 10th, 2010
I had so much fun doing the Digital Grid graphic that I decided to another example from Art and Design in Photoshop: How to Simulate just about Anything from Great Works of Art to Urban Graffiti. This one was a lot more complex, but that makes the results that more satisfying.
In the chapter on the “Great Works of Art”, there is a section on Roy Lichtenstein, who was a pop-art contemporary of Andy Warhol. He is most well known for his large, comic-style paintings. Not wanting to deviate from the culture that I find popular, I started with an image of the iconic X-wing fighter.

Unlike the digital grid image I created, this one required very little in the way of trial and error. Of course it took a lot longer to create, but at least I wasn’t going backwards. :D
Posted in Graphics | No Comments »
March 9th, 2010
After finishing the terribly misnamed chapter on “Managing Memory” in C++, I’m not sure if it’s worth my time to stick with it. I’ll definitely finish the book, but I’m not where I would like to be as far as understanding. It doesn’t help that the big example at the end of the chapter had numerous typos. I guess debugging an unfamiliar language is one way of learning it, but since this book is supposed to be a primer on the subject, better editing would be helpful.
If I ever actually want to use this language, I’m going to have to find another source to help explain the finer details of pointers and references. I wrote before that I was hoping to get a better understanding of them, but I don’t think I do. Actually, the problem is mostly with the actual syntax of them, rather than with their usefulness, so some practice would help, too. It doesn’t help that classes are implemented in a crazy way. You should not be able to define your methods outside of the class, much less be required to in many cases for efficiency.
Posted in C++ | No Comments »
March 8th, 2010
I’m a little more than halfway done with chapter 6 of my C++ book, and already I am wondering how this language is still around and so popular. Its arrays seem about useless as the arrays in DXL. I think I understand the basics of pointers, but I still have no clear idea why I need to use them. Oh, I know that they are useful for keeping a program’s memory in check, but I don’t understand why a supposedly high-level programming language needs that much programmatic garbage collecting. I finally understand why video games are so expensive. Almost all gaming engines are written in C++.
And then we come to strings. Ugh. In order to make sure that the reader can understand other code, which sometimes has some legacy C stuff, there was a brief review of strings in C. Strings in C make the strings in C++ seem like manna from heaven. Well, maybe not manna from heaven, but certainly a decent burger from a mid-priced family restaurant. I wonder if there is any way that I can avoid strings in any C++ program I write. Probably not.
Posted in C++ | No Comments »
March 4th, 2010
I just went through a couple of lessons in Java on different operators and I started the lessons on flow control. I’m glad that Java has the switch statement. It really bugs me that DXL doesn’t have it, and I’ve come to rely on it over the last several years.
I’ve still got a long way to go with the Java. Of course, my own goal is to have all of the lessons done by the end of November, so it’s not like I’m pressed for time. Honestly, I would be whipping through them faster if the SkillPort training system wasn’t such garbage. I’ve always disliked it. It’s too slow and cumbersome and prone to connection errors.
Posted in Java | No Comments »
March 4th, 2010
I finished the fifth chapter which was on classes and objects. Much of it was familiar to me from PHP, of course, but some of the syntax is new to me. If I ever get around to programming in C++, it will definitely be a case of knowing how to use the OOP functionality, but having to look up the details of writing it. And I am okay with that; I look up PHP stuff all of the time, even for functions I use consistently.
I started the next chapter, on memory, and I’m just getting to the part on heaps where I finally learn why I would want to use pointers. I’ve known about pointers for years, and even had a decent understanding of what they are for a while, too, but I’ve been completely lost as to why they are necessary. I guess it never occurred to me that a language so full of potential memory leaks would rely on functionality that could create even more in order to avoid them. It seems weird, but you use what you’re given.
Posted in C++ | No Comments »
March 3rd, 2010
One of the things I like to do is find neat tutorials for Photoshop and use them as a basis for creating images in Paint.NET. It’s not always easy, but the hundreds of plugins available at the Paint.NET Forums certainly help.
In this case I was perusing Art and Design in Photoshop: How to Simulate just about Anything from Great Works of Art to Urban Graffiti and found a tutorial on what the author calls “Digital Grids” in the chapter on contemporary design. I like the results, so I gave it a try. Here you will see the original that I found by using Google’s image search for black and white images larger than 500 pixels (in one dimension) that are licensed for modifications using the keyword “face”.

sup?
I’m fairly pleased with the result, but it was my fourth attempt. The first three images I tried simply didn’t have enough interest in terms of shades and contrast to work right. While the book mentioned finding high contrast sources, it failed to point out some of the other pitfalls that I discovered when actually doing it.
Posted in Graphics | No Comments »
March 2nd, 2010
The book I’m using to teach myself C++ is C++ Programming for the Absolute Beginner. I just got done with chapter 4 on functions.
I’m finding this to be much easier than I thought. I’ve always had a kind of mental block when it came to C, but my years of experience with DXL and PHP have really paid off when it comes to the introductory topics. I have learned a couple things completely new, so I’m glad I decided to start at the beginning. Only time will tell if I can keep up with it.
Posted in C++ | No Comments »
March 2nd, 2010
As part of my job, I’ve been asked if I know Java by two different people who may have some work that they need the company I work for to do. Because of this, it has been decided that I will take some online instruction. I started it the other night, and I already don’t like what I’ve seen.
Coincidentally enough, I’ve also recently started teaching myself C++ using a book. Actually, I’m working through this book, so I can have a better understanding of another book on games programming with C++ that I want to work through. I have no specific goal in mind with C++, but I’d like to think that it could help me professionally, and not just add another language to my list for geek cred.
I’ve managed to avoid C++ and Java for years, but I have used languages with similarities (e.g. DXL and PHP) and have had reason to read code in both. However, I’ve never before known that you cannot use the equals operator to compare two strings in Java until my second online lesson. Why in the world would they make you use a String class for such a basic task?! It boggles the mind. I’ve kind of been dreading getting back to it, quite frankly.
At any rate, I plan on posting frequent updates on how it is going in both. That will hopefully keep my wandering mind in check.
Posted in C++, Java | No Comments »
February 25th, 2010
Apparently the fact that I slipped in some PHP code to print the lyrics to Soul Glo into one of the mini-movies I did for MegaFault is uninteresting to the editors at IMDb.com. I was going to add it to the movie’s Wikipedia page, but I got a warning that my updates were self-aggrandizing. So I’m done.
Sorry, Eriq La Salle. No one cares that I was thinking about you.
Posted in Rants | 2 Comments »
February 18th, 2010
WordPress, and the plugins for it, allow me to automate many of the tasks that are involved with keeping my blog up to date. Now I just need to find a plugin to automatically post things for me, and I wouldn’t ever have to do any work for it at all.
Posted in Uncategorized | No Comments »