Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3238

Robot Arm Demo not running from Design Studio on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt 3D Studio 2.4 BETA1
    • Qt 3D Studio 2.3 RC2
    • Runtime 2.x
    • None
    • macOS
    • 0df69773376a0489288a938d485c75c49cc4de09

    Description

      Steps to reproduce the issue
      1. Run 2D/3D Robot Arm Demo from Design Studio (https://git.qt.io/public-demos/qtdesign-studio/tree/master/playground/robotarm)

      Expected outcome
      Demo runs fine also when it contains Qt 3D Studio elements

      Actual Outcome
      Running the demo fails with the log below

      Tested on

      • macOS -10.14.3 with Radeon Pro 560X 4096 MB
      QOpenGLShader::compile(Fragment): ERROR: 0:7: Invalid storage qualifiers 'in' in global variable context
      ERROR: 0:15: Use of undeclared identifier 'uv_coords'
      ERROR: 0:16: Use of undeclared identifier 'uv_coords'
      ERROR: 0:17: Use of undeclared identifier 'fragOutput'
      ERROR: 0:17: Use of undeclared identifier 'accum'
      ERROR: 0:17: Use of undeclared identifier 'lastFrame'
      
      
      *** Problematic Fragment shader source code ***
      #version 110
      #ifdef GL_KHR_blend_equation_advanced
      #extension GL_ARB_fragment_coord_conventions : enable
      #extension GL_KHR_blend_equation_advanced : enable
      #endif
      #define lowp
      #define mediump
      #define highp
      #line 1
      #define GLSL_100 1
      #define GLSL_130 0
      #define MAX_NUM_LIGHTS 16
      #define MAX_AREA_LIGHTS 16
      
      
      in vec2 uv_coords;
      
      
      uniform sampler2D accumulator;
      uniform sampler2D last_frame;
      uniform vec2 blend_factors;
      
      
      
      
      void main() {
          vec4 accum = texture2D( accumulator, uv_coords );
          vec4 lastFrame = texture2D( last_frame, uv_coords );
          fragOutput = accum*blend_factors.y + lastFrame*blend_factors.x;
      }
      
      
      ***
      q3ds.slideplayer: Slide Scene-Slide1 finished at time: 2.0s
      q3ds.slideplayer: Changing state for Scene-Master to Paused
      q3ds.slideplayer: Changing state for Scene-Slide1 to Paused
      q3ds.slideplayer: Checking visibility for "Arms1-3_hand-Slide1"
      q3ds.slideplayer: Checking visibility for "Scene-Slide1"
      q3ds.slideplayer: The slides's ("Scene-Slide1") visibility is 1
      q3ds.slideplayer: The slides's ("Arms1-3_hand-Slide1") visibility is 1
      q3ds.perf: Kicking off progressive AA for layer Layer
      DepthStencil Attachment not supported on OpenGL 2.0
      

      Attachments

        1. robotArmResize.png
          1.67 MB
          Brook Cronin

        Issue Links

          Activity

            People

              tokorpip Tomi Korpipää
              brook_cronin_qt Brook Cronin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: