You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(15) |
Oct
(32) |
Nov
(35) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(46) |
Feb
(22) |
Mar
(65) |
Apr
(49) |
May
(22) |
Jun
(29) |
Jul
(51) |
Aug
(34) |
Sep
(32) |
Oct
(46) |
Nov
(30) |
Dec
(32) |
2002 |
Jan
(48) |
Feb
(4) |
Mar
(20) |
Apr
(28) |
May
(13) |
Jun
(34) |
Jul
(51) |
Aug
(15) |
Sep
(15) |
Oct
(35) |
Nov
(15) |
Dec
(20) |
2003 |
Jan
(31) |
Feb
(111) |
Mar
(41) |
Apr
(28) |
May
(36) |
Jun
(29) |
Jul
(27) |
Aug
(29) |
Sep
(47) |
Oct
(28) |
Nov
(7) |
Dec
(26) |
2004 |
Jan
(44) |
Feb
(9) |
Mar
(17) |
Apr
(26) |
May
(58) |
Jun
(13) |
Jul
(44) |
Aug
(64) |
Sep
(30) |
Oct
(11) |
Nov
(21) |
Dec
(28) |
2005 |
Jan
(29) |
Feb
(11) |
Mar
(11) |
Apr
(22) |
May
(85) |
Jun
(46) |
Jul
(17) |
Aug
(18) |
Sep
(14) |
Oct
(22) |
Nov
(1) |
Dec
(45) |
2006 |
Jan
(20) |
Feb
(36) |
Mar
(18) |
Apr
(24) |
May
(21) |
Jun
(48) |
Jul
(23) |
Aug
(20) |
Sep
(10) |
Oct
(41) |
Nov
(46) |
Dec
(40) |
2007 |
Jan
(40) |
Feb
(20) |
Mar
(13) |
Apr
(6) |
May
(24) |
Jun
(31) |
Jul
(30) |
Aug
(11) |
Sep
(11) |
Oct
(10) |
Nov
(56) |
Dec
(64) |
2008 |
Jan
(64) |
Feb
(22) |
Mar
(63) |
Apr
(28) |
May
(25) |
Jun
(36) |
Jul
(11) |
Aug
(9) |
Sep
(14) |
Oct
(41) |
Nov
(46) |
Dec
(130) |
2009 |
Jan
(95) |
Feb
(41) |
Mar
(24) |
Apr
(35) |
May
(53) |
Jun
(67) |
Jul
(48) |
Aug
(48) |
Sep
(86) |
Oct
(75) |
Nov
(64) |
Dec
(52) |
2010 |
Jan
(57) |
Feb
(31) |
Mar
(28) |
Apr
(40) |
May
(25) |
Jun
(42) |
Jul
(79) |
Aug
(31) |
Sep
(49) |
Oct
(66) |
Nov
(38) |
Dec
(25) |
2011 |
Jan
(29) |
Feb
(18) |
Mar
(44) |
Apr
(6) |
May
(28) |
Jun
(31) |
Jul
(36) |
Aug
(24) |
Sep
(30) |
Oct
(23) |
Nov
(21) |
Dec
(27) |
2012 |
Jan
(14) |
Feb
(11) |
Mar
(2) |
Apr
(48) |
May
(7) |
Jun
(32) |
Jul
(22) |
Aug
(25) |
Sep
(31) |
Oct
(32) |
Nov
(21) |
Dec
(17) |
2013 |
Jan
(44) |
Feb
(27) |
Mar
(3) |
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(5) |
Dec
(5) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Luke <haz...@gm...> - 2009-12-24 08:16:50
|
I run ./configure --prefix=$HOME/usr, then make and all seems to compile ok, but then I get this error: Compiling ./gtk2/rate.cpp ... Linking cvisualmodule.la... make[1]: *** [cvisualmodule.la] Error 1 make[1]: Leaving directory `/home/luke/Downloads/visual-5.13_release/src' make: *** [all-recursive] Error 1 $ Any ideas what would have caused this? Thanks, ~Luke |
From: Bruce S. <Bru...@nc...> - 2009-12-24 03:53:43
|
I built Boost 1_41_0 on an Intel Mac with Python 2.6.4 installed on Snow Leopard (OSX 10.6). Because with 10.6 the default for compiling is 64-bit, and the Carbon component of Visual is supported only for 32-bit programs, I specified 32-bit compilation when building Boost and when building Visual. When I try to build Visual, I get errors in compiling render_manager.cpp: from ../vpython-core2//src/core/util/render_manager.cpp:4: ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:29: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:30: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:31: error: expected primary-expression before ‘)’ token ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:40: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:41: error: declaration does not declare anything ../vpython-core2//dependencies/boost_files/boost/exception/diagnostic_information.hpp:42: error: expected primary-expression before ‘)’ token Below is the start of the file "diagnostic_information.hpp" with line numbers 29 and 40 indicated. Can someone with good Mac and/or C++ skills suggest a fix or workaround? I did Google around a bit without finding anything about this problem. Bruce Sherwood --------------------------------- //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef UUID_0552D49838DD11DD90146B8956D89593 #define UUID_0552D49838DD11DD90146B8956D89593 #include <boost/config.hpp> #include <boost/exception/get_error_info.hpp> #include <boost/exception/detail/exception_ptr_base.hpp> #include <boost/utility/enable_if.hpp> #include <exception> #include <sstream> #include <string> namespace boost { namespace exception_detail { template <class T> struct enable_boost_exception_overload { struct yes { char q[100]; }; typedef char no; static yes check(exception const *); // line 29 static no check(...); enum e { value=sizeof(check((T*)0))==sizeof(yes) }; }; template <class T> struct enable_std_exception_overload { struct yes { char q[100]; }; typedef char no; static yes check(std::exception const *); // line 40 static no check(...); enum e { value = !enable_boost_exception_overload<T>::value && sizeof(check((T*)0))==sizeof(yes) }; }; |
From: Bruce S. <Bru...@nc...> - 2009-12-23 18:21:14
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Now available at vpython.org is a version of Visual that works with Python 2.6.4 as well as with Python 2.6.2. What was needed was the new Boost 1.41 libraries on which Visual depends for connections between Python and C++. Work is proceeding for the Mac. For Linux, it should be sufficient simply to compile with Boost 1.41, I would assume.<br> <br> Bruce Sherwood<br> <br> Bruce Sherwood wrote: <blockquote cite="mid:262...@nc..." type="cite"> <pre wrap="">That's very good news! I'm copying this to the VPython list. Thanks. Bruce Sherwood chu-ching huang wrote: </pre> <blockquote type="cite"> <pre wrap="">Dear Bruce, After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ read-only" error was gone and visual works with Python-2.6.4 in my slax linux (slackware clone). Best regards, cch </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |
From: Michele M. <mat...@gm...> - 2009-12-23 09:34:48
|
Hi all, Visual use a gtk main loop to manage the display. the ipython -gthread switch will do the trick. Using the pylab switch instead will start the pylab interface using the backend configured on your matplotlib (~/matplotlib/matplotlibrc on Linux.) On ubuntu the default backend is gtk so ipython -gthread or ipython -pylab has the same effect, except some numpy function which are directly imported in the global namespace. HTH, Michele. On Wed, Dec 23, 2009 at 2:22 AM, Guy K. Kloss <g....@ma...> wrote: > On Wed, 23 Dec 2009 09:49:07 Venkat Ramanan wrote: > > I installed VIDLE and that works for me as well. I don't know if I can > > fix the issues with ipython, but I'll try. > > If one looks at the documentation/tutorials for matplotlib (-pylab), Mayavi > (- > wthread), ... one finds that for ipython you need to start it with an extra > parameter (the ones mentioned in parens above). The problem being that for > GUI > tools in order to function within the same process there's an event loop. > But > an interactive shell is somewhat of an event loop in itself. So some de- > coupling needs to be done to integrate the two event loop concepts with > each > other. ipython provides that through the switches. > > I'd imagine that this was also one of the motivations to provide VIDLE over > plain IDLE, although I've never used IDLE myself. Maybe one of the provided > ipython switches would also help with VPython, or another one would need to > be > created to make them interact nicely. Definitely sounds like something that > could be quite useful ... > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss<http://www.massey.ac.nz/%7Egkloss> > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Stef M. <s.m...@ru...> - 2009-12-23 07:20:33
|
Bruce Sherwood wrote: > That's very good news! I'm copying this to the VPython list. Thanks. > +1 thanks very much, Stef > Bruce Sherwood > > chu-ching huang wrote: > >> Dear Bruce, >> >> After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ >> read-only" error was gone and visual works with Python-2.6.4 in my slax linux >> (slackware clone). >> >> Best regards, >> >> cch >> >> >> >> > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |
From: Guy K. K. <g....@ma...> - 2009-12-23 01:20:05
|
On Wed, 23 Dec 2009 09:49:07 Venkat Ramanan wrote: > I installed VIDLE and that works for me as well. I don't know if I can > fix the issues with ipython, but I'll try. If one looks at the documentation/tutorials for matplotlib (-pylab), Mayavi (- wthread), ... one finds that for ipython you need to start it with an extra parameter (the ones mentioned in parens above). The problem being that for GUI tools in order to function within the same process there's an event loop. But an interactive shell is somewhat of an event loop in itself. So some de- coupling needs to be done to integrate the two event loop concepts with each other. ipython provides that through the switches. I'd imagine that this was also one of the motivations to provide VIDLE over plain IDLE, although I've never used IDLE myself. Maybe one of the provided ipython switches would also help with VPython, or another one would need to be created to make them interact nicely. Definitely sounds like something that could be quite useful ... Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: Bruce S. <Bru...@nc...> - 2009-12-23 01:01:44
|
That's very good news! I'm copying this to the VPython list. Thanks. Bruce Sherwood chu-ching huang wrote: > Dear Bruce, > > After upgrading boost library to boost-1.41 and rebuilding visual, "__doc__ > read-only" error was gone and visual works with Python-2.6.4 in my slax linux > (slackware clone). > > Best regards, > > cch > > > |
From: Venkat R. <ven...@gm...> - 2009-12-22 20:49:18
|
Bruce, Thanks for the helpful info. In fact, I'm using numpy arrays similar to the VPython examples to update pos/axis. I installed VIDLE and that works for me as well. I don't know if I can fix the issues with ipython, but I'll try. Thanks again, Venkat. On Tue, Dec 22, 2009 at 11:26 AM, Bruce Sherwood <Bru...@nc...> wrote: > I apologize for not responding to your earlier question about vectors. The > Visual "vector" is designed to mimic the properties of 3D vectors used in > math and science (add, subtract, magnitude, dot and cross product, etc.). > The numpy module provides a very large number of structures and operations > on arrays, which makes it possible to do scientific processing in Python > where using lists would be unbearably slow. One uses Visual vectors for > describing positions of Visual objects, and general geometric calculations > related to 3D displays. The VPython example programs gas.py and stars.py are > examples of the use of numpy arrays for doing numerical integrations of > motion for many objects in single array statements. > > I've never used ipython and don't know what the problem is (I've only used > IDLE or the more recent VIDLE). I would guess that the problem is with > Visual, not with ipython, but I don't know. If you're willing to delve into > Visual to see what the problem is (and maybe fix it), great! > > Bruce Sherwood > > Venkat Ramanan wrote: > > Hi all, > > Thanks for the visual link. I've previously used VTK using Octaviz, > which is an Octave interface to VTK. Octaviz is very easy to use, > makes good plots. But animations using it is slow, many primitives > like 3D-arrows are limited in functionality and sadly Octaviz is not > being developed anymore, as far as I know. It is not even present in > the 9.10 Ubuntu repositories. > > In general, VTK has a lot of options, but needlessly complicated for > me. On the other hand, vpython is simple to setup and fast. It > basically took only a few minutes to get the basics of it. > > BTW, regarding issue 1b of my original post, I was stupidly calling > display every time the script was run. If I don't call it, it reuses > the last display and it is fine. > > Can someone please comment on the remaining issues? > > 1. vector() versus numpy array differences? Basically what is better > to use and why? > > 2. If only I can get ipython to play nice with vpython, I'm basically > all set. Is it something on the ipython side or in vpython? > I can hack something together, if there are some pointers. > > Thanks, > Venkat. > > PS: I meant to send the reply to the list, but it was mistakenly sent > personally to Guy Kloss. > > On Sat, Dec 19, 2009 at 2:52 PM, Guy K. Kloss <g....@ma...> wrote: > > > On Sun, 20 Dec 2009 04:13:58 James Mueller wrote: > > > Again, I haven't tried it, so I can't offer any review of it. > > > I can somewhat help out there ... > > I've tested that Visual module. It's somewhat more geared towards the Visual > 3.x API, it's *quite* a bit slower than visual, and it's not as feature > rich. > Also there are some draw backs due to bugs/limitations in the traits > implementation limiting the range of usable sizes, etc. Some code also has > to > be (slightly) adapted to fit that visual API of Mayavi. > > Performance can be somewhat boosted significantly by switching to the Qt4 > backend over the default wx windowing backend. Still, performance is not > nearly as good as with Visual Python. > > I did a presentation with a paper at the last Kiwi PyCon touching this > topic. > The slides are here: > > http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation- > extravaganza > > A paper of that is soon to be published under the Python Papers Monograph > Series for that: http://pythonpapers.org > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Bruce S. <Bru...@nc...> - 2009-12-22 16:26:45
|
<!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 apologize for not responding to your earlier question about vectors. The Visual "vector" is designed to mimic the properties of 3D vectors used in math and science (add, subtract, magnitude, dot and cross product, etc.). The numpy module provides a very large number of structures and operations on arrays, which makes it possible to do scientific processing in Python where using lists would be unbearably slow. One uses Visual vectors for describing positions of Visual objects, and general geometric calculations related to 3D displays. The VPython example programs gas.py and stars.py are examples of the use of numpy arrays for doing numerical integrations of motion for many objects in single array statements.<br> <br> I've never used ipython and don't know what the problem is (I've only used IDLE or the more recent VIDLE). I would guess that the problem is with Visual, not with ipython, but I don't know. If you're willing to delve into Visual to see what the problem is (and maybe fix it), great!<br> <br> Bruce Sherwood<br> <br> Venkat Ramanan wrote: <blockquote cite="mid:c29...@ma..." type="cite"> <pre wrap="">Hi all, Thanks for the visual link. I've previously used VTK using Octaviz, which is an Octave interface to VTK. Octaviz is very easy to use, makes good plots. But animations using it is slow, many primitives like 3D-arrows are limited in functionality and sadly Octaviz is not being developed anymore, as far as I know. It is not even present in the 9.10 Ubuntu repositories. In general, VTK has a lot of options, but needlessly complicated for me. On the other hand, vpython is simple to setup and fast. It basically took only a few minutes to get the basics of it. BTW, regarding issue 1b of my original post, I was stupidly calling display every time the script was run. If I don't call it, it reuses the last display and it is fine. Can someone please comment on the remaining issues? 1. vector() versus numpy array differences? Basically what is better to use and why? 2. If only I can get ipython to play nice with vpython, I'm basically all set. Is it something on the ipython side or in vpython? I can hack something together, if there are some pointers. Thanks, Venkat. PS: I meant to send the reply to the list, but it was mistakenly sent personally to Guy Kloss. On Sat, Dec 19, 2009 at 2:52 PM, Guy K. Kloss <a class="moz-txt-link-rfc2396E" href="mailto:g....@ma..."><g....@ma...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">On Sun, 20 Dec 2009 04:13:58 James Mueller wrote: </pre> <blockquote type="cite"> <pre wrap="">Again, I haven't tried it, so I can't offer any review of it. </pre> </blockquote> <pre wrap="">I can somewhat help out there ... I've tested that Visual module. It's somewhat more geared towards the Visual 3.x API, it's *quite* a bit slower than visual, and it's not as feature rich. Also there are some draw backs due to bugs/limitations in the traits implementation limiting the range of usable sizes, etc. Some code also has to be (slightly) adapted to fit that visual API of Mayavi. Performance can be somewhat boosted significantly by switching to the Qt4 backend over the default wx windowing backend. Still, performance is not nearly as good as with Visual Python. I did a presentation with a paper at the last Kiwi PyCon touching this topic. The slides are here: <a class="moz-txt-link-freetext" href="http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation">http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation</a>- extravaganza A paper of that is soon to be published under the Python Papers Monograph Series for that: <a class="moz-txt-link-freetext" href="http://pythonpapers.org">http://pythonpapers.org</a> Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 <a class="moz-txt-link-abbreviated" href="mailto:G....@ma...">G....@ma...</a> <a class="moz-txt-link-freetext" href="http://www.massey.ac.nz/~gkloss">http://www.massey.ac.nz/~gkloss</a> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |
From: Venkat R. <ven...@gm...> - 2009-12-22 15:25:16
|
Hi all, Thanks for the visual link. I've previously used VTK using Octaviz, which is an Octave interface to VTK. Octaviz is very easy to use, makes good plots. But animations using it is slow, many primitives like 3D-arrows are limited in functionality and sadly Octaviz is not being developed anymore, as far as I know. It is not even present in the 9.10 Ubuntu repositories. In general, VTK has a lot of options, but needlessly complicated for me. On the other hand, vpython is simple to setup and fast. It basically took only a few minutes to get the basics of it. BTW, regarding issue 1b of my original post, I was stupidly calling display every time the script was run. If I don't call it, it reuses the last display and it is fine. Can someone please comment on the remaining issues? 1. vector() versus numpy array differences? Basically what is better to use and why? 2. If only I can get ipython to play nice with vpython, I'm basically all set. Is it something on the ipython side or in vpython? I can hack something together, if there are some pointers. Thanks, Venkat. PS: I meant to send the reply to the list, but it was mistakenly sent personally to Guy Kloss. On Sat, Dec 19, 2009 at 2:52 PM, Guy K. Kloss <g....@ma...> wrote: > On Sun, 20 Dec 2009 04:13:58 James Mueller wrote: >> Again, I haven't tried it, so I can't offer any review of it. > > I can somewhat help out there ... > > I've tested that Visual module. It's somewhat more geared towards the Visual > 3.x API, it's *quite* a bit slower than visual, and it's not as feature rich. > Also there are some draw backs due to bugs/limitations in the traits > implementation limiting the range of usable sizes, etc. Some code also has to > be (slightly) adapted to fit that visual API of Mayavi. > > Performance can be somewhat boosted significantly by switching to the Qt4 > backend over the default wx windowing backend. Still, performance is not > nearly as good as with Visual Python. > > I did a presentation with a paper at the last Kiwi PyCon touching this topic. > The slides are here: > > http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation- > extravaganza > > A paper of that is soon to be published under the Python Papers Monograph > Series for that: http://pythonpapers.org > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Stef M. <s.m...@ru...> - 2009-12-21 18:06:02
|
hi Bruce, On the general python maillist, I asked how to go back from 2.6.4 to 2.6.2, (because of the problems with VPython) and got the following answer: Bruce Sherwood wrote: > I'm not sure that the situation is that "VPython uses a bug that is > fixed between 2.6.2 and 2.6.4". It was my understanding that some > change in Python broke all 3rd-party modules that use Boost, not just > VPython. Can you give more details, Stef? > <quote answer> 2.6.4 is just a bugfix release- it's binary compatible with the other 2.6 releases. So any package that worked under 2.6.2 shouid also work under 2.6.4 unless a new bug was introduced or it relied on a bug that was fixed. And any package that works under 2.6.4 will also work under 2.6.2 without recompiling unless it hits one of the bugs that was fixed. </end quote answer> Sorry, that's all I know ;-) cheers, Stef |
From: Bruce S. <Bru...@nc...> - 2009-12-21 17:11:08
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> I'm not sure that the situation is that "VPython uses a bug that is fixed between 2.6.2 and 2.6.4". It was my understanding that some change in Python broke all 3rd-party modules that use Boost, not just VPython. Can you give more details, Stef?<br> <br> Bruce<br> <br> Stef Mientki wrote: <blockquote cite="mid:4B2...@ru..." type="cite"> <pre wrap=""> Cosmin Stoica wrote: </pre> <blockquote type="cite"> <pre wrap=""> ---------- Forwarded message ---------- From: *Cosmin Stoica* <<a class="moz-txt-link-abbreviated" href="mailto:mai...@gm...">mai...@gm...</a> <a class="moz-txt-link-rfc2396E" href="mailto:mai...@gm..."><mailto:mai...@gm...></a>> Date: 2009/12/21 Subject: To: <a class="moz-txt-link-abbreviated" href="mailto:vis...@li...">vis...@li...</a> <a class="moz-txt-link-rfc2396E" href="mailto:vis...@li..."><mailto:vis...@li...></a> I receive the error from the buld.log I have also problems with the version from Ubuntu repository: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module> import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only Terminat: 256 It is a Boost problem? P.S.:I have the same problem on my wife Windows 7, so I think it is not an Ubuntu bug. </pre> </blockquote> <pre wrap=""><!---->I got this error, installing a to new version of Python 2.6.4 going back to 2.6.2 solves the problem. Apperently VPython uses a bug that is fixed between 2.6.2 and 2.6.4 ;-) cheers, Stef ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/verizon-dev2dev">http://p.sf.net/sfu/verizon-dev2dev</a> _______________________________________________ Visualpython-users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Vis...@li...">Vis...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/visualpython-users">https://lists.sourceforge.net/lists/listinfo/visualpython-users</a> </pre> </blockquote> </body> </html> |
From: Stef M. <s.m...@ru...> - 2009-12-21 10:25:58
|
Cosmin Stoica wrote: > > > ---------- Forwarded message ---------- > From: *Cosmin Stoica* <mai...@gm... > <mailto:mai...@gm...>> > Date: 2009/12/21 > Subject: > To: vis...@li... > <mailto:vis...@li...> > > > I receive the error from the buld.log > I have also problems with the version from Ubuntu repository: > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, > in <module> > import cvisual > AttributeError: 'Boost.Python.StaticProperty' object attribute > '__doc__' is read-only > > Terminat: 256 > It is a Boost problem? > P.S.:I have the same problem on my wife Windows 7, so I think it is > not an Ubuntu bug. I got this error, installing a to new version of Python 2.6.4 going back to 2.6.2 solves the problem. Apperently VPython uses a bug that is fixed between 2.6.2 and 2.6.4 ;-) cheers, Stef |
From: Cosmin S. <mai...@gm...> - 2009-12-21 10:06:51
|
---------- Forwarded message ---------- From: Cosmin Stoica <mai...@gm...> Date: 2009/12/21 Subject: To: vis...@li... I receive the error from the buld.log I have also problems with the version from Ubuntu repository: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module> import cvisual AttributeError: 'Boost.Python.StaticProperty' object attribute '__doc__' is read-only Terminat: 256 It is a Boost problem? P.S.:I have the same problem on my wife Windows 7, so I think it is not an Ubuntu bug. |
From: Guy K. K. <g....@ma...> - 2009-12-19 19:50:37
|
On Sun, 20 Dec 2009 04:13:58 James Mueller wrote: > Again, I haven't tried it, so I can't offer any review of it. I can somewhat help out there ... I've tested that Visual module. It's somewhat more geared towards the Visual 3.x API, it's *quite* a bit slower than visual, and it's not as feature rich. Also there are some draw backs due to bugs/limitations in the traits implementation limiting the range of usable sizes, etc. Some code also has to be (slightly) adapted to fit that visual API of Mayavi. Performance can be somewhat boosted significantly by switching to the Qt4 backend over the default wx windowing backend. Still, performance is not nearly as good as with Visual Python. I did a presentation with a paper at the last Kiwi PyCon touching this topic. The slides are here: http://www.slideshare.net/XEmacs/python-data-plotting-and-visualisation- extravaganza A paper of that is soon to be published under the Python Papers Monograph Series for that: http://pythonpapers.org Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: James M. <mu...@pi...> - 2009-12-19 15:14:10
|
I haven't tried this, but people might want to look at this page. http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_mlab_visual.html The mlab package works with ipython, and this is an attempt to implement a Vpython-like api within it. Again, I haven't tried it, so I can't offer any review of it. -Jim On Dec 18, 2009, at 1:47 PM, Venkat Ramanan wrote: > Hi all, > > First off, thanks for the great work. > > I've been dabbling with Python for a bit aiming to move away from > Matlab. A few days ago, to do some NMR simulation, I started coding > with vpython and the 3D-plots are incredible. Great experience for a > newbie 3D programmer like me. > > Anyway, for developing python programs, I've found ipython very > useful. The interactivity is just great and there are many more > features. See here (http://ipython.scipy.org/) > > However, vpython and ipython don't interact very well. > > 1a. If we run the programs through ipython, when we close the vpython > window it crashes the ipython as well. The prompt (terminal > properties) is affected as well. Why? > > 1b. If we don't close the window we can run the program again in the > ipython prompt. However it doesn't reuse the existing plot. It opens a > new window and during a debugging session, a number of windows are > opened. Is it possible to reuse the existing vpython window? > > 2. This is related to the vector() object used in vpython. Is it in > anyway related to the numpy array() or matrix() object? I've been > passing the pos/axis of arrows with numpy arrays and it seems to work. > Is there a difference in using vector() as opposed to numpy.array? > > 3. Is there a matrix object similar to vector? I'm using the numpy > array and matrix objects now to represent the rotation matrix. > > I'm using Ubuntu-9.10 64 bit, with the Boost fixes described > previously in the list. > > Thanks, > Venkat. > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Venkat R. <ven...@gm...> - 2009-12-18 18:47:36
|
Hi all, First off, thanks for the great work. I've been dabbling with Python for a bit aiming to move away from Matlab. A few days ago, to do some NMR simulation, I started coding with vpython and the 3D-plots are incredible. Great experience for a newbie 3D programmer like me. Anyway, for developing python programs, I've found ipython very useful. The interactivity is just great and there are many more features. See here (http://ipython.scipy.org/) However, vpython and ipython don't interact very well. 1a. If we run the programs through ipython, when we close the vpython window it crashes the ipython as well. The prompt (terminal properties) is affected as well. Why? 1b. If we don't close the window we can run the program again in the ipython prompt. However it doesn't reuse the existing plot. It opens a new window and during a debugging session, a number of windows are opened. Is it possible to reuse the existing vpython window? 2. This is related to the vector() object used in vpython. Is it in anyway related to the numpy array() or matrix() object? I've been passing the pos/axis of arrows with numpy arrays and it seems to work. Is there a difference in using vector() as opposed to numpy.array? 3. Is there a matrix object similar to vector? I'm using the numpy array and matrix objects now to represent the rotation matrix. I'm using Ubuntu-9.10 64 bit, with the Boost fixes described previously in the list. Thanks, Venkat. |
From: Gary P. <gar...@gm...> - 2009-12-16 14:42:49
|
On Fri, Dec 4, 2009 at 2:32 PM, Gary Pajer <gar...@gm...> wrote: [...] > > Without fail, after four or five successful runs of VPython scripts my > system experiences file system corruption. > > I believe I am a victim of this bug on Ubuntu 9.10<https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/474928>, > which is indeed related to the dreaded Radeon Mobility 7500 graphics > adapter. Dreaded because this thing has way more than its share of > problems, and ATI has set it adrift... no more driver updates... > > I report this because someone else might suffer from it, and come looking > here for help. > A partial workaround is to downgrade libgl1-mesa-dri and libgl1-mesa-glx to jaunty. See http://www.ode2.com/?p=44 Prevents file system corruption, but renders incorrectly in some cases. |
From: Kadir H. <kha...@ya...> - 2009-12-15 21:53:29
|
AniMusic Pipe Dream was once one of my favorite animation. I have attempted creating something similar, but much much simpler with VPython. I have created a piano keyboard, self-playing the tune from a midi file for a selected track. It seemed rather difficult to decode a midi file to use it for the animation. The animation part is really simple, key-up, key-down, but the timing is critical, which should be excerpted from the midi file. Also, you have to create real-time midi-sound, fast enough to cope with the animation. In short, my sample works fine with some songs, but is not that much successful for "high tempo" songs. Also, to play the full song, it is better to have several "instruments",playing different tracks simultaneously, but I could not go that far, yet. Compared to AniMusic, what I have is really very primitive I should say. Kadir ________________________________ From: Joel Kahn <jj...@ya...> To: vis...@li... Sent: Tue, December 15, 2009 10:58:22 PM Subject: [Visualpython-users] VPython Version of Animusic? I was looking at the sample music-video clips &c at this site . . . http://www.animusic.com/ . . . and I was wondering if this kind of thing might be a useful area of exploration for VPython. Perhaps some entertaining videos could be produced to place on YouTube and similar sites to increase VPython's visibility. Does anyone have experience that might be useful in this area? Joel ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Joel K. <jj...@ya...> - 2009-12-15 20:58:35
|
I was looking at the sample music-video clips &c at this site . . . http://www.animusic.com/ . . . and I was wondering if this kind of thing might be a useful area of exploration for VPython. Perhaps some entertaining videos could be produced to place on YouTube and similar sites to increase VPython's visibility. Does anyone have experience that might be useful in this area? Joel |
From: Stanley S. <ove...@ea...> - 2009-12-14 03:43:46
|
Bruce, The Asus 3D laptop (G51J) is so far the only other 3D display laptop, as far as I know. Here's a brief overview of it: http://gizmodo.com/5407435/the-asus-g51j-3d-laptop-is-3d-done-right . It does say that the display is 120 Hz, so a 60 FPS rate is what it delivers in its frame-sequential 3D mode. It uses an nVidia graphics processor, with nVidia's 3D software. The Acer uses TriDef 3D software. TriDef has a description of the kinds of 3D graphics that exist now: http://www.tridef.com/display/profile/all.html. The Acer apparently has "line interlaced", as opposed to "page-flipped (OpenGL Stereo)" that the Asus laptop has. Maybe OpenGL does not support line interlaced. Stan On Sun, Dec 13, 2009 at 4:50 PM, Bruce Sherwood <Bru...@nc...>wrote: > In the FAQ option in the Documentation section of vpython.org is an > overview of how VPython has been used with shutter glasses. The problem > with this "active" mode is that in the past at least it required a CRT > rather than a flat-panel display, in order to get 50 to 60 frames per > second for each eye (so 100-120 frames per second). Recent flat-panel > displays advertise fast frame rates, so maybe active mode stereo will > become feasible again. > > Bruce Sherwood > > |
From: Bruce S. <Bru...@nc...> - 2009-12-14 00:50:23
|
In the FAQ option in the Documentation section of vpython.org is an overview of how VPython has been used with shutter glasses. The problem with this "active" mode is that in the past at least it required a CRT rather than a flat-panel display, in order to get 50 to 60 frames per second for each eye (so 100-120 frames per second). Recent flat-panel displays advertise fast frame rates, so maybe active mode stereo will become feasible again. Bruce Sherwood Stanley Sokolow wrote: > > Bruce, > > Maybe you're right about the passive nature, rather than > frame-switching. I was just guessing. They could be just merging > the left and right images into the alternate lines, rather than doing > frame-sequential switching. There isn't any technical data that I've > found yet. However, a few reviews I've read have mentioned seeing > faint horizontal lines when viewing without the polarizing glasses. > > I agree that it's odd that the vertical resolution has to be cut in > half rather than the horizontal. I guess it doesn't really matter in > terms of the local resolution, since either way the number of pixels > per inch would be cut in half in 3D mode. I suppose those fast-moving > shooter games still look ok anyway, since they are animations and > fairly low resolution would still look ok. > > Asus recently released a 3D laptop, but it uses Nvidia graphics with > frame-sequential method that requires the active eyeglasses (LCD > shutters). That method would not cut the resolution in half. But > it's much more expensive than the Acer. > > After posting my message here, I looked around for 3D monitors and > found that there are many. They used to cost thousands of dollars, > but now you can get them for a few hundred. Nvidia's kit with > eyeglasses and switching signal device costs about $200. A GeForce 8 > series or better graphics card is necessary, for about $250 (GeForce > 8800). So to get 3D into a desktop, you'd need to spend about as much > as the cost of the entire Acer laptop. But, you'd have lower > resolution with the Acer. It might be good enough for Vpython models, > though, if Acer provides an OpenGL driver for it. > > Stan > > > On Sat, Dec 12, 2009 at 8:26 PM, Bruce Sherwood > <Bru...@nc... <mailto:Bru...@nc...>> wrote: > > As far as I know no one has had access to one of these stereo > devices to > try VPython stereo modes. There even exist screens that require no > glasses at all, but you have to hold your head just right: baffles > allow > your right eye to see only the odd-numbered vertical display > lines, and > your left eye to see only the even-numbered vertical display lines. > > For the Acer that you describe, it's possible that scene.stereo = > 'passive' (not active) would work, depending on how they've set up the > interface to OpenGL (or if they even have an interface to OpenGL; what > little I could find on the web about this product talks only about > games > using DirectX 9). The passive mode is intended for use with graphics > cards that can drive two projectors, each with polarizers, whose > images > are superimposed on a metallic screen, which does not destroy > polarization (ordinary projector screens return polarized light as > unpolarized). Viewers wear polarized glasses. > > Even without such a graphics card you can observe the scheme. With > scene.stereo = 'passive' you get two images on the screen, one for > each > eye. If you use small enough images and are able to look > "walleyed" you > can see true stereo without glasses. Or set screen.stereo = > 'crosseyed' > and view the two images cross-eyed. > > I don't see why the Acer would show alternate frames. Since there is > polarization separation there's no reason not to display the left and > right images at the same time. It's only active stereo with shutter > glasses (and no separation by polarization) that involves whole left > images in one frame and whole right images in the next frame, with > shutters letting only one eye at a time to see the screen. Active > stereo > does require high frame rate, but passive stereo does not. > > You say that they've chosen to have horizontal lines polarized, > yielding > 1366 x 384. This seems odd; if they polarized vertical lines the > resolution would be 683 x 768, which would seem to me to be a more > reasonable choice. > > Bruce Sherwood > > Stanley Sokolow wrote: > > Acer has started selling a rather affordable laptop with a > special 3D > > LCD screen. I remember reading a whitepaper a couple of years > ago by > > the guys who inventing this type of display, if it's the same > > technology. The LCD screen has an additional layer in front which > > has alternating horizontal lines of polarizing filters so that even > > numbered display lines are polarized one way and odd numbered lines > > are polarized opposite. With appropriate drivers, the graphics > chip > > shows left eye images polarized one way, then in the next frame the > > corresponding right eye image polarized opposite. By wearing > simple > > polarized glasses that have left and right polarizing filters > oriented > > at 90 degrees to each other, the observer sees stereoscopic 3D. The > > glasses are passive, not the active shutter type. The Acer has > a 120 > > Hz display, so each eye is updated at 60 Hz, which is fast > enough that > > no flicker would be seen. One drawback is that the vertical > > resolution is effectively cut in half in stereo mode since every > other > > line is used. That is, the stereo mode would in effect be 1366 > x 384, > > since the Acer specs say the "maximum resolution is 1336 x 768". > > > > Here's a link to one place that sells this new Acer: > > > http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938 > <http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938> > > > <http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938 > <http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938>> > > . Try www.nextag.com <http://www.nextag.com> > <http://www.nextag.com/> to find competitive > > prices. > > > > By the way, if you are thinking of getting one of these and using it > > with other 3D glasses besides the ones that come with the laptop, be > > sure to get the correct type of polarizing 3D glasses -- some > have the > > eyes oriented with the filters passing vertical and horizontal > > polarized light, but others have the filters oriented diagonally > at 90 > > degrees to each other's polarization. I don't have the laptop > myself, > > so I don't know which kind it needs. > > > > Does anyone know if this laptop would display Vpython's active-mode > > stereo correctly? I've only read about Vpython doing active stereo > > with the LCD shutter type of stereo, but it seems that this might be > > just the same from the API, with the driver and graphics chip just > > doing the alternating screens a different way at the display side. > > > > Stan Sokolow > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Return on Information: > > Google Enterprise Search pays you back > > Get the facts. > > http://p.sf.net/sfu/google-dev2dev > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > <mailto:Vis...@li...> > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > <mailto:Vis...@li...> > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: John B. <jb...@te...> - 2009-12-13 16:33:56
|
----- Original Message ----- From: <vis...@li...> > Message: 7 > Date: Sat, 12 Dec 2009 23:26:26 -0500 > From: Bruce Sherwood <Bru...@nc...> > Subject: Re: [Visualpython-users] Vpython active stereo 3D -- Will it [dels] > Even without such a graphics card you can observe the scheme. With > scene.stereo = 'passive' you get two images on the screen, one for each > eye. If you use small enough images and are able to look "walleyed" you > can see true stereo without glasses. Or set screen.stereo = 'crosseyed' > and view the two images cross-eyed. This when it finally showed up (I was one of those begging for stereo all those years ago...), was much easier than two windows and rotating the object..... It also solved all problems regarding how to control both windows' images simultaneously with the mouse. I made *extensive* use of the new stereo method before Python's inherent speed (low) forced me to C++ and OpenGL. Now: > I don't see why the Acer would show alternate frames. Since there is I understood the OP was describing an *interlace* method (one I'd never thought of, polarizing alternate *horizontal* lines). [dels] > You say that they've chosen to have horizontal lines polarized, yielding > 1366 x 384. This seems odd; if they polarized vertical lines the > resolution would be 683 x 768, which would seem to me to be a more > reasonable choice. > Bruce Sherwood I suspect an holdover from CRT scan lines (which is even still present in HDTV). There essentially *are no* "vertical lines" on a TV or monitor. Images are (TMK) still presented to the monitor as horizontal scan lines, even though they are now digitally created. Due to the literal electronic impossibility of drawing on the screen "simultaneously everywhere," images are drawn on screen serially, left-to-right, top-to-bottom, much the same way they were with CRT TVs an monitors. The only difference I'm aware of is that now the CCD-like "bucket brigade" method is used, of reading-out the video memory buffer. INstead of a moving-continuous-analog electron beam scanning the screen, it's now pixels being addressed sequentially, but with the same "scanning" principle. Thus, there's really no such thing (electronically/video-displaying) as "vertical lines." Perhaps in future if Acer's experiment flies, stereo/polarizer methods will appear that do deliberately break up the screen by pixels instead of by horizontal lines. (Old TV repairman here; my info could be out of register with digital technology, but I am rather sure that HDTVs and digital monitors still employ a form of "scanning" to get images onto the screen.) jbr...@ch... |
From: Stanley S. <ove...@ea...> - 2009-12-13 13:56:45
|
Bruce, Maybe you're right about the passive nature, rather than frame-switching. I was just guessing. They could be just merging the left and right images into the alternate lines, rather than doing frame-sequential switching. There isn't any technical data that I've found yet. However, a few reviews I've read have mentioned seeing faint horizontal lines when viewing without the polarizing glasses. I agree that it's odd that the vertical resolution has to be cut in half rather than the horizontal. I guess it doesn't really matter in terms of the local resolution, since either way the number of pixels per inch would be cut in half in 3D mode. I suppose those fast-moving shooter games still look ok anyway, since they are animations and fairly low resolution would still look ok. Asus recently released a 3D laptop, but it uses Nvidia graphics with frame-sequential method that requires the active eyeglasses (LCD shutters). That method would not cut the resolution in half. But it's much more expensive than the Acer. After posting my message here, I looked around for 3D monitors and found that there are many. They used to cost thousands of dollars, but now you can get them for a few hundred. Nvidia's kit with eyeglasses and switching signal device costs about $200. A GeForce 8 series or better graphics card is necessary, for about $250 (GeForce 8800). So to get 3D into a desktop, you'd need to spend about as much as the cost of the entire Acer laptop. But, you'd have lower resolution with the Acer. It might be good enough for Vpython models, though, if Acer provides an OpenGL driver for it. Stan On Sat, Dec 12, 2009 at 8:26 PM, Bruce Sherwood <Bru...@nc...>wrote: > As far as I know no one has had access to one of these stereo devices to > try VPython stereo modes. There even exist screens that require no > glasses at all, but you have to hold your head just right: baffles allow > your right eye to see only the odd-numbered vertical display lines, and > your left eye to see only the even-numbered vertical display lines. > > For the Acer that you describe, it's possible that scene.stereo = > 'passive' (not active) would work, depending on how they've set up the > interface to OpenGL (or if they even have an interface to OpenGL; what > little I could find on the web about this product talks only about games > using DirectX 9). The passive mode is intended for use with graphics > cards that can drive two projectors, each with polarizers, whose images > are superimposed on a metallic screen, which does not destroy > polarization (ordinary projector screens return polarized light as > unpolarized). Viewers wear polarized glasses. > > Even without such a graphics card you can observe the scheme. With > scene.stereo = 'passive' you get two images on the screen, one for each > eye. If you use small enough images and are able to look "walleyed" you > can see true stereo without glasses. Or set screen.stereo = 'crosseyed' > and view the two images cross-eyed. > > I don't see why the Acer would show alternate frames. Since there is > polarization separation there's no reason not to display the left and > right images at the same time. It's only active stereo with shutter > glasses (and no separation by polarization) that involves whole left > images in one frame and whole right images in the next frame, with > shutters letting only one eye at a time to see the screen. Active stereo > does require high frame rate, but passive stereo does not. > > You say that they've chosen to have horizontal lines polarized, yielding > 1366 x 384. This seems odd; if they polarized vertical lines the > resolution would be 683 x 768, which would seem to me to be a more > reasonable choice. > > Bruce Sherwood > > Stanley Sokolow wrote: > > Acer has started selling a rather affordable laptop with a special 3D > > LCD screen. I remember reading a whitepaper a couple of years ago by > > the guys who inventing this type of display, if it's the same > > technology. The LCD screen has an additional layer in front which > > has alternating horizontal lines of polarizing filters so that even > > numbered display lines are polarized one way and odd numbered lines > > are polarized opposite. With appropriate drivers, the graphics chip > > shows left eye images polarized one way, then in the next frame the > > corresponding right eye image polarized opposite. By wearing simple > > polarized glasses that have left and right polarizing filters oriented > > at 90 degrees to each other, the observer sees stereoscopic 3D. The > > glasses are passive, not the active shutter type. The Acer has a 120 > > Hz display, so each eye is updated at 60 Hz, which is fast enough that > > no flicker would be seen. One drawback is that the vertical > > resolution is effectively cut in half in stereo mode since every other > > line is used. That is, the stereo mode would in effect be 1366 x 384, > > since the Acer specs say the "maximum resolution is 1336 x 768". > > > > Here's a link to one place that sells this new Acer: > > > http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938 > > < > http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938 > > > > . Try www.nextag.com <http://www.nextag.com/> to find competitive > > prices. > > > > By the way, if you are thinking of getting one of these and using it > > with other 3D glasses besides the ones that come with the laptop, be > > sure to get the correct type of polarizing 3D glasses -- some have the > > eyes oriented with the filters passing vertical and horizontal > > polarized light, but others have the filters oriented diagonally at 90 > > degrees to each other's polarization. I don't have the laptop myself, > > so I don't know which kind it needs. > > > > Does anyone know if this laptop would display Vpython's active-mode > > stereo correctly? I've only read about Vpython doing active stereo > > with the LCD shutter type of stereo, but it seems that this might be > > just the same from the API, with the driver and graphics chip just > > doing the alternating screens a different way at the display side. > > > > Stan Sokolow > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------------ > > Return on Information: > > Google Enterprise Search pays you back > > Get the facts. > > http://p.sf.net/sfu/google-dev2dev > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: Bruce S. <Bru...@nc...> - 2009-12-13 04:26:39
|
As far as I know no one has had access to one of these stereo devices to try VPython stereo modes. There even exist screens that require no glasses at all, but you have to hold your head just right: baffles allow your right eye to see only the odd-numbered vertical display lines, and your left eye to see only the even-numbered vertical display lines. For the Acer that you describe, it's possible that scene.stereo = 'passive' (not active) would work, depending on how they've set up the interface to OpenGL (or if they even have an interface to OpenGL; what little I could find on the web about this product talks only about games using DirectX 9). The passive mode is intended for use with graphics cards that can drive two projectors, each with polarizers, whose images are superimposed on a metallic screen, which does not destroy polarization (ordinary projector screens return polarized light as unpolarized). Viewers wear polarized glasses. Even without such a graphics card you can observe the scheme. With scene.stereo = 'passive' you get two images on the screen, one for each eye. If you use small enough images and are able to look "walleyed" you can see true stereo without glasses. Or set screen.stereo = 'crosseyed' and view the two images cross-eyed. I don't see why the Acer would show alternate frames. Since there is polarization separation there's no reason not to display the left and right images at the same time. It's only active stereo with shutter glasses (and no separation by polarization) that involves whole left images in one frame and whole right images in the next frame, with shutters letting only one eye at a time to see the screen. Active stereo does require high frame rate, but passive stereo does not. You say that they've chosen to have horizontal lines polarized, yielding 1366 x 384. This seems odd; if they polarized vertical lines the resolution would be 683 x 768, which would seem to me to be a more reasonable choice. Bruce Sherwood Stanley Sokolow wrote: > Acer has started selling a rather affordable laptop with a special 3D > LCD screen. I remember reading a whitepaper a couple of years ago by > the guys who inventing this type of display, if it's the same > technology. The LCD screen has an additional layer in front which > has alternating horizontal lines of polarizing filters so that even > numbered display lines are polarized one way and odd numbered lines > are polarized opposite. With appropriate drivers, the graphics chip > shows left eye images polarized one way, then in the next frame the > corresponding right eye image polarized opposite. By wearing simple > polarized glasses that have left and right polarizing filters oriented > at 90 degrees to each other, the observer sees stereoscopic 3D. The > glasses are passive, not the active shutter type. The Acer has a 120 > Hz display, so each eye is updated at 60 Hz, which is fast enough that > no flicker would be seen. One drawback is that the vertical > resolution is effectively cut in half in stereo mode since every other > line is used. That is, the stereo mode would in effect be 1366 x 384, > since the Acer specs say the "maximum resolution is 1336 x 768". > > Here's a link to one place that sells this new Acer: > http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938 > <http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=5285802&CatId=4938> > . Try www.nextag.com <http://www.nextag.com/> to find competitive > prices. > > By the way, if you are thinking of getting one of these and using it > with other 3D glasses besides the ones that come with the laptop, be > sure to get the correct type of polarizing 3D glasses -- some have the > eyes oriented with the filters passing vertical and horizontal > polarized light, but others have the filters oriented diagonally at 90 > degrees to each other's polarization. I don't have the laptop myself, > so I don't know which kind it needs. > > Does anyone know if this laptop would display Vpython's active-mode > stereo correctly? I've only read about Vpython doing active stereo > with the LCD shutter type of stereo, but it seems that this might be > just the same from the API, with the driver and graphics chip just > doing the alternating screens a different way at the display side. > > Stan Sokolow > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |