GithubHelp home page GithubHelp logo

Comments (4)

rainergericke avatar rainergericke commented on September 27, 2024

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

from vsgexamples.

robertosfield avatar robertosfield commented on September 27, 2024

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.

from vsgexamples.

robertosfield avatar robertosfield commented on September 27, 2024

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.

from vsgexamples.

rainergericke avatar rainergericke commented on September 27, 2024

Right. The new text output looks pretty good!

from vsgexamples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.