Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Terrain rendering does not support shadows and texture blending with Ogre >= 1.11 #2686

Open
osrf-migration opened this issue Jan 22, 2020 · 3 comments
Labels
bug Something isn't working major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Silvio Traversaro (Bitbucket: traversaro).


As discussed in https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/3130/change-gazebo-rendering-heightmap-class-to/diff#comment-126229047 , to get Gazebo compiling with Ogre 1.11/1.12 it was necessary to disable some aspects of terrain rendering, including shadows.

I am not sure if anyone is interested in fixing this, but in any case it is better to track this missing feature in a clear way using a dedicated issue.

@osrf-migration
Copy link
Author

Original comment by Sean Yen (Bitbucket: seanyen-msft).


Silvio Traversaro (traversaro) Hi, just wondering what’s the symptom of the OGRE 1.12 and Gazebo?

I rebuild the Gazebo on conda-forge with OGRE 1.12 which is successfully built, but at runtime I see the following errors for gzclient:

[Err] [..\gazebo\gui\main.cc:34] Ogre Error:Ogre::RuntimeAssertionException::RuntimeAssertionException: Ogre/ShadowExtrudePointLight not found. Verify that you referenced the 'ShadowVolume' folder in your resources.cfg in Ogre::ShadowVolumeExtrudeProgram::initialise at ..\OgreMain\src\OgreShadowVolumeExtrudeProgram.cpp (line 71)

Is it the thing you are talking about here?

@osrf-migration
Copy link
Author

Original comment by Silvio Traversaro (Bitbucket: traversaro).


Hi Sean, in theory the problem discussed in this issue should be just about some missing features in the rendering (i.e. shadows in the case of terrainmap) but the execution should work correctly. However, to be perfectly honest I never managed to actually run the Gazebo in vcpkg, and only one user (see https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/3130/change-gazebo-rendering-heightmap-class-to/diff#comment-125270000 and microsoft/vcpkg#8178 (comment)) was able to run that draft PR correctly.

@osrf-migration
Copy link
Author

Original comment by Silvio Traversaro (Bitbucket: traversaro).


@{seanyen-msft} I opened a separate issue for your Ogre 1.12 problem in https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/issues/2700/gazebo-11-does-not-run-correctly-with-ogre (#2700) .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant