GithubHelp home page GithubHelp logo

Comments (7)

TomWheal avatar TomWheal commented on June 15, 2024

This is also present on Windows, when installed for a single user not an entire machine.
This could be what students would do on school computers as it doesn't require admin rights.

from competition-simulator.

PeterJCLaw avatar PeterJCLaw commented on June 15, 2024

Given that it outputs:

A resource file can be defined relatively to the worlds directory of the current project, relatively to the worlds directory of the default project, relatively to its protos directory (if defined in a PROTO), or absolutely.

It's not obvious to me that any of those options are really what we want. From the looks of it we're trying to use textures from the Webots default projects.

Workarounds therefore include:

  • duplicate those textures into our repo or distribution (has licensing questions)
  • come up with our own textures
  • drop the textures
  • something nasty in our controller code which copies them from Webots at runtime

I've not looked into ways to re-use the textures from the default project, though I'm guessing from that error that it's not really a supported case (which seems a shame).

from competition-simulator.

RealOrangeOne avatar RealOrangeOne commented on June 15, 2024

relatively to the worlds directory of the default project

Looking at the URL in the image, this is actually what we want. In theory just ./textures/metal.jpg should work.

I'll try and give this a test tomorrow, but if someone does before even better!

from competition-simulator.

antoinepetty avatar antoinepetty commented on June 15, 2024

I asked on the discord and it seems that you can't create relative paths to the default projects. We'll have to decide to go with one of Peter's options
This is their related ticket cyberbotics/webots#1638

from competition-simulator.

antoinepetty avatar antoinepetty commented on June 15, 2024

relatively to the worlds directory of the default project

Looking at the URL in the image, this is actually what we want. In theory just ./textures/metal.jpg should work.

I'll try and give this a test tomorrow, but if someone does before even better!

Forgot to mention that I did try this yesterday and it was unsuccessful

from competition-simulator.

PRenouf avatar PRenouf commented on June 15, 2024

Is this still an issue? I can just remove the metal effect from those parts of the robot - it'll just appear with a matt finish which isn't a whole lot different.

from competition-simulator.

antoinepetty avatar antoinepetty commented on June 15, 2024

Should have been auto closed

from competition-simulator.

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.