As you can see, if you scroll down to the bottom right corner of the page, you'll see my Irrlicht-Python integration tutorial. Its not the same as the original version I first posted, because I lost that in a tragic harddrive crash :).
I think its better than the original though, because this one is larger in scope. In the last one, it simply rendered a texture to screen using Python script. In this one, it does all of the following in Python script:
1)Creates a cube scene node.
2)Loads a texture.
3)Applies the texture to the cube.
4)Writes my name at the top-left corner of the screen.
I think it's a job well done. I'd appreciate corrections or improvements of any sort. I plan to do a second part to the tutorial which would cover the integration of classes. If all goes well, that should be ready within the next three days.
Anyway yeah, enough programming talk.
I've been working out a bit lately, but its not enough to produce any results within a reasonable time frame. I need to get intense with it. I'm going to start keeping records of everything I eat and how long I exercise for. I was reading somewhere, and it said that to lose a pound of fat per week, you need a caloric deficit of approximately 3500 calories a week or 500 calories a day.
I intend to reach this by skipping, jogging and weight lifting. I like dancing (despite not being able to do it to save my life), but I don't think I dance enough for it to be a worthwhile contribution to me losing weight.
I need to find the motivation to use this summer wisely. I should be able to lose about 10 or more pounds by the time I get back to school. Wish me luck people.
Tata for now,
Gavin.
Showing posts with label Irrlicht. Show all posts
Showing posts with label Irrlicht. Show all posts
Saturday, June 6, 2009
Friday, March 21, 2008
Holidays!
Well, finally mock exams are over. I'm actually on my easter holiday break. Nothing to do now apart from cheap sex and Red Alert 2 lol. A lot of crap happened during the exam period, but the exams themselves were pretty easy.
I suppose that last blog post wasn't all that short after all. Since I have 11 days free, I'm gonna probably write a "LITTLE" tutorial on Skeletal Animation. This will be different from the rest so far as:
IT WILL USE openGL alone!!
Thats right, no Irrlicht, no Newton. I've gotta admit, its going to be a lot of work, especially since no 3d model file format supports everything I need. Some of you might be thinking about X and COLLADA files, but X files are hell to read and COLLADA is more of an interchange format. I've decided to write my own file format.
Then I realized that was a practical idea, especially for LunaLib. Instead of having to write small loaders for about 5 different model file formats, I write one large loader for a file format containing everything I need, like tangents and bones. The best part is, since I made it, I know everything I need to know about it.
Two other things before I go.
I have created a Devblog for Lunatek at http://lunatekdevblog.blogspot.com . It should keep you informed about things performing to LunaLib and our games. I won't be the only one posting. Sometimes Marc, Stephen and other staff members will post.
Next, take a peek at this image. It caught my eye on wikipedia so I just decided to show it here.

That image compares the styles in which characters were drawn in older animes to how they were drawn in newer animes. Interesting.
Now, this next image is a challenge that I'm going to give Stephen. Stephen's a good artist, but he's lazy, so I don't know the FULL extent of his abilities. I'm going to see if he can draw the picture below, but in different clothes and a different pose. If he does, I'll be REALLY impressed.

