From: Hugh Fisher (hugh.fisher++at++anu.edu.au)
Date: 03/20/2006 15:35:34
info-performer Mailing List wrote:
> From: "Christopher D. Johnson" <cubicwts++at++excite.com>
> Date: Fri, 10 Mar 2006 09:48:47 -0500 (EST)
> Subject: [info-performer] 2D Image Channel Display
> Reply-To: cubicwts++at++excite.com
>
>
> Greetings all. I have a few large-scale 2D .RBG and .JPG files that I
> would like to display in a Performer application I am working on. I
> plan to have a pfChannel set up that is smaller than the display area
> itself, and I would like to display my images here. I would like to
> add a "zoom" so that I can zoom in and out on these images, and I
> also need a "pan" feature, because the 2D images themselves are too
> large to fit into my channel. Won't this require a limited
> "viewport"?
>
> What is the easiest way to load these images into my performer
> channel? This channel will be dedicated to only displaying 2D images
> that are "loaded" into it, ie, no 3D models will be loaded into this
> channel. Thank you.
I suggest loading them as texture maps for a quadrilateral
geoset. (Or newer equivalent.) That way you can zoom them
just by resizing the quadrilateral without having to reload
the image data, ditto for panning.
You do say that they're very big images though, so you will
probably exceed the maximum individual texture size. I'd be
tempted to write my own simple tiling scheme to divide the
image across adjacent quads. Would someone who knows about
cliptextures like to comment on their use?
Hope this helps.
-- Hugh Fisher DCS, ANU
This archive was generated by hypermail 2b29 : Mon Mar 20 2006 - 15:35:52 PST