gazebosim / gz-rendering

C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications.
https://gazebosim.org
Apache License 2.0
56 stars 51 forks source link

Should Optix have its own resoucre variable similar to ogre? #111

Open Levi-Armstrong opened 4 years ago

Levi-Armstrong commented 4 years ago

Currently the Ogre and Ogre2 plugin leverage a separate environment variable/compiler definition to locate its resources (OGRE_RESOURCE_PATH and OGRE2_RESOURCE_PATH). In the case Optix it is using the IGN_RENDERING_RESOURCE_PATH; should it have its own variable for locating Optix specific resources similar to how it is done in the Ogre and Ogre2 plugin?

https://github.com/ignitionrobotics/ign-rendering/blob/bdf08866775e7a3f0953f7a2b802577199247242/optix/src/OptixRenderEngine.cc#L83-L87

iche033 commented 4 years ago

yeah that's a good idea. We should still keep the IGN_RENDERING_RESOURCE_PATH there for backward compatibility.

Removing this from Core Development since optix is lower priority now.