Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Kirl

Pages: [1] 2
1
General chat / I can't post oneliners anymore!
« on: July 27, 2016 »
Someone set up us the bomb! The shoutbox on the main page doesn't seem to work for me anymore.  :'(

I tried posting oneliners on the ipad and laptop but they all dissappear into the dark void. Any ideas what's going on?
 

2
Projects / 3d printing experiments
« on: April 30, 2014 »
I made my first 3d prints recently! Keychains for my fellow translators at Duolingo and a gold trohy for the staff. I presented them at a dinner we had together in Amsterdam recently. I'm pretty pleased with the results but got lots of improvements for next time.

The keychains were printed in solid color sandstone, which was very rough and seemed quite brittle. After a number of coats of clear varnish they were very smooth and seemed a lot more durable.

The trophy is hollow, printed in plastic and spraypainted gold. Unfortunatly the gold paint was very fragile and couldn't be painted over with anything else. I was going for a perfectly smooth mirror surface, but it seems this can't be achieved with just a gold paint, no matter how smoothly applied. I even made 4 nice little dutch flag pouches, from a coupe of cheap wrappers for the side mirrors of a car.

Below are some pics I made throughout the entire process, turns out I documented the whole thing pretty well!  :)


3
Hi all!

A quick and slightly dirty entry here. I made a much earlier start but it was plagued by a breaking bug until yesterday. Happy to get something working before the deadline. The bug turned out to be a stupid error on my part, so the fix was about as frustrating as the days tracking it!
 :hammer:

Move mouse for FX
Click to change colors.
Ctrl - toggles autoplay off/on
Up/Down - change number of trails
nr keys 1-4 toggle shapes: 1- lines 2- streaks 3- circles 4- squares
Spacebar - toggle static screen state and fading. In permanent screen mode you can manually draw some awesome static patterns! Use Ctrl to turn of autoplay first.

View here -> http://kirl.nl/ruptures.html

Enjoy! :cheers:

4
Challenges & Competitions / [UDG] - Retro Rorschach
« on: February 23, 2013 »
Hello all, here's a fun little cellular automaton for the comp! The result of an interesting little bug I hit when working on the Game of Life. I (accidently) commented out one line of conditional checks, which changed the normal (boring :P) GoL behaviour to this. The symmetrical patterns reminded me of the Rorschach test. If you tend to see faces or figures in the patterns you're probably insane!  ;)
I generate the 16 random tiles/colors at the start of the program.

Really happy I managed to enter something once again! Enjoy!

Click and drag to draw and erase cells (symmetrical shapes give best results, but go wild)
SPACE to start and pause
C to set a random start configuration

5
I came across the book: Texturing and Modeling, A Procedural Approach (from Ken Perlin among others), which looks really usefull. I'm wondering if anybody here is already familiar with this book and if you are what you think of it.

If you aren't meaby it's worth checking out too.

6
Challenges & Competitions / [SPOOKY] DEMOnic
« on: November 02, 2012 »
Hello all, here's my entry for the Halloween comp. Had a lot of fun working on this. Everything is procedurally generated except for 3 vector shapes I used for the skeletons skull and the witch and cat body, the rest is drawn with code.

It turned into something quite different from what I started on, but I'm happy how it turned out. Everything is written from scratch for this challenge, I hope you like it! :)
Music is b00 by burnkit2600.

Original size
Full screen (change browser widow to resize)

There are a couple of test functions left in:
F - displays framerate (set to 30 fps max)
C - fades moon color through fully saturated HSL colors
SPACE - colors newly generated objects like grass, graves and trees
CTRL - toggle/restart text scrol

7
General chat / Remake original Half-life for free!
« on: September 16, 2012 »
You can download a complete remake of the original Half-Life using the Half-life2 engine, which naturally has much better graphics. It's free and you don't have to have HL2 installed. You can find it here: http://release.blackmesasource.com/

Pretty excellent, I'm downloading it now. :updance:

8
Other languages / using arrays/tables in Lua?
« on: September 03, 2012 »
Anybody got any experience with Lua?

I'm playing around with the coding app codea (or codify) for ipad and I'm having some trouble filling an array/table with xy values and retrieving them.