And to be honest, I don't know who the person in the image is.
*Grabs helmet and runs to bunker...*
Oh well.
See ya!
I suppose that last blog post wasn't all that short after all. Since I have 11 days free, I'm gonna probably write a "LITTLE" tutorial on Skeletal Animation. This will be different from the rest so far as:
IT WILL USE openGL alone!!
Thats right, no Irrlicht, no Newton. I've gotta admit, its going to be a lot of work, especially since no 3d model file format supports everything I need. Some of you might be thinking about X and COLLADA files, but X files are hell to read and COLLADA is more of an interchange format. I've decided to write my own file format.
Then I realized that was a practical idea, especially for LunaLib. Instead of having to write small loaders for about 5 different model file formats, I write one large loader for a file format containing everything I need, like tangents and bones. The best part is, since I made it, I know everything I need to know about it.
Two other things before I go.
I have created a Devblog for Lunatek at http://lunatekdevblog.blogspot.com . It should keep you informed about things performing to LunaLib and our games. I won't be the only one posting. Sometimes Marc, Stephen and other staff members will post.
Next, take a peek at this image. It caught my eye on wikipedia so I just decided to show it here.
That image compares the styles in which characters were drawn in older animes to how they were drawn in newer animes. Interesting.
Now, this next image is a challenge that I'm going to give Stephen. Stephen's a good artist, but he's lazy, so I don't know the FULL extent of his abilities. I'm going to see if he can draw the picture below, but in different clothes and a different pose. If he does, I'll be REALLY impressed.
And to be honest, I don't know who the person in the image is.
*Grabs helmet and runs to bunker...*
Oh well.
See ya!
Wednesday, February 20, 2008
The Last Leg
Its so close. I can taste it. The tension is killing me. I'm on the home stretch. The exams are about to start. I feel really ready for them, I just need to brush up on some MORE Biology and Literature. I feel so good right now, thinking about myself makes me feel...special lol.
I really am prepared. This is the taste of victory. Victory is like sex, only that you don't need protection lol.
Oh well, enough creepy talk. I decided to show some game related stuff. If anyone who reads this has ever played Ghost Recon Advanced Warfighter, you know its one of best FPS out now. (Apart from Crysis and Halo 3 of course, and my yet unnamed project, which doesn't really count, since its not coming out for now. :P)
I suppose that after exams, the first thing I'll do is write some Irrlicht tutorials and some openGL ones. Keep the $$$$ coming in, you know what I'm saying?
See ya!!
I really am prepared. This is the taste of victory. Victory is like sex, only that you don't need protection lol.
Oh well, enough creepy talk. I decided to show some game related stuff. If anyone who reads this has ever played Ghost Recon Advanced Warfighter, you know its one of best FPS out now. (Apart from Crysis and Halo 3 of course, and my yet unnamed project, which doesn't really count, since its not coming out for now. :P)
I suppose that after exams, the first thing I'll do is write some Irrlicht tutorials and some openGL ones. Keep the $$$$ coming in, you know what I'm saying?
See ya!!
Labels:
ghost recon,
Irrlicht,
life,
mock exams,
openGL,
tom clancy,
victory,
video games,
war
Wednesday, February 13, 2008
Friction and Electrostatics
I am as sick as a dog as I write this blog post. I woke up this morning at 5:30 with the most spectacular headache...it was like an...umm... acid trip!! I went back to sleep after taking some medication and woke up at 9, feeling a bit better, although my temperature was still high. I ate a bit and drank a lot(no pepsi this time, guys!) and settled down for a bit, while studying physics.
When I was studying physics, I ran into Coloumb's law. For the less physically enlightened among us, Coloumb's Law states that:
The force between two charges is inversely proportional to the distance between them, and directly proportional to their magnitudes.
In other words:
F = (Q1 * Q2)/ d
where F is the force produced, Q1 and Q2 are both different charges and d is the distance between those two charges.
So, you ask, how does this sloppy physics lesson concern the average retarded chump?
Well, it doesn't.
It just shows that I'm above you mortals. Just kidding. I was bored, so I went onto Wikipedia to look and see if there was a vector form. Turns out there was.
So I decided to go and create a small, utterly useless program that shows Coloumb's Law in action. It consists of a box and sphere. The box represents an electric field, and the sphere represents a charged object in the field. The box is always positively charged, while the charge of the sphere can be changed using the left mouse button. The camera can be rotated around the field so you can see it better, by using the left and right arrow keys.
Please note that I programmed this thing when my body temperature was causing forest fires in my head, so although its pretty much bug free, the source code is too messy to repost here. Instead, I'll just provide the link for the executable. It uses Irrlicht with the openGL video driver, as most of my other programs do.
The link is located under Random Programs. Grab it and go!!!
You might also have noticed that I changed the theme and layout of the blog. I figured it was about time for a change of scenery, you know? I'll probably do it about every 4 months.
That will be all, fellow human.
See ya,
Gavin
P.S. Oh, by the way, I know you guys were all shocked at the last post, and most of you couldn't believe what you saw (yeah Sparky A.K.A. Christopher Backfista, I'm talking to you). So for the pure shock value of it, here's the image again:

Congratulations, perv. Sparky, you might want to wipe that stuff off your monitor, drool or otherwise.(Ewwww....grosss.....)
When I was studying physics, I ran into Coloumb's law. For the less physically enlightened among us, Coloumb's Law states that:
The force between two charges is inversely proportional to the distance between them, and directly proportional to their magnitudes.
In other words:
F = (Q1 * Q2)/ d
where F is the force produced, Q1 and Q2 are both different charges and d is the distance between those two charges.
So, you ask, how does this sloppy physics lesson concern the average retarded chump?
Well, it doesn't.
It just shows that I'm above you mortals. Just kidding. I was bored, so I went onto Wikipedia to look and see if there was a vector form. Turns out there was.
So I decided to go and create a small, utterly useless program that shows Coloumb's Law in action. It consists of a box and sphere. The box represents an electric field, and the sphere represents a charged object in the field. The box is always positively charged, while the charge of the sphere can be changed using the left mouse button. The camera can be rotated around the field so you can see it better, by using the left and right arrow keys.
Please note that I programmed this thing when my body temperature was causing forest fires in my head, so although its pretty much bug free, the source code is too messy to repost here. Instead, I'll just provide the link for the executable. It uses Irrlicht with the openGL video driver, as most of my other programs do.
The link is located under Random Programs. Grab it and go!!!
You might also have noticed that I changed the theme and layout of the blog. I figured it was about time for a change of scenery, you know? I'll probably do it about every 4 months.
That will be all, fellow human.
See ya,
Gavin
P.S. Oh, by the way, I know you guys were all shocked at the last post, and most of you couldn't believe what you saw (yeah Sparky A.K.A. Christopher Backfista, I'm talking to you). So for the pure shock value of it, here's the image again:
Congratulations, perv. Sparky, you might want to wipe that stuff off your monitor, drool or otherwise.(Ewwww....grosss.....)
Saturday, February 2, 2008
Fighting My Way Through This Life
Well, Easter Holidays are coming up. The thing is for me, they're not going to be holidays, since I have mock exams coming up after them. I've been studying too much lately, so I decided to frag some punks to take the stress of. Well that didn't seem to work, so I decided to program some stuff. No, the second Python-Irrlicht tutorial isn't ready yet,its a lot of work, and I'm really too lazy.
However, I did do a simple tutorial on Irrlicht-Newton integration. I made a simple demo that has a sphere falling under the influence of gravity, to hit the ground. It teaches the basics of Newton and a little bit of design theory, so grab it.
Also, I hope you've noticed the donate button. Stick your pointer in it and send me some money please lol!!
However, I did do a simple tutorial on Irrlicht-Newton integration. I made a simple demo that has a sphere falling under the influence of gravity, to hit the ground. It teaches the basics of Newton and a little bit of design theory, so grab it.
Also, I hope you've noticed the donate button. Stick your pointer in it and send me some money please lol!!
Sunday, January 20, 2008
I'm Alive
Well, I did promise that there would be less postings this year, since I'm really busy. I'm working on the fundamentals of the second part of that Irrlicht-Python integration tutorial, but as I said I'm really busy, so its going pretty slowly.
I've also started working out...since I'm pathetically weak and it can do good things for my concentration. Well not pathetically weak, but I think I could be a lot stronger. I have mock exams late next month, and I get my report card this week Wednesday. Thankfully, I've done well enough not to fret.
That's all, life is pretty boring right now so:
LATER!!!
I've also started working out...since I'm pathetically weak and it can do good things for my concentration. Well not pathetically weak, but I think I could be a lot stronger. I have mock exams late next month, and I get my report card this week Wednesday. Thankfully, I've done well enough not to fret.
That's all, life is pretty boring right now so:
LATER!!!
Labels:
exams,
exercise,
integration,
Irrlicht,
python,
report card,
school
Sunday, January 6, 2008
The Latest from The Twisted Mind of Gargamel
Well, my Internet just got fixed today(sucky Cable and Wireless!), so being the antisocial person you've all come to know and love, I was bored. To occupy myself, I decided to write a couple of Irrlicht tutorials. There are 3 of them in total. Two cover basic Irrlicht concepts, that is, setting up a window, and displaying an image, while the other one covers integrating Irrlicht with the Python scripting language.You can find it on the links to the left. I will post source code as soon as I get up off my lazy ass and decide to include it.
As for LunaLib, well...LunaLib ain't dead...Its on life support bitch!!!
A must watch for all the Boondocks fans out there:
Anyway, school resumes on Tuesday. Badabababada, I'm dreading it. Well, not really, its just that a sh*t load of work is going to be piled up on me. But I can handle it...I'm Gavin!!!!
...Right? I'm sure I can do this...I think.
Bye!!!
As for LunaLib, well...LunaLib ain't dead...Its on life support bitch!!!
A must watch for all the Boondocks fans out there:
Anyway, school resumes on Tuesday. Badabababada, I'm dreading it. Well, not really, its just that a sh*t load of work is going to be piled up on me. But I can handle it...I'm Gavin!!!!
...Right? I'm sure I can do this...I think.
Bye!!!
Labels:
antisocial,
cable and wireless,
dread,
internet,
Irrlicht,
python,
school,
scripting,
tutorial
Subscribe to:
Posts (Atom)