@@ -235,9 +235,8 @@ export class URDFControls extends GUI {
235235
236236 // Initialize settings for each light type
237237 const directionalSettings = {
238- Distance : 10.9 , // Initial distance from origin
239- Altitude : Math . PI / 4 , // Initial altitude angle (radians)
240- Azimuth : Math . PI / 4 , // Initial azimuth angle (radians)
238+ Altitude : Math . PI / 4 , // 45 degrees elevation
239+ Azimuth : Math . PI / 4 , // 45 degrees around vertical axis
241240 Color : [ 255 , 255 , 255 ] ,
242241 Intensity : 1.0 ,
243242 ShowHelper : false ,
@@ -258,39 +257,28 @@ export class URDFControls extends GUI {
258257 SkyColor : [ 255 , 255 , 255 ] ,
259258 GroundColor : [ 38 , 50 , 56 ] ,
260259 Intensity : 1.0 ,
261- ShowHelper : false // Helper toggle moved here, off by default
260+ ShowHelper : false
262261 } ;
263262
264263 // Position limits and steps
265- const minPosition = - 20 ;
266- const maxPosition = 20 ;
264+ const minPosition = - 50 ;
265+ const maxPosition = 50 ;
267266 const positionStep = 0.1 ;
268267
269- // Spherical coordinate limits and steps
270- const minDistance = 0.1 ;
271- const maxDistance = 30 ;
272- const distanceStep = 0.1 ;
268+ // Spherical coordinate angle limits and steps
273269 const minAngle = - Math . PI ;
274270 const maxAngle = Math . PI ;
275271 const angleStep = 0.01 ;
276272
277273 // Intensity limits and steps
278274 const minIntensity = 0 ;
279- const maxIntensity = 2 ;
280- const intensityStep = 0.05 ;
275+ const maxIntensity = 10 ;
276+ const intensityStep = 0.1 ;
281277
282278 // Target controls for directional light
283279 const targetFolder = directionalFolder . addFolder ( 'Target' ) ;
284280 this . controls . lights . directional = {
285281 position : {
286- // Using spherical coordinates instead of Cartesian
287- distance : directionalFolder . add (
288- directionalSettings ,
289- 'Distance' ,
290- minDistance ,
291- maxDistance ,
292- distanceStep
293- ) ,
294282 altitude : directionalFolder . add (
295283 directionalSettings ,
296284 'Altitude' ,
0 commit comments