Announcement

Collapse
No announcement yet.

Tips&Tricks in AVS

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Re: Two questions...

    Originally posted by mikm
    First order targeting is increasing a value by increments (speed), until it reaches target, right?
    Buy Cheap World of Warcraft GoldWOW Goldcheapest wow goldWOW GoldBuy WOW GoldWhat is (bi/tri)linear interpolation?
    Bilinear is interpolation linearly in 2D... like zooming on a picture, but instead of blocky pixels you get a blurry, smooth texture.

    Trilinear is interpolation linearly in 3D. It's commonly used to interpolate bilinearly between textures and linearly between an MIP-maps on a 3D card.

    Comment


    • not sure if anyone comes round here that often anymore, but nevertheless, here's some nifty code i made for mouse control.

      //frame

      gmx=getkbmouse(2);
      gmy=getkbmouse(1);
      gmc=getkbmouse(3);
      mos=below(abs(gmx),1)*below(abs(gmy),1);
      gmc2=if(mos*gmc,1,if(bnot(gmc),0,gmc2));
      gmc3=if(bnot(gmc2)*bnot(mos),0,if(bnot(gmc)*mos,1,gmc3));
      os=gmc2*gmc3;

      --

      basically, os returns 1 when you left click on the avs window and will keep returning 1 as long as the left mouse button is held, even if the mouse moves off the window.

      os will return 0 at all other times, even if the left mouse button is held then dragged onto the avs window.
      Life's a game, break the rules
      Click here

      Comment


      • First order targeting is increasing a value by increments (speed), until it reaches target, right?

        What is (bi/tri)linear interpolation?

        Comment


        • AVS New

          Hahaha! I learned the tutorial.

          Comment

          Working...
          X