<HTML>
<HEAD>
<TITLE>Re: [Paraview] Point sprite plugin does not work on Mac</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Yeah. Out of curiosity I tried to make changes to the shader code to compile correctly. I eventually got it to compile but that caused ParaView to crash, which is even worse. At this point I gave up.<BR>
<BR>
I submitted a bug report.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 9/30/09 9:10 AM, "Berk Geveci" <<a href="berk.geveci@kitware.com">berk.geveci@kitware.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The GLSL compiler on the Mac tends to be more picky about types and<BR>
such. I have seen problems like this before and Francois could always<BR>
fix it by changing the code. So I'd suspect the compiler rather than<BR>
the card not supporting a feature.<BR>
<BR>
On Tue, Sep 29, 2009 at 2:54 PM, Eric E. Monson <<a href="emonson@cs.duke.edu">emonson@cs.duke.edu</a>> wrote:<BR>
> Hey Ken,<BR>
> I always get this same error, but I've never been able to use this type of<BR>
> shader on my Mac, even with PV Meshless. I always figured (that through my<BR>
> ignorance) it was either a problem with the way I built PV, or some lack of<BR>
> features in my video card. (As with yours, SimplePoint and Texture work fine<BR>
> for me.)<BR>
> Talk to you later,<BR>
> -Eric<BR>
> ------------------------------------------------------<BR>
> Eric E Monson<BR>
> Duke Visualization Technology Group<BR>
><BR>
> On Sep 29, 2009, at 1:01 PM, Moreland, Kenneth wrote:<BR>
><BR>
> I am having trouble getting the point sprite plugin to work on the Mac. It<BR>
> works fine when the Sprite Mode is SimplePoint or Texture, but when I change<BR>
> to Sphere I get an error message like the following:<BR>
><BR>
> ERROR: In /Users/kmorel/src/ParaView3/VTK/Rendering/vtkShaderProgram2.cxx,<BR>
> line 421 vtkShaderProgram2 (0x2be20060): a shader failed to compile. Its<BR>
> log is: ERROR: 0:224: 'transpose' : no matching overloaded function found<BR>
> ERROR: 0:224: '=' : cannot convert from 'const float' to '4X4 matrix of<BR>
> float' ERROR: 0:504: 'transpose' : no matching overloaded function found<BR>
> ERROR: 0:504: '=' : cannot convert from 'const float' to '4X4 matrix of<BR>
> float' . Its source code is:<BR>
> /*=========================================================================<BR>
> Program: Visualization Toolkit Module: $RCSfile: Quadrics_vs.glsl,v $<BR>
> ...<BR>
><BR>
> Has anyone else gotten point sprites to work on the Mac?<BR>
><BR>
> -Ken<BR>
><BR>
> **** Kenneth Moreland<BR>
> *** Sandia National Laboratories<BR>
> ***********<BR>
> *** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
> ** *** ** phone: (505) 844-8919<BR>
> *** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Please keep messages on-topic and check the ParaView Wiki at:<BR>
> <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>