PewnyPL's tumblr

vindicar:

pewnypl:

A program I’m writing for Computer Graphics. It’s supposed to load an 3D object from a file and render wireframe of it. So I went “Why not League of Legends models?” I wrote a small script in PHP that converts Valve’s SMD format to my own (since I had those models for use in SFM) and here they are.

Um, kinda interesting using PHP for console utils like that.

Also, nice work!

I used PHP because I was too lazy to look for how to write to files in Java, or how to read a line in C++ and break it into substrings, while having a ready solution for PHP that I had to write for Programmin Internet Services last week. Otherwise I’d go with C++.

And thank you ^^