I would like to refresh the dat.gui menu with new values. I have loaded a model and display in folder the name of the objects inside a gui folder.
How can I display the new
Basically, you have to set the controllers to "listen" for input when you add them, for example,
gui = new dat.GUI();
var guiX = gui.add( parameters, 'x' ).min(0).max(200).listen();
For documentation, see:
http://workshop.chromeexperiments.com/examples/gui/#9--Updating-the-Display-Automatically
For an example of this in Three.js, see:
http://stemkoski.github.io/Three.js/GUI-Controller.html