gl_distance


  • Where to find it:


    • NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / D /




Description


distance returns the distance between the two points p0 and p1. i.e., length(p0 - p1);

OpenGl Reference


https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/distance.xhtml


Node Ports


  • Point 1

Specifies the first of two points


  • Point 2

Specifies the second of two points



Node Outputs


  • Output RGB

Separate computation for Input Channels Red, Green, Blue with an Alpha Channel of 1.0


  • R

Computation for Input Red channel only, saved into R, G and B channel with an Alpha of 1.0


  • G

Computation for Input Green channel only, saved into R, G and B channel with an Alpha of 1.0


  • B

Computation for Input Blue channel only, saved into R, G and B channel with an Alpha of 1.0


  • A

Computation for Input Alpha channel only, saved into R, G and B channel with an Alpha of 1.0







Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator