klepto2 Posted July 17, 2011 Share Posted July 17, 2011 File Name: Custom Engine Dll (2011-11-14) File Submitter: klepto2 File Submitted: 17 Jul 2011 File Updated: 14 Nov 2011 File Category: Tools A custom engine dll, with extra funtionality added to the standard engine.dll. A lot of new functions (currently 67) were added and more will come. Currently it just comes with the dll and the wrapper sources for Leadwerks.Net and LE.Net and a list of new functions. Blitzmax will follow as soon as i have cleared some things with Josh ( the sceneloader uses original source code and i have to clarify if i'm allowed to publish this part or if i provide it as an extra module without source) Demos and samples will follow. [update 2011-08-08] Updated the dll to match Leadwerks Engine 2.5 Add 4 new functions void SceneLoaderDoProgress(Sceneloader sceneloader) // Alters Progress manually (needed when you not use the Leadwerks Flip command (eg forms controls) void InitSingleInstanceSystem(string path) // initialises A temporay path for the single instance system string LoadSingleInstanceMesh(string cs,Entity parent) // Loads a mesh as a single instance (same mesh, but different materials are possible) void ClearSingleInstanceSystem(int cf= 1) // Deletes the tempory folder or cleans the folder The single instance system is very simple but effective. Keep in mind to use this only if you really need it as it can break up performance when used to much. [update 2011-09-02] Added 3 new Functions one for removing Vegetation from the terrain and one to get all World Stats (BatchesDrawn etc.) float GetWorldStat(TWorld world,int stat) values for stat = 0 to 12 { 0 : batchdrawtime 1 : batchesdrawn 2 : entitiesdrawn 3 : entityculltime 4 : entitydrawtime 5 : lightsdrawn 6 : meshdrawtime 7 : octreeupdatetime 8 : rendertime 9 : terraindrawtime 10: vegetationdrawtime 11: TerrainSectorsDrawn 12: ShadowsDrawn } RemoveVegetation(TTerrain terrain, int layer, float x, float z, float radius) TModel LoadSingleInstanceModel(string cs,Entity parent) Version 2.5.0.2: -Fixed Cubemapping -Changed Framework to recycle already used buffers, which speeds up mutisized Viewport rendering - Added a C# sample for cubemapping Version 2.5.1: Based On latest LE Update (fixed TPick, etc) Click here to download this file Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Ywa Posted July 18, 2011 Share Posted July 18, 2011 Is this reverse engineered or do you have access to the Leadwerks sourcecode? Quote Link to comment Share on other sites More sharing options...
klepto2 Posted July 18, 2011 Author Share Posted July 18, 2011 This is mainly reverse engineered, but i have access to the original dll code and the sceneloader code (thx Josh). The scenloading is completely based on the original LoadScene command. The Vegetation functions are mainly exported directly as they are already accesable in Blitzmax, but 2 functions are done by looking into the Terrain Editing code snippet Josh posted in this forum. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Flexman Posted May 27, 2012 Share Posted May 27, 2012 Is there any chance of this getting updated headers for C++? Quote 6600 2.4G / GTX 460 280.26 / 4GB Windows 7 Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT Tricubic Studios Ltd. ~ Combat Helo 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.