Search found 7 matches
- Wed Aug 01, 2018 11:55 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
Yep, that was indeed the issue! I'd forgotten my own 2 year old code. Oops.
- Wed Aug 01, 2018 10:02 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
Qt isn't doing anything with this GL Context. However, I'm now 90% positive that our asset cache runs on a different thread, and we're calling getTexture in a hook from that.
- Wed Aug 01, 2018 9:08 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
Qt doesn't use the same OpenGL context, and the results are the same whether Qt is used or not (which is why I uploaded a trace without Qt).
- Wed Aug 01, 2018 4:54 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
In case any Qt stuff got thrown in, here's a trace of the same code without the Qt cruft and a much lower frame count: https://openblox.org/~johnmh/lt-openblox.trace
- Wed Aug 01, 2018 4:28 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
I have uploaded an APItrace trace file here: https://openblox.org/~johnmh/lt-openblox-studio.trace
- Wed Aug 01, 2018 4:21 pm
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
Re: SkyBox shows certain textures as white
All calls to Irrlicht are made from the same thread. When I say "loading later", I'm referring to IVideoDriver->getTexture(IReadFile) and then oldSkyBox->remove(), ISceneManager->addSkyBoxSceneNode()
- Wed Aug 01, 2018 4:35 am
- Forum: Advanced Help
- Topic: SkyBox shows certain textures as white
- Replies: 10
- Views: 2006
SkyBox shows certain textures as white
I've been working on what's essentially a toy game engine, which uses Irrlicht for graphics. While implementing a wrapper for skyboxes, I noticed some interesting behavior. When I load all 6 textures before a SkyBox scene node is ever created, all textures render properly. Any textures loaded after ...