Dear Hans, On Thu, 13 May 2010, Hans Hagen wrote: > On 13-5-2010 12:16, Michail Vidiassov wrote: >> is it worth trying to fix 3D annotations now? >> I have a patch I have posted here (3D annotations thread), >> but it is both a fix for errors (like == used instead of = ) >> and a work-around for missing base features (bitmap preview done >> "by hand" while, it seems, the authors dalayed the question till >> something is implemented in luatex/ConTeXt the right way) >> - so it may not classify exactly as just a bugfix. > > some things were fixed, so best first check against the latest beta and then > summarize the problems first - it does not work due to typos like local name = viewname local name = pdfunicode((view.name ~= "" and name) or "unknown view") - likely someone started to write code, but dropped the idea and never tested Or local subtype, subdata = "U3D", io.readdata(foundname) or "" if find(subdata,"^PRC") then subtype == "PRC" elseif find(subdata,"^U3D") then subtype == "U3D" elseif file.extname(foundname) == "prc" then subtype == "PRC" end it seems == is used instead of =, io.readdata instead of file.readdata - again, some one wrote the code but had no time to read the result Second, more important - no preview image is created. patch and test case attached Sincerely, Michail