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

Christoph Schweigi chris.schweighofer at gmx.net
Mon Jun 11 13:29:45 EDT 2012


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
>> 


More information about the ParaView mailing list