[vtkusers] Creating a Lego Brick out of vtk primitives

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu Jun 9 08:14:51 EDT 2011


Ok then you should use SetInputConnection instead or use a
vtkAppendPolyData to add as many PolyData as you want and use only one
mapper for your brick.

Seb

On Thu, Jun 9, 2011 at 8:06 AM, Daniel Zuidinga
<daniel.zuidinga at rwth-aachen.de> wrote:
> if i comment the line
>  mapper.AddInputConnection(src2.GetOutputPort());
>
> the cube is shown correct.
>
> Am 09.06.2011 13:54, schrieb Sebastien Jourdain:
>>
>> ok, but based on the code you gave us it's hard to tell what is wrong
>> since its missing 60% of the real code. How do you know that the rest
>> is correct ?
>>
>> Seb
>>
>> On Thu, Jun 9, 2011 at 7:50 AM, Daniel Zuidinga
>> <daniel.zuidinga at rwth-aachen.de>  wrote:
>>>
>>> Am 09.06.2011 13:39, schrieb Sebastien Jourdain:
>>>>
>>>> Hi Daniel,
>>>>
>>>> I guess, you are missing the actors and the renderer. (vtkPanel)
>>>> Give a look at the example that you can find on the VTK wiki or inside
>>>> the source/Wrapping/Java/vtk/SimpleVTK.java
>>>>
>>>> Seb
>>>
>>> no i have actors and a renderer. that is not my problem.
>>>
>
>



More information about the vtkusers mailing list