9
Projects / my 1st commercial game project!
« on: May 23, 2012 »


I just wanted to show off my first professional game project. The game itself is pretty drab (it's basically a discount give away), but I'm pretty excited about working with the studio that hired me (as are they). I did some 3d models for them a short while ago and they're now planning to switch to games, so hopefully we'll do some cooler projects together in the future.

You can play it on: bruynzeelkeukens.nl (they sell kitchens), just click the ad in the banner to play it. I didn't include a direct link in order to prevent them from seeing where the traffic is from. I'm not too keen on them finding me here... 

Would like to hear what you think about it. As I said the game itself is pretty drab, but it's still really cool to see everything running on my code (and you can make a mess of the kitchen). I also hid some secret greetings to the people I worked with in the menu. Haha  ;D

10
Challenges & Competitions / [CUBES] Cub≥d
« on: May 11, 2012 »
<a href="http://kirl.nl/cubedTeaser3.swf" target="_blank" class="new_win">http://kirl.nl/cubedTeaser3.swf</a>

11
General coding questions / 3d angle?
« on: April 26, 2012 »
Alright so I'm happily clicking away at my keyboard, reformulating 2d math formulas into 3d without much problems until I hit upon a problem.

How do I calculate and define an angle in 3d?

In 2d it's pretty straightforward, I take the x and y distance (dx & dy) and do Math.atan2(dy, dx). I don't know why this works exactly, but it's easy enough to remember. How do I get and define angle between two points in xyz space?

12
C / C++ /C# / problems installing openGL
« on: March 18, 2012 »
I installed openGL acording to instructions from a book, but when I try to run the first (downloaded) example program I get an alert saying:

"Program can't start because glut32.dll is missing"

However glut32.dll is right where the book says it should be (Windows\System32). I'm thinking it might have something to do with the fact that I don't save my projects in the default VC++ projects folder?

The only difference from the book instructions is that I put the glut.h header file into C:\Program Files(x86)\... instead of  C:\Program Files\...

13
General coding questions / interpolating values
« on: March 14, 2012 »
I need to interpolate 4 values, am I right that interpolation is basically calculating an average?

Code: [Select]
(value1 + value2 + value3 + value4) /4;
I never had any kind of formal math training so I'm mostly clueless when it comes to specific terms.

14
Anybody ever heard of the Journal of Graphics Tools? Seems like a really interesting and usefull read. You can find a bunch of free sample articles here. The editors describe it as follows:

Quote
The journal of graphics tools (jgt) is a quarterly journal that provides computer graphics professionals with practical ideas and techniques that solve real problems in various areas of computer graphics: modeling, rendering, animation, interaction, real-time graphics, image manipulation, and related applications.



Unfortunatly I haven't been able to find the particular issue I was hunting for (volume 6, 2001), but one of the free samples I skimmed through was of particular interest to me, as I recently did some kinetic motion experiments. Basically a bunch of stickmen running with actual physics causing their forward motion. But I'm dreaming of eventually taking it in the direction of euphoria, which had me all excited as an animator way back when, but it's downright irresistable as a programmer!

One of the free sample articles covers exactly that, score!  :updance:

15
C / C++ /C# / expert question ;)
« on: March 02, 2012 »
Right so I'm sitting down for C++ after a bit, with a book at my side but I can't get the first example to work.  :-[

So I make a new project "first"
and add "first.cpp" with the following code:

Code: [Select]
#include <iostream>
int main()
{
using namespace std;
cout << "This sux donkey balls!!";
cout << endl;
cout << "skool me!" << endl;
return 0;
}

compiler says:

1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
1>C:\Users\Public\Documents\Programming\C++\first\Debug\first.exe : fatal error LNK1120: 1 unresolved externals :crutches:

16
Projects / Friendly Blobs!
« on: February 12, 2012 »
I just wanted to show off the blob to blob collisions which I'm really happy with!   :updance:
I lost my 1st collision code due to a crash my housemate caused while I wasn't around (I forgot to save).  :telloff:
Now I'm happy it happened because I squashed (really obliterated) a very annoying bug in the rewrite. The blobs would sometimes get stuck in eachother because I moved points away from the center of colliding blobs. Fixed it by moving them towards the center of the blob they belong to instead.

<a href="http://kirl.nl/locoRocko.swf" target="_blank" class="new_win">http://kirl.nl/locoRocko.swf</a>
Ctrl to add blob, D to remove
Arrow keys to move
Click & Drag blob around
Click blob to split
+ & - to resize blob
Space to toggle link structure

17
General chat / Converting mp3 to ogg?
« on: December 31, 2011 »
Does anybody know a decent program for converting mp3 to ogg?

Of the 3 programs I tried, one put audio samples over the final ogg and the other 2 acted like malware!   :telloff:

18
Challenges & Competitions / [TinyC5] Plawesoma!
« on: December 22, 2011 »
How are you gentlemen? I present to you Plawesoma!

I tried a plasma before in flash but it failed spectacularly, so I'm happy it worked out this time, turns out it's pretty simple really. I got it after reading a post by jim which I found through a google search. I should've known better and searched dbf in the first place... :)

View source at your own risk, some really weird and crappyy code solutions for the text scroller and font (just say no kids! ;D).  Music only seems to work in Chrome.

Have a good xmas all!  :xmas:

19
Projects / PixelFunk!
« on: November 28, 2011 »
Hello all, I've been working on quite an ambitious game engine sort of thing. Basically it's a sandbox with a destructible and rebuildable environment. What's especially cool, is that it's really a combo of everything I learned from previous DBF challenges.

- Liquids from the Liquid challenge.
- Fire, destruction and collision detection from the Destruction challenge.
- Bitmap editing from the Img Processing challenge.

All effects are rewritten, improved and hugely optimised. The liquid now collides with all shapes (instead of only squares in my liquid entry) and the speed is unaffected by the nr of wall shapes or the size of the environment! Impossible, but entirely true!
The fire is also hugely optimised by bringing the nr of particles way down, compensated with some simple trickery. Also made it a bit more cartoony to fit the style.
The destructable environment is now a bitmap instead of the slow, clumsily masked vector images I used in my destruction entry, this made a lot of other optimisations possible as well. Speed is now unaffected by size or number of shapes and debris color is now taken from pixel color instead of from predefined variables, which makes it much more flexible.

Ever since I started CGI, fire, smoke and liquid effects were notoriously hard to do (I'm talking still images, I wasn't even familiar with "real-time"). Even later with 3d animation software it remained a real challenge. So I'm really proud I managed these fairly decent, real-time effects with my very own code, of all things! Without the challenges I never even would've attempted something so foolishly impossible. So I owe a huge amount of gratitude to the DBF community for providing the bite-sized challenges and the motivation to learn all this!

Next impossible milestone: Understanding the Navier-stokes equations! :)

So without further ado: Kirl's PixelFunk <-- Reference to the hugely superior PixelJunk:Shooter for PS3. ;)

Up/down = accelerate / decelerate
left/right or mouse = turn ship
Ctrl = shoot
Space = change weapon
Shift = drill function (helps when you get stuck)
+/- = change nr of bullets (gun only)
Alt = draw random wall shapes

I'd love to hear your thoughts, I'm particularly interested in:
- How it runs for you
- What kind of game you'd like to see this become
- Your opinion on the experimental sound FX

20
Challenges & Competitions / [PHENOMENA] Lucy's diamonds
« on: November 12, 2011 »
Hello all,

Here's my compo entry, started only 2 days ago so there's lots of bugs and wrinkles left in.
All things considered I'm happy with the result, but be gentle...

The clouds are generated by semi-randomly rotating and scaling a single puff of smoke. For the flashes I pick a random puff from a random cloud, make a slightly larger copy of it in the same location, change the color to a nice purple and finally set it's blendmode to addititve. Then it's faded out and removed. The lightning bolts are just a bit of semi-random scribbling.

I had to attach the swf to this post as a download because I haven't got my site passwords around... Which is probably good pratice anyway, but I would've prefered to provide 1-click acces as well for us lazy web surfers. ;)

Controlls
------
Ctrl = toggle auto/manual steering (with mouse)
Up/Down arrow = change speed (only on manual steering)
Space = toggle wheather
Enter = Teh Awesome! ;)


[EDIT] I did some tweaking after the comp deadline, see the new version here!

Pages: [1] 2