Ptex 2.0.33

134 views
Skip to first unread message

Brent Burley

unread,
Dec 14, 2011, 11:56:53 AM12/14/11
to ptex-announce
Release 2.0.33 fixes a crash when rendering from triangle textures
that have no stored mipmaps. The crash occurred when the source
texture was tiled on disk and a mipmap was requested at render time.
In this case the api would attempt to generate one from the tiles and
the triangle texture reduction code would try to access data outside
of the current tile (i.e. from the other folded half of the
triangle). The fix now gathers all the tiles into a single temp image
before doing the reduction; this isn't very efficient, but neither is
rendering with no mipmaps ;-)

Btw, if you haven't been keeping up with the releases you can view the
commit history here:
https://github.com/wdas/ptex/commits/master

Brent

Reply all
Reply to author
Forward
0 new messages