[HOpenGL] Re: ANNOUNCE: "VOP" - POV-Ray Previewer using HOpenGL
Sven Panne
Sven.Panne@informatik.uni-muenchen.de
Mon, 04 Mar 2002 19:50:41 +0100
This is a multi-part message in MIME format.
--------------060505000209080601080309
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I've appended a small set of patches to make VOP compile with the
current GHC from CVS. The "modifySTRef" story is already fixed in
the repository, so if you are *really* on the bleeding edge, those
parts from the patch can be left out. And I'm sure the Simons will
work really hard on the "Stack overflow" issue... (<= hint! ;-)
Apart from those tiny glitches it works really cool. If I read the
output correctly, I get a few hundred FPS?!
BTW, is the C(++) part really necessary for performance? A "100% Haskell"
solution would impress sceptics of functional programming even more... >:-)
Cheers,
S.
--------------060505000209080601080309
Content-Type: text/plain;
name="VOP-Source-280202.patch"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="VOP-Source-280202.patch"
ZGlmZiAtdSAtciBWT1AtU291cmNlLTI4MDIwMi1vcmlnL3NyYy9DU0dQb2x5aGVkcm9uLmxo
cyBWT1AtU291cmNlLTI4MDIwMi9zcmMvQ1NHUG9seWhlZHJvbi5saHMKLS0tIFZPUC1Tb3Vy
Y2UtMjgwMjAyLW9yaWcvc3JjL0NTR1BvbHloZWRyb24ubGhzCVRodSBGZWIgMjggMjE6MzQ6
MzggMjAwMgorKysgVk9QLVNvdXJjZS0yODAyMDIvc3JjL0NTR1BvbHloZWRyb24ubGhzCU1v
biBNYXIgIDQgMTk6MTM6NDIgMjAwMgpAQCAtMTgsNiArMTgsMTAgQEAKIAogaW1wb3J0IEdl
b21ldHJ5KEdFeHRlbmRlZFBvbHlnb25zKC4uKSwgR1RleHR1cmUoLi4pLEdQbGFuZSguLikp
CiAJCistLSBUb2RheSdzIEdIQyBsYWNrcyB0aGlzLi4uID46LSgKK21vZGlmeVNUUmVmIDo6
IFNUUmVmIHMgYSAtPiAoYSAtPiBhKSAtPiBTVCBzICgpCittb2RpZnlTVFJlZiByZWYgZ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