Skip to content
Snippets Groups Projects

Implements #188 normal shading

Merged Nicolas Pope requested to merge feature/188/shading into master
4 files
+ 44
9
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -13,8 +13,8 @@ void normals(ftl::cuda::TextureObject<float4> &output,
ftl::cuda::TextureObject<float4> &input, cudaStream_t stream);
void normal_visualise(ftl::cuda::TextureObject<float4> &norm,
ftl::cuda::TextureObject<float> &output,
const ftl::rgbd::Camera &camera, const float4x4 &pose,
ftl::cuda::TextureObject<uchar4> &output,
const float3 &light, const uchar4 &diffuse, const uchar4 &ambient,
cudaStream_t stream);
void normal_filter(ftl::cuda::TextureObject<float4> &norm,
Loading