[Paraview] 3d text problem

Marwen Gammar mgammar at outlook.fr
Fri Apr 22 04:21:31 EDT 2016


Thank you for your quick answer, however i am afraid i wasn't explicit in my questions:
For the first point, yes, i knew that, but when i create 3d text, it is always in the same place,i can't put words in each face of my cube for example,
For the second point, i wasn't talking about applying text with Paraview but directly with the Vtk programm i wrote ( i think it could be more simple for me than if i always use the 3d text program)
Here is my programm:
# vtk DataFile Version 2.0 Cube example ASCII DATASET POLYDATA POINTS 8 float 0.0 0.0 0.01.0 0.0 0.01.0 1.0 0.00.0 1.0 0.00.0 0.0 1.01.0 0.0 1.01.0 1.0 1.00.0 1.0 1.0POLYGONS 6 30 4 0 1 2 3 4 4 5 6 7 4 0 1 5 4 4 2 3 7 6 4 0 4 7 3 4 1 2 6 5CELL_DATA 6 SCALARS cell_scalars int 1 LOOKUP_TABLE default 0 1 2 3 4 5 NORMALS cell_normals float0 0 -1 0 0 1 0 -1 0 0 1 0 -1 0 0 1 0 0 FIELD FieldData 2 cellIds 1 6 int 012345 faceAttributes 2 6 float 0.0 1.0 1.0 2.0 2.0 3.0 3.0 4.0 4.0 5.0 5.0 6.0POINT_DATA 8 SCALARS sample_scalars float 1 LOOKUP_TABLE my_table 0.01.02.03.04.05.06.07.0LOOKUP_TABLE my_table 8 0.0 0.0 0.0 1.01.0 0.0 0.0 1.00.0 1.0 0.0 1.01.0 1.0 0.0 1.00.0 0.0 1.0 1.01.0 0.0 1.0 1.00.0 1.0 1.0 1.01.0 1.0 1.0 1.0
i want to apply a text directly on each face from this programm which will be read by Paraview.
Thank you very much for help,Kind regards,Marwen
From: kmorel at sandia.gov
To: mgammar at outlook.fr; paraview at paraview.org
Subject: Re: [Paraview] 3d text problem
Date: Thu, 21 Apr 2016 15:25:01 +0000











Marwen,


 


You asked 3 questions. I will try to answer them.
 
“I want to use the 3d text on the surface but it is inverted.” It sounds like you are looking at your text from the back. Try moving the camera around to the front. You can also click the
 toolbar button marked “-Z” (2nd row near the right). That should place the camera where the text is forward.
 
“moreover I don’t know how to write it directly on the program” In the properties panel there is an editable box labeled “Text”. Change that and then hit the “Apply” button to change the
 text.
 
“what does this mean?” That definitely looks like part of a data file in what is called the legacy VTK format. However, a large part of the file is missing, so that data will not load correctly.
 
-Ken
 

From: 
ParaView <paraview-bounces at paraview.org> on behalf of Marwen Gammar <mgammar at outlook.fr>

Date: Thursday, April 21, 2016 at 8:20 AM

To: "paraview at paraview.org" <paraview at paraview.org>

Subject: [EXTERNAL] [Paraview] 3d text problem


 




Hello Miss, Mister,


I am beginning in the utilisation of the software Paraview and have some problem with its use:


I want to use the 3d text on the surface but it is inverted, 


moreover i don't know how to write it directly on the programm (vtk),


and what does this means?:



POINT_DATA 8

SCALARS sample_scalars float 1

LOOKUP_TABLE my_table

0.0

1.0

2.0

3.0

4.0

5.0

6.0

7.0

LOOKUP_TABLE my_table 8

0.0 0.0 0.0 1.0

1.0 0.0 0.0 1.0

0.0 1.0 0.0 1.0

1.0 1.0 0.0 1.0

0.0 0.0 1.0 1.0

1.0 0.0 1.0 1.0

0.0 1.0 1.0 1.0

1.0 1.0 1.0 1.0

 


Could you please indicate me how to solve those problems?


 


Thank you kindly for your answer,


Kind regards,


Marwen




 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160422/f07406f0/attachment.html>


More information about the ParaView mailing list