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 / 8060
    True Type fonts and LDraw files —Kevin Clague
   Hi, I've been doing a lot of work on automating the creation of building instructions lately, and have been studying various LEGO Constructopedias. There are places where LEGO uses text to anotate things in their step images (like 180 degree (...) (22 years ago, 2-Dec-02, to lugnet.cad.dev)
   
        Re: True Type fonts and LDraw files —Don Heyse
   (...) The one thing to watch out for here is that floating text will only look right when viewed from a particular angle. Don't forget that LDraw files contain 3D data which can be viewed from all directions. Text annotation seems to me more like a (...) (22 years ago, 2-Dec-02, to lugnet.cad.dev)
   
        Re: True Type fonts and LDraw files —Dan Boger
     Quoting Don Heyse <dheyse@hotmail.spam...away.com>: (...) couldn't you say the text "box" is anchored in a point in space, and ALWAYS faces the camera? Or is there a situation where there's more than one camera at the same time? (I don't know much (...) (22 years ago, 2-Dec-02, to lugnet.cad.dev)
    
         Re: True Type fonts and LDraw files —Don Heyse
     (...) As far as I know, you can't do that, but I suppose you could do it with a new META statement. (...) I think there might be some LDRAW programs out there with a notion of a floor or background image. Those are 2D objects that may or may not (...) (22 years ago, 2-Dec-02, to lugnet.cad.dev)
    
         Re: True Type fonts and LDraw files —Kevin Clague
      I was assuming that the user knows the view angle as well as any MLCad rotation steps that are in place when laying out the building instructions, but maybe this is too much work. If I do it as a post processing step, then the user is going to have (...) (22 years ago, 2-Dec-02, to lugnet.cad.dev)
     
          Re: True Type fonts and LDraw files —Niels Karsdorp
      It is not only about adding text to a 3D world or a 2D render of it, but also about arrows. Arrows are (can be) used to point to a specific part or a group of parts. What about when this (these) part(s) are not visible in a different camera (...) (22 years ago, 3-Dec-02, to lugnet.cad.dev)
     
          Re: True Type fonts and LDraw files —Kevin Clague
      Niels, I'm not sure what to do about arrows that are hidden because the view angle hides it. Do you have any ideas? It seems to me that it is just like any other part that is hidden from view. You can't see it. Do you have ideas how to work around (...) (22 years ago, 3-Dec-02, to lugnet.cad.dev)
    
         Re: True Type fonts and LDraw files —Miguel Agullo
     (...) 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)
    
         Re: True Type fonts and LDraw files —Jeroen de Haan
     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 (...) (22 years ago, 3-Dec-02, to lugnet.cad.dev)
    
         Re: True Type fonts and LDraw files —Kevin Clague
     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)
   
        Re: True Type fonts and LDraw files —Larry Pieniazek
   (...) Not necessarily. I don't always use the default viewpoint when rendering. (22 years ago, 2-Dec-02, to lugnet.cad.dev)
 

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