• about
  • archives
  • cat:dev
  • cat:music
  • cat:personal
  • Compile-Time Hash String Generation

    Motivation Recently, I worked on a code-base where everything was referenced by strings. It was quite expensive as you can imagine, so to avoid the cost of string comparison, hash values(ints) were used. This system had a giant hash string registry, which generates a hash value and stores both the hash and actual strings whenever the code sees a new string, well all during run-time.

    Pope Kim Jan 11, 2012
    • optimization
    • cpp
    • hash
    • x65599
  • Optimized Oren-Nayar Approximation Shader Code

    We presented this approximation code as part of our KGC 2011 presentation. Let me just show the code for those people who don't want to read the whole presentation. I've also mentioned this to Wolfgang Engel during KGC 2011 because our previous Oren-Nayar code was from his wiki book.

    Pope Kim Nov 16, 2011
    • conf
    • graphics
    • shader
  • Slides: The Rendering Tech of Space Marine

    One that Daniel and I presented at KGC 2011. First half is a quick overview of our rendering passes, and second half is about Screen Space Decal and World Occlusion technique we used for Space Marine.

    Pope Kim Nov 15, 2011
    • conf
    • graphics
    • shader
  • Feedback on My KGC 2011 Presentation

    After I presented The Rendering Tech of Warhammer 40,000: Space Marine at KGC 2011 with my co-worker, Dr. Daniel Barrero, I was curious what the audience thinks about our presentation. So, here I compiled all the feedback I was able to find on the net. All feedback is pretty positive so far.

    Pope Kim Nov 15, 2011
    • conf
    • graphics
    • shader
  • I use int 3 for assert()

    C has assert() function. Sure.. I don't use it. I don't like the call stack it gives me. It is rather confusing: I want the line with the problem at the top of my call stack. Sure, there's a way to unroll stack for sure. Too much hassle. Instead, I use this for my own assert.

    Pope Kim Jun 19, 2011
    • cpp
    • debugging
  • Inside of char* string buffer initialization

    I used to initialize a string buffer this way:

    Pope Kim Jun 9, 2011
    • cpp
  • Screen-space Lens-Flare in HomeFront?

    I consider myself a practical graphics programmer. I believe mathematically correctness is less important than what looks right(or okay) to gamers.

    Pope Kim May 30, 2011
    • graphics
  • How to Add Generic Convolution Filter to NVTT

    A few month ago, I said I would write a post about how to add a generic convolution filter to NVidia Texture Tool. once I get a clearance from our legal team. And finally they got back to me.

    Pope Kim May 21, 2011
    • tool
    • graphics
  • Theorycraft = Witchcraft? Maybe

    Although I can't deny that posts from a lot graphics programming blogs help us to learn new cool stuff, I'm also often worried about the quality of posts, especially when people claim something not entirely true from a pure "theorycraft" instead of actual experience. Things that make sense on theory don't necessary make sense in reality, that is.

    Pope Kim May 19, 2011
    • rants
    • graphics
    • career advice
  • Oren-Nayar Lighting in Light Prepass Renderer

    This is a conversation I had with another graphics programmer the other day:

    Pope Kim May 16, 2011
    • graphics
    • shader
    • Prev
    • ...
    • 6
    • 7
    • 8
    • 9
    • Next
Copyright © 2008 - 2026. Pope Kim
한국어