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: Stef M. <s.m...@ru...> - 2009-02-19 20:12:25
|
hello, I tried the same program on another system today, which should be faster than the system I used yesterday (faster processor, Intel instead of AMD, faster (external) graphics card), but it seems to be about twice as slow as my yesterday system. On that theoretical faster but in practice slower system, indeed the performances are about equal for VP3 and VP5 ??? cheers, Stef Stef Mientki wrote: > hello, > > sorry for reacting so late, > but the core of my VPython wrapper was under construction. > > Strange, but despite all the positive sound about speed of VPython-5, > I've the opposite experience, Vpython-5 is often 30% slower than Vpython-3, > I wonder why I seems to be the only guy experiencing that ? > > I limit the fps at 50 fps. > and here are the measurements (all programs found on the web): > > VP3 VP5 Program > 50 30 Cherry tree > 50 30 Clock > 15 10 Fountain > 15 10 Alfabet > 50 35 Pipes > 50 50 Multi-Pendulum > 48 48 ODE > 48 48 Double-Pendulum > 50 35 Mandelbrot Visual Part takes 12Sec/VP3 15Sec/VP5 > > cheers, > Stef > > Gary Pajer wrote: > >> I've finally upgraded to 5.0 on my XP machine. >> >> I have a subjective sense that it might be slower than 3.0. Before >> I try to reinstall 3.0 to check, I thought I'd ask ... >> >> What's known about the speed of 5.0 vs 3.0 ? >> >> -Gary >> >> ------------------------------------------------------------------------------ >> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) >> software. With Adobe AIR, Ajax developers can use existing skills and code to >> build responsive, highly engaging applications that combine the power of local >> resources and data with the reach of the web. Download the Adobe AIR SDK and >> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> >> >> >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |
From: Stef M. <s.m...@ru...> - 2009-02-19 18:58:16
|
hello, sorry for reacting so late, but the core of my VPython wrapper was under construction. Strange, but despite all the positive sound about speed of VPython-5, I've the opposite experience, Vpython-5 is often 30% slower than Vpython-3, I wonder why I seems to be the only guy experiencing that ? I limit the fps at 50 fps. and here are the measurements (all programs found on the web): VP3 VP5 Program 50 30 Cherry tree 50 30 Clock 15 10 Fountain 15 10 Alfabet 50 35 Pipes 50 50 Multi-Pendulum 48 48 ODE 48 48 Double-Pendulum 50 35 Mandelbrot Visual Part takes 12Sec/VP3 15Sec/VP5 cheers, Stef Gary Pajer wrote: > I've finally upgraded to 5.0 on my XP machine. > > I have a subjective sense that it might be slower than 3.0. Before > I try to reinstall 3.0 to check, I thought I'd ask ... > > What's known about the speed of 5.0 vs 3.0 ? > > -Gary > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |
From: symion <sy...@pr...> - 2009-02-18 03:47:44
|
Here is (hopefully) the final update to the symChess program. A couple of bugs fixed but decided not to include sound effects, too distracting. Source code for Symion Chess v1.03 symchess.py <http://home.primusonline.com.au/knoware/python/symchess.py> Symion |
From: Poul R. <Pou...@sk...> - 2009-02-17 20:52:28
|
Following a suggestion from Bruce Sherwood I changed the line class display( visual.ui.display): to class display( visual.display): in the file vpyframe.py which can be found in the pygeo folder. Now my pingpong project works again. Depending on your computer you might want to change the time step parameter dt (increase the value of dt to speed up the ball). Poul Riis |
From: Tim <tim...@ta...> - 2009-02-17 19:54:40
|
Hi, I have downloaded the new version of vpython and have the recommended python release. When I run Symion's chess I am now getting a runtime error from M/soft Visual C++ runtime library. Runtime error! Program: C:\Python25\pythonw.exe. This application has requested the Runtime to terminate in an unusual way...... I am running python / vpython on Windows XP Any ideas? Thanks, Tim |
From: Bruce S. <Bru...@nc...> - 2009-02-17 17:05:34
|
A quick somewhat uninformed guess is that it should just be class display(visual.display) but I'm not sure. I'm a bit surprised to see something like visual.ui.display in a user program. Certainly not documented. Bruce Sherwood Poul Riis wrote: > I just tried to rerun an old (rather crazy) project of mine (attached - > I'm sorry that names and comments are in Danish). Even if it used to run > it now gives an error message: > Traceback (most recent call last): > File "C:/Python25/Lib/site-packages/visual/examples/pingpong.py", line > 6, in <module> > from pygeo import * > File "C:\Python25\Lib\site-packages\pygeo\__init__.py", line 3, in > <module> > from pygeo.vpyframe import display > File "C:\Python25\Lib\site-packages\pygeo\vpyframe.py", line 38, in > <module> > class display( visual.ui.display): > AttributeError: 'module' object has no attribute 'ui' > My guess is that there is a compatibility problem with Visual 5 and PyGeo. > Can someone confirm that? > If yes, is there a workaround or shoudl I just reinstall Visual 3? > If no, what else could be the problem? > > And btw, Symion, this file includes a small example of the use of winsound. > > Poul Riis > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Poul R. <Pou...@sk...> - 2009-02-17 15:24:56
|
I just tried to rerun an old (rather crazy) project of mine (attached - I'm sorry that names and comments are in Danish). Even if it used to run it now gives an error message: Traceback (most recent call last): File "C:/Python25/Lib/site-packages/visual/examples/pingpong.py", line 6, in <module> from pygeo import * File "C:\Python25\Lib\site-packages\pygeo\__init__.py", line 3, in <module> from pygeo.vpyframe import display File "C:\Python25\Lib\site-packages\pygeo\vpyframe.py", line 38, in <module> class display( visual.ui.display): AttributeError: 'module' object has no attribute 'ui' My guess is that there is a compatibility problem with Visual 5 and PyGeo. Can someone confirm that? If yes, is there a workaround or shoudl I just reinstall Visual 3? If no, what else could be the problem? And btw, Symion, this file includes a small example of the use of winsound. Poul Riis |
From: Bruce S. <Bru...@nc...> - 2009-02-16 21:28:51
|
I'm guessing you're running the program on the older Visual 3, where this did indeed give an error. There's a "singularity" in the up direction. What Visual 5 (the new version) does is that whenever the program tries to set scene.forward and scene.up to be in the same direction, it nudges scene.forward ever so slightly away from scene.up. Since scene.forward only affects a human's view of the scene, this causes no trouble. Bruce Sherwood Tim wrote: > Hi, > I just picked copied the source code for your chess game, but when I ran > it, got the error - > > Traceback (most recent call last): > File "C:/Python25/chess.py", line 23, in <module> > scene.up=(0,0,1) > ValueError: up may not be colinear with forward. > >>> > > Any ideas why this is happening? > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Tim <tim...@ta...> - 2009-02-16 20:45:01
|
Hi, I just picked copied the source code for your chess game, but when I ran it, got the error - Traceback (most recent call last): File "C:/Python25/chess.py", line 23, in <module> scene.up=(0,0,1) ValueError: up may not be colinear with forward. >>> Any ideas why this is happening? |
From: symion <sy...@pr...> - 2009-02-16 10:31:39
|
Here is the latest update for The Symchess Game. It now has all the pieces in the right position and I have implemented the End of game exit conditions! i.e take your opponents King! and press Enter to stop the clock! This takes you to the clock statistics page, which is printed into IDLE window. Source code for the latest 3D chess game symchess.py <http://home.primusonline.com.au/knoware/python/symchess.py> Next I think I will go straight into 3D Galaxians. Does anyone know how to make Sound in python? Symion |
From: Bruce S. <Bru...@nc...> - 2009-02-15 14:33:22
|
<!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"> I tried your program on a Dell XPS laptop with NVIDIA card running Vista and had no problem.<br> <br> I also tried it on a Dell desktop machine with NVIDIA card running Vista and also had no problem.<br> <br> Bruce Sherwood<br> <br> symion wrote: <blockquote cite="mid:499...@pr..." type="cite"><font size="-1"><font face="Helvetica, Arial, sans-serif">The following code produces a complete lock out of my system!<br> <br> from visual import *<br> <br> scene.fullscreen=True<br> scene.visible=True<br> <br> sphere()<br> <br> while 1:<br> if scene.mouse.events>0:<br> m=scene.mouse.getevent()<br> break<br> <br> scene.visible=False<br> wmax=scene.width<br> hmax=scene.height<br> <br> scene.fullscreen=False<br> print wmax,hmax<br> <br> Run the code, click on the sphere and it should return to IDLE window.<br> Instead the whole screen stays blank, the sphere controls freeze and esc does not restore control back to windows.<br> Also, alt+tab does not work either! So I can not flip to other applications.<br> <br> For some reason I can recover control by typing (into a blank screen) scene.visible=1<enter>esc<br> This is typed into IDLE window, other wise I have to Turn Off my computer the hard way.<br> <br> Does anyone else experience this or is it just my old graphics card?<br> <br> I am running Vista Home Premium<br> <br> Symion<br> </font></font> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/XcvMzF8H">http://p.sf.net/sfu/XcvMzF8H</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ 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: symion <sy...@pr...> - 2009-02-15 05:09:29
|
I have found the previous version of symchess has become unstable. In the middle of a game, I noticed the processor fan was racing, even though I wasn't doing anything or had any background applications running. Then the game froze and a non-response error appeared in the window title. This happens whenever I run that version of symchess. Here is the source code symchess_bug.py <http://home.primusonline.com.au/knoware/python/symchess_bug.py> The reason seems to be the addition of an extra window for clock output, this seems to have destabilized it. Here is a version that does not open any extra window, it is stable so far, as I have been playing a lot of chess lately it seems to be standing up well. It has the clock displayed in the Same window, with Enter key still used to change player control. It also has a statistics report and Time play analysis at the end of each game. Note: you have to actually take your opponents king and press Enter to activate The End Game routine. Source code for 3D chess symchess.py <http://home.primusonline.com.au/knoware/python/symchess.py> Symion |
From: symion <sy...@pr...> - 2009-02-14 07:53:03
|
Here is an update to the Chess game. It now has a Clock and Enter key control for changing turn. Source code for 3D chess symchess.py <http://home.primusonline.com.au/knoware/python/symchess.py> Symion |
From: Bob R. <ra...@pa...> - 2009-02-14 03:02:03
|
I am trying to build visual python 5.0_candidate, on a linux Ubuntu 8.0.4 (hard heron) laptop. I corrected an end-of-scope problem at the end of render_manager.cpp (shown here: ------------------------------------------------------------- *** src/core/util/render_manager.cpp.ORIG 2008-04-08 11:24:36.000000000 -0700 --- src/core/util/render_manager.cpp 2009-02-12 16:21:56.000000000 -0800 *************** *** 58,61 **** return interval; } ! } // namespace cvisual \ No newline at end of file --- 58,61 ---- return interval; } ! } // !namespace cvisual -------------------------------------------------------------------) then got a complaint about the mutex_t type not containing a lock: = - = - = - = - = - = - = - = - = = - = - = - = - = - = - = - = - = = - = ../../visual-5.0_candidate/src/core/util/render_manager.cpp:37: instantiated from here ../../visual-5.0_candidate/dependencies/threadpool/include/./threadpool/./detail/locking_ptr.hpp:50: error: ‘class boost::recursive_mutex’ has no member named ‘lock’ = - = - = - = - = - = - = - = - = = - = - = - = - = - = - = - = - = = - = I haven't been doing any development in this environment, so I hope there is a simple answer to what may be going wrong. I have attached config.log and build.log, as requested in the make output. I am using the "threadpool-0_2_5-src" threadpool source; I pulled that down over a month ago, but I'm not sure whether that is the right package. There are lock definitions in, e.g., the /usr/include/boost/thread/detail/lock.hpp file, so there is the possibility of picking out a lock definition. There was some discussion in some file about which threadpool version to get for use with visual python 5.0, and as I recall it wasn't totally specific. So if this is just the wrong package, that would be an easy answer. Thanks for any help. --Bob Rader |
From: symion <sy...@pr...> - 2009-02-13 10:25:13
|
The following code produces a complete lock out of my system! from visual import * scene.fullscreen=True scene.visible=True sphere() while 1: if scene.mouse.events>0: m=scene.mouse.getevent() break scene.visible=False wmax=scene.width hmax=scene.height scene.fullscreen=False print wmax,hmax Run the code, click on the sphere and it should return to IDLE window. Instead the whole screen stays blank, the sphere controls freeze and esc does not restore control back to windows. Also, alt+tab does not work either! So I can not flip to other applications. For some reason I can recover control by typing (into a blank screen) scene.visible=1<enter>esc This is typed into IDLE window, other wise I have to Turn Off my computer the hard way. Does anyone else experience this or is it just my old graphics card? I am running Vista Home Premium Symion |
From: symion <sy...@pr...> - 2009-02-11 07:38:54
|
I have been writing a few games in Vpython, here is a Chess board and Chess set. It is fully functional but requires a Splash Screen and Clock for completion. Source code for 3D chess symchess.py <http://home.primusonline.com.au/knoware/python/symchess.py> The pieces were made using The Metric Cube program v2.0 Source code for 3D builder MetricCube-2.py <http://home.primusonline.com.au/knoware/python/MetricCube-2.py> In the works are Checkers and Space Invaders. Symion |
From: Guy K. K. <g....@ma...> - 2009-02-09 19:21:07
|
On Tue, 10 Feb 2009 08:02:07 Bruce Sherwood wrote: > Ah. I think it is the case that the Visual 5 spheres are rendered more > carefully than those in Visual 3 (whose spheres often looked a bit > angular), so I can imagine that with a very large number of spheres > there would be a penalty. Possible. But I've switched first from spheres to cubes. I needed that as I wanted to give them individual colour to see where in colour space they'd be located (my application computations are 3D to 3D colour adaptation transformations, and that gets quite messy, so position in space were the first 3D coordinates, colour tuples represented the second/target 3D coordinates). But for my own purposes I can get away with rendering points, for publications then I'll have to go and code up a histogrammer that will aggregate voxels to 3D "summary" objects for rendering. > This is a good example of how very specific > applications can be either faster or slower. Indeed. It can be *very* dependent on the specific use cases, 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-02-09 19:02:18
|
Ah. I think it is the case that the Visual 5 spheres are rendered more carefully than those in Visual 3 (whose spheres often looked a bit angular), so I can imagine that with a very large number of spheres there would be a penalty. This is a good example of how very specific applications can be either faster or slower. Bruce Sherwood Guy K. Kloss wrote: > On Tue, 10 Feb 2009 06:40:00 Gary Pajer wrote: >> I have a subjective sense that it might be slower than 3.0. > > I have experienced the same thing. Particularly for huge sets of objects to be > visualised. I'm using VPython to visualise results of numerical simulations > and computations with potentially thousands to 100s of thousands objects. > > So for some I've switched from rendering spheres to points which hugely > improved performance again. > > But I guess my use case is less usual, so it may very well be that for > "normal" use cases 5.0 is faster than v 3. > > Guy > |
From: Guy K. K. <g....@ma...> - 2009-02-09 18:44:34
|
On Tue, 10 Feb 2009 06:40:00 Gary Pajer wrote: > I have a subjective sense that it might be slower than 3.0. I have experienced the same thing. Particularly for huge sets of objects to be visualised. I'm using VPython to visualise results of numerical simulations and computations with potentially thousands to 100s of thousands objects. So for some I've switched from rendering spheres to points which hugely improved performance again. But I guess my use case is less usual, so it may very well be that for "normal" use cases 5.0 is faster than v 3. 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-02-09 18:27:25
|
Lots of tests I've run show the two versions to be about the same speed, but in some cases 5 is faster than 3 (due to subtleties in going from Numeric to numpy for array support). A good way to test is like this: from time import clock t0 = clock() ..... t0 = clock()-t0 print t0 Bruce Sherwood Gary Pajer wrote: > I've finally upgraded to 5.0 on my XP machine. > > I have a subjective sense that it might be slower than 3.0. Before > I try to reinstall 3.0 to check, I thought I'd ask ... > > What's known about the speed of 5.0 vs 3.0 ? > > -Gary > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Gary P. <gar...@gm...> - 2009-02-09 17:40:10
|
I've finally upgraded to 5.0 on my XP machine. I have a subjective sense that it might be slower than 3.0. Before I try to reinstall 3.0 to check, I thought I'd ask ... What's known about the speed of 5.0 vs 3.0 ? -Gary |
From: Bruce S. <Bru...@nc...> - 2009-02-09 04:19:02
|
Now if you go to vpython.org you're taken directly to the Visual 5 portion of the site (you may have the old home page cached, in which case you'll need to refresh the browser page). The following has been added to the new home page: "If you are new to VPython, it is recommended that you use this new Visual 5 which has enhanced features and improved documentation. If you have been using Visual 3, you should know that this Visual 5 release candidate does not yet support two features available in the older Visual 3: handling right-button and middle-button clicks and drags (other than user rotation and zoom), and scene.cursor.visible. Note too that Visual 5 uses the currently supported numpy array module, whereas the older Visual 3 uses the Numeric array module, which is no longer supported. For further details, see What's new in Visual 5." The switch was prompted by the very low level of bugs reported, and the fact that a large class at NCSU has been using Visual 5 on Macs for several weeks with no problems. Bruce Sherwood |
From: Mr G. K. <s40...@st...> - 2009-02-06 10:39:12
|
Sorry, I do see that I wrote that question in a confusing way, but I've worked out where I was going wrong now. Thanks for taking a look. ----- Original Message ----- From: Alan Gauld <ala...@bt...> Date: Friday, February 6, 2009 7:22 pm Subject: Re: [Tutor] 'sphere' object is unindexable > "Mr Gerard Kelly" wrote > > >I am trying to get around the problem of sphere object being > >unindexable. > > Can you give some background? Where are you getting these spheres? > Is this a graphics program or a tookit of some kind? > > > I need to make spheres appear, positioned according to some list, > > for > > example: > > > > for i in [0,1]: > > sphere(pos=(0,i,0), radius=0.1) > > And does this work? Or do you get an error? If so what? > > > Is there any way of making these different spheres behave > > differently > > without using indexing? > > Where is the indexing issue? > Are you trying to store the spheres in a list and index the list > to access a sphere or are you trying to use an index to access > some aspect of the sphere? > > Show us the code that sdoesn't work and the error message. > Don't just describe it. Show us. Don't assume we know what > you are trying to do - we are not psychic. > > > For example, I would like to be able to make the lower sphere go red > > when it is clicked on, using this fragment of code: > > > > while True: > > if scene.mouse.events: > > m = scene.mouse.getevent() > > if m.pick is ball[0]: > > ball[0].color = color.red > > > > But obviously it won't work because I haven't named it ball[0]. > > So why don't you name it ball? and what is m.pick supposed to be? > Some attribute of a muse event based on your code but I have > no idea what it might be! > > > figure out a way to name the objects based on their position without > > using indexing. Is there any way to do this? > > A standard list should work and so provided you stored your > spheres in a list when you created them you should be able to > access them via an index. But without real code and a real > error trace we can't help very much other than by making > speculative guesses. > > > -- > Alan Gauld > Author of the Learn to Program web site > http://www.freenetpages.co.uk/hp/alan.gauld > > > _______________________________________________ > Tutor maillist - Tu...@py... > http://mail.python.org/mailman/listinfo/tutor > |
From: CL <clc...@gm...> - 2009-02-06 09:05:11
|
You can simply assign the sphere object to a variable and reference it later. e.g.: from visual import * ball=[] for i in [0,1]: s=sphere(pos=(0,i,0), radius=0.1) ball.append(s) while True: if scene.mouse.events: m = scene.mouse.getevent() if m.pick is ball[0]: ball[0].color = color.red if m.pick is ball[1]: ball[1].color = color.blue > Message: 9 > Date: Fri, 06 Feb 2009 18:37:38 +1000 > From: Mr Gerard Kelly <s40...@st...> > Subject: [Visualpython-users] 'sphere' object is unindexable > To: "vis...@li..." > <vis...@li...> > Cc: "tu...@py..." <tu...@py...> > Message-ID: <d40...@uq...> > Content-Type: text/plain; charset=us-ascii > > I am trying to get around the problem of sphere object being unindexable. > > I need to make spheres appear, positioned according to some list, for > example: > > for i in [0,1]: > sphere(pos=(0,i,0), radius=0.1) > > > Is there any way of making these different spheres behave differently > without using indexing? > > For example, I would like to be able to make the lower sphere go red > when it is clicked on, using this fragment of code: > > while True: > if scene.mouse.events: > m = scene.mouse.getevent() > if m.pick is ball[0]: > ball[0].color = color.red > > But obviously it won't work because I haven't named it ball[0]. I can't > figure out a way to name the objects based on their position without > using indexing. Is there any way to do this? > > Thank you. > > > > ------------------------------ > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > > ------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > End of Visualpython-users Digest, Vol 33, Issue 2 > ************************************************* > |
From: Mr G. K. <s40...@st...> - 2009-02-06 08:37:47
|
I am trying to get around the problem of sphere object being unindexable. I need to make spheres appear, positioned according to some list, for example: for i in [0,1]: sphere(pos=(0,i,0), radius=0.1) Is there any way of making these different spheres behave differently without using indexing? For example, I would like to be able to make the lower sphere go red when it is clicked on, using this fragment of code: while True: if scene.mouse.events: m = scene.mouse.getevent() if m.pick is ball[0]: ball[0].color = color.red But obviously it won't work because I haven't named it ball[0]. I can't figure out a way to name the objects based on their position without using indexing. Is there any way to do this? Thank you. |