Jump to content
How to Install Plugins ×

Shape3D (2007-08-24) [Bug Fixed September 2023]


MKT

Recommended Posts

Always a good idea to 'Show Details' and copy the crash log.

 

Hidden Content:

 

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.



Application version: paint.net 4.0.5 (Final 4.5.5454.39504)

Time of crash: 2/20/2015 10:12:43 PM

Application uptime: 00:00:18.5079679

Application state: Running

Working set: 111,712 KiB

Threads: 20

Install directory: C:\Program Files\paint.net

Current directory: C:\Program Files\paint.net

OS Version: 6.3.9600.0 Workstation x64

.NET version: CLR 4.0.30319.34209 x64, FX 4.0 4.5

Processor: 4x "Intel® Core i5-4210U CPU @ 1.70GHz" @ ~2394MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)

Physical memory: 8104 MB

Video card: Intel® HD Graphics Family (v:8086, d:A16, r:11), Microsoft Basic Render Driver (v:1414, d:8C, r:0)

Hardware acceleration: True (default: True)

UI animations: True

UI DPI: 240.00 dpi (2.50x scale)

UI theme: Aero/Aero + DWM (Aero.msstyles)

Updates: True, 2/20/2015

Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US

Flags:



Exception details:

System.TypeLoadException: Could not load type 'PaintDotNet.PdnInfo' from assembly 'PaintDotNet.Resources, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null'.

   at Shape3D.EffectPluginConfigDialog.save_button_Click(Object sender, EventArgs e)

   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ToolStrip.WndProc(Message& m)

   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

So PaintDotNet.PdnInfo from assembly 'PaintDotNet.Resources' is missing. And Rick has to tell if he is able/willing to readd the class.

 

I did small changes once for personal usage but I'm not sure that we can publish it here.

 

midoras signature.gif

Link to comment
Share on other sites

No it`s not dead. You can still use it but you just can`t save any new settings or use saved ones. You have to enter them all over again manually. I think until this problem is fixed the best option, though a bit long winded I know, is to keep a record of any settings you are going to need again using Notepad and saving it somewhere convenient on your PC.

