Author Topic: Getting the Height outside the current buildcontext  (Read 1856 times)

0 Members and 1 Guest are viewing this topic.

halifacx

  • Community Member
  • **
  • Posts: 1
    • View Profile
Getting the Height outside the current buildcontext
« on: May 28, 2013, 03:45:04 AM »
Hi,

I need to get the heights of an area outside of the buildcontext how can i achieve that?
Its for a seamless filter plugin that should make a tile wrappable.

Thanks!

Remnant

  • Author
  • World Machine Guru
  • *****
  • Posts: 2311
    • View Profile
    • http://www.world-machine.com/
Re: Getting the Height outside the current buildcontext
« Reply #1 on: May 28, 2013, 05:51:41 PM »
Hi there,

Unfortunately, this is not possible. Although the procedural generators contain information for all locations, the world consists of both procedural and non-procedural operations: there is no real way to retrieve elevations for locations outside of the current render extent, because WM has no idea what they might be.

The only other option is to have users create two render extents -- a larger area and a smaller one, and have your device capture the contents of the larger one and use it even when operating on the small one. The "Equalizer" device does something like this to make the histogram equalization behave for small render extents.


-- Stephen Schmitt
- Creator of World Machine