From: Guy K. K. <g....@ma...> - 2009-05-06 22:31:17
|
Hi, I'm visualising very often (larger) multi-dimensional data sets using VPython. For certain dimensions (beyond the 3D position) I am using colour. When rotating through the data set to get views from different perspectives I am seeing the spacial objects (mostly spheres and boxes) often like the "dark side of the moon" (thanks Pink Floyd), and colours become very difficult do discriminate. It would be nice if the light source position could be defined as fixed relative to the observer, rather than relative to the scene. I believe a simple boolean flag should be sufficient for this. Any comments? Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |
From: Scott D. D. <Sco...@Ac...> - 2009-05-06 22:52:05
|
Guy K. Kloss wrote: > I'm visualising very often (larger) multi-dimensional data ... using colour. > When rotating through the data set ... I am seeing ...objects ... like the > "dark side of the moon" ... colours become very difficult to discriminate. > It would be nice if the light source position could be defined as fixed > relative to the observer, rather than relative to the scene.... Can't you just add a few more lights on the far side? --Scott David Daniels Sco...@Ac... |
From: Guy K. K. <g....@ma...> - 2009-05-06 23:22:19
|
On Thu, 07 May 2009 10:56:51 Scott David Daniels wrote: > Can't you just add a few more lights on the far side? Hmmm, I didn't even know placement of light sources is possible. Might be worth a try. However, I need to be careful that I'm not losing the depth impression of the 3D scene doing that. Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |
From: Bruce S. <Bru...@nc...> - 2009-05-07 04:00:33
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Note too that in your application you might want to increase the "ambient" light a bit, so that no part of an object is very dark.<br> <br> I do see merit in an option to change from the default behavior (rotate the camera around a scene that has lights to that scene) to a behavior where the camera and lights are fixed and you rotate the scene, as though you were turning a model in your hand to inspect it from different angles but with a fixed light source.<br> <br> What would this be called? scene.camera_rotate = False?<br> <br> The hard part though is the implementation.....<br> <br> Bruce Sherwood<br> <br> Guy K. Kloss wrote: <blockquote cite="mid:200...@ma..." type="cite"> <pre wrap="">On Thu, 07 May 2009 10:56:51 Scott David Daniels wrote: </pre> <blockquote type="cite"> <pre wrap="">Can't you just add a few more lights on the far side? </pre> </blockquote> <pre wrap=""><!----> Hmmm, I didn't even know placement of light sources is possible. Might be worth a try. However, I need to be careful that I'm not losing the depth impression of the 3D scene doing that. Guy </pre> </blockquote> </body> </html> |
From: Guy K. K. <g....@ma...> - 2009-05-07 04:19:39
|
On Thu, 07 May 2009 16:00:12 Bruce Sherwood wrote: > Note too that in your application you might want to increase the "ambient" > light a bit, so that no part of an object is very dark. Yes, some good ideas coming up here to experiment with. > I do see merit in an option to change from the default behavior (rotate the > camera around a scene that has lights to that scene) to a behavior where > the camera and lights are fixed and you rotate the scene, as though you > were turning a model in your hand to inspect it from different angles but > with a fixed light source. > > What would this be called? scene.camera_rotate = False? Good question. That or maybe one of these? scene.fixed_light = False scene.light_on_camera = True > The hard part though is the implementation..... As so often ... :-) Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |
From: Bruce S. <Bru...@nc...> - 2009-05-07 11:48:24
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I'm traveling and unable to do this myself right now, but you could achieve the effect by putting the distant lights into a frame and then sitting in a loop (maybe with rate(50) to limit processing) and watching scene.forward. Use any change in scene.forward to determine how to rotate the frame containing the distant lights. Should work.<br> <br> Bruce Sherwood<br> <br> Guy K. Kloss wrote: <blockquote cite="mid:200...@ma..." type="cite"> <pre wrap="">On Thu, 07 May 2009 16:00:12 Bruce Sherwood wrote: </pre> <blockquote type="cite"> <pre wrap="">Note too that in your application you might want to increase the "ambient" light a bit, so that no part of an object is very dark. </pre> </blockquote> <pre wrap=""><!----> Yes, some good ideas coming up here to experiment with. </pre> <blockquote type="cite"> <pre wrap="">I do see merit in an option to change from the default behavior (rotate the camera around a scene that has lights to that scene) to a behavior where the camera and lights are fixed and you rotate the scene, as though you were turning a model in your hand to inspect it from different angles but with a fixed light source. What would this be called? scene.camera_rotate = False? </pre> </blockquote> <pre wrap=""><!----> Good question. That or maybe one of these? scene.fixed_light = False scene.light_on_camera = True </pre> <blockquote type="cite"> <pre wrap="">The hard part though is the implementation..... </pre> </blockquote> <pre wrap=""><!----> As so often ... :-) Guy </pre> </blockquote> </body> </html> |