logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vpTracePixel - print a trace of the voxels composited into a pixel

Arguments

vpc    VolPack context from vpCreateContext.trace_u,trace_v
              Intermediate image coordinates of the pixel to trace.

Description

       This  routine  is  for  debugging  the  rendering  algorithms.   If  (trace_u,trace_v) is a valid set of
       coordinates in the intermediate image then a printout appears during rendering showing a trace of all  of
       the  voxels that contribute to the pixel.  The intermediate image is not the same as the final image; see
       vpGetvpSetImage(3).

       The VolPack library must be compiled with the -DDEBUG compiler option  for  this  function  to  have  any
       effect.

Name

       vpTracePixel - print a trace of the voxels composited into a pixel

See Also

VolPack(3)

VolPack                                                                                          vpTracePixel(3)

Synopsis

       #include <volpack.h>

       vpResult
       vpTracePixel(vpc,trace_u,trace_v)
           vpContext *vpc;
           int trace_u,trace_v;

See Also