How to map text onto objects

Jon Genetti genetti at cs.tamu.edu
Tue Nov 27 12:38:30 AEST 1990


Someone stopped by today with a problem.  He needs to put some text
on a polygon and then move/rotate the polygon - something similar to
the buttonfly demo.  This part works ok using cmov and charstr:

+----------------+
|    some text   |
+----------------+

Now if the polygon is moved back, the length of the string is not
scaled down, i.e.

    +--------+
    |  some t|xt
    +--------+

and when rotated, the starting point of the text is transformed ok,
but the text is not, i.e.

+----
|    ----
+   some text+
 ----        |
     ----    |
         ----+

The closest thing I saw to solving the problem would be to have the
text be a texture map - but we don't have a VGX.  Is there any way
to do this on a personal iris or a GTX running 3.3.1?

thanks,
jon genetti (genetti at cs.tamu.edu)



More information about the Comp.sys.sgi mailing list