Jump to content


Photo

Plugin for creation of anaglyphs (stereo pictures)


  • Please log in to reply
17 replies to this topic

#1 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 03 October 2009 - 12:26 PM

[Updated - Version 1.1 is now published with fixing of the crashes]
[Updated - You could download the plugin directly from this post]

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:

Posted Image

Same image for blue/magenta glases:

Posted Image

Click on the pictures for bigger images.

Please send your questions to this thread only.

Attached Files



#2 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 04 October 2009 - 08:38 AM

Hello everybody ... :roll:


First try of your plugin and first crash.

I use PDN 3.50.3561.34659 and you can find the error above ...


Hidden Content:



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. :D

#3 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 04 October 2009 - 12:40 PM

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.

#4 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 04 October 2009 - 03:51 PM

I just tried your suggested method ......



Posted Image



And if If try to cancel, PDN crashes too ... :?

In fact, it always crashes ... :roll:




I use :
Windows Vista Home Edition SP2
AMD Athlon X2, 2,6 Ghz
4 Go RAM
Nvidia Geforce 8600 GT


#5 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 04 October 2009 - 05:12 PM

Very strange :(
I will investigate

#6 jxp

jxp
  • Members
  • 34 posts
  • Reputation:1

Posted 04 October 2009 - 08:25 PM

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)
Don't know what plugin to use? Try looking in the plugin gallery

#7 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 18 October 2009 - 03:07 PM

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!

#8 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 19 October 2009 - 09:32 AM

Hello everybody ... :D




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 ! :mrgreen:


Posted Image



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 ... :)

#9 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 19 October 2009 - 10:56 AM

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 ;-)

#10 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 19 October 2009 - 01:18 PM

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.netn...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:

#11 Ego Eram Reputo

Ego Eram Reputo

    Master of Competition Ideas and 2012 Proton Award Winner

  • Moderators
  • 5,635 posts
  • LocationNorth Canterbury, New Zealand
  • Reputation:220

Posted 20 October 2009 - 01:55 AM

@Itso: Zip the *.dll file and attach it directly to the first post, that way everyone will find it easily. :wink:

#12 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 20 October 2009 - 08:08 AM

@Itso: Zip the *.dll file and attach it directly to the first post, that way everyone will find it easily. :wink:


Done

#13 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 21 October 2009 - 04:31 PM

Hello everybody ... :D

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:



I hope this will help you to find the reason why this bug happened... :)

#14 Itso

Itso
  • Newbies
  • 7 posts
  • Reputation:0

Posted 03 November 2009 - 07:35 PM

Hello everybody ... :D

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:



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?

#15 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 04 November 2009 - 05:37 PM

Hello everybody ... :D


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 ... :)

#16 Illnab1024

Illnab1024
  • Members
  • 1,298 posts
  • LocationMiddle Tennessee
  • Reputation:5

Posted 04 November 2009 - 07:04 PM

Have you saved the PNG from Paint.NET? Interlaced format or high bit depth may be an issue.
~~

#17 Patarien

Patarien
  • Members
  • 77 posts
  • Reputation:0

Posted 06 November 2009 - 04:38 PM

Hello everybody ... :D

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:



I'm using PDN 3.50.3591 on Windows Seven Pro, version 7600 (test).



Have a good day ... :)

#18 alexo

alexo
  • Members
  • 46 posts
  • Reputation:1

Posted 12 September 2010 - 03:16 AM

The blue/magenta format seems to be obscure (at least according to wikipedia).