At least you won`t have to try and remember them again. Just refer to the file you saved.

  • Upvote 1

 

 

Please feel free to visit my Gallery on PDNFans

And my Alternatives to PDN

Link to comment
Share on other sites

I think until this problem is fixed the best option, though a bit long winded I know, is to keep a record of any settings you are going to need again using Notepad and saving it somewhere convenient on your PC.

 

Plugin author MTK hasn't frequented the forum for many years.  Don't hold out hope of an 'official' update.  ^^ this solution is my recommendation.

Link to comment
Share on other sites

Being old fashioned, I do not have this problem yet  :roll: :( :D and to be honest, I very rarely export xml settings.(how do you know you will need them - till you need them?)
It would be great to be able to 'dump' all plugin settings for a session, in a file, but I can't see that happening. :/ (fair enough, only 24 hours a day and unpaid! and too little appreciation.)

(Everyone uses all plugins at default double vector position centre canvas because they know they will never line up all the angles again if they experiment = boring images (including me, mostly playing, rarely saving screenshots!)).

 

There must be a way to save all those effect tokens (and adjustments - eg.R & Z), to save for later use? - but how to reload them? - best of luck who-ever takes it on ;) - it would be Very useful. :beer: :beer: :beer: :beer: :beer: B) ;) (for me, more useful than a plugin manager or even vector layers. If it's possible, it would be wonderful! - just an opinion and I understand if not possible/viable ;)). A global (per session) soloution must be better than a user being required to save every setting, for each plugin, for each session? - please ;) - and ongoing thanks for the best graphics software available, bar none. (Adobe (grass & cow excrement, by definition) doesn't let me play 'programming' ;) and Rick's U.I. is far superior.))

Have I said too much? :roll:

An alternative to printscreen is the Windows 'snipping tool' which allows you to capture just the Shape 3D U.I.
 

 

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

 

PdnForumSig2.jpg

Link to comment
Share on other sites

In WhichSymbol+ I use a behind the scenes XML save/load to persist the history buttons (I.e. the previous 10 symbols). So its certainly possible.

Link to comment
Share on other sites

  • 4 months later...
  • 4 months later...

No. Shape3D does exactly the opposite - it wraps a flat 2D image around a 3D object.

Link to comment
Share on other sites

  • 9 months later...

Luv it, easy to use, practical UI with a multitude of applications.

I feel a tad guilty for not paying you something more tangible than gratitude.

But what can ya do? I'm broke but I'm good for it :-)

Tuvm MKT.

 

Edited by Rickhum
  • Upvote 1

Sig.jpg

 

“Go as far as you can see; when you get there, you'll be able to see further.”

― Thomas Carlyle

Link to comment
Share on other sites

  • 6 months later...

MKT recently contacted the mods and let us know:

 

1. he's been very busy with work and family

2. he lost the source code to the Shape 3D plugin

3. he doesn't speak English and doesn't really trust google translate

 

That's why he hasn't been around.

  • Like 1
  • Upvote 2
Link to comment
Share on other sites

On ‎2‎/‎25‎/‎2017 at 6:49 AM, BoltBait said:

MKT recently contacted the mods and let us know:

 

1. he's been very busy with work and family

2. he lost the source code to the Shape 3D plugin

3. he doesn't speak English and doesn't really trust google translate

 

That's why he hasn't been around.

And #2 is why there should be a mandate to have a repository of the source and a controlled release system. Oh well... nice while it lasted.

Link to comment
Share on other sites

21 minutes ago, JMSmiff said:

nice while it lasted

 

The compiled DLL file is still available. People are still able to use it to make incredible images.

 

The only thing we lost is the ability to make enhancements to it. (Not that there was any room for enhancements!)

Link to comment
Share on other sites

7 hours ago, BoltBait said:

 

The compiled DLL file is still available. People are still able to use it to make incredible images.

 

The only thing we lost is the ability to make enhancements to it. (Not that there was any room for enhancements!)

Absolutely - until v5/6/7 is no longer compatible. You, BB, are the master. Perhaps a suggestion that PDN have a source repository for backup purposes only. And, that repository be available only to the admins? Only a suggestion.

Regards

Link to comment
Share on other sites

Updated the DLL in the first post to fix the load/save XML problems.

 

Many thanks to @Rick Brewster and @toe_head2001 for their help wrestling the source into something which will compile :D

  • Like 3
  • Upvote 3
Link to comment
Share on other sites

Thanks @Ego Eram Reputo!   I will try it out.  :)

 

 

EDIT:  It works!  Yeah!   <3

Edited by lynxster4
Link to comment
Share on other sites

DLL in the first post has been updated by @toe_head2001. It should now read version to 1.2.6.2.

 

This bugfix forces the XML Save function to use the decimal point and not commas. This may break a few existing XML files. Here is how you can edit them

 

On 30/08/2017 at 5:17 PM, Ego Eram Reputo said:

For the meantime, modify the XML file. Any text editor will do the job. Open the file and replace all instances of the comma being used as a decimal separator in a number with a period.

 

Here's the edited XML for non-European countries...


<?xml version="1.0" encoding="utf-8"?>
<Shap3DSettingData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Version>2</Version>
    <ObjectType>Cylinder</ObjectType>
    <ObjectData>
        <Sphere>
            <Scaling>1</Scaling>
            <HorizontalRadius>1</HorizontalRadius>
            <DepthRadius>1</DepthRadius>
            <VerticalRadius>1</VerticalRadius>
            <TextureMap>0</TextureMap>
            <TextureScale>1</TextureScale>
            <TextureRotate>0</TextureRotate>
        </Sphere>
        <Cylinder>
            <Scaling>2.03</Scaling>
            <HorizontalRadius>0.06</HorizontalRadius>
            <DepthRadius>0.06</DepthRadius>
            <Height>5.00</Height>
            <RoundedEdges>0</RoundedEdges>
            <TextureMap>0</TextureMap>
            <TextureScale>1</TextureScale>
            <TextureRotate>0</TextureRotate>
            <CylinderEnd>
                <TopStyle>Flat</TopStyle>
                <TopHeightOfBall>1</TopHeightOfBall>
                <BottomStyle>Flat</BottomStyle>
                <BottomHeightOfBall>1</BottomHeightOfBall>
            </CylinderEnd>
            <Face>
                <Top>False</Top>
                <Body>True</Body>
                <Bottom>False</Bottom>
            </Face>
        </Cylinder>
        <Box>
            <Scaling>1</Scaling>
            <Width>1</Width>
            <Depth>1</Depth>
            <Height>1</Height>
            <RoundedEdges>0</RoundedEdges>
            <TextureMap>0</TextureMap>
            <TextureScale>1</TextureScale>
            <TextureRotate>0</TextureRotate>
            <Face>
                <Front>True</Front>
                <Rear>True</Rear>
                <Top>True</Top>
                <Bottom>True</Bottom>
                <Left>True</Left>
                <Right>True</Right>
            </Face>
        </Box>
    </ObjectData>
    <ObjectRotation>
        <Axis1>
            <Type>X</Type>
            <Angle>270</Angle>
        </Axis1>
        <Axis2>
            <Type>Y</Type>
            <Angle>180.0</Angle>
        </Axis2>
        <Axis3>
            <Type>Z</Type>
            <Angle>0</Angle>
        </Axis3>
    </ObjectRotation>
    <MovePosition>
        <X>0</X>
        <Y>0</Y>
    </MovePosition>
    <Projection>
        <CameraAngle>10.6</CameraAngle>
    </Projection>
    <AntiAlias>
        <Switch>True</Switch>
        <Leval>5</Leval>
    </AntiAlias>
    <Transparency>
        <Switch>True</Switch>
        <AlphaChannel>144</AlphaChannel>
    </Transparency>
    <Lighting>
        <Switch>True</Switch>
        <StrengthOfLight>2</StrengthOfLight>
        <Direction>
            <X>-1.00</X>
            <Y>1</Y>
            <Z>-1.00</Z>
        </Direction>
        <Color>
            <R>255</R>
            <G>255</G>
            <B>255</B>
        </Color>
        <Lambert>
            <AmbientLighting>0.35</AmbientLighting>
            <DiffuseReflectionRate>1</DiffuseReflectionRate>
        </Lambert>
        <SpecularHilight>
            <Switch>True</Switch>
            <SpecularReflectionRate>0.3</SpecularReflectionRate>
            <HilightModel>Phong</HilightModel>
            <Phong>
                <PhongSize>50</PhongSize>
            </Phong>
            <CookTorrance>
                <RefractiveRate>1.4</RefractiveRate>
                <Luster>
                    <LusterType>Anisotropy</LusterType>
                    <Isotropy>0.2</Isotropy>
                    <AnisotropyX>0.3</AnisotropyX>
                    <AnisotropyY>0.15</AnisotropyY>
                </Luster>
            </CookTorrance>
        </SpecularHilight>
    </Lighting>
</Shap3DSettingData>

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...