I need to pick objects by clicking on them and a pop-up non modal dialog to display info about the object. It works as it should, however if the user clicks on any GUI item , including the dialog, and there is an object behind, the three js object…
I can't make it including a dat.GUI element in my project.
Even placing a
var gui = new dat.GUI();
makes my Three.js geometry disappear
"dat is not defined"
Any hint?
I want to add a few new property controller types to a DAT.GUI instance.
I've spent ages hacking around in the source code getting nowhere, nor can I find any information on the web regarding the minimal path to create a new controller…
I made a model of a building with 3DS Max where each room is a modified cube, I used OBJMTLLoader to load the OBJ file with his own MTL.
The problem is that I need to emphasize certain rooms according to the user requirements.
I use dat.gui to…
I'm coming to you this night as I have an issue with three.js. I'm doing a tutorial, but at the end, I can't choose a shape or a mesh in a list although I set the control as shown in the video (which is here )
Here is the piece of code we're talking…
I'm using three.js and dat.gui to build an interface to modify the transparency of some loaded json objects.
I used all the needed options for the material creation:
mesh = new THREE.Mesh(geometry, new THREE.MeshLambertMaterial( {
…
I'm dynamically adding controls to a dat.gui interface, but the "save settings" functionality doesn't recognize them.
var mygui = new dat.GUI();
mygui.remember(mygui);
// standard way of adding a control
mygui.control1 = 0.0;
var control =…
I already know how to create buttons using dat.GUI (passing in functions as described in this question: Is it possible to create a button using dat.gui). I want to make a button that triggers a load file event like you would do with
Just wondering if somebody else had the same problem.
I created a scroller inside a gui in dat.gui.
When I later want to change the min and max values of the scroller, I…
tried searching for something like this, but I've had no luck. I'm trying to open a new tab with a screenshot of the current state of my webgl image. Basically, it's a 3d model, with the ability to change which objects are displayed, the color of…