Skip to content

Unit-Vector encoding from float3 to octahedron (octant) form

Notifications You must be signed in to change notification settings

BareCpper/UnitVectorEncoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnitVectorEncoding

Work-In-Progress compact Unit-Vector encoding from float3 to Octahedron (octant) form

  • Scalable memory footprint
    • 2-axis Octant encoding to Int8[2], Int16[2], Float16[2], Float32[2]
    • Trade-off precision for size and/or speed
  • Fast
    • TODO: Benchmarking

Potential uses

  • SDF (Signed Distance Field) geometry rendering and storage

About

Unit-Vector encoding from float3 to octahedron (octant) form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published