Skip to content

Calculate normals on the fly with GPRT #232

Description

@Waqar-ukaea

Currently each surface in GPRT has a buffer which contains all of the normals of each primitive in that surface but it would be trivial to calculate these on the fly with a cross product directly in the custom intersection shader using the primitive vertices stored on the surface.

This issue is associated with making that switch to on the fly calculation of normals, in a bid to reduce the upfront memory footprint of each surface in GPRT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GPRTGPRT specific changes which have no effect on the existing Embree interface

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions