Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 1.8.5, 2.0.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      Here's an implementation for function based shading and 4 sample files. The implementation is rather simple. The real work is done in the function, see subtask. I'm using a reverse transformation of the two matrices so that getRaster() gets the "pure" values. The implementation works on two test images and fails on two. I believe that the cause for the two it fails is the problem I had with Type 4 and 5. I also noticed (when debugging) that for FUNSH01.pdf, my implementation always gets the same matrices despite that its 4 different areas in that page.

      (Don't get confused by the name "asy-latticeshading.pdf", its not type 5 lattice shading)

        Attachments

        1. asy-latticeshading.pdf
          3 kB
          Tilman Hausherr
        2. asy-latticeshading.pdf-1.png
          357 kB
          Tilman Hausherr
        3. asy-strokeshade.pdf
          19 kB
          Tilman Hausherr
        4. asy-strokeshade.pdf-1.png
          49 kB
          Tilman Hausherr
        5. FUNSH01.pdf
          4 kB
          Tilman Hausherr
        6. funsh01.pdf-1.png
          1.51 MB
          Tilman Hausherr
        7. funsh01.pdf-1.png
          885 kB
          Tilman Hausherr
        8. PDShadingType1.patch
          5 kB
          Tilman Hausherr
        9. RGBCUBE.pdf
          4 kB
          Tilman Hausherr
        10. rgbcube.pdf-1.png
          196 kB
          Tilman Hausherr
        11. rgbcube.pdf-1.png
          211 kB
          Tilman Hausherr
        12. Type1ShadingContext.java
          7 kB
          Tilman Hausherr
        13. Type1ShadingPaint.java
          2 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: