mrdoob/three.js — Issue #1427: object size dynamic change with input=text
Author: vladimir123
Created: 2012-03-01 07:40:05+00:00
State: open

Hi!
I need to change object size when user is changing parameters in text boxes... how i can do it?
now my code is:

sphere_object = THREE.SceneUtils.createMultiMaterialObject( new THREE.SphereGeometry( parseInt($('sphere_size_1').val()), parseInt($('sphere_size_2').val()), parseInt($('sphere_size_3').val()) ), materials );

in this case i try to change my objects size... but it does not work:(