POV-Ray : Newsgroups : povray.binaries.utilities : New version of Farger.inc : Re: New version of Farger.inc Server Time
6 Oct 2022 13:14:19 EDT (-0400)
  Re: New version of Farger.inc  
From: Melody
Date: 18 Jan 2020 06:20:00
Message: <web.5e22e8faf66b17949da690110@news.povray.org>
function patchHighLight(i) {
  var w = Width, sz = patchSize;
  var m = Math.floor(w/sz);
  var x = (i % m) * sz;
  var y = Math.floor(i / m) * sz;
  GG.setColor("#FFFFFF");
  GG.drawRect(x,y,sz,sz);
  GG.paint();
}

and add patchHighLight(m);
in mouseDwn

now you need to invert the color of the frame;
white on white wont do much, heh.
i see names then go, ??? where was that ??
 lol

highlight it.


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.