<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<div class="moz-forward-container"> <br>
We are upgrading from VTK 6.0 to 6.1. However we have a problem
with the method vtkProperty::LoadMaterial(). It has been removed
and we used to call it to load our GLSL shaders. I didn't find any
mention of that change in the release notes, but maybe I simply
missed it.<br>
<br>
Is there an alternative to that method ? For now, the only
solution I can find is to use vtkOpenGLProperty::SetPropProgram()
but that means I need to load the vertex and pixel shaders
manually, etc... And what about the uniforms since we no longer
use the material file, where they used to be bound ?<br>
<br>
Thanks for your answer.<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<title>Flavien BRIDAULT-LOUCHEZ</title>
<br>
<table style="font-family:Calibri,Arial,Helvetica;
font-size:13px; color:#666666" cellpadding="0" cellspacing="0">
<tbody>
<tr valign="top">
<td style="padding-right:10px"> <br>
</td>
<td style="white-space:nowrap; padding-right:20px"> <span
style="font-size:18px"><b>Flavien BRIDAULT-LOUCHEZ</b></span><br>
Ingénieur de Recherche<br>
<br>
<a moz-do-not-send="true"
href="mailto:flavien.bridault-louchez@ircad.u-strasbg.fr"
style="color:#37D; text-decoration:none">flavien.bridault-louchez@ircad.fr</a><br>
<br>
</td>
<td style="background:#DDDDDD; font-size:1px" width="1"> </td>
<td style="padding:0 20px" align="center"> <a
moz-do-not-send="true" target="_blank"
href="http://www.ircad.fr/" style="color:#37D;
text-decoration:none"> <img
src="cid:part2.03010708.08080208@ircad.u-strasbg.fr"
alt="IRCAD France" border="0" height="50"><br>
http://www.ircad.fr/ </a> <br>
<br>
Suivez l'IRCAD sur <a moz-do-not-send="true"
target="_blank"
href="http://www.facebook.com/pages/IRCAD/193785273990141"><img
src="cid:part4.04030604.00080002@ircad.u-strasbg.fr"
alt="Facebook" title="Facebook"
style="vertical-align:middle; margin-bottom:2px"
align="absmiddle" border="0"></a> </td>
</tr>
<tr>
<td colspan="4" height="10"> </td>
</tr>
<tr>
<td colspan="4" style="font-size:1px; background:#DDDDDD"
height="1"><br>
</td>
</tr>
<tr>
<td colspan="4" style="font-size:11px; padding-top:10px"
align="center"><b>IRCAD France</b><br>
Hôpitaux Universitaires - 1, place de l'Hôpital - 67091
Strasbourg Cedex - FRANCE</td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
<br>
</body>
</html>