Page 9 of 18

Posted: Sat Apr 05, 2014 07:59
by mimilus
Krock wrote:
mimilus wrote:Hello

Could you add a texture selector ?
Textures are set in the node definition, in Lua.

Code: Select all

minetest.register_node("my:nodebox", {
    description = "My Nodebox",
>>>>tiles = {"default_wood.png"},
    drawtype = "nodebox",
    paramtype = "light",
    node_box = {
        type = "fixed",
        fixed = {
            --NodeBox1,2,3,4...
        }
    },
I was thinking that you could put textures you want to use in media and after have a toolbox in node editor to switch beetween them for see the result

Posted: Sat Apr 05, 2014 13:39
by rubenwardy
The Texture tool is on the to do list. You will be able to make textures with pencils inside the editor.

Currently you have to do it in the lua file, as Krock said.

Posted: Sat Apr 05, 2014 13:53
by mimilus
rubenwardy wrote:The Texture tool is on the to do list. You will be able to make textures with pencils inside the editor.

Currently you have to do it in the lua file, as Krock said.
Ok that's cool !!!!

Posted: Sat Apr 05, 2014 16:25
by rubenwardy

0.6.3 Released!

GitHub - Windows

Features
  • Multinode
  • Mode icons
  • Rotate perspective with arrow keys.
Todo
  • Link nodes together (ie: doors)
  • Navigate the platform
  • Nodebox Textures
  • Texture tool
  • Lua custom node box draw types (spheres, cylinders, etc)

Posted: Thu Apr 10, 2014 13:25
by rubenwardy

Bugs and stuff

I have been told about some major bugs with the editor.
You can't delete nodes, and the editor goes weird when two nodeboxes on a node are named the same.

I am working on fixing these.

Posted: Thu Apr 10, 2014 14:15
by rubenwardy
The node delete bug has been fixed.

The best way to solve the naming of nodeboxes is to change the name of the only one you can select to something else, so you can change the name of the other. I will fix this later, and issue a windows build. I will also check Linux building fully. (some people are having issues.)

EDIT: 2000th post!

Posted: Thu Apr 10, 2014 22:45
by philipbenr
rubenwardy wrote:EDIT: 2000th post!
Nobody likes you. -.-

JK.

Also, what do you mean the naming of nodeboxes? I never had anything like that happen...

Posted: Thu Apr 10, 2014 22:52
by rubenwardy
Create two nodeboxes.:

Node box 1
Node box 2

Delete number 1.
Add another node box.
You will now have two called 'node box 2: try selecting them both, only one will work.

Posted: Sun Apr 13, 2014 01:49
by TheNodeboxer
Best Tool Ever!
I love using it lots.
I am using it make loads of things.

Right now using make Real Life Stuff.
Like, Chairs, Tables, And Other stuff. Plus the 8 Looking Bricks.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Tue Apr 22, 2014 04:57
by ZachyGames
"Nodeboxeditor_0_6_3....zip is not commonly downloaded and could be dangerous"

What the...

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Tue Apr 22, 2014 07:36
by mimilus
Hi

Is there a build for the last version on Ubuntu ?

Don't see it on your dropbox

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Tue Apr 22, 2014 14:26
by rubenwardy
Ignore that notice. Pretty self explained.

Build it yourself.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Tue Apr 22, 2014 16:30
by mimilus
Ok from github
thx

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Thu Apr 24, 2014 20:36
by mimilus
0.6.2 Stone Version seems to crash with more than 50 nodes :(

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Thu Apr 24, 2014 20:40
by rubenwardy
mimilus wrote:0.6.2 Stone Version seems to crash with more than 50 nodes :(
That is a current limitation. The array that holds the node boxes in each node is only 50 cells big.

To increase that, look for something like this

#define nodeb_max 50

In src/common.h. increase 50 to 100, and recompile.

If you can't compile, then you will have to wait until I add support for unlimited node boxes.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Thu Apr 24, 2014 21:39
by mimilus
Ok thank's

Maybe you could put this info in the readme file.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 11:44
by mimilus
Hi again

Is it possible to modify the size of the grid for the snapping ?, in the source code.

Just found it.

Thx for the comments in the source code :)

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 15:31
by Amaz
Hm. When I compile it, after linking the executable it gives me this error:

Code: Select all

Linking CXX executable bin/nodeboxeditor
/usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/libIrrlicht.a(CIrrDeviceLinux.o): undefined reference to symbol 'XF86VidModeGetGamma'
/usr/bin/ld: note: 'XF86VidModeGetGamma' is defined in DSO /usr/lib/i386-linux-gnu/libXxf86vm.so.1 so try adding it to the linker command line
/usr/lib/i386-linux-gnu/libXxf86vm.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [bin/nodeboxeditor] Error 1
make[1]: *** [CMakeFiles/NodeBoxGenerator.dir/all] Error 2
make: *** [all] Error 2
Any ideas on how to fix it? I'm compiling on Ubuntu.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 15:39
by ShadowNinja
I had this issue a while back too. I added this to CMakeLists.txt:

Code: Select all

@@ -11,16 +11,21 @@ find_package(OpenGL REQUIRED)
 find_package(JPEG REQUIRED)
 find_package(BZip2 REQUIRED)
 find_package(PNG REQUIRED)
+find_library(XXF86VM_LIBRARY Xxf86vm)
@@ -45,12 +50,11 @@ target_link_libraries(
        ${JPEG_LIBRARIES}
        ${BZIP2_LIBRARIES}
        ${PNG_LIBRARIES}
+       ${XXF86VM_LIBRARY}
 )

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 15:47
by Amaz
That worked. Thanks!

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 17:39
by Calinou
I still get this when trying to run it from any directory, on Xubuntu 14.04 :

Code: Select all

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
I patched CMakeLists.txt, ran a “cmake .”, a “make clean” then a “make -j8”.

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 18:06
by rubenwardy
mimilus wrote:0.6.2 Stone Version seems to crash with more than 50 nodes :(
The editor now has unlimited node boxes, thanks to ShadowNinja.

Commit 685c072

Re: [Editor] Node Box Editor [0.6.3 -!- multiple nodes]

Posted: Fri Apr 25, 2014 18:28
by rubenwardy
Calinou wrote:I still get this when trying to run it from any directory, on Xubuntu 14.04 :

Code: Select all

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
I patched CMakeLists.txt, ran a “cmake .”, a “make clean” then a “make -j8”.
Can you see what happens if you apply the cmakelists.txt fix above, by ShadowNinja?

Reading these resource to see what has happened:

Re: [Editor] Node Box Editor [0.6.4 -!- bug fixes]

Posted: Mon May 26, 2014 19:48
by rubenwardy

0.6.4 released!

Windows Build - GitHub


Lots of bugs have been fixed. If you find any more bugs, then comment on this topic, or make an issue on github. Or send me a PM.

I would like to see videos of people using this editor, so I can see how to improve it.

ShadowNinja has been a real hero in this version. Thank you very much.

New Features
  • Keyboard short cuts
  • Unlimited node boxes per node (ShadowNinja)
  • Add default nodebox when creating a new node
Bug Fixes
  • Fixed snapping, added possibility for custom grids in the future.
  • Fixed node deleting bug.
  • Fixed node deleting bug again.
  • Fixed node box naming collisions.
  • Fixed multiple saving and opening bugs when there is more than one node.
  • Fixed handle offset error.
  • Fixed XXF86VM build failure (ShadowNinja)
  • Temporarily fixed top viewport handle offset.
  • Fixed properties side bar.
  • Fixed name in properties side bar, node box mode.
Other
  • Don't load icons multiple times (ShadowNinja)
  • Massive amounts of refactoring (ShadowNinja)
  • Fixed coding style
  • Use std::string and std::list instead of the irrlicht versions (ShadowNinja)
^ Contributions were made by me, rubenwardy, unless otherwise stated.

Re: [Editor] Node Box Editor [0.6.4] - infinite boxes, bug f

Posted: Tue May 27, 2014 17:33
by rubenwardy

New build!

There were several small bugs in 0.6.4, so I have fixed them as part of 0.6.4
The changelog for this has been added to the change log of 0.6.4.

It is highly recommended you update.

Windows Build