Install textures and meshes #3922
Thomas-Feldmeier
started this conversation in
Ideas
Replies: 1 comment
-
'add node' is much slower if textures/meshes files are installed. i changed the script to move textures and meshes subfolder at same level like worlds or protos directory, e.g. project/abc/worlds/def/textures/ghi.png => project/abc/textures/ghi.png This way maybe the 'AddNode' would be faster, as protos can only be in protos folder, and other project folders like worlds or textures should not be searched.
It did not help, still AddNode is slow. It seems that all projects folders are read. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After installation of WebotsR2021b, all textures and meshes can be copied into installation folder of webots.
This was tested with Ubuntu 20.04: Webots Guided Tour worked, nothing was added to cache, all textures/meshes where visible. But adding a new node with 'Add New' in Scene Tree is much slower (several seconds).
Linux commands to generate these files: (tested with Ubuntu 20.04)
The /tmp/webotsOffline/projects can be zipped and and should work under Windows or macOS too (not tested). Copy the files to webots/project installation folder, overwriting some files which have url's inside. Under Linux:
sudo cp -r /tmp/webotsOffline/projects $WEBOTS_HOME
It would be nice if that zipfile can be downloaded from webots.
Beta Was this translation helpful? Give feedback.
All reactions