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 18th May 2011 at http://forums.arm.com

    Hi estrige,

    I'm trying to recreate the problem here but can't seem to reproduce this on my Windows XP platform. I find that the default geometry is in fact a plane (rather than a triangle). I don't have a Windows 7 platform handy at the moment but I don't see how this would cause an issue. Does the Eclipse error log show anything that might give us a clue (you can find it in "Window > Show View")?

    In terms of adding more vertices to a geometry, this is a interesting idea and supporting arbitrary geometry is something we'd definitely like to do in the future. At the moment, selecting one of the more complex geometries should give you extra vertices to play with (once we've managed to solve your problem with selecting something other than the triangle!).
Reply
  • Note: This was originally posted on 18th May 2011 at http://forums.arm.com

    Hi estrige,

    I'm trying to recreate the problem here but can't seem to reproduce this on my Windows XP platform. I find that the default geometry is in fact a plane (rather than a triangle). I don't have a Windows 7 platform handy at the moment but I don't see how this would cause an issue. Does the Eclipse error log show anything that might give us a clue (you can find it in "Window > Show View")?

    In terms of adding more vertices to a geometry, this is a interesting idea and supporting arbitrary geometry is something we'd definitely like to do in the future. At the moment, selecting one of the more complex geometries should give you extra vertices to play with (once we've managed to solve your problem with selecting something other than the triangle!).
Children
No data