Raul Posted March 28, 2010 Share Posted March 28, 2010 On my map I added the Firepit from the SDK. Using the Framewerk I loaded the scene and render it. Unfortunately I do not have any flame and haze effect and when I quit I receive the Null framewerk message. The sounds and other features are working ok. In the Engine.log there is no missing file there. Am I missing something? Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Canardia Posted March 28, 2010 Share Posted March 28, 2010 You need to use Framework if you want to load models with a Lua script which access the fw object. Firepit does this with these lines: SetWorld(fw.transparency.world) If you want to use Framewerk, you need to write your own ProcessScene function, or use gamelib. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Raul Posted March 28, 2010 Author Share Posted March 28, 2010 damn. framework, framewerk... I just looked into the wiki. Framework is a newer version of the Framewerk class right?? So I just have to use this class instead of the older one? Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Canardia Posted March 28, 2010 Share Posted March 28, 2010 Yeah, I would use Framework, since it works fully with Lua too. Framewerk is more for developers who want full access to the post-effect rendering. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Raul Posted March 28, 2010 Author Share Posted March 28, 2010 In my cGlobals.h I have now: #pragma once #include "engine.h" extern TFramework framework; In cGlobals.cpp: #include "cGlobals.h" #include "engine.h" TFramework framework=CreateFramework(); When compiling I receive: Unhandled exception at 0x00000000 in Game.exe: 0xC0000005: Access violation. in the engine.cpp inline TFramework CreateFramework(void) { return leCreateFramework(); } Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Canardia Posted March 28, 2010 Share Posted March 28, 2010 TFramework framework=CreateFramework(); You can't call CreateFramework() before the engine.dll has been loaded. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Raul Posted March 28, 2010 Author Share Posted March 28, 2010 Understand. Thanks Quote i5 2.7Ghz, GTS 450, 8GB Ram, Win7 x64; Win8 x64 rvlgames.com - my games RVL Games Facebook Page, YouTube Channel Blitzmax Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.