What you try to do is the most complex solution, in the case you really need a single mesh node inside your VRML file. If you don't need that, then the actions are load the files, set colors, export and done.
Seb Action 1: In the menu: File > Open + In the "Properties" tab click on "Apply Action 2: To change the color, go in the "Display" tab and click on "Color by" = "Solid Color", the "Set Solid Color..." => The color apply to the object that is selected in the pipeline browser. Action 3: In the menu: File > Export + choose the VRML format and you should be done... On Mon, Jun 11, 2012 at 6:31 PM, Chris <[email protected]> wrote: > Thx, I think it would be great in the way you described it. But I am still a > beginner in Paraview and therefore it sounds a bit complicated for me. > > I added the color filter, selected color by scalars and pressed the button > edit color map. There I tried to adjust range, scalars, lookup tables (color > space) and the opacity. > Anyway the scalar does not change and still stays the same. I tried it now > 50 times. > > I would be really happy, if you could tell me what I did wrong? > > Chris > > > > > > 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 > <[email protected]> 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 > <[email protected]>: > > > 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 > > <[email protected]> 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 > <[email protected]>: > > > 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 <[email protected]> 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 <[email protected]> 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 > > > > _______________________________________________ > 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
