XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 1.8.5, 2.0.0
    • PDModel
    • 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-strokeshade.pdf
          19 kB
          Tilman Hausherr
        3. FUNSH01.pdf
          4 kB
          Tilman Hausherr
        4. RGBCUBE.pdf
          4 kB
          Tilman Hausherr
        5. Type1ShadingPaint.java
          2 kB
          Tilman Hausherr
        6. funsh01.pdf-1.png
          885 kB
          Tilman Hausherr
        7. rgbcube.pdf-1.png
          211 kB
          Tilman Hausherr
        8. asy-latticeshading.pdf-1.png
          357 kB
          Tilman Hausherr
        9. asy-strokeshade.pdf-1.png
          49 kB
          Tilman Hausherr
        10. rgbcube.pdf-1.png
          196 kB
          Tilman Hausherr
        11. Type1ShadingContext.java
          7 kB
          Tilman Hausherr
        12. PDShadingType1.patch
          5 kB
          Tilman Hausherr
        13. funsh01.pdf-1.png
          1.51 MB
          Tilman Hausherr

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: