[vtkusers] Insert raw openGL calls in vtk
Sergio Vera
sergio.vera at alma3d.com
Tue Mar 31 12:13:18 EDT 2015
Thanks,
I've derived from vtkOpenGLPolyDataMapper, attached the mapper to an
ordinary actor and added the actor to the renderer.
It seems that neigher Draw() nor RenderPiece() methods of the mapper are
being called and my simple gl code snipped is not being rendered.
Any additional hints?
Thanks in advance
On Tue, Mar 31, 2015 at 4:15 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:
> there is no easy way. You will have to write your own
> mapper.
>
>
>
> On Tue, Mar 31, 2015 at 7:17 AM, Sergio Vera <sergio.vera at alma3d.com>
> wrote:
>
>>
>> Hello vtk Users
>>
>> I'm trying to insert opengl calls inside vtk. So far I have seen examples
>> of the opposite, insert vtk into opengl.
>>
>> There is the suggestion somewhere on the list of using the render methods
>> of vtkMapper or vtkprops but no definite example
>>
>> Where is the best way to do it?
>>
>> thanks in advance
>> --
>> Sergio Vera
>>
>> Alma IT Systems
>> C/ Vilana, 4B, 4º 1ª
>> 08022 Barcelona
>> T. (+34) 932 380 592
>> www.alma3d.com
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
>
>
>
> *| Aashish Chaudhary | Technical Leader | Kitware Inc. *
> *| http://www.kitware.com/company/team/chaudhary.html
> <http://www.kitware.com/company/team/chaudhary.html>*
>
--
Sergio Vera
Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150331/4e03c6c4/attachment.html>
More information about the vtkusers
mailing list