[Paraview] one 3d model transparent color + one 3d model normal color for vrml

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jun 11 16:30:28 EDT 2012


What I try to say, is if you load all the files in ParaView and export
the scene as VRML you will have a single VRML file the way you want.
So I'm not sure why this solution doesn't fit your needs.

Seb

On Mon, Jun 11, 2012 at 1:51 PM, Christoph Schweigi
<chris.schweighofer at gmx.net> wrote:
> Thx, I want to fuse two structures of radiologic datasets. Both are from brain vessels. The embeded model is the fluidic pattern (solid color) and the other outer model is the morphology (transparent with less opacity) one.
>
> Thx,
> Chris
> Ps: I am currently texting from my phone but if u want I can give u afterwards a link with the datasets?
>
>
>
> Am 11.06.2012 um 19:37 schrieb Sebastien Jourdain <sebastien.jourdain at kitware.com>:
>
>> That's the tricker part, because your scalar + the lookup table will
>> determine the color.
>> That's also the reason why I asked you why you just export your scene
>> in VRML with the correct settings color+opacity of all you objects ?
>>
>> Do you need them to be defined as a single mesh inside the VRML ?
>>
>> Seb
>>
>> On Mon, Jun 11, 2012 at 1:29 PM, Christoph Schweigi
>> <chris.schweighofer at gmx.net> wrote:
>>> Hello Sebastien,
>>>
>>> Thx for the answer, but how could I add a color to each model if I merge it? Furthermore how could I make one model transparent and one a solid color?
>>>
>>> Thx, Chris
>>>
>>> Von meinem iPhone gesendet
>>>
>>> Am 11.06.2012 um 19:21 schrieb Sebastien Jourdain <sebastien.jourdain at kitware.com>:
>>>
>>>> It seems that on of your dataset is a multi block. So before appending
>>>> it you should merge those block in order to make a single dataset.
>>>> Then you should be able to append it.
>>>>
>>>> On Mon, Jun 11, 2012 at 10:50 AM, Chris <chris.schweighofer at gmx.net> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Hello Sebastien,
>>>>>
>>>>> thx for your answer. I tried to do so and tried to save it in a vrml.
>>>>> However I have troubles if I import the geometric structure from vtk with
>>>>> two colors or if I want to create a geometric structure with two colors.
>>>>>
>>>>> The colors stay always the same and if I want to do a appended geometry I
>>>>> only get an error message:
>>>>>
>>>>> ERROR: In
>>>>> /Users/partyd/Kitware/ParaView-3.8/src/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
>>>>> line 827
>>>>> vtkCompositeDataPipeline (0x30cacf10): Input for connection index 1 on input
>>>>> port index 0 for algorithm vtkAppendPolyData(0x3022e260) is of type
>>>>> vtkMultiBlockDataSet, but a vtkPolyData is required.
>>>>>
>>>>>
>>>>> Please can you explain me why that happens?
>>>>>
>>>>> Thx,
>>>>> Chris
>>>>>
>>>>>
>>>>>
>>>>> Am 11.06.2012 um 05:42 schrieb Sebastien Jourdain:
>>>>>
>>>>> Hi Chris,
>>>>>
>>>>> If the point is to have the VRML to contains both, by loading the 2
>>>>> objects in the scene, exporting the scene will do the trick.
>>>>>
>>>>> If not that will be trickier but still doable. You will need to
>>>>> generate a given scalar across the 2 datasets and merge the geometry.
>>>>> Then use your custom scalar to apply the right color and opacity
>>>>> across the whole geometry.
>>>>>
>>>>> Seb
>>>>>
>>>>> On Sun, Jun 10, 2012 at 1:17 PM, Chris <chris.schweighofer at gmx.net> wrote:
>>>>>
>>>>> Hello people,
>>>>>
>>>>>
>>>>> I would like to know if it is possible to fuse two 3d models, one with a
>>>>> solid and one with a transparent color. This dataset should be afterwards
>>>>> saved within a vrml file for a rapid prototype printer.
>>>>>
>>>>>
>>>>> Is this possible?
>>>>>
>>>>> How?
>>>>>
>>>>>
>>>>> Thx,
>>>>>
>>>>> Chris
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>> 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 ParaView Wiki
>>>>> at: http://paraview.org/Wiki/ParaView
>>>>>
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>>
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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 ParaView Wiki at:
>>>>> http://paraview.org/Wiki/ParaView
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>> _______________________________________________
>>> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list