-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Ogre 13 #2943
base: master
Are you sure you want to change the base?
Upgrade to Ogre 13 #2943
Conversation
cd69b8e
to
d9f8910
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
56c66fc
to
12d8ece
Compare
Purpose: To finally catch up with OGRE development. Estimate: We're waiting for OGRE 13.5 to be released as it contains some fixes for our use cases. Then, IDK, let's say 3 man days. |
Builds OK on my desktop, but crashes on Caelum init (main.cpp, line 140). Having or not having Caelum in 'plugins.cfg' has no effect.
My Debug tools are showing something I don't really understand - both debug and release binaries seem to be loaded at once:
In the stacktrace, I see only the non-_d modules employed so I can't investigate
PS: I clicked the "Close issue" by mistake, I'm sorry. |
@AnotherFoxGuy It looks like OGRE is built with
ROR is built with UPDATE: I checked with #2965 and it builds Release with UPDATE2: I looked into conan data and OGRE 1.11x also builds with
UPDATE3: I built OGRE 13.5 fresh with cmake ... -D "CMAKE_BUILD_TYPE=Debug", then built all as Debug in my VisualStudio 2022, started SampleBrowser and got the assert triggered. This means Ogre is shooting itself to the foot on Debug by default. The commit which added the assert: OGRECave/ogre@e4c82fe |
Tried building this branch using https://github.com/RigsOfRods/ror-dependencies with this PR RigsOfRods/ror-dependencies#56 applied. Dependencies build fine but attempting to build RoR (Release) fails:
EDIT: Turns out conan uses fmt version 8.0.1 while ror-dependencies currently is set to 9.1.0: CuriousMike56/ror-dependencies@c77f0ee |
ca89acf
to
d65be52
Compare
that happens with both render systems? |
Yes, OpenGL has the same problem. |
01f98ea
to
876fd85
Compare
RTSS demo terrain: https://drive.google.com/file/d/1uJj7Igbu4r9-AQSJx7am9l8jDR3GUymn/view?usp=drivesdk It seems RTSS textures do appear in reflections right after loading the terrain, but goes black once you spawn a vehicle: |
OGRE has 2 methods of updating RTT textures: automatically when rendering main camera, and manually. We use the manual method for everything. This is how it's controlled: https://github.com/RigsOfRods/rigs-of-rods/search?q=setAutoUpdated On related note: |
7711d09
to
6b8f62c
Compare
With Ogre latest master
|
…s - temporarily disabled old shadows
Tested under D3D9 and GL renderers.
…er-pixel lighting is always on, cleaned up old settings
7f0a5b2
to
f79dd3e
Compare
Closes #2599
Closes #2351
Fixes #2353
Fixes #2921
Known issues:
caelum has several issues: moon is misplaced near the sun, time from terrains that specify time (f1 testtrack for example) doesn't work, "Time of day" slider goes by steps (hacked around it tritonas00@110474e#diff-c4f465bb94cfed5385e4065b2906a0857b3819501dcc5e68ffadda5863963d9b but its not correct), extra weather (like snow/rain) doesn't work.fixed with Main: Zip - correctly forward filename to opened datastream OGRECave/ogre#2597Imgui has inverted colours on DirectX 9Load aspen, then back to menu and load nhelensIt happens because of this it seems:
Reminder https://github.com/tritonas00/rigs-of-rods/blob/ogre13/cmake/DependenciesConfig.cmake#L33-L50