Script access to background image pixels?

Next
 From:  Martin (MARTIN3D)
7672.1 
Hi Michael,

I'm not sure if I asked this before: is there a MoI script command that gets the grey value (0-255) of a background image at a certain pixel coordinate?

-Martin
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
7672.2 In reply to 7672.1 
Hi Martin,

re:
> is there a MoI script command that gets the grey value (0-255) of a
> background image at a certain pixel coordinate?

There is nothing currently in MoI's own script interface to do that, but I think it's possible to do it by loading the image in a Canvas tag in one of MoI's UI HTML documents to do it. Check out Max's Heightfield script for an example: http://moi.maxsm.net/media/files/

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All