Jump to content

Sebi42

Newbies
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Sebi42

  1. 20 hours ago, Rick Brewster said:

    Then that's probably just a bug in the plugin, or you're using it outside of what it's capable of doing. This is a very old plugin, I'm not sure what can be done.

     

    That's too bad. Do you by chance have a suggestion of a plug in that does something similar? Essentially tiles in a texture on top of a selection. If not no worries; just figure I'd ask in case you had something on the top of your head

  2. Ah shoot, looks like something else broke it now :(

    If I have a green square for example and I want to apply a texture which has a transparent background, for some reason the clear background is ignored and instead made black.

    Here is my texture:

    image.png.31a9f74ee1666c9de1b3e210d817bd20.png

    Note the transparent background.

    I want to apply the texture to this green square

    image.png.858adbc60b78c974f259b492f5826eb2.png

    This is the result

    image.png.2211a50dee69c9d0b3410f68bf00f172.png

     

    This is what the result SHOULD look like

     

    image.png.7f3715b4ecdae6b1853af3e332a99a2b.png

     

     

     

     

    Any idea what could cause this?

    On 1/25/2023 at 3:17 PM, Rick Brewster said:

    Okay I looked into this, and this is happening because of some changes in PDN5's effect rendering system. The Apply Texture plugin is copying a Bitmap in its token's Clone() method, and Bitmaps can only be accessed by one thread at a time (it's not a lock -- you get an exception/crash). PDN5 is cloning the tokens in a different way than it used to. I should be able to apply a simple fix for 5.0.2.

     

     

     

  3. On 5/21/2014 at 5:40 AM, zerodown002 said:

    The link is broken.  Made some research to find a valid external link in Google search and found nothing.  Is there someone that has the last updated plugin and make it available to the community.

     

    Thanks a lot.

     

    Here is what I am experiencing (Windows 10, latest updates applied)

    - Installed fresh Paint app v5.0.1

    - Paste the apply texture dll file in Program Files/paint.net/Effects

    - Launch paint application, go to effects->objects->apply texture

    - Dialog window opens up for me to select texture, I select it, plug in crashes

    - Im not going to paste the entire error; It's 447 lines and I dont want to pollute thread but here is some of it:

     

     

    Quote

     

    File: C:\Program Files\paint.net\Effects\Apply Texture.dll
    Effect Name: Apply_Texture.EffectPlugin
    Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception
     ---> System.InvalidOperationException: Object is currently in use elsewhere.
       at System.Drawing.Image.Clone()
       at Apply_Texture.EffectPluginConfigToken..ctor(EffectPluginConfigToken copyMe)
       at Apply_Texture.EffectPluginConfigToken.Clone()
       at PaintDotNet.CloneableExtensions.CloneT[T](T cloneable) in D:\src\pdn\src\Fundamentals\CloneableExtensions.cs:line 16
       at PaintDotNet.Effects.Effect.ClassicEffectRenderer.Render(ReadOnlySpan`1 renderRects) in D:\src\pdn\src\Effects.Core\Effects\Effect.cs:line 564
       at PaintDotNet.Effects.ClassicEffectDriver.OnRendererRender(IClassicEffectRenderer renderer, ILockedBitmap`1 dstBitmap, ReadOnlySpan`1 renderRects) in D:\src\pdn\src\PaintDotNet\Effects\ClassicEffectDriver.cs:line 95
       at PaintDotNet.Effects.EffectDriver`1.RenderWithClipMask(PooledNativeList`1 rois, Result`1 lazyClipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 346
       at PaintDotNet.Effects.EffectDriver`1.RendererContext.RenderTile(Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 254
       at PaintDotNet.Effects.EffectDriver`1.RendererContext.RenderNextTile() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 249
       at PaintDotNet.Effects.EffectDriver`1.<>c__DisplayClass51_0.<ThreadFunction>b__0() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 384
       --- End of inner exception stack trace ---
       at PaintDotNet.Effects.EffectDriver`1.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 528
       at PaintDotNet.Effects.EffectDriver`1.Abort() in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 484
       at PaintDotNet.Effects.EffectDriver`1.Start(EffectConfigToken effectToken) in D:\src\pdn\src\PaintDotNet\Effects\EffectDriver`1.cs:line 437
       at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass47_3.<RunEffectImpl>b__6() in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 988

    Diagnostics:

    Application                                          paint.net 5.0.1 (Stable 5.1.8421.12454)
    Build Date                                           Saturday, January 21, 2023
    Install type                                         Classic

    Language:                                            en-US
    DPI                                                  96 (1.00x scale)
    UI/Canvas GPU                                        False
    Rendering GPU                                        ⚙️ Windows Default (NVIDIA GeForce RTX 3070 Laptop GPU)
    Remote session                                       False
    Animations                                           True
    Translucent windows                                  True
    Windows Ink                                          True

    OS                                                   Windows 10 Home x64 (10.0.19045.0)
    Runtime                                              .NET 7.0.2 x64
    Physical Memory                                      32,551 MB

    CPU                                                  11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
        Speed                                            ~2304 MHz
        Cores / Threads                                  8 / 16
        Features                                         SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2

    Video Card                                           NVIDIA GeForce RTX 3070 Laptop GPU
        Hardware Acceleration                            Supported
        Dedicated Video RAM                              8,033 MB
        Dedicated System RAM                             0 MB
        Shared System RAM                                16,275 MB
        Vendor ID                                        0x10DE
        Device ID                                        0x24DD
        Subsystem ID                                     0x3F8A17AA
        Revision                                         161
        LUID                                             0x00010803
        Flags                                            AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
        Graphics Preemption                              PixelBoundary
        Compute Preemption                               DispatchBoundary
        Outputs                                          1
        Feature Level                                    Level_12_1
        Features                                         Doubles, ComputeShadersEtc
        DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
        Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
        Maximum Bitmap Size                              16384

    Video Card                                           Intel(R) UHD Graphics
        Hardware Acceleration                            Supported
        Dedicated Video RAM                              128 MB
        Dedicated System RAM                             0 MB
        Shared System RAM                                16,275 MB
        Vendor ID                                        0x8086
        Device ID                                        0x9A60
        Subsystem ID                                     0x3F8A17AA
        Revision                                         1
        LUID                                             0x0000FE23
        Flags                                            AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
        Graphics Preemption                              PrimitiveBoundary
        Compute Preemption                               ThreadGroupBoundary
        Outputs                                          0
        Feature Level                                    Level_12_1
        Features                                         ComputeShadersEtc
        DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
        Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
        Maximum Bitmap Size                              16384

    Video Card                                           Microsoft Basic Render Driver
        Hardware Acceleration                            N/A
        Dedicated Video RAM                              0 MB
        Dedicated System RAM                             0 MB
        Shared System RAM                                16,275 MB
        Vendor ID                                        0x1414
        Device ID                                        0x008C
        Subsystem ID                                     0x00000000
        Revision                                         0
        LUID                                             0x00010787
        Flags                                            Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
        Graphics Preemption                              InstructionBoundary
        Compute Preemption                               InstructionBoundary
        Outputs                                          0
        Feature Level                                    Level_12_1
        Features                                         Doubles, ComputeShadersEtc
        DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
        Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
        Maximum Bitmap Size                              8388608

     


     

    • Upvote 1
×
×
  • Create New...