Closed sbrkopac closed 4 years ago
I have the same problem on the Mac and on Windows10. On both systems I get the message after startup: Could not read font texture file : fonts/roboto.vsgb The robot.vsgb exists yet. The environment variable VSG_FILE_PATH is also set correctly on both machines. It looks for me that VSG_FILE_PATH is actually not considered by the examples. While I could call: osgviewer cessna.osg I have to set the complete path for the model when using vsgviewer like: vsgviewer data/models/teapot.vsgb
vsginput has been rendering blank for a while now, but as I'm not the author of this particular example I haven't been able to just dive in know what to tweak and get it working again. In principle it's meant to render text adding new text to the scene in response to keyboard input - hence the vsginput name.
The core VSG itself has moved on quite a bit since this example was written, so it's likely there are now better ways of doing things that this example utilizes. My plan has been to write a new vsginput from scratch using the latest VSG classes and refactor parts of the VSG to make the dynamic update side that vsginput explores more seamless.
It may even be appropriate to integrate text support in the core VSG or in a companion library. It may also make sense to just remove the existing non functioning vsginput from master so others don't get confused by it.
I'm closing this PR as vsginput has been removed. The text part of this example is now done in the core VSG's new vsg::Text class.
Right. The new text output looks pretty good!
When running vsginput there is nothing drawing. If I attempt to type some text, I can see the the dispatch firing. When running with
--debug
flag I get the following:I'm using VulkanSceneGraph master.