To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8069
8068  |  8070
Subject: 
Re: True Type fonts and LDraw files
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 3 Dec 2002 11:55:27 GMT
Viewed: 
538 times
  
Hmm, you could use the IFPOV and ENDPOV statements:

0 IFPOV
0 text { ttf "arial.ttf" // check your fonts directory for the proper names
0 "place your text here" // well, place your text there
0 1, // thickness of text (text will be 3D, dunno what happens if you choose 0
0 0 // spacing of characters
0 scale <24,24,1> // scale text to 1 brick high (approx)
0 rotate <0,0,0> // change <x,y,z> so your text will be readable
0 translate <0,0,0> // move it to a proper place
0 pigment { color rgb <0,0,0> } // choose your favorite color
0 } // end of text
0 ENDPOV

Maybe you should change one of the scale values to a negative number because
of the difference in x-y-z axes in LDraw and POV-Ray.
I haven't tested this, so if you end up with a formatted harddisk, don't
blame me ;-)
Oh, and let me know if it works!

Jeroen



Message has 1 Reply:
  Re: True Type fonts and LDraw files
 
Thanks Jeroen, I guess there are multiple issues here. My original thoughts were primarily restricted to my LPub centric perspective, where we create step by step building instructions with a fixed view angle, and use rotation steps to virtually (...) (22 years ago, 3-Dec-02, to lugnet.cad.dev)

Message is in Reply To:
  Re: True Type fonts and LDraw files
 
(...) MLCAD indeed has a BACKGROUND meta commmand that places an image as a background. This image always faces the "camera", indepedently of the view angle. It will not work in al instances (it might get obscured by the model), but it is the only (...) (22 years ago, 3-Dec-02, to lugnet.cad.dev)

11 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR