Jump to content

4.5 Beta Now Available

Admin

2,975 views

A beta build of version 4.5 is now available on the beta branch on Steam.  This updates the engine to the latest Newton 3.14.  Versions 4.5 and 5 beta are now compiling side-by-side with the same source code.  Because of major engine changes in version 5, some bugs may need to be resolved before the final release.  Some preliminary information on updating C++ projects can be found in this thread.

Version 4.5 is planned to include official support for VR (both Vive and Oculus) and a new improved vehicle system.

blogentry-1364-0-78931300-1491429191.jpg

  • Thanks 2


24 Comments


Recommended Comments

It looks like picking in the editor viewports does not work, so there is plenty to keep me busy with right now!

Share this comment


Link to comment

Fixed another bug where deleting the terrain would cause a crash (Windows editor only fixed).

Share this comment


Link to comment

gui seems to stop working

if I press scape, menu appears but do not react to mosue clicks..

(testing only a lua project) some other old joints/vehicle scripts of mine seems to not work as it did also :(, guess i have to wait some time

 

Share this comment


Link to comment
42 minutes ago, Charrua said:

gui seems to stop working

if I press scape, menu appears but do not react to mosue clicks..

(testing only a lua project) some other old joints/vehicle scripts of mine seems to not work as it did also :(, guess i have to wait some time

 

Confirmed.  There will probably be lots of little issues like this, but each one is easy to fix.

Share this comment


Link to comment

"sdd.exe has stopped working" when I try to run AI and events.map

 

"EXCEPTION_ACCESS_VIOLATION" when I try to switch to single viewport on the same map.

Share this comment


Link to comment

No problem, I've got all those things solved.  New build in the morning.  Thanks for reporting! :D

Share this comment


Link to comment
25 minutes ago, SlicedBread said:

Vertical Sync in the escape menu no longer works.

It's working just fine here.  What OS are you on?

Share this comment


Link to comment
On ‎11‎/‎20‎/‎2017 at 5:29 PM, SlicedBread said:

Windows 10 Home 64-bit

No problem, I'm on it.

  • Thanks 1

Share this comment


Link to comment
6 hours ago, shadmar said:

Launching a game 4.5 game (new project) via editor crashes, but clicking the exe directly works.

I cannot produce this error.

6 hours ago, shadmar said:

I cant make sphere primitive.

EXCEPTION_ACCESS_VIOLATION

I cannot produce this error.

On ‎11‎/‎20‎/‎2017 at 3:02 PM, SlicedBread said:

Vertical Sync in the escape menu no longer works.

I cannot produce this error.

Please tell me if you still have the error after downloading the Steam update and updating your project.

 

Share this comment


Link to comment

4.5 beta, AI and events map, press F12 (fullscreen) on the perspective view, boom: EXCEPTION_ACCESS_VIOLATION.

  • Thanks 1

Share this comment


Link to comment
23 minutes ago, Olby said:

4.5 beta, AI and events map, press F12 (fullscreen) on the perspective view, boom: EXCEPTION_ACCESS_VIOLATION.

Excellent find.  I fixed the problem, no update yet.

Share this comment


Link to comment
On 22.11.2017 at 6:16 PM, shadmar said:

Launching a game 4.5 game (new project) via editor crashes, but clicking the exe directly works.

seems to be fixed.

Share this comment


Link to comment
On 22.11.2017 at 6:00 PM, shadmar said:

I cant make sphere primitive.

EXCEPTION_ACCESS_VIOLATION

I still get crash when making a sphere.

Share this comment


Link to comment

Ah I'm sorry, I meant in the Leadwerks Editor, clicking the sphere primitive from button or menu.
If you create a sphere, the editor will crash.

Share this comment


Link to comment
On ‎11‎/‎28‎/‎2017 at 12:33 PM, shadmar said:

Ah I'm sorry, I meant in the Leadwerks Editor, clicking the sphere primitive from button or menu.
If you create a sphere, the editor will crash.

Okay, I found and fixed the issue with several primitives.  Thank you for finding that.

Share this comment


Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Blog Entries

    • By Josh in Josh's Dev Blog 0
      A new update is available for beta testers.
      Terrain
      The terrain building API is now available and you can begin working with it, This allows you to construct and modify terrains in pure code. Terrain supports up to 256 materials, each with its own albedo, normal, and displacement maps. Collision and raycasting are currently not supported.
      Fast C++ Builds
      Precompiled headers have been integrated into the example project. The Debug build will compile in about 20 seconds the first run, and compile in just 2-3 seconds thereafter. An example class is included which shows how to add files to your game project for optimum compile times. Even if you edit one of your header files, your game will still compile in just a few seconds in debug mode! Integrating precompiled headers into the engine actually brought the size of the static libraries down significantly, so the download is only about 350 MB now.
      Enums Everywhere
      Integer arguments have been replaced with enum values for window styles, entity bounds, and load flags. This is nice because the C++ compiler has some error checking so you don't do something like this:
      LoadTexture("grass.dds", WINDOW_FULLSCREEN); Operators have been added to allow combining enum values as bitwise flags.
      A new LOAD_DUMP_INFO LoadFlags value has been added which will print out information about loaded files (I need this to debug the GLTF loader!).
      Early Spring Cleaning
      Almost all the pre-processor macros have been removed from the Visual Studio project, with just a couple ones left. Overall the headers and project structure have been massively cleaned up.
    • By Josh in Josh's Dev Blog 6
      An often-requested feature for terrain building commands in Leadwerks 5 is being implemented. Here is my script to create a terrain. This creates a 256 x 256 terrain with one terrain point every meter, and a maximum height of +/- 50 meters:
      --Create terrain local terrain = CreateTerrain(world,256,256) terrain:SetScale(256,100,256) Here is what it looks like:

      A single material layer is then added to the terrain.
      --Add a material layer local mtl = LoadMaterial("Materials/Dirt/dirt01.mat") local layerID = terrain:AddLayer(mtl) We don't have to do anything else to make the material appear because by default the entire terrain is set to use the first layer, if a material is available there:

      Next we will raise a few terrain points.
      --Modify terrain height for x=-5,5 do for y=-5,5 do h = (1 - (math.sqrt(x*x + y*y)) / 5) * 20 terrain:SetElevation(127 + x, 127 + y, h) end end And then we will update the normals for that whole section, all at once. Notice that we specify a larger grid for the normals update, because the terrain points next to the ones we modified will have their normals affected by the change in height of the neighboring pixel.
      --Update normals of modified and neighboring points terrain:UpdateNormals(127 - 6, 127 - 6, 13, 13) Now we have a small hill.

      Next let's add another layer and apply it to terrain points that are on the side of the hill we just created:
      --Add another layer mtl = LoadMaterial("Materials/Rough-rockface1.json") rockLayerID = terrain:AddLayer(mtl) --Apply layer to sides of hill for x=-5,5 do for y=-5,5 do slope = terrain:GetSlope(127 + x, 127 + y) alpha = math.min(slope / 15, 1.0) terrain:SetMaterial(rockLayerID, 127 + x, 127 + y, alpha) end end We could improve the appearance by giving it a more gradual change in the rock layer alpha, but it's okay for now.

      This gives you an idea of the basic terrain building API in Leadwerks 5, and it will serve as the foundation for more advanced terrain features. This will be included in the next beta.
    • By Josh in Josh's Dev Blog 1
      Here are some things I did in the last couple days to fix a computer that was basically unusable.
      It seems that Superfetch was rebranded to "SysMain" in an update and automatically re-enabled. If your computer is grinding away either the CPU or disk usage while doing nothing, this is the culprit. Disable it in Windows services.
      The XBox games bar is suspect. I recommend disabling it now that FRAPS supports Vulkan.
      Some features in Visual Studio are making it unusably slow.
      In Project settings > Link > Debugging, set "Generate Debug Info" to "DEBUG:FASTLINK" (in the debug build only) for faster linking.
      Disable these two settings in the general program Options:
      Enable Diagnostic Tools while debugging Show elapsed time PerfTip while debugging
×
×
  • Create New...