NodeBoxEditor [0.9.0] - Zooming, dynamic snap res

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

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

by mimilus » Tue Apr 22, 2014 07:36

Hi

Is there a build for the last version on Ubuntu ?

Don't see it on your dropbox
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Tue Apr 22, 2014 14:26

Ignore that notice. Pretty self explained.

Build it yourself.
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

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

by mimilus » Tue Apr 22, 2014 16:30

Ok from github
thx
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

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

by mimilus » Thu Apr 24, 2014 20:36

0.6.2 Stone Version seems to crash with more than 50 nodes :(
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Thu Apr 24, 2014 20:40

mimilus wrote:.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.
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

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

by mimilus » Thu Apr 24, 2014 21:39

Ok thank's

Maybe you could put this info in the readme file.
 

User avatar
mimilus
Member
 
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus

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

by mimilus » Fri Apr 25, 2014 11:44

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 :)
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

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

by Amaz » Fri Apr 25, 2014 15:31

Hm. When I compile it, after linking the executable it gives me this error:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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.
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

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

by ShadowNinja » Fri Apr 25, 2014 15:39

I had this issue a while back too. I added this to CMakeLists.txt:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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}
 )
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

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

by Amaz » Fri Apr 25, 2014 15:47

That worked. Thanks!
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

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

by Calinou » Fri Apr 25, 2014 17:39

I still get this when trying to run it from any directory, on Xubuntu 14.04 :
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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”.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Fri Apr 25, 2014 18:06

mimilus wrote:.6.2 Stone Version seems to crash with more than 50 nodes :(


The editor now has unlimited node boxes, thanks to ShadowNinja.

Commit 685c072
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Fri Apr 25, 2014 18:28

Calinou wrote:I still get this when trying to run it from any directory, on Xubuntu 14.04 :
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
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:

 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Mon May 26, 2014 19:48

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.
Last edited by rubenwardy on Tue May 27, 2014 17:35, edited 1 time in total.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Tue May 27, 2014 17:33

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
 

User avatar
webdesigner97
Member
 
Posts: 1307
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97

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

by webdesigner97 » Tue May 27, 2014 20:18

Sound great! /me downloads
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

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

by philipbenr » Tue May 27, 2014 23:19

Cool. Will do Rubenwardy.

Pretty word .... infinity .... good marketing language.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Wed May 28, 2014 07:28

'Unlimited' wouldn't fit in the title...
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

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

by TG-MyinaWD » Wed May 28, 2014 18:21

Hey rubenwardy is it, ok I can Create and run a site for this Nodebox Editor of yours? Maybe have it called Nodebox MT Center. Where people can share Unlimited, amount of there Nodeboxs? and upload there .nbe's.

But anyways here I just made today.
It Version 1 of Dragon Egg. Using MT Default Obsidian Textures.
Dragon_Egg_V1.png
Dragon Egg V1
Dragon_Egg_V1.png (313.57 KiB) Viewed 2417 times
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Wed May 28, 2014 20:16

Alt. Testor wrote:Hey rubenwardy is it, ok I can Create and run a site for this Nodebox Editor of yours? Maybe have it called Nodebox MT Center. Where people can share Unlimited, amount of there Nodeboxs? and upload there .nbe's.

But anyways here I just made today.
It Version 1 of Dragon Egg. Using MT Default Obsidian Textures.
Dragon_Egg_V1.png

You are welcome to. I would love to see such a site XD
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

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

by philipbenr » Wed May 28, 2014 22:48

Same. I discontinued my other website that had a modmaker... Oh well. I hope this will be a success.
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

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

by TG-MyinaWD » Thu May 29, 2014 14:40

I am still designing the Website and adding a Forum and other such but...
You can visit now :) just click on the link in my signature. and yeah I gave you a notice on, it too so everyone visit the site knows who built it, and such plus I did a button you can click to go to this topic.

So got any requests? then use the contact page. or just pm me.
Here the link: Minetest Nodebox Center

Oh and if you don't like add your Minetest Forum name or don't have one just use "NULL".
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Tue Jun 17, 2014 19:28

Added support for Minetest Classic. Only available with a latest build (the Windows build does not include it).

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
void content_nodebox_stair(ContentFeatures *f)
{
      f->setNodeBox(core::aabbox3d<f32>(
            -0.5*BS,
            -0.5*BS,
            -0.5*BS,
             0.5*BS,
             0,
             0.5*BS
      ));

      f->addNodeBox(core::aabbox3d<f32>(
            -0.5*BS,
             0.,
             0.,
             0.5*BS,
             0.5*BS,
             0.5*BS
      ));
}
 

User avatar
darkrose
Member
 
Posts: 91
Joined: Mon Jun 04, 2012 04:25

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

by darkrose » Wed Jun 18, 2014 12:49

rubenwardy wrote:Added support for Minetest Classic.

Yey!

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
void content_nodebox_stair(ContentFeatures *f)
{
      f->setNodeBox(core::aabbox3d<f32>(
            -0.5*BS,
            -0.5*BS,
            -0.5*BS,
             0.5*BS,
             0,
             0.5*BS
      ));

      f->addNodeBox(core::aabbox3d<f32>(
            -0.5*BS,
             0.,
             0.,
             0.5*BS,
             0.5*BS,
             0.5*BS
      ));
}

This is awesome. :)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Wed Jun 18, 2014 19:33

Added support for make install



If you receive an error like "no rules for make target install", then you are not following the cmake step currently. You must use -DRUN_IN_PLACE=0

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
# Download source and go to the root folder
$ sudo apt-get install build-essential libirrlicht-dev cmake libpng12-dev libbz2-dev libjpeg8-dev libgl1-mesa-dev

# Compile and Install
$ cmake . -DRUN_IN_PLACE=0     # THIS IS IMPORTANT!
$ make -j2
$ sudo make install

# Run
$ nodeboxeditor
Last edited by rubenwardy on Thu Jun 19, 2014 13:56, edited 2 times in total.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

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

by Amaz » Thu Jun 19, 2014 10:41

This doesn't work for by default, with the media folder in the NBE directory. I have to have the media folder in the bin directory for it to work. (Latest from Github.)
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

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

by rubenwardy » Thu Jun 19, 2014 10:43

Please read the instructions.

You should run it by clicking run_script.sh in the root folder, typing $ ./bin/nodeboxeditor or move nodeboxeditor to the root folder.

Future versions will fix this automatically.
 

Amaz
Member
 
Posts: 328
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

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

by Amaz » Thu Jun 19, 2014 11:53

Right. Didn't read the instructions... Thought it would be the same! Thanks! I really should read instructions.
And I really like the way that new nodeboxes (Is that the right plural?!) start off as a full node. Great work.
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

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

by JPRuehmann » Thu Jun 19, 2014 12:35

Hello
sudo make install
is not working.
sudo make install
make: *** Keine Regel, um »install« zu erstellen. Schluss.
where wil it be installed to?
/usr/local/bin with root:root rw-,r--,r-- would be correct I think.
where should be the editor.conf file go?
I think ~/.local, ~/.config, ~/.nodeboxeditor or something like that would be propper.
Thanks,
JPR
 

User avatar
JPRuehmann
Member
 
Posts: 334
Joined: Fri Mar 21, 2014 21:40

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

by JPRuehmann » Thu Jun 19, 2014 12:38

Ups, forgot the execute rights.
should be rwx,r-x,r-x
sorry,
JPR
 

PreviousNext

Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 8 guests

cron