Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Collaboration / Beta Testing
  4. CamoPicker - RC1

CamoPicker - RC1

Scheduled Pinned Locked Moved Collaboration / Beta Testing
csharpwpfwinformsgraphicsregex
31 Posts 6 Posters 39 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Indivara

    Another possible bug * Pick a background * Select only some of the colors in it * Open advanced visualization form Result - all colors are used in the camo pattern

    realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #20

    The selected colors on the main form are only for the simple visualization. The advanced visualization attempts to fill all the available layers for the selected pattern. That's why the simple render differs from the initial render in the advanced form. It looks like I may have to re-organize the main form a bit.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

    1 Reply Last reply
    0
    • S Slacker007

      Good stuff John. I will download it tonight and go over it with a fine toothed comb. :-D Thanks for sharing this project of yours with us.

      Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
      "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

      realJSOPR Offline
      realJSOPR Offline
      realJSOP
      wrote on last edited by
      #21

      I'll be uploading an update between 4 and 5pm this evening. I fixed the crash issue reported above.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

      1 Reply Last reply
      0
      • M Member 4430561

        Hi JSOP Nice app, but I just found a way to make it crash, due to an "Unhandled exception". Steps used to reproduce the crash: 1) Select an image (I just used one of the sample images in Windows 7) 2) Get colors 3) Select "Simple visualization" 4) Select "Advanced visualization..." (Just close the dialog, clicking OK or Cancel) 5) Select "Simple visualization" 6) Select "Advanced visualization..." (BOOM!!!)

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #22

        I fixed it, and will be uploading a new version after I get home from work this evening.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        1 Reply Last reply
        0
        • I Indivara

          Pretty awesome!

          John Simmons / outlaw programmer wrote:

          I'm curious to see how everyone does without any supporting documentation (which I'm currently working on), and to see if anything weird happens.

          I could figure it out almost instantly (may not mean anything, who are the intended users?) You could change "select image" to "select background", but isn't a big issue. A few minor points * Make jpg the default extension (have to change it every time) * How do you save? Is that unimplemented, or am I blind? * A list would be nice, for the images (show everything in the backgrounds folder, maybe?) * Allow resizing the advanced visualization form. The crash in the message above happens for me too. Also, changing to the saved objects tab after closing advanced visualization also crashes it (I'll send the exception details if needed)

          realJSOPR Offline
          realJSOPR Offline
          realJSOP
          wrote on last edited by
          #23

          BTW, I added a label on the Saved Objects tab that says it will be implemented in a future release.

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

          1 Reply Last reply
          0
          • I Indivara

            John Simmons / outlaw programmer wrote:

            Resizing in the advanced visualization form - to what purpose? The only thing they're doing there is building the weapon image. Resizing doesn't apply.

            Some weapon images were clipped, I thought it would be nice to see the entire thing. (or scale the weapon, that would make more sense I suppose)

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #24

            Yeah, that's probably the pistol, right? I'll think on that a bit... Fixed.

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            1 Reply Last reply
            0
            • M Marc Clifton

              John Simmons / outlaw programmer wrote:

              1. When moving, rotating, or scaling the visualized weapon on the landscape, it flashes - BAD.

              Have you enabled double-buffering? There's a couple articles here on CP, but I'm loathe to reference any as I can't tell if they're actually any good. Marc

              My Blog

              realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote on last edited by
              #25

              New version available: Download link is at the bottom of the page[^]

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              1 Reply Last reply
              0
              • L Lost User

                Link seems broken, results in a 404 :(

                Bastard Programmer from Hell :suss:

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #26

                New version available: Download link is at the bottom of the page[^]

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                1 Reply Last reply
                0
                • M Member 4430561

                  Hi JSOP Nice app, but I just found a way to make it crash, due to an "Unhandled exception". Steps used to reproduce the crash: 1) Select an image (I just used one of the sample images in Windows 7) 2) Get colors 3) Select "Simple visualization" 4) Select "Advanced visualization..." (Just close the dialog, clicking OK or Cancel) 5) Select "Simple visualization" 6) Select "Advanced visualization..." (BOOM!!!)

                  realJSOPR Offline
                  realJSOPR Offline
                  realJSOP
                  wrote on last edited by
                  #27

                  New version available: Download link is at the bottom of the page[^]

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                  1 Reply Last reply
                  0
                  • I Indivara

                    Pretty awesome!

                    John Simmons / outlaw programmer wrote:

                    I'm curious to see how everyone does without any supporting documentation (which I'm currently working on), and to see if anything weird happens.

                    I could figure it out almost instantly (may not mean anything, who are the intended users?) You could change "select image" to "select background", but isn't a big issue. A few minor points * Make jpg the default extension (have to change it every time) * How do you save? Is that unimplemented, or am I blind? * A list would be nice, for the images (show everything in the backgrounds folder, maybe?) * Allow resizing the advanced visualization form. The crash in the message above happens for me too. Also, changing to the saved objects tab after closing advanced visualization also crashes it (I'll send the exception details if needed)

                    realJSOPR Offline
                    realJSOPR Offline
                    realJSOP
                    wrote on last edited by
                    #28

                    New version available: Download link is at the bottom of the page[^]

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                    1 Reply Last reply
                    0
                    • S Slacker007

                      Good stuff John. I will download it tonight and go over it with a fine toothed comb. :-D Thanks for sharing this project of yours with us.

                      Just along for the ride. "the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011)
                      "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)

                      realJSOPR Offline
                      realJSOPR Offline
                      realJSOP
                      wrote on last edited by
                      #29

                      New version available: Download link is at the bottom of the page[^]

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                      1 Reply Last reply
                      0
                      • L Lost User

                        Then simply double buffer yourself by first rendering into a bitmap and then updating the image in the control.

                        And from the clouds a mighty voice spoke:
                        "Smile and be happy, for it could come worse!"

                        And I smiled and was happy
                        And it came worse.

                        realJSOPR Offline
                        realJSOPR Offline
                        realJSOP
                        wrote on last edited by
                        #30

                        New version available: Download link is at the bottom of the page[^]

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                        L 1 Reply Last reply
                        0
                        • realJSOPR realJSOP

                          New version available: Download link is at the bottom of the page[^]

                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                          -----
                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                          L Offline
                          L Offline
                          Lost User
                          wrote on last edited by
                          #31

                          Great. How did you get rid of the flickering? In WinForms I always found the double bbuffering to be hit and miss.

                          And from the clouds a mighty voice spoke:
                          "Smile and be happy, for it could come worse!"

                          And I smiled and was happy
                          And it came worse.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups