This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Shader Development Studio Problem

Note: This was originally posted on 12th May 2011 at http://forums.arm.com

Hello,
Recently I decided to try out Mali Developer Tools, which look very promising.

Unfortunately I have a problem with Shader Development Studio.
When trying to make SimpleTest Project (from the User Guide) while rendering the shader effect
the Shader Preview shows a triangle instead of a square shown in the Guide.
In general, it is not surprising, since the option VERTICES in Shader Attributes View has by default  three
vertices:
-1.0 -1.0,0.0,1.0,
1.0 -1.0,0.0,1.0,
1.0,1.0,0.0,1.0,

The problem however is that there is no possibility to add additional vertices
(when choosing the option USER_DEFINED). You can only change the three given.
Changing the geometry in Shader Control View do not bring any effect, always showing three vertices.
Even when using a Shader Examples from Mali GPU Shader Library shaders are applied to that triangle.
The shaders themselves are working (changing color, texturing, etc).

Plugin has been tested on the following configurations:
Eclipse 3.6.2
  • GeForce 9600M GT Windows 7 64bit
  • GeForce GTS 250 Windows 7 32bit

All necessary OpenGL extensions are present, Emulator and Offline Shader Compiler are installed and work.

[font=arial, sans-serif]Had someone the same problem and is there a solution?[/font]
[font=arial, sans-serif]Thanks.[/font]
Parents
  • Note: This was originally posted on 15th May 2013 at http://forums.arm.com


    Hi all,
    I have had the same issue. And I think i know the root cause.
    Looks like it's happens then you have non "." (point) separator in your system for float numbers. For me it was "," (coma).
    So just set US locale setting.

    For plugin developers: Please dont use system separator. It happens inside of com.arm.mali.shaderdevelopmentstudio.callscript.Geometry. The java.util.Scanner throws java.util.InputMismatchException then trying to parse float number.
    Sorry for my English.


    Thanks shapkin! That did it! Well done!

    adding "-Duser.language=en -Duser.country=US" to the eclipse.ini worked.


    But this is just a workaround... Hopefully this is fixed in the next version/patch... shouldn't be too hard i guess.
Reply
  • Note: This was originally posted on 15th May 2013 at http://forums.arm.com


    Hi all,
    I have had the same issue. And I think i know the root cause.
    Looks like it's happens then you have non "." (point) separator in your system for float numbers. For me it was "," (coma).
    So just set US locale setting.

    For plugin developers: Please dont use system separator. It happens inside of com.arm.mali.shaderdevelopmentstudio.callscript.Geometry. The java.util.Scanner throws java.util.InputMismatchException then trying to parse float number.
    Sorry for my English.


    Thanks shapkin! That did it! Well done!

    adding "-Duser.language=en -Duser.country=US" to the eclipse.ini worked.


    But this is just a workaround... Hopefully this is fixed in the next version/patch... shouldn't be too hard i guess.
Children
No data