java3d
  1. java3d
  2. JAVA3D-550

Add support for Boolean to shader attributes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6.0
    • Component/s: j3d-core
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      550

      Description

      From the GLSL specification:

      glUniform

      {1|2|3|4}{f|i} will provide values for bool, bvec2, bvec3, bvec4
      glUniform{1|2|3|4} {f|i}

      v will provide values for arrays of bool, bvec2, bvec3, bvec4

      Booleans will be set to false if the uniform value is 0 or 0.0f, and true,
      otherwise.

      Propose an enhancement to the Java3D API to permit passing in Boolean and
      Boolean[] values into ShaderAttributeValue and ShaderAttributeArray,
      respectively. The current workaround is to use the Integer and Integer[] data
      types. It would be cleaner, and more consistent with the Java language, if
      direct support for Boolean and Boolean[] were provided.

        Activity

        Hide
        kcr added a comment -

        Set target milestone to 1.6.0

        Show
        kcr added a comment - Set target milestone to 1.6.0

          People

          • Assignee:
            java3d-issues
            Reporter:
            bheffner75
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: