Kool Aid Posted September 24, 2009 Share Posted September 24, 2009 (edited) I am about to participate, pro bono, in a Global Initiative: placing an identical, temporary Objet d?Art in hundreds of cities. (No, it's not The Puppy nor the well-deserved 300 metre tall solid-gold statue of George W. Bush, our Saviour.) Nevertheless, it seems that with VS I cannot control the location and Sun position: I'd very much like to be able to generate the files programmatically: new file, new city, place the object and then render at a specific, local date and time, save. I'm quite happy to generate the resulting Google Earth files, although I would not mind if I could have the reference point scriptable, too. But I digress: if anyone knows how to set these variables, my young friends and I would be extremely thankful to him or her for sharing the information. Of course it won't go anywhere, but only lost causes are worth fighting for. EDIT Oh dear: we cannot use long/lat coordinates, because Maryland is a part of the Flat Earth. Edited September 24, 2009 by Kool Aid Quote Link to comment
brudgers Posted September 24, 2009 Share Posted September 24, 2009 Though I am certain it will be insufficient for what you are trying to do and will only demonstrate my ignorance and stupidity... The Solar Animation PIO has parameters for latitude and longitude. As a bonus it will get me insulted. Most definitely. Quote Link to comment
Kool Aid Posted September 24, 2009 Author Share Posted September 24, 2009 It has indeed. So does Set Sun Position. The values are somewhere, but undocumented, most likely unaccessible and without appropriate data strucures. Now, we have a host of Prefences ? global, file-related and object-related. By and by. NNA reveals those. Slowly and without any useful explanations. What, in your most informed opinion does this mean Lat./Long. vs XY Flag 1111 True or False ObjectVariableBoolean and what can we do with it? Quote Link to comment
Pat Stanford Posted September 24, 2009 Share Posted September 24, 2009 Well, the calculations for figure Azimuth and elevation from lat/long and date/time don't see too bad. It would be nice to be able to get them directly though. Here are some references: http://squ1.org/wiki/Solar_Position_Calculator http://www.4guysfromrolla.com/webtech/010800-1.shtml Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.