Itso Posted October 3, 2009 Share Posted October 3, 2009 [updated - Version 1.1 is now published with fixing of the crashes] Anaglyph11.zip At http://anaglyph.netne.net/ you can found a plugin for creations of anaglyphs (stereo pictures) as well as Tutorial and Help. You can found more info here - Anaglyph image (Wiki this) Example - Alcatraz (Google Earth (Wiki this) is used as a source) - red/cyan glasses: Same image for blue/magenta glasses: Click on the pictures for bigger images. Please send your questions to this thread only. Quote Link to comment Share on other sites More sharing options...
Patarien Posted October 4, 2009 Share Posted October 4, 2009 Hello everybody ... First try of your plugin and first crash. I use PDN 3.50.3561.34659 and you can find the error above ... Hidden Content: Fichier : C:\Program Files\Paint.NET\Effects\Anaglyph.dll Nom d'effet : Anaglyph.EffectPlugin Message d'erreur: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Runtime.InteropServices.ExternalException: Une erreur générique s'est produite dans GDI+. à System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata) à Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) à PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois) dans D:\src\pdn\paintdotnet\src\Effects\Effect.cs:ligne 162 à PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.Renderer(EffectConfigToken token) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 126 --- Fin de la trace de la pile d'exception interne --- à PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 328 à PaintDotNet.Effects.BackgroundEffectRenderer.Join() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 319 à PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, PdnRegion selectedRegion, PdnRegion regionToRender, Surface originalSurface, Exception& exception) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:ligne 1254 Sorry but I use french version ... :oops: I hope this report will be helpfull. Perhaps you could put this plugin here or use a direct link to download page, because I had to search on your site to find it. :? Have a good day. Quote Link to comment Share on other sites More sharing options...
Itso Posted October 4, 2009 Author Share Posted October 4, 2009 Click Ctrl+Minus (to decrease the view size) before using of the plugin - usual this hepls. I still have no idea why this happaned sometime. If works I will add this to help. Quote Link to comment Share on other sites More sharing options...
Patarien Posted October 4, 2009 Share Posted October 4, 2009 I just tried your suggested method ...... And if If try to cancel, PDN crashes too ... :? In fact, it always crashes ... I use : Windows Vista Home Edition SP2AMD Athlon X2, 2,6 Ghz4 Go RAMNvidia Geforce 8600 GT Quote Link to comment Share on other sites More sharing options...
Itso Posted October 4, 2009 Author Share Posted October 4, 2009 Very strange I will investigate Quote Link to comment Share on other sites More sharing options...
jxp Posted October 4, 2009 Share Posted October 4, 2009 I get crashes too (Win XP). Error details are; File: C:\Program Files\Media\Paint.NET\Effects\Anaglyph.dll Effect Name: Anaglyph.EffectPlugin Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Bitmap.UnlockBits(BitmapData bitmapdata) at Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderImpl() --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.Join() at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType) Quote Don't know what plugin to use? Try looking in the plugin gallery Link to comment Share on other sites More sharing options...
Itso Posted October 18, 2009 Author Share Posted October 18, 2009 The version 1.1 is now published! The problem with crashes is now solved (I believe!) Please download the new version. Big thanks to all the guys who leave comments! Quote Link to comment Share on other sites More sharing options...
Patarien Posted October 19, 2009 Share Posted October 19, 2009 Hello everybody ... Thanks very much for this new version of your plugin. It works perfectly well now, even using PDN 3.50 beta, under Windows Seven. This is my first test and i think it looks great ! Could it be possible to use another way to download this plugin than searching on your site, please ? Juste because it's not easy at all to find it for anybody, me as well ... :oops: Have a good day ... Quote Link to comment Share on other sites More sharing options...
Itso Posted October 19, 2009 Author Share Posted October 19, 2009 Could it be possible to use another way to download this plugin than searching on your site, please ?Juste because it's not easy at all to find it for anybody, me as well ... :oops: I believe it is easy to find the "Download" page now ;-) BTW - an interesting way to use the plugin ;-) Quote Link to comment Share on other sites More sharing options...
Patarien Posted October 19, 2009 Share Posted October 19, 2009 I'm sorry but your link doesn't send to the dowload page. In fact, people who are not english may have some problems to find this page : http://anaglyph.netne.net/1_2_Download.html Before talking you about this, I sent the URL to a few friends, who did not find the way, just because they don't speak english. :wink: Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted October 20, 2009 Share Posted October 20, 2009 @Itso: Zip the *.dll file and attach it directly to the first post, that way everyone will find it easily. :wink: Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Itso Posted October 20, 2009 Author Share Posted October 20, 2009 @Itso: Zip the *.dll file and attach it directly to the first post, that way everyone will find it easily. :wink: Done Quote Link to comment Share on other sites More sharing options...
Patarien Posted October 21, 2009 Share Posted October 21, 2009 Hello everybody ... Sorry but i had a bug while using this plugin. [*:378y96gh] I opened a new image sized 2816 X 2112 pixels.[*:378y96gh] I selected both two images in the same size.[*:378y96gh] The effect started and stopped exactly at the vertical middle of the creation.[*:378y96gh] I tried clicking OK.[*:378y96gh] A bug window opened. Here is the text : Hidden Content: Fichier : C:\Program Files\Paint.NET\Effects\Anaglyph.dll Nom d'effet : Anaglyph.EffectPlugin Message d'erreur: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau. à Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) à PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois) dans D:\src\pdn\paintdotnet\src\Effects\Effect.cs:ligne 162 à PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.Renderer(EffectConfigToken token) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 126 --- Fin de la trace de la pile d'exception interne --- à PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 328 à PaintDotNet.Effects.BackgroundEffectRenderer.Join() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 319 à PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, PdnRegion selectedRegion, PdnRegion regionToRender, Surface originalSurface, Exception& exception) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:ligne 1254 I hope this will help you to find the reason why this bug happened... Quote Link to comment Share on other sites More sharing options...
Itso Posted November 3, 2009 Author Share Posted November 3, 2009 Hello everybody ... Sorry but i had a bug while using this plugin. [*:3vboz8d0] I opened a new image sized 2816 X 2112 pixels.[*:3vboz8d0] I selected both two images in the same size.[*:3vboz8d0] The effect started and stopped exactly at the vertical middle of the creation.[*:3vboz8d0] I tried clicking OK.[*:3vboz8d0] A bug window opened. Here is the text : Hidden Content: Fichier : C:\Program Files\Paint.NET\Effects\Anaglyph.dll Nom d'effet : Anaglyph.EffectPlugin Message d'erreur: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau. à Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) à PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois) dans D:\src\pdn\paintdotnet\src\Effects\Effect.cs:ligne 162 à PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.Renderer(EffectConfigToken token) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 126 --- Fin de la trace de la pile d'exception interne --- à PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 328 à PaintDotNet.Effects.BackgroundEffectRenderer.Join() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 319 à PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, PdnRegion selectedRegion, PdnRegion regionToRender, Surface originalSurface, Exception& exception) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:ligne 1254 I hope this will help you to find the reason why this bug happened... I've tried to reproduce the error many times, but without success. I've tried JPEG and PNG, the discussed size and even bigger, but without issues. It seems the problem is somewhere inside PDN - I had exceptions when just work with big (really big!) files in PDN. Which picture format you have used? May be this happened only with specific formats? Quote Link to comment Share on other sites More sharing options...
Patarien Posted November 4, 2009 Share Posted November 4, 2009 Hello everybody ... That was the perfect question to ask, to know what's the problem with. :!: In fact, this happens only if one of the images is a PNG. I often use this format and just tried again three different ways : [*:te0nw044] PNG + JPG = Bug[*:te0nw044] PNG + PNG = Bug[*:te0nw044] JPG + JPG = No bug - Everything's good Sorry not to have thought about this earlier ... :oops: Have a good day ... Quote Link to comment Share on other sites More sharing options...
Illnab1024 Posted November 4, 2009 Share Posted November 4, 2009 Have you saved the PNG from Paint.NET? Interlaced format or high bit depth may be an issue. Quote ~~ Link to comment Share on other sites More sharing options...
Patarien Posted November 6, 2009 Share Posted November 6, 2009 Hello everybody ... I just tried again, after editing and registering my two images on PNG format with PDN, Depth color automatically detected. Then I tried again the plugin and the bug happens again ... Hidden Content: Fichier : C:\Program Files\Paint.NET\Effects\Anaglyph.dll Nom d'effet : Anaglyph.EffectPlugin Message d'erreur: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau. à Anaglyph.EffectPlugin.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) à PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois) dans D:\src\pdn\paintdotnet\src\Effects\Effect.cs:ligne 163 à PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.Renderer(EffectConfigToken token) dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 126 --- Fin de la trace de la pile d'exception interne --- à PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 332 à PaintDotNet.Effects.BackgroundEffectRenderer.Join() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 323 à PaintDotNet.Effects.BackgroundEffectRenderer.Abort() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 300 à PaintDotNet.Effects.BackgroundEffectRenderer.Start() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:ligne 260 à PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass18.<>c__DisplayClass1c.b__d() dans D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:ligne 735 I'm using PDN 3.50.3591 on Windows Seven Pro, version 7600 (test). Have a good day ... Quote Link to comment Share on other sites More sharing options...
alexo Posted September 12, 2010 Share Posted September 12, 2010 The blue/magenta format seems to be obscure (at least according to wikipedia). Quote Link to comment Share on other sites More sharing options...
HyReZ Posted January 20, 2019 Share Posted January 20, 2019 (edited) I still have this plugin in my Effects folder. (Anaglyph.dll) Here is how I used it on one of mixed media art works. Dig out your anaglyph glasses. (Currently the links are broken for this thread.) Edited January 20, 2019 by HyReZ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.