Coder Social home page Coder Social logo

jtippetts / u3dterraineditor Goto Github PK

View Code? Open in Web Editor NEW
107.0 20.0 25.0 145.14 MB

Simple terrain editor built using Urho3D.

License: MIT License

C++ 21.13% C 0.02% GLSL 26.27% CMake 34.06% HLSL 14.62% Shell 2.15% Batchfile 1.09% HTML 0.65% Makefile 0.02%
c-plus-plus terrain terrain-editor node-graph terrain-generation lua

u3dterraineditor's People

Contributors

jtippetts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

u3dterraineditor's Issues

Clear button do not works

Description: After “Clear” button presses nothing changes, terrain not cleared

image

Repro steps:

  1. Make some hills on terrain
  2. Press the “Clear” button
    Expected: Terrain was cleared
    Priority: Medium

MingW(64) build fails with undefined references

The MinGW library libsetupapi.a does not get linked properly when building with MingW/MSYS, leading to an undefined reference error at link time ( undefined reference to `__imp_SetupDiGetClassDevsA' and others).

Proposed small fix to CMakeList.txt is attached.

CMakeLists.txt

After incorrect Terrain Spacing value must error message

Description: If apply any incorrectly value to “Terrain Spacing” then user cannot mind what is wrong

Repro steps:

  1. Set “Terrain Spacing” to ‘test123’ value
    Expected: Error message like tips “ERROR: Incorrect value”
    Priority: low

“Help” do not work

Description: After press the “Help” button nothing changes
Repro steps:

  1. Press the “Help” button
    Expected: Open a help manual
    Priority: High

garbage collection in memtest.lua

The garbage collection problem seems to go away if instead of

function DoThing() local c for c=1,10000000,1 do local c=Color(1,1,1,1) end end
one does

function DoThing() local c for c=1,10000000,1 do local c=Color:new(1,1,1,1) c:delete() end end
If I replace DoThing() in this way in memtest.lua, it won't allocate large amounts of memory anymore. Wouldn't using :new and :delete heal the issue with the growing garbage collection table ?

I Really Dont Know How To Use This!

What I Can See Is White!!!
White Filled With My Screen With Some UI!
If I Use The Middle Mouse To Rotate My View,I Can See The SkyBox,And White!

The Problem Is Happened On Win10 With Dx11

In U3DTerrainEditor-master\CMake\Modules\UrhoCommon.cmake
It Was Forced To Use DX11 On WinDows Platform.
But In U3DTerrainEditor-master\bin\TerrainEditorData\LuaScripts\terraineditUIoriginal.lua
The TerrainEdit8 Technique Is Called,But There Is No TerrainEdit8.hlsl

It Was OK To Use OPENGL,But It Was Wrong To Use DX11

Unable to Build using current Urho3D HEAD library

Hi there, I have been having problems trying to build the terrain editor using a Urho3d library build from current HEAD.

When building with Visual Studio 14 I receive the following error:
Error C4716 'anl::CKernel::operator=': must return a value TEdit c:\users\user\desktop\u3dterraineditor-master\thirdparty\accidental-noise-library\vm\kernel.h 164

I replaced the accidental-noise-library with the latest one committed, but it results in further different errors:

Error LNK2019 unresolved external symbol "void __cdecl anl::RegisterANL(class asIScriptEngine *)" (?RegisterANL@anl@@YAXPAVasIScriptEngine@@@Z) referenced in function "void __cdecl LoadScriptBindings(class asIScriptEngine *)" (?LoadScriptBindings@@YAXPAVasIScriptEngine@@@Z) TEdit C:\Users\USER\Desktop\U3DTerrainEditor-master\Build\LoadBindings.obj 1

Error LNK2019 unresolved external symbol _Direct3DCreate9@4 referenced in function "private: bool __thiscall Urho3D::Graphics::CreateInterface(void)" (?CreateInterface@Graphics@Urho3D@@AAE_NXZ) TEdit C:\Users\USER\Desktop\U3DTerrainEditor-master\Build\Urho3D_d.lib(D3D9Graphics.obj) 1

Error LNK2019 unresolved external symbol _D3DCompile@44 referenced in function "private: bool __thiscall Urho3D::ShaderVariation::Compile(void)" (?Compile@ShaderVariation@Urho3D@@AAE_NXZ) TEdit C:\Users\USER\Desktop\U3DTerrainEditor-master\Build\Urho3D_d.lib(D3D9ShaderVariation.obj) 1

Error LNK1120 3 unresolved externals TEdit C:\Users\USER\Desktop\U3DTerrainEditor-master\Build\bin\TEdit_d.exe 1

Furthermore I rebuilt the Urho3d library using OpenGL selected which reduced the error down to:

Error LNK2019 unresolved external symbol "void __cdecl anl::RegisterANL(class asIScriptEngine *)" (?RegisterANL@anl@@YAXPAVasIScriptEngine@@@Z) referenced in function "void __cdecl LoadScriptBindings(class asIScriptEngine *)" (?LoadScriptBindings@@YAXPAVasIScriptEngine@@@Z) TEdit C:\Users\USER\Desktop\U3DTerrainEditor-master\Build\LoadBindings.obj 1

It is a real shame I cannot get this to work because it seems like such a wonderful tool. Perhaps there are binary files people could download somewhere, or maybe I am missing something obvious?

Crashes after “Execute” at “Build Road”, “River Builder v1.0” or “Road Builder v2.0”

Description: When user press the “Build Road”, “River Builder v1.0” or “Road Builder v2.0” editor will be closed with error:

image

Repro steps:

  1. Press the “Filters” button
  2. Choose “Build Road”
  3. Press “Execute”
    System info:
    [Fri Jul 27 00:50:03 2018] INFO: Opened log file Urho3D.log
    [Fri Jul 27 00:50:03 2018] INFO: Created 3 worker threads
    [Fri Jul 27 00:50:03 2018] INFO: Added resource path C:/Users/Sosnoed/Desktop/U3DTE/U3DTE/Data/
    [Fri Jul 27 00:50:03 2018] INFO: Added resource path C:/Users/Sosnoed/Desktop/U3DTE/U3DTE/CoreData/
    [Fri Jul 27 00:50:04 2018] INFO: Set screen mode 1920x1080 windowed monitor 0 borderless
    [Fri Jul 27 00:50:04 2018] INFO: Initialized input
    [Fri Jul 27 00:50:04 2018] INFO: Initialized user interface
    [Fri Jul 27 00:50:04 2018] INFO: Initialized renderer
    [Fri Jul 27 00:50:04 2018] INFO: Set audio mode 48000 Hz stereo interpolated
    [Fri Jul 27 00:50:04 2018] INFO: Initialized engine
    [Fri Jul 27 00:50:04 2018] INFO: Added resource path C:/Users/Sosnoed/Desktop/U3DTE/U3DTE/TerrainEditorData/
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/terraineditor.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/Utilities/Sample.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/thirdpersoncamera.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/terraineditUIoriginal.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/terrainselectui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/editingbrush.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/Class.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/editheightui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/smoothheightui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/editmaskui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/ui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/buildcomposite.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/filterui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/saveloadui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/nodegraphui.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/tableshow.lua
    [Fri Jul 27 00:50:04 2018] INFO: Loaded Lua script LuaScripts/anlnodes.lua
    [Fri Jul 27 00:50:04 2018] INFO: Executed Lua script LuaScripts/terraineditor.lua
    [Fri Jul 27 00:50:04 2018] ERROR: Could not find resource Models/Box.mdl
    D3D11
    buildroad.lua
    cavity.lua
    cliffify.lua
    erosion.lua
    flow.lua
    riverbuilder.lua
    roadbuilder2.lua
    buildroad.lua
    cavity.lua
    cliffify.lua
    erosion.lua
    flow.lua
    riverbuilder.lua
    roadbuilder2.lua
    Used mem: 3641.1416015625
    Paving Width: 5
    Segment steps: 10
    Length scale: 0.1

Priority: High

Any Binaries?

Project still active? Any binaries available somewhere?

application crashes at launch

application crashes at launch
tested on:
Win 7 64, Intel Q8400, Nvidia GT 640, Dx11
Win 7 64, Intel E8400, ATI Radeon HD 4800 Series, Dx11

untitled-1

After 0 or chars Terrain Spacing value do not apply changes

  1. After 0 or chars Terrain Spacing value do not apply changes

Description: If apply 0 or any incorrectly value to “Terrain Spacing” then other values cannot be applied to Terrain Spacing until restart editor

image

System info: resolution – 1920x1080, borderless mode
Repro steps:

  1. Set “Terrain Spacing” to 0 or ‘test123’ value
  2. Try to set any correctly value to “Terrain Spacing” (“1” for example)
    Expected: Value can be changed after set 0
    Priority: low

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.