Skip to content

SamoZ256/anari_metal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anari Metal

About The Project

This is an Anari device implementation on top of Apple's Metal library. It has 2 renderers, default (forward) and hybrid (deferred, ray traced postprocessing effects will be added).

Limitations

The project is currently in an early stage of development, and there are some limitations to it.

  1. Only triangle geometry is supported
  2. The frames's color and depth format is always RGBA8_sRGB and Depth32Float respectively
  3. Only directional light is supported
  4. Volumes aren't rendered
  5. Command buffers and encoders are created separatelly for every blit command, which is very inefficient
  6. anariViewer does not render models, though models can be loaded using the file/obj scene and work just fine
  7. anariViewer renders only the upper right quarter of the example, most likely because of Retina screens
  8. All the images are rendered upside down (will be fixed soon)
  9. The 'Matte' material is currently the same as PBM material
  10. Some primitive attributes don't work, like primitive.color and primitive.attributeXX
  11. Sampler ignores it's parameters (will be fixed soon)
  12. Reflections only work for surfaces, not instances

Getting Started

Installation

  1. Build the project
    cd /path/to/anari_metal
    mkdir build
    cd build
    cmake --build . -t install
    

License

Distributed under the Apache License. See LICENSE.txt for more information.

Contact

Samuel Žúbor - [email protected]

Project Link: https://github.com/SamoZ256/anari_metal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published