You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http://mrtn.ch/3D/13_06_27_gui_03.html
What steps will reproduce the problem?
1. move Radius slider, nothing happens
What is the expected output? What do you see instead?
Want to use dat-gui sliders to change the radius of the sphere and later also
other properties such as segments or thetaLength...
Sphere is generated based on variables but I don't know how to update these
variables?
What version of the product are you using? On what operating system?
http://stemkoski.github.io/Three.js/js/DAT.GUI.min.js / mac os x 10.6.8 /
safari, chrome
Please provide any additional information below.
Can't figure out how to do it, thanks for your help.
Original issue reported on code.google.com by [email protected] on 27 Jun 2013 at 11:37
The text was updated successfully, but these errors were encountered:
This is more of a threejs issue. The parameters on the sphere geometry do not
update the geometry when changed. You probably want to replace "radius = value"
in your onChange fnuction to:
sphere.geometry = new THREE.SphereGeometry (value, segmentsWidth,
segmentsHeight, phiStart, phiLength, thetaStart, thetaLength );
sphere.geometry.verticesNeedUpdate = true;
Original issue reported on code.google.com by
[email protected]
on 27 Jun 2013 at 11:37The text was updated successfully, but these errors were encountered: