Shell extensions, code design and fluff

*looks at clock* it's 05.43 and I'm still awake...
127 comments
94 entries
Advertisement
Seriema
July 10, 2005
The "what if?" mantra
Shh, don't tell Seriema that we can see his dirty secrets!

The "what if?" mantra is anti-design mentality. That occurs when you're either to inexperienced with a piece of functionality or just to lazy to design it correctly, thus giving a part of your code more data than it needs. Some symptoms are:…
310 views
Seriema
July 09, 2005
The F'in Singleton Pattern
The F'in Singleton Pattern is the one considered the universal OOP solution to all design problems.

So there, I coined it :P
300 views
Seriema
June 23, 2005
raytracer part 11 (kinda done)
Only 2h and 30min late ;)



I had to hack the refraction a bit:
A) when refracting "out" of the object, I just use 1 for the "outside refraction index". gonna implement something proper later.
B) when a ray has entered a object, I don't spawn reflection rays since that would make that white sphere in th…
278 views
Seriema
June 22, 2005
raytracer part 10 (blinn VS phong)
So I was using the standard Phong lighting equation. But it didn't match the teachers reference pic. So I checked his old notes, found a description of using the half vector (i.e. Blinn's variant).

Blinn's approximation sucks according to me...

Phong

if( (*nearestObject)->material().shininess() >…
290 views
Seriema
June 21, 2005
raytracer part 8
Had a test in the compiler course today. We're gonna pretend it never happen and just finish the raytracer! ;)

Except for the weird lighting, I now have weird refraction! It's like it's refracting too much :/ and I also got some pixel artifacts, which is odd for something that's calculated for each …
285 views
Seriema
June 19, 2005
raytracer part 7
reflections!!! w00t!! colish! =D

I think I'll be updating my old journal posts to highlight the algorithm that added the said feature. I'll start now...
First, I had to refactor some code so that I could call my raytracing function recursivly (that's the way for reflections, pretty obvious when you t…
259 views
Seriema
June 19, 2005
raytracer part 6
At 00.00 I had checkered pigments, but they suck! There are huge and ugly artifacts. It's 04.05 now so I'm giving up... If there's ANYONE that knows of a better algo and how to implement it, please please tell me!

The code I'm using is (in pseudocode):

v = intersectionPoint(ray,object) / scalar
floore…
288 views
Seriema
June 18, 2005
raytracer part 5
progress! added shadows! I'm gonna work on the checkered texture next and then ... reflections!

I think my image pwns the reference pic ;)
397 views
Seriema
June 18, 2005
raytracer part 4
Added a Pigment class to the game, although the only one I have is the solid color version.

I added specular lighting (phong) today! w00t! looks awesome according to me! but... veeeery different from my reference picture. Probably because that's the "first step" pic.



Here's the reference pic

EDIT: god…
261 views
Seriema
June 18, 2005
raytracer part 3
so... I'm working on the camera. OH TEH JOY!!!

I finally have a camera working(?) that gives me the "near quad" (like the near plane, except it has boundaries) I need to start shooting rays, again. But somethings spooky, since the screens all black. Can't figure out why though, everything seems righ…
272 views
Seriema
June 15, 2005
raytracer part 2
so I've been working on the raytracer.. slowly! :/

I implemented triangles. The professor doesn't specify which side is the "front" so I just default to CW (clock wise) front, normal = (v1-v0) x (v2-v0 ). I.e. it's facing you if each point is clockwise oriented from the next one. Let's try a ASCII e…
275 views
Seriema
June 14, 2005
ZOMG Update! (raytracer part 1)
Yepps, I'm still alive. So everyone that's claimed any of my belongings, SHOO!

So I'm here in Brazil, studying.. Why would you otherwise visit Brazil? >_<

Anywho! I'm reading the following courses:
? Introduction to Graphics programming
? Compilers and languages
? Online businesses
? Introduction t…
460 views
Seriema
February 03, 2005
My new baby!
I've bought a Toshiba M200, convertable tablet PC! ^_^

It's so cool to write stuff using the pen! hehe but I'll be using that mostly for school, taking notes. The screen is only 12" but I'm surprised at the keyboard since it doesn't feel small at all! The buttons are big and "high" enough to feel st…
255 views
Seriema
December 05, 2004
ThumbView 1.0 released dec 1rst!
Yeey I finally released it!

Looking good. Over 100 download during 4 days already!!! I'M SO HAPPY!

CLICKY!
288 views
Seriema
November 12, 2004
oddness
I'm kinda curious. I've been checking my site stats at SourceForge.

My all time record is 145 people visiting the page, but only 5 of them actually downloaded ThumbView.

While yesterday I had 13 downloads and 30 visitors. And today 6 downloads and 70 visitors.

It's really odd... how come so many visit…
292 views
Seriema
November 05, 2004
postmortem
ThumbView is in it's final beta. Unless I get any complaints my project is done :)

Only many motivational mails and some donations will make me implement the features in the "suggestions" page of the ThumbView homepage.

So I'm gonna write a postmortem now before I forget the whole thing!
275 views
Seriema
October 13, 2004
Beta 1.1.1 finally released!
Hurray!!

It has several new features and stuff! hurray for "and stuff"!

Check out the offical thread here!

What'cha still reading for? Go click!
292 views
Seriema
October 13, 2004
stuck in school
maan I was gonna release Beta 1.1.0 3days ago!

Had a hard time finding someone without .NET installed, and getting the DDS support.

Now that I got the DDS support code, I still needed a victim tester to test the installer (that it installs the console version of ExtractorManager for non.NET users)

Fin…
289 views
Seriema
October 10, 2004
the wait
Now he's at it again! DigitalDelusion is out having a LIFE! On a floating metal thing, drinking toxins and generally having a monkey-good-time! Man, how many times do I have to tell that boi to STAY AT THE COMPUTER!?

shis, some people never learn! ;P

well my date went ok... she liked the flowers, but…
290 views
Seriema
October 09, 2004
function pointer struct through a DLL
yeah, I need to learn how to do that :P

Heard that's how they do it in the Quake engines. And I understand why. I've just written my second proxy class for accessing functions in a DLL. Redudant work. Should be able to do some template magic by using Loki. But somehow I decided not to use any extern…
344 views
Seriema
October 07, 2004
sleep
DDS support is coming along fine! I finished multiple filetypes per Thumbnail Extractor support, along with Version and Name for Thumbnail Extractors. The name and version is displayed in ExtractorManager.exe so that users easily can see what version they have when reporting errors or deciding to u…
332 views
Seriema
October 01, 2004
ThumbView beta gone public
yepps ThumbView has gone public!
The official thread is here.

It was release 2 days ago and right after that I realised that there was some issues with unregistering some filetypes. Those issues have been fixed and the current version is Beta 1.0.1

I hope you game developers out there enjoy! ;)
289 views
Seriema
September 29, 2004
continuing last night
*picks up where he left last night*

