Profile

Cover photo
Vilya Harvey
Worked at The Foundry Visionmongers
Lives in United Kingdom
84 followers|103,754 views
AboutPostsPhotosYouTube

Stream

Vilya Harvey

Shared publicly  - 
 
LD_DEBUG
Posting this mainly as a reminder to myself... If you ever find yourself needing to figure out a dynamic library loading problem on Linux, LD_DEBUG can be a massive help. This is an environment variable you can set to make the dynamic linker print out a ton...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Common bit prefix length for two integers
Here's a neat trick I discovered a couple of months back: given two signed or unsigned integers of the same bit width, you can calculate the length of their common prefix very efficiently: int common_prefix_length(int a, int b)
{
return __builtin_clz(...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Image based lighting notes
These are some of my notes from implementing image based lighting, a.k.a. IBL. Before I started, I thought I understood it pretty well. As soon as I got into the details, I realised that I didn't & that there was a lot more to it than I thought. I'm finally...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Awesome tools for Windows users
I moved back to Windows on my home computer a few months back. There are a few amazing free tools I've found since then that have been making my life better and I thought they deserved a shout-out. They are: SumatraPDF A fantastic PDF reader. Does everythin...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Ludum Dare 29: Beneath the Surface
I'm halfway through making a game for Ludum Dare 29 . The theme this time around is "Beneath the Surface". For once I've had an idea right from the start that's practical, fun and in keeping with the theme. It's a lovely change from my usual pattern of star...
I'm halfway through making a game for Ludum Dare 29. The theme this time around is "Beneath the Surface". For once I've had an idea right from the start that's practical, fun and in keeping with the theme. It's a lovely chang...
1
Add a comment...
Have him in circles
84 people
Sophie Hodge's profile photo
Jad Goss's profile photo
Brad Williamson's profile photo
amol jagadale's profile photo
Ash Joseph's profile photo
Alex Jackson's profile photo
Monica Harvey's profile photo
Danielle Nadal's profile photo
Jim Vanns's profile photo

Vilya Harvey

Shared publicly  - 
 
Octree node identifiers
Let's say we have an octree and we want to come up with a unique integer that can identify any node in the tree - including interior nodes, not just leaf nodes. Let's also say that the octree has a maximum depth no greater than 9 levels, i.e. the level cont...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Image based lighting notes
These are some of my notes from implementing image based lighting, a.k.a. IBL. I thought I understood it pretty well until I started implementing it. Now, after a lot of reading, discussing and trying things out, I'm finally getting back to the stage where ...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Faster morton codes with compiler intrinsics
Today I learned that newer Intel processors have an instruction which is tailor-made for generating morton codes: the PDEP instruction. There's an instruction for the inverse as well, PEXT . These exist in 32- and 64-bit versions and you can use them direct...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Whole program lexical analysis
I was thinking about parsing and lexical analysis of source code recently (after all who doesn't... right??). Everywhere I've looked - which admittedly isn't in very many places - parsers still seem to treat input as a stream of tokens. The stream abstracti...
1
Add a comment...

Vilya Harvey

Shared publicly  - 
 
Project Tethys Post-mortem
Project Tethys was my entry for Ludum Dare 29 . Here's the elevator pitch: Project Tethys is a fast-paced underwater 2D shoot-em up inspired by the likes of Defender and Resogun . You control an advanced combat submarine tasked with defending an underwater ...
Project Tethys was my entry for Ludum Dare 29. Here's the elevator pitch: Project Tethys is a fast-paced underwater 2D shoot-em up inspired by the likes of Defender and Resogun. You control an advanced combat submarine taske...
2
Add a comment...

Vilya Harvey

Shared publicly  - 
 
I've written a new blog post about how reassessing my build tools enabled me to iterate on my code a lot faster. Hope you like it!
1
Add a comment...
People
Have him in circles
84 people
Sophie Hodge's profile photo
Jad Goss's profile photo
Brad Williamson's profile photo
amol jagadale's profile photo
Ash Joseph's profile photo
Alex Jackson's profile photo
Monica Harvey's profile photo
Danielle Nadal's profile photo
Jim Vanns's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
United Kingdom
Links
Contributor to
Work
Employment
  • The Foundry Visionmongers
    Senior Software Engineer
Basic Information
Gender
Male