-
Posts
32 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by bkornienko
-
-
Hello guys!
I am newbie in this Engine. I would like to ask you for help.
I set up small scene with editor where I put a camera and crawler. I have already done couple of tutorials of changing it run-time (and creating it actually runtime). But what if I want to manipulate with objects which I put on editor?
How do I do it?
And if you provide some links to resources where I can learn it deeply I would really appreciate it.
-
Nice. How about thinking to setup git repository with all this utils?
Then developer could just run all useful things from you guys just after pulling.
-
Ok this is really weird!
Leadwerks did not start because of something inside the project I am working on "codd". Renaming and running again runs Engine properly.
And... Opening map was ok. But. Renaming project back crashes Engine again.
What is wrong with it? Renaming all the time my project is not cool!
-
Alright I found the way to run Leadwerks from terminal and see the log.
But it is still do not give me any idea how to fix that crash.
Setting breakpad minidump AppID = 251810 Steam_SetMinidumpSteamID: Caching Steam ID: 76561198173041645 [API loaded no] Syncing Workshop Items... Initializing OpenGL4 graphics driver... OpenGL version 450 GLSL version 450 Device: GeForce GTX 960/PCIe/SSE2 Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Common/bfn.tex"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Editor/terraintool.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Editor/wireframe.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Editor/solid.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/default.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Editor/grid.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Lighting/ambientlight.shader"... Loading font "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Drawing/drawtext.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Drawing/drawprimitive.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/Animated/default.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Misc/occlusionquery.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/Shadow/shadow+animation.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Lighting/directionallight.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Drawing/drawimage.shader"... Loading map "/home/rapid/Documents/Leadwerks/Projects/codd/Maps/temp.map"... Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/directionallight.mat"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Editor/sprite.shader"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/directionallight.tex"... Loading model "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine01.mdl" Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-trunk.mat"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/diffuse+normal.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Vegetation/diffuse.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Vegetation/Shadow/shadow.shader"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-trunk-diff.tex"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-trunk-norm.tex"... Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-leaf-fresh.mat"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/leaves.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Vegetation/leaves.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Vegetation/Shadow/leaves.shader"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-leaf-fresh-diff.tex"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-leaf-fresh-norm.tex"... Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-branch.mat"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/diffuse+normal+alphamask.shader"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-branch-diff.tex"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine-branch-norm.tex"... Loading shape "/home/rapid/Documents/Leadwerks/Projects/codd/Models/Trees/pine01.phy"... Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/pointlight.mat"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/pointlight.tex"... Loading material "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/camera.mat"... Loading texture "/home/rapid/Documents/Leadwerks/Projects/codd/Materials/Icons/camera.tex"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/Flat/default.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Model/Shadow/shadow.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Lighting/directionallight.shader"... Loading shader "/home/rapid/Documents/Leadwerks/Projects/codd/Shaders/Lighting/pointlight.shader"... Segmentation fault (core dumped)
Any idea?
-
Hello guys!
After some pause decided to do some stuff with engine.
But launching it from steam it crashes. Only thing what it shoes is logo.
I have tried to run it from terminal but it required appID.
I am running it on x64 Ubuntu.
Any idea how to solve this issue?
Thanks.
-
You said Windows, but I think you mean Linux.
Yes. My bad. Sorry. I meant Linux.
Yes. You are right. I have only x86 arch library. But there is not x86_64 one even in steam's root directory.
Still weird that this things is working
And if I take the library away project is not compiled.
-
Working with LE C++ project under windows I am getting this error.
/usr/bin/ld: skipping incompatible ~/.steam/steam/steamapps/common/Leadwerks/Library/Linux/libsteam_api.so when searching for -lsteam_api
But the weird thing is that project successfully started and working.
Any ideas?
-
Playing around with building project for LE under Linux I have discovered that libsteam_api.so file in Project's root directory is x86.
Is there way to find x64 version of it?
Where this library came from btw?
-
Btw. Specific set of libraries for spescific compilers Like for vc10, cv12, vc14, gcc etc. Can be provided by DLC. In this case team which uses LE knows which compilers it will use. So they can download only required dlls and stuff.
Because it never hurts to learn other things
Yes. But there would not be room for real work if you will all the time learn something.
-
To provide a cmake project Josh would have to provide the Leadwerks source code, I don't think he wants to do that.
Alright. At least set of libs and cmake for supported compilers. It is much simpler then strict developer with particular version of compiler.
For instance Linux. Everything is compiled by gcc (even in CodeBlocks). Why should I learn how to use CodeBlocks if I use Eclipse or Qt for develop?
-
Speaking about compilers I have came across about several examples how to start new C++ project with LE (but have not tried it myself yet). And the thing is that LE provides ready made project (VS or CodeBlocks). But the point is I guess all logic is still in Leadwerks lib and dll files. So there is no difference actually which compiler developer will use (I might be wrong, correct me if I am). Then it is good Idea to think about CMake project which can be configured under any platform and for all popular compilers. It this case you will have to provide only Cmake project directory. And you will not have to generate all this directories in Project directory like Linux, Windows, MacOS, etc.
-
VS2015 has a lot of backwards compatibility issues that make this harder than I first thought.
I want to add my work for VS2015. I think it is great idea to support this version since it almost fully supports C++11.
Which makes easier to develop games cross platform. Since GCC supports C++11 several years.
-
That is interesting! I will take a look. Thank you.
Rick, Thank for you too.
Seems it is possible. I will dig into it deeply when start learning about programming side of LE. This topic bookmarked
-
I wonder will be it possible to assign (may be it already possible) C++ to program object behavior. As we can do it right now with Lua?
-
Hello guys.
Exploring information about LE Engine I have watched all videos on official YouTube channel and made playlist with tutorials only.
Here is link:
May be it will be useful for you.
- 2
-
try rescaling the model in tools->resize , i dont see from the screenshot if the model itself is not formed properly
Thanks I will try it out.
But main point was about missing icons on the buttons. There is not even tooltips there to understand what these button do.
P.S. Resizing does not help.
-
-
-
Since something happened when loading "Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Lighting/probe.shader"..." or something in "tutrors" prject. I have tried to move this project outside Projects folder. And LE starts ok.
And it is not fun. What would be if I had this project for a while?
I think developers should pay attention on it.
Moved my project back, and "Project Manager" does not see this project.
But at least LE started.
-
Since something happened when loading "Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Lighting/probe.shader"..." or something in "tutrors" prject. I have tried to move this project outside Projects folder. And LE starts ok.
And it is not fun. What would be if I had this project for a while?
I think developers should pay attention on it.
-
Ok, message
Gtk-Message: Failed to load module "canberra-gtk-module"fixed with
sudo apt-get install libcanberra-gtk-module:i386But it did not help.
And there appeared another error:
Gtk-Message: Failed to load module "pantheon-filechooser-module"Went through steps here: http://askubuntu.com/questions/684169/gtk-message-failed-to-load-module-pantheon-filechooser-module
Message disappeared, but (segmentation fault) message still there.
As well, added steam_appid.txt to the folder. Seems like LE fails on (or after) loading probe.shader.
... a lot of lines with initial staff and Gtk warnings ...
Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Model/Shadow/shadow.shader"...
Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Lighting/pointlight.shader"...
Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Lighting/spotlight.shader"...
Loading shader "~/Documents/Leadwerks/Projects/tutors/Shaders/Lighting/probe.shader"...
Segmentation fault (core dumped)
Any idea?
P.S. Btw, I have Elementary OS Freya.
-
Hi guys.
Just faced with problem this morning. LE fails start.
So I went to folder: ~/.steam/steam/steamapps/common/Leadwerks and run ./Leadwerks.sh
Got this error.
./Leadwerks: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directoryA bit googling and found solution here:
sudo apt-get install libgtk2.0-0:i386ldconfig -p | grep gtk and I have my library.Try again. Similar arror for openal. Try to install:
sudo apt-get install libopenal-dev:i386Seems it worked. But. Try to run again. And...
Gtk-Message: Failed to load module "pantheon-filechooser-module"
(Leadwerks:7935): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
(Leadwerks:7935): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(Leadwerks:7935): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
[s_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
Segmentation fault (core dumped)
Do you have any idea what is wrong?
Yesterday everything worked just fine.
P.S. Running from steam app just show loading title and application just disappear.
-
That is nice.
Btw. The Enter key does not work (seems like) for every input box.
You probably just do not handle this event under Linux.
-
Alright, since I am have quite a lot of issues with input by keyboard under Linux I guess I will put all the cases on this topic.
I hope developers will soon fix it.
Let's start.
1. Here is the topics ( http://www.leadwerks.com/werkspace/topic/14752-user-interface-shortcuts/ , http://www.leadwerks.com/werkspace/topic/14753-scene-editor-multiple-object-selection/ ) where I started to suggest for improvements. But since all kinds of this things does work properly under Windows I consider this issues on Linux as a bugs.
2. In a Scene editor selecting "General" for selected object. We have set of properties there (with inputs). What I expect that pressing the "Tab" key it should send me to next input box (instead on invisible control)(and I should press Tab key twice actually, what is not handy). So the order of Widgets should be corrected. Another thing there is, when I set some value and pressing "Enter" key, I expect to apply this value to the model (it is not happens).
3. Assets Tab. First of all. Scroll mouse wheel does not scroll this area with listed items.
3. Assets Tab. Search field. Inserting text in input box and pressing "Enter" key I expect to find what I entered. It is not happened. Instead, I have to press search Icon with mouse.
Sorry If I tough somewhere, but it is really basic things what would be nice to have.
P.S. System info:
OS: Elementary OS Freya, based on Ubuntu.
LE: 4.1
Here is part of "uname -a" command:
Linux 3.19.0-64-generic #72~14.04.1-Ubuntu SMP x86_64 GNU/Linux
Accessing objects in editor from C++ code
in Programming
Posted
And yeah. Also I discovered that there is Main.lua started. And what if I want to run my C++ code when push "Play" button in editor?