Oki I've fixed the uninstall buggs. Assigning 0 to a std::string equals Kablaam!(TM)

Fixed the homepage thingie, navigations links looks nicer now.

Soo what's left of the installer?..
? Check uninstall dialogs, to many? (I'll let the betatesting decide)
? Use the mode…
474 views
Seriema
September 28, 2004
beta is getting so close I can smell it!
hubba bubba!

I'm playing around with Nullsoft Installer. Trying to make a uber 1337 installer :P

Here's my ToDo, let's see how far I get tonight.
? Check appendix B: "Is .NET installed?"
? Replace strings with variables/constants.
? Register on install, and unregister on uninstall.
? Check uninstall dial…
473 views
Seriema
September 19, 2004
the value of TDD when using C++ DLLs in a C# app
(note, I'm using VS.NET 2003)

what a night! WHAT! A! NIGHT!

If I ever "should've written a waterproof testcase", this was it!

Using a unmanaged C++ with a C# app really has its disadvantages! If you don't have a good Test Driven Design that is! Let me give you some real life examples.

[ where's the pro…
445 views
Seriema
September 15, 2004
thumbview @ sourceforge.net
I've registered my ThumbView project on sourceforge.net, let's see if it's gonna get approved!

If it is, I'm gonna use the sf.net webspace for developers and CVS for the code. And I'm gonna use my GDNet+ space to give ThumbView a more "public" homepage, for users :)

Wish me luck!
346 views
Seriema
September 14, 2004
stress!
argh! don't have time to work on ThumbView, although I released a alpha1.5!

have a test tomorrow, and when I get home from that I have to fill a bunch of papers for my one year abroad studies... wooooo

oh yeah, and I'm gonna start training again! more woooo!
306 views
Seriema
September 05, 2004
jumping the gun
I've been releasing Beta's when actually... when I think about it... they're missing to much to be Beta's. They're more like Alphas! So I renamed them. =)

Released Alpha 1.2 today. With some fixes. Gonna fix some more in the image support section (actually, DrunkenCoder's the one doing that) and I'm…
319 views
Seriema
September 04, 2004
damn weird ATL/COM problems...
I've been stuck on the same 3 problems for several days now... no one seems to know the answer either, since no one's replying to my posts...

"what interface to implement for image Previews?"
http://www.tek-tips.com/viewthread.cfm?qid=911903

"very odd IExtractImage::Extract() behaviour"
http://www.tek-…
474 views
Seriema
September 02, 2004
beta 1 released!!!!
beta 1 of my ThumbView (.tga/.pcx thumbnail support for windows xp explorer) has been released!!!!

But it's for #gamedev (on AfterNet, IRC) people only :P Since I'm trying to avoid to many people noticing the exact same bugs...

When the bugs been sorted out and the installer is in place, I'll release…
477 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
10 Followers
15 Entries
11 Followers
johnhattan
Programmer
1,277 Entries
48 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement