From: Bruce S. <Bru...@nc...> - 2011-03-23 15:07:22
|
I don't think VPython will help you at all. There is no shadowing in VPython, that being difficult to do in real time. And currently there is no distance dependence of the light from local lights (or from distant lights). Bruce Sherwood On Tue, Mar 22, 2011 at 11:47 PM, K. -Michael Aye <mic...@sp...> wrote: > Dear VPython folks, > > I was wondering if one can use VPython to do the following: > > * take a digital elevation map (DEM) and load it into a numpy array > * place a light source at some coordinate > * check for each point on the DEM if they can see the light source or if they are being shadowed by other points of the DEM? > > As some kind of lightning calculations are done in the beautiful sceneries of VPython, I wondered if I can 'abuse' it this way somehow? > > In case it can be done, I would need to know though, how accurate this would be, as I would like to calculate solar irradiation times on the DEM coordinates (just to make you interested! ;) > > Any suggestions welcome! > > Best regards, > Michael > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |