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

2012-06-10 Thread Chris
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 __

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

2012-06-10 Thread 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 sca

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

2012-06-11 Thread Chris
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 app

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

2012-06-11 Thread Sebastien Jourdain
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 wrote: > > > > > Hello Sebastien, > > thx for your answer. I tried to do so and t

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

2012-06-11 Thread Christoph Schweigi
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 : > It seems that on of your datase

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

2012-06-11 Thread Sebastien Jourdain
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 ? Se

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

2012-06-11 Thread Christoph Schweigi
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

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

2012-06-11 Thread Sebastien Jourdain
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 wrote: > Thx, I want to fuse two structure

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

2012-06-11 Thread Chris
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 (c

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

2012-06-12 Thread Sebastien Jourdain
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

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

2012-06-12 Thread Chris
Hello Sebastien, thx for your help. You are right it works great with a solid color. I only would like to have a bigger selection for them. CannĀ“t I take a color table? Or can I import colors? I tried to add a scalar but the scalar disappears after the export. Is there a opportunity to save the

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

2012-06-12 Thread Sebastien Jourdain
Hello Chris, I don't understand how you can't choose any color that you want. Basically on my Mac, I have access to the 16 Billions choices... Do you need more ? For the opacity, scroll down in the display tab and change the opacity slider. For the opacity in VRML, I don't know, but I think that

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

2012-06-12 Thread Chris
Hello Sebastien, thank you very much, I just realized that I can change the color if I click on the solid button. For the style options like opacity I tried it to but it does not work to save these parameters neither with vtk nor with vrml files. Is there a trick how I can save them? What furth

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

2012-06-12 Thread Sebastien Jourdain
VTK format is not storing rendering information, but only data. In VRML it is different. I believe it's a bug of the VRML exporter of VTK (or it was not a feature of that exporter). Therefore, the only solution that I see is to either fix the bug or change the opacity attribute in the VRML file ma

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

2012-06-12 Thread Chris
Hello Sebastien, what do you mean with edit a text file? Can you give an example? Thx, Chris > Can't you just edit a text file ? (meaning replacing the opacity > inside the VRML file itself by something else ?) > > Otherwise, you will have to edit the vtkVRMLExporter.cxx file... And > find why

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

2012-06-12 Thread Sebastien Jourdain
If you open the VRML file that you generated you will see inside something like that: material Material { ambientIntensity 0 diffuseColor 1 1 1 specularColor 0 0 0 shininess 0.0078125 transparency 0 } just replace "transparency 0" by "transparency 0.5" Does that make sense to you

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

2012-06-12 Thread Chris
Okay I tried it and it does not work. :-( I tried it with transparency 0.1, 0.5 and 0.9. Maybe I also have to change another parameter? Thx, Chris > vi, vim, emacs, textedit, wordpad... > > On Tue, Jun 12, 2012 at 4:14 PM, Chris wrote: >> Yeah thanks that makes sense. :) Just one more questio

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

2012-06-12 Thread Sebastien Jourdain
Which viewer did you used ? On Tue, Jun 12, 2012 at 4:35 PM, Chris wrote: > Okay I tried it and it does not work. :-( I tried it with transparency 0.1, > 0.5 and 0.9. > Maybe I also have to change another parameter? > > Thx, > Chris > >> vi, vim, emacs, textedit, wordpad... >> >> On Tue, Jun 12,

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

2012-06-12 Thread Chris
What program would you recommend to adopt vrml 3D models? Thx, Chris Am 12.06.2012 um 22:51 schrieb Sebastien Jourdain: > ParaView do not read or write any opacity information in VRML. > > On Tue, Jun 12, 2012 at 4:50 PM, Chris wrote: >> Hello Sebastien, >> >> I used ParaView 3.8.1 and ParaVi