Jump to content

2.4 terrain painting error


gordonramp
 Share

Recommended Posts

Hi, Is anyone else getting an error like this.. When I create a terrain and select a base texture it applies fine but when I select a second texture and attempt to spot apply it, I get a 'Windows exception access violation' error on Mouse Up and the Editor crashes.?

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

I guess no-one else has noticed this. It's definitely an error. Other versions don't have the same issue. My system is very standard so that means version 2.4 is unusable for me. I must say, this does not inspire much confidence for the upcoming version 3.0. I expect it will be buggy also. :o

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

Hi Aggror,

Here is the Editor Log... something amiss with the shader perhaps.

 

I have a clean install of the LESDK 2.4.

Latest Nvidia drivers

No other versions of the LESDK on the drive.

 

Leadwerks Engine 2.40
Initializing Renderer...
OpenGL Version: 3.2.0
GLSL Version: 1.50 NVIDIA via Cg compiler
Render device: GeForce 9800 GT/PCI/SSE2/3DNOW!
Vendor: NVIDIA Corporation
DrawBuffers2 supported: 1
32 texture units supported.
GPU instancing supported: 1
Max batch size: 64
Shader model 4.0 supported: 1
Conditional render supported: 0
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//query.vert", ""...
Invoking script "C:/Leadwerks Engine SDK/Scripts/start/collisions.lua"...
Invoking script "C:/Leadwerks Engine SDK/Scripts/start/fliphook.lua"...
Invoking script "C:/Leadwerks Engine SDK/Scripts/start/globals.lua"...
Loading shader "", "incbin::../../TerrainColorAndLight.frag"...
Loading shader "", "incbin::../../TerrainColorAndLight.frag"...
Loading texture "c:/leadwerks engine sdk/models/entities/light/directional/light_directional_icon.dds"...
Loading model "c:/leadwerks engine sdk/models/entities/light/directional/light_directional.gmf"...
Loading mesh "c:/leadwerks engine sdk/models/entities/light/directional/light_directional.gmf"...
Loading material "c:/leadwerks engine sdk/materials/effects/invisible.mat"...
Loading script "c:/leadwerks engine sdk/models/entities/light/directional/light_directional.lua"...
Creating class light_directional
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/clearcolor.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//guide.vert", "zip::c:/leadwerks engine sdk/shaders.pak//editor/guide.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//pointentity.vert", "zip::c:/leadwerks engine sdk/shaders.pak//pointentity.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//guide.vert", "zip::c:/leadwerks engine sdk/shaders.pak//editor/grid.frag"...
Loading shader "incbin::../../selection.vert", "incbin::../../selection.frag"...
Loading texture "incbin::noise.dds"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//lighting/directionallight.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/presets/postfilter_bloom_hdr.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/bloomblurx.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/bloomblury.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/depthblit.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/postfilter.vert", "zip::c:/leadwerks engine sdk/shaders.pak//postfilters/irisadjustmentblend.frag"...
Loading texture "incbin::Arial9.dds"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//editor/generic.vert", "zip::c:/leadwerks engine sdk/shaders.pak//editor/sobel.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain_flat.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Warning: Uniform "layerblend" does not exist in shader.
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Warning: Uniform "layerblend" does not exist in shader.
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//editor/terraintool.vert", "zip::c:/leadwerks engine sdk/shaders.pak//editor/terrainguide.frag"...
Loading texture "incbin::../../terraintool.dds"...
Loading texture "c:/leadwerks engine sdk/materials/terrain/desert/terrain_desert_rocksand.dds"...
Loading texture "c:/leadwerks engine sdk/materials/terrain/desert/terrain_desert_rocksanddot3.dds"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain_flat.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Loading texture "c:/leadwerks engine sdk/materials/terrain/desert/terrain_desert_sandrippled.dds"...
Loading texture "c:/leadwerks engine sdk/materials/terrain/desert/terrain_desert_sandrippleddot3.dds"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain_flat.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.vert", "zip::c:/leadwerks engine sdk/shaders.pak//terrain/terrain.frag"...
Loading shader "zip::c:/leadwerks engine sdk/shaders.pak//editor/generic.vert", "zip::c:/leadwerks engine sdk/shaders.pak//editor/terraintool.frag"...
Warning: Uniform "flattenheight" does not exist in shader.
Warning: Uniform "heightmapsize" does not exist in shader.
Warning: Uniform "imagesize" does not exist in shader.

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

Hi diedr,

Just updated again. There was a change to the Editor but it hasn't made any difference. Still the same error on Mouse Up. So I did a clean install to another computer. Similar video card but running XP instead of Windows 7. Same result. :o

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

No, It's a clean install. Just what arrives from Josh. None of my stuff at all. I've tried the SDK in C:\ and in C:\Program Files. The default download is to

C:\Leadwerks Engine SDK so that's where I've been mainly testing it. The examples work fine but I'm unable to use the Editor to paint a new terrain.

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

Thanks Michael. This is rather frustrating. I can only assume that there is a bug for my particular Video card. I could go back to a previous version. Not sure how to proceed at the moment.

AMD Athlon x2 7750 2.7ghz, 6gb ddr2 ram, Galaxy9800GT 1gig ddr2 video card, Windows 7,64.

Link to comment
Share on other sites

Hey Aggror , i also have nVidia (8800GT), im running win7 32bit.

 

Ive tried running it in full screen or windowed mode and still get the same error.

 

Not to fussed at the moment as im not using LWE a great deal.

 

Just thought i would try and help Gordon out :)

 

Thanks

Gimpy73 :blink:

Link to comment
Share on other sites

Actually along with this new editor, I get the same crash as gordon does with mouse up on painting the terrain... along with my script not changing a material texture via the property dialog. If I use the editor from 7/31/10, then everything works fine.

 

So I guess the question is: What was the latest change that Josh made to the editor? because whatever it was it farked ****e up...

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

where is this? and in any case this is something thats changed since 2.4 came out. Like I said, if I use the editor that you can currently download for 2.4, terrain painting and my scripts fail. If I use the editor that came with the original 2.4 download, everything works correctly.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

if i replace the current editor with the editor from July it works just fine... :P

 

 

Yeah .. I know that face.

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

also, something else thats been added to the 2.4 editor is now when the Show Physics option is turned on the physics body for the terrain is showing. Only problem is that it drops the fps to single digits making the editor basically useless. Before 2.4, turning on the Show Physics just applied to everything except the terrain, which actually made it a useable option.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   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.

 Share

×
×
  • Create New...