Karou
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Karou
-
-
Hey shadmar,
I have already updated my previous post with the corresponding info, I couldn't find anything about limitations of MSAA on my graphics adapter though - it also seems to work perfectly fine on the editor too.
-
Hello together
I'm having problems with calling camera->SetMultisampleMode on a leadwerks C++ project - the game just crashes.
Here's what I've tried so far:
- Creating the camera from C++
- Using the camera created by the map
- Turning on and off different post-effects applied to the camera
- Calling camera->SetMultisampleMode(16) - Crashes
- Calling camera->SetMultisampleMode(8) - Crashes
- Calling camera->SetMultisampleMode(4) - Does not crash!
- Calling camera->SetMultisampleMode(32) - Crashes
- Starting the executable from the editor
- Starting the executable from visual studio
- Starting the executable by simply double-clicking
- Checking the documentation over and over again
- Google
- Asking on the Forums (this thread)
- Removing all post processing effects
- Calling camera->SetMultisampleMode(24) - Crashes
Visual Studio throws me out at context->Sync(false) in App::Loop.
The error reported is a read access violation at 0x0000003C and the exit code is 0xc000013a.
The crashes really only occur when I set the multisample mode.
The Camera is created normally via Camera::Create.
After that I fetch two pivots from the loaded map and position the camera at one and have it look at the other, and then some other stuff:
if (camera) { camera->Move(CamPivot->GetPosition()); camera->Point(CamDirectionPivot); camera->SetMultisampleMode(16); world->SetLightQuality(3); if (camera->AddPostEffect(AssetPath::getPostEffect("08_PP_bloom+godrays.lua")) == -1) { System::Print(">>>>>>>>>>> Unable to load BLOOM and GODRAY Shaders: " + AssetPath::getPostEffect("08_PP_bloom+godrays.lua")); }; if (camera->AddPostEffect(AssetPath::getPostEffect("99_pp_fxaa.shader")) == -1) { System::Print(">>>>>>>>>>> Unable to load FXAA Shaders: " + AssetPath::getPostEffect("99_pp_fxaa.shader")); }; if (camera->AddPostEffect(AssetPath::getPostEffect("ssao.lua")) == -1) { System::Print(">>>>>>>>>>> Unable to load SSAO Shaders: " + AssetPath::getPostEffect("ssao.lua")); }; }
After that nothing happens, except for sound loading and calling SetMousePosition.
Nothing great happens in App::Loop either - freelookmode is removed altogether.
Am I doing something completely wrong here?
Thanks in advance for any help!
EDIT: Might be worth mentioning...
Windows 7 Home 64 bit
Installed Memory: 8,00 GB
Processor: AMD FX 8320 Eight-Core Processor @ 3.5 GHz
Graphics Adapter: 2 x AMD Radeon HD 6670, CrossfireX was disabled while the problem occurred
Driver Versions as reported by Catalyst Control Center:
- Driver Packaging Version: 13.251-131206a-166389C-ATI
- Catalyst Version: 13.12
- Direct3D Version: 9.14.10.01001
- OpenGL Version: 6.14.10.12618
- Catalyst Control Center Version: 2013.1206.1603.28764
SetMultisampleMode on Camera
in Programming
Posted
Hey macklebee,
sadly, the problem still persists with all post processing effects disabled.
In my desperation I have also attempted to use those exact 24xMSAA just now, but no luck with that
At least it's not something super obvious I'm doing wrong