[vtkusers] Text annotations in 3D window

Wayne Christopher wayne at 4raccoons.com
Thu Jun 16 17:05:07 EDT 2011


What I mean is, I would like the text to be readable no matter what the 
model transformation is.   With raw OpenGL I used to do something like 
this (I don't have the original code):

glXUseXFont( ... );
glRasterPos3xv(xyz_pos);
glListBase(...)
glCallLists(....,string_to_draw);

Thanks,

     Wayne

On 6/16/11 1:46 PM, Aashish Chaudhary wrote:
> Hi Wayne,
>
> On Wed, Jun 15, 2011 at 8:21 PM, Wayne Christopher<wayne at 4raccoons.com>  wrote:
>> I would like to place text annotations at specific 3D points.  I can do this
>> using vtkVectorText and vtkFollower, but the text appears with a specific
>> size and orientation in 3D so when I move the camera it can be hard to read.
> Yes, this is a known issue.
>
>>   I would like the text to always be N pixels high and oriented correctly in
>> the plane of the screen, but have its position fixed to a specific 3D
>> location.
> So I understood the first part. Can you describe what you exactly
> meant by "oriented correctly"?
>
>
> Are there any examples of this?    Thanks,
>>     Wayne
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>



More information about the vtkusers mailing list