Leadwerks Engine beta 0.1.8

Community Forums/Showcase/Leadwerks Engine beta 0.1.8

JoshK(Posted 2006) [#1]
I completely replaced the physics system. Player movement and pushing feels smoother, and the player will slide down any slope steeper than 45.0 (this value can be adjusted). The player does not yet climb stairs.

Press "s" to toggle statistics.
Press "v" to toggle vertical sync.
Press "w" to toggle wireframe.
No external drivers are required.

http://www.leadwerks.com/files/engine0.1.8.zip




TartanTangerine (was Indiepath)(Posted 2006) [#2]
FX5200Ultra :(



JoshK(Posted 2006) [#3]
It's a problem with the shaders. I'm going to focus on physics right now, but I will do some more testing after that and make sure the shaders are all worked out before releasing the final thing.


fredborg(Posted 2006) [#4]
Good idea, because after loading the vertex shader it just closes down on my machine :)


Naughty Alien(Posted 2006) [#5]
I got same result as Indiepath on my nVidia FX5600


jfk EO-11110(Posted 2006) [#6]
The 45 degree sliding stuff sounds good. (Note to myself - rip idea) well seriously this is known since lara crofts first release. Noless useful.


josk(Posted 2006) [#7]
Works fine here, 7800gtx. Latest drivers etc.

The slides good, Cant climb up the stairs in ths one though.


Moraldi(Posted 2006) [#8]
Not worked. I am getting errors in log.txt for missing textures... and then Stopping engine, Stopping physics


JoshK(Posted 2006) [#9]
Moraldi, what GFX card?

Is the FX older or newer than the GEForce 7800?

If you are having problems, please post the contents of your program log (log.txt).


Dustin(Posted 2006) [#10]
@Moraldi: did you unzip the files into their proper directories?

The physics system is great. The crates feel very real when then land and bounce just slightly. Also, I enjoyed pushing them under the deck and watching them fall into shadow in realtime.

Looking forward to putting this engine to use on my next game. Now about those funky window reflections...


puki(Posted 2006) [#11]
I got the problem "Moraldi" did - I unpacked the file, then double clicked the Engine.exe. The directories appear to have unpacked correctly.

Initializing engine...
Leadwerks 3D Engine Version 0.1.8
OpenGL version 2.0.6067 WinXP Release
OpenGL vendor: ATI Technologies Inc.
OpenGL render device: RADEON X800 XL x86/MMX/3DNow!/SSE2
OpenGL extensions supported:
GL_ARB_texture_non_power_of_two: 0
GL_EXT_texture_filter_anisotropic: 1
GL_ARB_texture_compression: 1
WGL_ARB_multisample: 1
GL_EXT_secondary_color: 1
wglSwapIntervalEXT: 1
GL_ARB_multitexture: 1
Vertex buffer objects: 1
Max texture size: 2048
Max cubemap size: 2048
Max texture units: 8
Max shader texture units: 16
Max multisample: 4
Max anisotropy: 16
Max clip planes: 6
Max lights: 8
Shadows supported: 1
Loading Plugins...
Loading plugin "smf.dll"...
Loading plugin "stf.dll"...
Loading plugin "textureformats.dll"...
Loading plugin "vtf.dll"...
Loading materials...
Loading models...
Loading sounds...
Sorting media...
<Error>: Missing texture "dev\skybox"
Engine initialized successfully
<Error>: Missing texture "sprites\camera"
Loading world "maps\example.3dw"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
<Error>: Missing texture "dev\caulk"
Loading object "meshreference"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "mesh"...
Loading model "props_physics\crate"...
<Error>: Missing texture group "packingcrate"
<Error>: Missing texture "packingcrate\packingcrate_diff"
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Initializing physics...
Newton version 1.53
Physics initialized successfully.
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "lightmap"...
Loading object "brush"...
Loading texture "concrete\concretefloor01d"...
Loading object "brush"...
Loading material "building_template\building_template02b"...
Loading texture "building_template\building_template02b_a"...
Loading vertex shader "C:/DOWNLOAD STORE/BLITZ STUFF/engine0.1.8/Materials/shaders/default.vert"...
Stopping engine...
Stopping physics...



puki(Posted 2006) [#12]
Actually, there is no 'sprites' directory and the sound one is empty.


JoshK(Posted 2006) [#13]
There are some missing textures, but they aren't necessary.

I am using someone else's shader compiler code, and I should really just pull the bits out I need and do it myself. I think the problem is happening when it tries to compile the shader, but I need to handle shaders directly myself, so I can get some better error reporting/prevention. If the shader fails to compile, the engine should just skip it, but I think it is causing a crash here.


Moraldi(Posted 2006) [#14]
My GFX card is RADEON X1800XT and I don't know if its newer or older from GEForce 7800 (I bought it just 1 year before)
Dustin : Is there any specific way ? I just unziped the file using Extract here... command. The directory structure is:
e:\downloads
|_____Engine.exe
|_____Bin [folder]
|_____Maps [folder]
|_____Materials [folder]
|_____Models [folder]
|_____Plugins [folder]
|_____Sound [folder]

my log.txt is:

Initializing engine...
Leadwerks 3D Engine Version 0.1.8
OpenGL version 2.0.6174 WinXP Release
OpenGL vendor: ATI Technologies Inc.
OpenGL render device: Radeon X1800 Series x86/MMX/3DNow!/SSE2
OpenGL extensions supported:
GL_ARB_texture_non_power_of_two: 0
GL_EXT_texture_filter_anisotropic: 1
GL_ARB_texture_compression: 1
WGL_ARB_multisample: 1
GL_EXT_secondary_color: 1
wglSwapIntervalEXT: 1
GL_ARB_multitexture: 1
Vertex buffer objects: 1
Max texture size: 4096
Max cubemap size: 4096
Max texture units: 8
Max shader texture units: 16
Max multisample: 4
Max anisotropy: 16
Max clip planes: 6
Max lights: 8
Shadows supported: 1
Loading Plugins...
Loading plugin "smf.dll"...
Loading plugin "stf.dll"...
Loading plugin "textureformats.dll"...
Loading plugin "vtf.dll"...
Loading materials...
Loading models...
Loading sounds...
Sorting media...
<Error>: Missing texture "dev\skybox"
Engine initialized successfully
<Error>: Missing texture "sprites\camera"
Loading world "maps\example.3dw"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
<Error>: Missing texture "dev\caulk"
Loading object "meshreference"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "mesh"...
Loading model "props_physics\crate"...
<Error>: Missing texture group "packingcrate"
<Error>: Missing texture "packingcrate\packingcrate_diff"
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Initializing physics...
Newton version 1.53
Physics initialized successfully.
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "lightmap"...
Loading object "brush"...
Loading texture "concrete\concretefloor01d"...
Loading object "brush"...
Loading material "building_template\building_template02b"...
Loading texture "building_template\building_template02b_a"...
Loading vertex shader "E:/Downloads/Materials/shaders/default.vert"...
Stopping engine...
Stopping physics...




josk(Posted 2006) [#15]
The FX is older than the geforce 7800, which came out around the same time or just before the RADEON X1800XT.


IPete2(Posted 2006) [#16]
Josh,

I had the same problem, it doesn't run...

IPete2.


JoshK(Posted 2006) [#17]
Pete, does it also quit after attempting to load the vertex shader?


IPete2(Posted 2006) [#18]
Yes,

Removing the contents of the shaders folder (inside materials) and ensuring that the OpenAL installer has been run makes for a cleaner log.txt

IPete2.


Odds On(Posted 2006) [#19]
Also didn't run here until I deleted the contents of the materials/shaders/ folder.. physics and collision detection are looking very nice! Everything seems to work smoothly on my ATI Radeon 9250 :p


NobodyInParticular(Posted 2006) [#20]
Works fine for me...


JoshK(Posted 2006) [#21]
Thanks for testing, everyone. I worked out the stair-stepping, and I will refine the shader compiler before I release this. Before I added shaders, the engine was working on everything, so I just need to go back and check through the shader code more carefully.

This one fixes the stair-stepping. I didn't make any changes to the renderer:
http://www.leadwerks.com/files/engine0.2.0.zip


Grisu(Posted 2006) [#22]
Not starting here...


Initializing engine...
Leadwerks 3D Engine Version 0.2.0
OpenGL version 2.0.6232 WinXP Release
OpenGL vendor: ATI Technologies Inc.
OpenGL render device: RADEON X850 XT Platinum Edition x86/MMX/3DNow!/SSE2
OpenGL extensions supported:
GL_ARB_texture_non_power_of_two: 0
GL_EXT_texture_filter_anisotropic: 1
GL_ARB_texture_compression: 1
WGL_ARB_multisample: 1
GL_EXT_secondary_color: 1
wglSwapIntervalEXT: 1
GL_ARB_multitexture: 1
Vertex buffer objects: 1
Max texture size: 2048
Max cubemap size: 2048
Max texture units: 8
Max shader texture units: 16
Max multisample: 4
Max anisotropy: 16
Max clip planes: 6
Max lights: 8
Shadows supported: 1
Loading Plugins...
Loading plugin "smf.dll"...
Loading plugin "stf.dll"...
Loading plugin "textureformats.dll"...
Loading plugin "vtf.dll"...
Loading materials...
Loading models...
Loading sounds...
Sorting media...
<Error>: Missing texture "dev\skybox"
Engine initialized successfully
<Error>: Missing texture "sprites\camera"
Loading world "maps\example.3dw"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
<Error>: Missing texture "dev\caulk"
Loading object "meshreference"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "mesh"...
Loading model "props_physics\crate"...
<Error>: Missing texture group "packingcrate"
<Error>: Missing texture "packingcrate\packingcrate_diff"
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Initializing physics...
Newton version 1.53
Physics initialized successfully.
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "lightmap"...
Loading object "brush"...
Loading texture "concrete\concretefloor01d"...
Loading object "brush"...
Loading material "building_template\building_template02b"...
Loading texture "building_template\building_template02b_a"...
Loading vertex shader "E:/t/Materials/shaders/default.vert"...
Stopping engine...
Stopping physics...




Wings(Posted 2006) [#23]
Strangly not working for me.
Opens and closed widout errors.. heres txt file.

Initializing engine...
Leadwerks 3D Engine Version 0.2.0
OpenGL version 1.5.4454 WinXP Release
OpenGL vendor: ATI Technologies Inc.
OpenGL render device: RADEON X800 PRO x86/SSE2
OpenGL extensions supported:
GL_ARB_texture_non_power_of_two: 0
GL_EXT_texture_filter_anisotropic: 1
GL_ARB_texture_compression: 1
WGL_ARB_multisample: 1
GL_EXT_secondary_color: 1
wglSwapIntervalEXT: 1
GL_ARB_multitexture: 1
Vertex buffer objects: 1
Max texture size: 2048
Max cubemap size: 2048
Max texture units: 8
Max shader texture units: 16
Max multisample: 4
Max anisotropy: 16
Max clip planes: 6
Max lights: 8
Shadows supported: 0
Loading Plugins...
Loading plugin "smf.dll"...
Loading plugin "stf.dll"...
Loading plugin "textureformats.dll"...
Loading plugin "vtf.dll"...
Loading materials...
Loading models...
Loading sounds...
Sorting media...
<Error>: Missing texture "dev\skybox"
Engine initialized successfully
<Error>: Missing texture "sprites\camera"
Loading world "maps\example.3dw"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
Loading object "material"...
<Error>: Missing texture "dev\caulk"
Loading object "meshreference"...
Loading object "group"...
Loading object "group"...
Loading object "group"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "visgroup"...
Loading object "mesh"...
Loading model "props_physics\crate"...
<Error>: Missing texture group "packingcrate"
<Error>: Missing texture "packingcrate\packingcrate_diff"
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Initializing physics...
Newton version 1.53
Physics initialized successfully.
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "mesh"...
<Error>: Missing texture "sfx\gradient"
<Error>: Missing texture "sprites\spotlight"
Loading object "lightmap"...
Loading object "brush"...
Loading texture "concrete\concretefloor01d"...
Loading object "brush"...
Loading material "building_template\building_template02b"...
Loading texture "building_template\building_template02b_a"...
Loading vertex shader "C:/Documents and Settings/Administrator/Local Settings/Temp/engine0.2.0/Materials/shaders/default.vert"...
Loading fragment shader "C:/Documents and Settings/Administrator/Local Settings/Temp/engine0.2.0/Materials/shaders/default.frag"...
Stopping engine...
Stopping physics...


OJay(Posted 2006) [#24]
works ok on my desk, but you definitly should rework your frame counter ;)
i always get either 333.0000000, 500.0000000 or 1000.00000000 fps changing every some ms, regardless of what im doing or looking at...


Grisu(Posted 2006) [#25]
Seems as the engine dislikes ATI-Cards a lot... ;)


Panno(Posted 2006) [#26]
well firstversion runs ok here

with version 2 free-av say "heur/crypt virus "

test it and works fine here

110 fps down to 30 fps


Grisu(Posted 2006) [#27]
I also get the "heur/crypt virus" warning! :(

BEWARE IF YOU TEST THIS!


JoshK(Posted 2006) [#28]
It's a false alarm. This isn't infected with anything.


puki(Posted 2006) [#29]
I didn't find any infection - I use NOD32.


JoshK(Posted 2006) [#30]
I got compound physics objects working...this is some of the most fun programming I have ever done:



JoshK(Posted 2006) [#31]
Physics are done, for the first release. I have compound rigid bodies, ropes, and player controls. The ropes are created using entities, and have parameters for the number of segments in the rope, and the amount of slack, so you can do some pretty interesting things with them:



JoshK(Posted 2006) [#32]
Trying out some volumetric lighting effects:



Ross C(Posted 2006) [#33]
Looking good man.


JoshK(Posted 2006) [#34]
It's fun when I get to actually use the engine and make something with it. I have added many features because I needed some little effect or something in this scene:



Wiebo(Posted 2006) [#35]
REALLY nice! well done


jfk EO-11110(Posted 2006) [#36]
looks nice. what methods are you using for the vol light? seems to me the bulb is not useing the same as the windows.


Steve Elliott(Posted 2006) [#37]
Very impressive.


puki(Posted 2006) [#38]
It's all too much excitement for me.

This is going to be ready for early in 2007.

Just a shame it isn't fantasy/medieval RPG stuff though - god, I'd burst my large if it was.


Leiden(Posted 2007) [#39]
god, I'd burst my large if it was.

Run for the hills...

Anyway- this is freaking amazing. Yeah having a scene working in your own engine, being able to add to your engine, fully understand how it all works... Man thats priceless.