Results 1 to 3 of 3

Thread: LRP -- What is the Blending Factor operand?

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2005
    Posts
    9

    LRP -- What is the Blending Factor operand?

    I read that LRP takes three operands. Two operands are the values to interpolate between. The remaining operand is a "blending factor". Its been years since I've looked at a math book. I can't even think of what that other operand might do. Is it some sort of bias value to shift the result toward one or the other of the two values being interpolated between?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2005
    Posts
    145

    Re: LRP -- What is the Blending Factor operand?

    http://oss.sgi.com/projects/ogl-samp...nt_program.txt

    It's simple linear interpolation between 2 vectors.
    LRP c, t, a, b; c = t*a + (1-t)*b, t is in [0,1] for lerp.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2005
    Posts
    9

    Re: LRP -- What is the Blending Factor operand?

    aha! thanks

Similar Threads

  1. scaling factor on axis
    By inventorGL in forum OpenGL: General
    Replies: 1
    Last Post: 04-02-2011, 02:44 PM
  2. speed factor
    By naroqueen in forum OpenCL
    Replies: 1
    Last Post: 12-13-2010, 06:08 AM
  3. Specifying translating factor
    By Mukund in forum OpenGL: Basic Coding
    Replies: 15
    Last Post: 11-20-2010, 11:46 PM
  4. Query on Zoom Factor
    By mdhesina in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-17-2005, 10:58 PM
  5. New blend equation or factor
    By juleman in forum OpenGL: General
    Replies: 4
    Last Post: 11-17-2001, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean