Skip to content

Implementation of CPU-based skeletal mesh skinning as part of a technical optimization assessment

Notifications You must be signed in to change notification settings

dkvilo/cpu-skinning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Skeletal Skinning Optimization (Assessment Project)

** Note: This repository is code only, mesh and skinning data are NOT included due to copyright infringement. **

This is a from-scratch implementation of CPU skeletal mesh skinning as part of a technical optimization assessment from a /very popular game dev studio/ . The assessment received very positive feedback. Implementation includes scalar and SSE versions with additional performance optimization tricks. You can see a technical walkthrough in main.cpp (there are enough comments, and the implementation itself is very simple and straightforward).

Build system expects Windows x64 and MSVC toolchain (though the code is mostly cross-platform, adapting to other platforms would require a small effort, mostly for compiler-specific alignment attributes).

Otherwise, you should be able to just run Build.bat (take a look at main.cpp to enable the SSE version).

Benchmark results (Intel Core i5-3570):

  • scalar ~0.029 ms, SSE ~0.018 ms (Opt Level /O2).

Author: David Kviloria

About

Implementation of CPU-based skeletal mesh skinning as part of a technical optimization assessment

Resources

Stars

Watchers

Forks