[vtkusers] vtkProperty::LoadMaterial() disappeared in VTK 6.1
Goodwin Lawlor
goodwin.lawlor.lists at gmail.com
Fri Feb 21 10:06:42 EST 2014
Hi Flavien,
Please see David DeMarle's VTK6.1 announcement:
http://vtk.1045678.n5.nabble.com/ANNOUNCE-vtk-6-1-0-is-ready-td5725574.html
"We've also removed the dated and little used XML and Cg shaders"
Goodwin
On Fri, Feb 21, 2014 at 2:39 PM, Flavien Bridault <
flavien.bridault-louchez at ircad.u-strasbg.fr> wrote:
> Hello,
>
> 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.
>
> 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 ?
>
> Thanks for your answer.
> --
>
>
> *Flavien BRIDAULT-LOUCHEZ*
> Ingénieur de Recherche
>
> flavien.bridault-louchez at ircad.fr<flavien.bridault-louchez at ircad.u-strasbg.fr>
>
> [image: IRCAD France]
> http://www.ircad.fr/ <http://www.ircad.fr/>
>
> Suivez l'IRCAD sur [image: Facebook]<http://www.facebook.com/pages/IRCAD/193785273990141>
>
> *IRCAD France*
> Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex -
> FRANCE
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140221/70e128e4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3486 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140221/70e128e4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 6090 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140221/70e128e4/attachment-0001.png>
More information about the vtkusers
mailing list