openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] OpenEXR 1.0.5 released


From: Drew Hess
Subject: Re: [Openexr-devel] OpenEXR 1.0.5 released
Date: Fri, 21 Mar 2003 15:27:46 -0800 (PST)

OK, there's a new source tarball available on the Savannah site that 
includes the Visual Studio 6.0 project files.  Sorry for the omission.

grab it here:

http://savannah.nongnu.org/files/?group=openexr

Windows folks, if you wanna compile your own binaries and libs, please let
me know how it goes.  And if anyone knows how I can statically link the
libmmd.dll that IlmImf.dll needs from the Intel C++ compiler, please email
me so I can update the Windows prebuilt .zip.

There's another source code fix in there to make the IlmImf example code
build properly.  If you downloaded the source tarball earlier today and
you run into this problem, you can either download the new source tarball,
or just apply this patch to IlmImfExamples/drawImage.cpp:

diff -r1.2 -r1.3
92,95c92,95
<     int x1 = int (max (floor (xc - rc),  0.0));
<     int x2 = int (min (ceil  (xc + rc), w - 1.0));
<     int y1 = int (max (floor (yc - rc),  0.0));
<     int y2 = int (min (ceil  (yc + rc), h - 1.0));
---
>     int x1 = int (max ((float) floor (xc - rc),  0.0f));
>     int x2 = int (min ((float) ceil  (xc + rc), w - 1.0f));
>     int y1 = int (max ((float) floor (yc - rc),  0.0f));
>     int y2 = int (min ((float) ceil  (yc + rc), h - 1.0f));
138,141c138,141
<     int x1 = int (max (floor (xc - rc),  0.0));
<     int x2 = int (min (ceil  (xc + rc), w - 1.0));
<     int y1 = int (max (floor (yc - rc),  0.0));
<     int y2 = int (min (ceil  (yc + rc), h - 1.0));
---
>     int x1 = int (max ((float) floor (xc - rc),  0.0f));
>     int x2 = int (min ((float) ceil  (xc + rc), w - 1.0f));
>     int y1 = int (max ((float) floor (yc - rc),  0.0f));
>     int y2 = int (min ((float) ceil  (yc + rc), h - 1.0f));


The example code is included with a few other packages as well (source
RPM, -devel RPM, MacOS X dmg image), and I'll update those over the
weekend, but it won't affect the prebuilt libraries, includes, or 
binaries.


Also, I've packaged and released the OpenEXR project for CodeWarrior on 
MacOS X (might also work on OS 9, but no guarantees).  You can get it at 
the above URL, too.


-dwh-







reply via email to

[Prev in Thread] Current Thread [Next in Thread]