[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Aug 18 11:28:36 1994 
Subject:Re: Hipworks 
From:Adrian John Howard 
Volume-ID:940819.02 

> Here are two questions and today's answer to one of yesterday's questions.
>
> Q1) I still havn't figured out how Hipworks (Beta) interfaces to propsheets.
>     I can't find the magic formula to select the propsheet in the tours demo so
>     that I can get at its script via the object menu. Does anyone know how?
>     I'm running out of ideas. Perhaps I could decompile the binaries? :-)

There's no "script" as such for the propsheet in the demo, its done in
the scene script. [In the full-release version of HiPWorks there is a
more polite way of doing the rather nasty things done in the script]

> Q2) I want to read an image into a Hipworks object and be able to read
>     the mouse position in the image's coordinate frame. What do I have
>     to do, or what help/teach/ref files should I read?

Can't you just subtract the "x" and "y" coordinates of the event from
the "x" and "y" coordinates of the painting?

> A1) One way to get images into Hipworks is to create them in an HELP * Xpi
>     compatible format. They can then be imported and/or coerced to Hipworks
>     picture format. BTW - Xpi is quite nice, but could do with more documentation.
>     For example, what convolution kernel does 'smoothing convolution' use?
>     (-: And how do I change it? :-)

Also, if it is present in the beta release, you can use the undocumented
procedure

    hip_import_painting(filename) -> painting

to import an external image in any of the formats accepted by the
"Import" option on the "File" menu.

BTW it would probably be a good idea to get hold of a copy of the
latest version of HiPWorks --- it's difficult to remember how the
beta-version worked :-)

Adrian

aids (adrianh@cogs.susx.ac.uk)  ObDisclamer: Poplog used to pay my wages
Phone: +44 (0)273 678367  URL: http://www.cogs.susx.ac.uk/users/adrianh/