Re: Text in a 3D Scene

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Michel Walsh (vanderghast_at_VirusAreFunnierThanSpam)
Date: 05/03/04

  • Next message: tom: "[?] Retrieve Midi key presssure"
    Date: Mon, 3 May 2004 08:58:07 -0400
    
    

    Hi,

        For axis? I would try a texture (with the letter, x, y, and z). Note
    that the problem I foresee is that it seems you want to follow the
    orientation, but not the "scale". I mean, if you are far from the triangle
    with the "text" on it, the triangle, and the text on it, can become too
    small, or out of the visible frame (cases of zoomings, or observer walking
    too close to origin) while you probably want a "x", "y" and "z" always of
    the same letter sizes, and always in the visible frame, but following the
    real axes, with a very slanted x, as a possible example. That seems to
    involve some interesting mechanics, but I have never really think about that
    particular case, even if I see it as really interesting... :-) Sure, if
    a simple texture does the trick.. that was simple.

    Vanderghast, Access MVP

    "Guru" <a@b.c> wrote in message
    news:FkCkc.11865$KS1.308945@nasal.pacific.net.au...
    > Hi all,
    >
    > I have what I'm sure must be a simple problem. How the hell do I position
    > text onto a 3D scene accurately.
    >
    > I'm using VB6 and DirectX 8 and have built a 3D graphing tool with which I
    > now need to add some scale text along the axis. I don't need any fancy
    > fonts for the text - the windows system font would be fine.
    >
    > At present I'm trying to use the drawtext method but:
    >
    > a) the positioning is not relative to the current camera, world etc
    angles.
    > i.e. when the world is positioned to another angle, the text doesn't move
    as
    > well. I need the text to be 'part of the scene' and move with the scene.
    >
    > b) the text has no concept of depth. I need depth as the text will need
    to
    > 'disappear' when behind other objects.
    >
    > If anyone can point me towards a simple method or tutorial to solve this
    > problems it would be much appreciated.
    >
    > Thanxs
    > Guru
    >
    >


  • Next message: tom: "[?] Retrieve Midi key presssure"

    Relevant Pages

    • Text in a 3D Scene
      ... fonts for the text - the windows system font would be fine. ... At present I'm trying to use the drawtext method but: ... the positioning is not relative to the current camera, world etc angles. ... I need the text to be 'part of the scene' and move with the scene. ...
      (microsoft.public.vb.directx)
    • Re: How to scaling two image?
      ... scene, then you're totally out of luck obviously. ... Rotation and Scale of a Distorted Image" ... actually i wan is how to adjust the template image magnification to same like target image? ...
      (comp.soft-sys.matlab)
    • Re: Odd bug
      ... >to move an object and all it will do is scale the object. ... >opened them in my room tonight, and now this is happeningg.. ... "open a new scene then merge your old scene into it - everything ... Invisible Friend ...
      (comp.graphics.apps.cinema4d)
    • Re: How to scaling two image?
      ... only use the part of the picture that is common between them to figure ... scene, then you're totally out of luck obviously. ... Rotation and Scale of a Distorted Image" ...
      (comp.soft-sys.matlab)
    • Haunted House Scene (N)
      ... My N scale haunted house scene is always popular this time of the year: ... Flying Saucer scene: ... N Scale Model Railroad: ... Model Railroad Bookstore: ...
      (rec.models.railroad)