Jump to content

Leadwerks Engine SDK 2.32 now available


Josh
 Share

Recommended Posts

There is a self-contained installer here:

http://leadwerks.com/werkspace/index.php?/files/file/145-leadwerks-engine-sdk-232/

 

You can also run the updater with the latest version 2.32.

 

Version 2.32 evolved into a pretty big update. The biggest improvement is the internal entity storage system. An octree is used to store all top-level entities, and the rendering and picking routines are now recursive. The view range setting is now an integer category, instead of an arbitrary number. This allows the engine to dismiss chunks of scenery if they are far enough away from the camera, without having to iterate through each entity.

 

Vegetation rendering was rewritten and optimized. The disappearing vegetation shadow bug was eliminated, and vegetation collision added. You can set the collision type for the layer in the vegetation properties panel in the editor.

 

Collision trees will build much faster now when meshes are loaded. You can also use the supplied gmfprocess tool to create collapsed GMF files with pre-serialized surface data for raycasting. This will make meshes load faster.

 

 

2.32

-"Render" Lua object function renamed to "Draw".

-Added Draw entity callback.

-Entity draw callback and Lua "Draw" object function will only be called at most once per frame. Perform animation in this function.

-Entity LOD distance parameters changed for better performance.

-LoadAnimation now works without exact hierarchy matches, so LOD meshes can all use the full-res animation.

-Implemented entity octree with hierarchical culling and picking.

-Rewrote vegetation rendering routine.

-Added vegetation collision.

-Added optional terrain color map.

-Fixed some problems that prevented custom buffers from working.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

commands.bmx seems to be missing?

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

from the Framework folder in the sdk

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Thanks for the update! :rolleyes:

Something seems to be wrong though, nothing is drawn on my programs.

Even this simple program doesn't work.

 

Framework Leadwerks.Engine
RegisterAbstractPath AppDir
Graphics 1024,768
CreateWorld
MoveEntity CreateCamera(),Vec3(0,0,-10)
MoveEntity CreatePointLight(5),Vec3(0,0,-3)
Local cube:TMesh=CreateCube()
Local buffer:TBuffer=CreateBuffer(1024,768,BUFFER_COLOR0|BUFFER_DEPTH|BUFFER_NORMAL)
While Not KeyHit(KEY_ESCAPE)
TurnEntity cube,Vec3(1,1,2)
SetBuffer buffer
RenderWorld
SetBuffer BackBuffer()
RenderLights buffer
DrawText "Hello World!",0,0
Flip 1
Wend
End

 

I'm using the latest nVidia drivers if that's any help :blink:

Also, The editor seems to lag horribly when editing terrain :P

Core2Duo, 3.33GHz, Radeon HD 5850 Black Edition, 4GB RAM, 4 TB HDD, Windows 7.

Core2Duo, 2.00GHz, Geforce 9500m, 4GB RAM, 320 GB HDD, Windows 7.

Link to comment
Share on other sites

The rendering seems to stutter a lot, even when FPS is 127. The rotating cube demo (example01.lua and example02.lua (had to copy them from 2.31 since they were forgotten from 2.32)), shows this stuttering clearly. With Flip(1) and vsync app controlled it stutters less, but still remarkably.

 

EDIT: The stuttering is caused by the values from AppSpeed(). Maybe a Curve() is needed to make AppSpeed() more reliable.

 

EDIT2: Yes, this line makes the stuttering go away completely:

	c=Curve(AppSpeed(),c,16.0)	
mesh:Turnf(0.5*c,0.5*c,0.5*c)

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Nice update Josh.

 

Vegetation collision is a much needed enhancement to the system.

 

What is going on with the River system? I know that there are river nodes included, but as of right now they are ineffective.

 

Any chance this is a feature we will be seeing in the near future?

 

Thanks again.

Intel Quad Core 9550 (2.83GHz) 4Gbs DDR2 800 RAM, 1Gb ATI Radeon 5870, Windows 7, LE 2.3

Link to comment
Share on other sites

Thanks for the update! :rolleyes:

Something seems to be wrong though, nothing is drawn on my programs.

Even this simple program doesn't work.

 

Framework Leadwerks.Engine
RegisterAbstractPath AppDir
Graphics 1024,768
CreateWorld
MoveEntity CreateCamera(),Vec3(0,0,-10)
MoveEntity CreatePointLight(5),Vec3(0,0,-3)
Local cube:TMesh=CreateCube()
Local buffer:TBuffer=CreateBuffer(1024,768,BUFFER_COLOR0|BUFFER_DEPTH|BUFFER_NORMAL)
While Not KeyHit(KEY_ESCAPE)
TurnEntity cube,Vec3(1,1,2)
SetBuffer buffer
RenderWorld
SetBuffer BackBuffer()
RenderLights buffer
DrawText "Hello World!",0,0
Flip 1
Wend
End

 

I'm using the latest nVidia drivers if that's any help :blink:

Also, The editor seems to lag horribly when editing terrain :P

Works fine for me. Anyone else have a problem?

 

What is going on with the River system? I know that there are river nodes included, but as of right now they are ineffective.

It's not supported yet. I didn't mean to include that.

 

The oildrum.phy file is not working. To create the correct phy file, use PhyGen.exe with the following settings:

post-2-12734932421098_thumb.png

I uploaded it now.

 

ModelViewer and FPS scipt in Editor crashes because they can't load vwep_gun.gmf and vwep_hands.gmf.

The files are present. See "Models\Weapons\".

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

The files are present. See "Models\Weapons\".
I know they are present, else the engine wouldn't crash when loading them. Something is wrong with the gmf or the mat of them.

They work on my GeForce 8800 though, but not on my GeForce FX570M.

 

I also noticed that they are duplicated in two different places:

Models\Items\Weapons\Gun

and

Models\Weapons\smg

 

Duplicate files are also:

Materials\Cobblestone\cobblestone*

and

Materials\cobblestones*

 

Then the LEWizard files are partially outdated, but I can send you the newer versions.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Guest Red Ocktober

well... whatever it is... whenever i try to activate the game mode in the editor, i get the following dialogue box...

 

stack traceback:

[C]: in function 'LoadMesh'

[string "scripts/games/fpscontroller.lua"]:33: in main chunk

 

and upon hitting the ok button, the editor exits without a trace...

 

--Mike

Link to comment
Share on other sites

well... whatever it is... whenever i try to activate the game mode in the editor, i get the following dialogue box...

 

stack traceback:

[C]: in function 'LoadMesh'

[string "scripts/games/fpscontroller.lua"]:33: in main chunk

 

and upon hitting the ok button, the editor exits without a trace...

That's the problem I reported earlier about the vwep_gun and hand gmf models. It works on 8800 GTS, but not on FX570M and some other cards.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

when I try to download 2.32 I get a message saying my installtion is up to date, I try installing to a different directory I still get the same message. nor does it help to force update or do a clean install.

Win7: 3.4GHz i7, 16Gb RAM DDR3, Radeon HD 6970 2048MB

Link to comment
Share on other sites

when I try to download 2.32 I get a message saying my installtion is up to date, I try installing to a different directory I still get the same message. nor does it help to force update or do a clean install.

 

Same here.

Link to comment
Share on other sites

seem i can only get 63mb and the download stop, the other problem you can not resume so you back trying to get the 175mb

 

tryed 4 times and failed so gone back to the updater as i see it working again

Asus ROG STRIX B350-F GAMMING

AMD Ryzen 7 1700x

32 gb ddr4

15 TB raid 5 HD

Nvidia EVGA 1060GTX

Win10 64bit

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...