Implementing static HUD with vsg::Text #1234
-
I'm trying to learn how to use text, so I decided to prototype something resembling a HUD in the scene.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Ok, as I continue studying this awesome library, I'm finally able to achieve what I wanted here - some static text on top of a 3D scene which I'm gonna turn into a HUD eventually, let me leave this piece of code here for those like me, who are just starting their journey and are a bit lost.
|
Beta Was this translation helpful? Give feedback.
-
I wouldn't expect usable results from an LLM when asking VSG questions. They can be helpful for solutions to common problems with widely-used libraries and frameworks where there'll already be a StackOverflow post with the same or a very similar problem, but the VSG is relatively niche, so will barely feature in the training data, and you're more likely to hit hallucinations than real solutions. |
Beta Was this translation helpful? Give feedback.
-
Have a look at the vsgoverlay and vsgtext examples. The vsgoverlay example illustrates how to create two views, it uses two 3D ones, but a 2D one is just a 3D one from a fixed direction. The vsgtext example illustrates vsg::Text. |
Beta Was this translation helpful? Give feedback.
Have a look at the vsgoverlay and vsgtext examples. The vsgoverlay example illustrates how to create two views, it uses two 3D ones, but a 2D one is just a 3D one from a fixed direction. The vsgtext example illustrates vsg::Text.