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: Bruce S. <bas...@un...> - 2003-12-10 18:57:49
|
I received this question from a user working on Windows XP, and I wondered whether someone has an answer I could pass on (and I should add it to the FAQ). Arthur Siegel successfully made an executable some time ago; Arthur, can you recapitulate what you did? Did you use py2exe or some other tool? Thanks. Bruce Sherwood --------------------------------------------- Hello, I just started playing around with VPython, and I have to say: wow, you guys are doing an excellent job. I do a have one question, regarding executable file generation. Is it possible to generate an executable file from a Python source code file that utilizes VPython? I tried using py2exe to compile one of your demos(stars.py, also tried bounce.py with same results), but I ran into some problems. Running py2exe does generate an exe file, however I was unable to actually run the executable file on my machine. When py2exe was running I got the following warning messages: warning: py2exe: * The following modules were not found: warning: py2exe: * Carbon.Folder warning: py2exe: * Carbon.Folders warning: py2exe: * dotblas warning: py2exe: * fcntl warning: py2exe: * readline Could this have something to do with the executable file not running? Any suggestions would be much appreciated. |
From: Bruce S. <bas...@un...> - 2003-12-06 16:24:19
|
Kelvin Chu of the University of Vermont has contributed a program movie.py which on MacOSX produces a QuickTime movie from a VPython program. See the contributed programs section of http://vpython.org. Thanks, Kelvin! Bruce Sherwood |
From: Bruce P. <bap...@te...> - 2003-12-02 17:49:17
|
Well after some more testing I found that when I installed Python2.3 somehow the default call from double clicking on a ---.pyw file remained to launch Python 2.2 -- the console version and pythonwin (activestate's IDE) both use Python2.3. sorry about the false alarm Bruce At 04:42 AM 12/2/2003, you wrote: >Bruce Peterson wrote: > >>under windows the ellipsoid object is not recognized in noconsole mode. >> >>example code snipette from stonehenge example >> >>""" The following code runs correctly when run in >> console mode ie 'ellipsoiderr.py' but generates an >> exception when run in noconsole mode ie 'ellipsoiderr.pyw' >>""" >> >> >>from visual import * >>scene.title = "Surreal Stonehenge" >>scene.height = 600 >>scene.width = 600 >>scene.range = (18,18,18) >>scene.center = (0,2,0) >>grey = (0.8, 0.8, 0.8) >>Nslabs = 8 >>R = 10.0 >>w = 5.0 >>d = 0.5 >>h = 5.0 >>v0 = 1 >>v = v0 >> >>Rcloud = 0.8*R >>omegacloud = v0/Rcloud >>try: >> cloud = ellipsoid(pos=(0,0.7*h,-Rcloud), size=(5,2,2), >> color=(0.4,0.4,0.4)) >>except Exception, estmt: >> logfile=file("EllipsoidErr.log","w") >> logfile.write(" Exception was " + str(estmt) + "\n") >> logfile.flush() >> logfile.close() >> >>while 1: >> rate(30) >> >> >>Bruce Peterson >>425 466 7344 > >Works for me in both cmd.exe and idle on WinXP. Exactly what error are >you getting? What is the date that VPython prints out when you run this >program? > >-Jonathan Brandmeyer |
From: Arthur <aj...@op...> - 2003-12-02 13:10:58
|
> Has anyone had any experience in making distributable VPython programs (a > single exe in windows)? I've tried the Mcmillan and py2exe installers with > out much luck. The Mcmillan installer makes the .exe file which dies as > soon as it is run (I'm using the stonehenge example for testing). Py2exe > won't even compile (from the error messages I'd guess its a 2.3 problem not > Vpython). Good news and bad news. Good news - it's quite achievable. At: http://www.dstoys.com/content/education/index_html/Visual%20Arts/Interactive is a proof of concept using the Vpythons Towers of Hanoi demo. Bad news: I did it some time ago, and lost the trail of exactly how I did it. I do seem to remember that a necessary trick was renaming the __init__.py file in the visual directory to visual.py. I think you can unzip the exe included in the sample above and see its contents - which should give you some good clues. I'll look closer if and whn I get a chance, and see what memeories I can recover. Art |
From: Bruce P. <bap...@te...> - 2003-12-02 03:26:25
|
Has anyone had any experience in making distributable VPython programs (a single exe in windows)? I've tried the Mcmillan and py2exe installers with out much luck. The Mcmillan installer makes the .exe file which dies as soon as it is run (I'm using the stonehenge example for testing). Py2exe won't even compile (from the error messages I'd guess its a 2.3 problem not Vpython). Bruce Peterson, Ph.D. Terastat, Inc Information Access Systems Voice (425) 466 7344 Fax (206) 350 3685 |
From: Bruce P. <bap...@te...> - 2003-12-02 03:24:35
|
under windows the ellipsoid object is not recognized in noconsole mode. example code snipette from stonehenge example """ The following code runs correctly when run in console mode ie 'ellipsoiderr.py' but generates an exception when run in noconsole mode ie 'ellipsoiderr.pyw' """ from visual import * scene.title = "Surreal Stonehenge" scene.height = 600 scene.width = 600 scene.range = (18,18,18) scene.center = (0,2,0) grey = (0.8, 0.8, 0.8) Nslabs = 8 R = 10.0 w = 5.0 d = 0.5 h = 5.0 v0 = 1 v = v0 Rcloud = 0.8*R omegacloud = v0/Rcloud try: cloud = ellipsoid(pos=(0,0.7*h,-Rcloud), size=(5,2,2), color=(0.4,0.4,0.4)) except Exception, estmt: logfile=file("EllipsoidErr.log","w") logfile.write(" Exception was " + str(estmt) + "\n") logfile.flush() logfile.close() while 1: rate(30) Bruce Peterson 425 466 7344 |
From: Rachel.Vaudron <ra...@se...> - 2003-11-26 10:15:24
|
> The Python Imaging Library (PIL) has a screen grab routine that works fine > with VPython -- you can save the screen as a bitmap (large) or jpeg and > several other formats. Do note that it grabs the screen (or a portion > thereof) not the VPython window so anything overlapping will get grabbed as > well. I think that screen shot won't be of high enough quality to print on a very large paper sheets. Rachel |
From: Rachel.Vaudron <ra...@se...> - 2003-11-26 10:12:49
|
> Currently there is no way to display an image in VPython. The online > reference manual is complete; if you don't find a feature there it > doesn't exist. So I will digitalize the contour of my cave... and display it with my objects. > However, some features may not be noticed at first. For example, you can > change the origin programmatically. In the help section on "Controlling > windows" you will see that you can programmatically change scene.center > and scene.forward to change what part of the scene the "camera" is > looking at and from what direction. I will try this and The module by Ruth Chabay. Thanks for all the informations, I will probably recontact the list if I encounter any problem while programming...;) Rachel =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Rachel Vaudron Laboratoire d=E9partemental de pr=E9histoire du Lazaret 33 bis bd franck Pilatte 06300 Nice =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D |
From: Anton S. <br...@po...> - 2003-11-26 08:24:15
|
Bruce Sherwood wrote: > Putting this all together, here is a possible scheme that might > do what you need: > > 1) Produce the 3D image you want in VPython, using the Chabay module > to export a scene-description file in POV-Ray format. > > 2) Install POV-ray and use it to produce a photo-quality image. > > 3) Use some tool such as PhotoShop to merge this image with your > background image. Better yet, PoV-Ray *can* import an image file and apply it to an object, e.g. a plane in the background. (PoV-Ray can be downloaded from www.povray.org, and is easy to learn) -- Anton Sherwood, http://www.ogre.nu/ |
From: Bruce P. <bap...@te...> - 2003-11-26 05:26:52
|
The Python Imaging Library (PIL) has a screen grab routine that works fine with VPython -- you can save the screen as a bitmap (large) or jpeg and several other formats. Do note that it grabs the screen (or a portion thereof) not the VPython window so anything overlapping will get grabbed as well. At 08:57 PM 11/25/2003, you wrote: >Send Visualpython-users mailing list submissions to > vis...@li... > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/visualpython-users >or, via email, send a message with subject or body 'help' to > vis...@li... > >You can reach the person managing the list at > vis...@li... > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Visualpython-users digest..." > > >Today's Topics: > > 1. vpython and my application (Rachel.Vaudron) > 2. Re: vpython and my application (Bruce Sherwood) > >--__--__-- > >Message: 1 >Date: Tue, 25 Nov 2003 15:20:54 +0100 (CET) >From: "Rachel.Vaudron" <ra...@se...> >To: <vis...@li...> >Subject: [Visualpython-users] vpython and my application > > Hi, > >after having payed with the demos and tried to use vpython with my programs= >, I >think that it's very powerful but I'm not sure that is the best tool for >my application, I hope you could help me to choose... > >I have to display 3D objets in an orthonormal system and complete this >with an axis and a grid. For these things, I think that vpython is good. >But, I have to put a background image behind my graph and the result must >look nice when being printed on very large paper sizes (e.g. A0), so a >screenshot is probably not good enough. > >Do you know if with vpython it is possible : > * to put a background image in the frame > * to change the origin programmatically > * to zoom programmatically > * to find a system to print easily ? > >I have studied the reference documentation but I haven't find more doc. >Could you say me where I could find some? > >Thaks a lot for your reply. > >Rachel > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D >Rachel Vaudron >Laboratoire d=E9partemental de pr=E9histoire du Lazaret >33 bis bd franck Pilatte 06300 Nice >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D > > > >--__--__-- > >Message: 2 >Date: Tue, 25 Nov 2003 10:26:35 -0500 >From: Bruce Sherwood <bas...@un...> >To: "Rachel.Vaudron" <ra...@la...>, > vpusers <vis...@li...> >Subject: Re: [Visualpython-users] vpython and my application > >Currently there is no way to display an image in VPython. The online=20 >reference manual is complete; if you don't find a feature there it=20 >doesn't exist. > >However, some features may not be noticed at first. For example, you can=20 >change the origin programmatically. In the help section on "Controlling=20 >windows" you will see that you can programmatically change scene.center=20 >and scene.forward to change what part of the scene the "camera" is=20 >looking at and from what direction. > >Also, see the demo program stonehenge.py for an example of moving=20 >through the scene rather than merely rotating around the scene. > >As for the quality of the image, note that at http://vpython.org there=20 >is "A module by Ruth Chabay to export a VPython scene to POV-Ray".=20 >POV-Ray is a freeware utility that produces photo-quality "ray-traced"=20 >images, something that is not possible in real time with VPython. > >Putting this all together, here is a possible scheme that might do what=20 >you need: > >1) Produce the 3D image you want in VPython, using the Chabay module to=20 >export a scene-description file in POV-Ray format. > >2) Install POV-ray and use it to produce a photo-quality image. > >3) Use some tool such as PhotoShop to merge this image with your=20 >background image. > >There is not a good way built into VPython for printing images directly;=20 >you have to do screen prints. It is possible that among the abundant=20 >Python tools for image processing and printing it is possible to=20 >automate this, but I for one don't know how. > >Bruce Sherwood > >Rachel.Vaudron wrote: > > Hi, > >=20 > > after having payed with the demos and tried to use vpython with my prog= >rams, I > > think that it's very powerful but I'm not sure that is the best tool fo= >r > > my application, I hope you could help me to choose... > >=20 > > I have to display 3D objets in an orthonormal system and complete this > > with an axis and a grid. For these things, I think that vpython is good. > > But, I have to put a background image behind my graph and the result mu= >st > > look nice when being printed on very large paper sizes (e.g. A0), so a > > screenshot is probably not good enough. > >=20 > > Do you know if with vpython it is possible : > > * to put a background image in the frame > > * to change the origin programmatically > > * to zoom programmatically > > * to find a system to print easily ? > >=20 > > I have studied the reference documentation but I haven't find more doc. > > Could you say me where I could find some? > >=20 > > Thaks a lot for your reply. > >=20 > > Rachel > >=20 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D > > Rachel Vaudron > > Laboratoire d=E9partemental de pr=E9histoire du Lazaret > > 33 bis bd franck Pilatte 06300 Nice > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= >=3D=3D > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Visualpython-users mailing list > > Vis...@li... > > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > >--__--__-- > >_______________________________________________ >Visualpython-users mailing list >Vis...@li... >https://lists.sourceforge.net/lists/listinfo/visualpython-users > > >End of Visualpython-users Digest Bruce Peterson |
From: Bruce S. <bas...@un...> - 2003-11-25 15:26:40
|
Currently there is no way to display an image in VPython. The online=20 reference manual is complete; if you don't find a feature there it=20 doesn't exist. However, some features may not be noticed at first. For example, you can=20 change the origin programmatically. In the help section on "Controlling=20 windows" you will see that you can programmatically change scene.center=20 and scene.forward to change what part of the scene the "camera" is=20 looking at and from what direction. Also, see the demo program stonehenge.py for an example of moving=20 through the scene rather than merely rotating around the scene. As for the quality of the image, note that at http://vpython.org there=20 is "A module by Ruth Chabay to export a VPython scene to POV-Ray".=20 POV-Ray is a freeware utility that produces photo-quality "ray-traced"=20 images, something that is not possible in real time with VPython. Putting this all together, here is a possible scheme that might do what=20 you need: 1) Produce the 3D image you want in VPython, using the Chabay module to=20 export a scene-description file in POV-Ray format. 2) Install POV-ray and use it to produce a photo-quality image. 3) Use some tool such as PhotoShop to merge this image with your=20 background image. There is not a good way built into VPython for printing images directly;=20 you have to do screen prints. It is possible that among the abundant=20 Python tools for image processing and printing it is possible to=20 automate this, but I for one don't know how. Bruce Sherwood Rachel.Vaudron wrote: > Hi, >=20 > after having payed with the demos and tried to use vpython with my prog= rams, I > think that it's very powerful but I'm not sure that is the best tool fo= r > my application, I hope you could help me to choose... >=20 > I have to display 3D objets in an orthonormal system and complete this > with an axis and a grid. For these things, I think that vpython is good. > But, I have to put a background image behind my graph and the result mu= st > look nice when being printed on very large paper sizes (e.g. A0), so a > screenshot is probably not good enough. >=20 > Do you know if with vpython it is possible : > * to put a background image in the frame > * to change the origin programmatically > * to zoom programmatically > * to find a system to print easily ? >=20 > I have studied the reference documentation but I haven't find more doc. > Could you say me where I could find some? >=20 > Thaks a lot for your reply. >=20 > Rachel >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > Rachel Vaudron > Laboratoire d=E9partemental de pr=E9histoire du Lazaret > 33 bis bd franck Pilatte 06300 Nice > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Rachel.Vaudron <ra...@se...> - 2003-11-25 14:21:21
|
Hi, after having payed with the demos and tried to use vpython with my programs= , I think that it's very powerful but I'm not sure that is the best tool for my application, I hope you could help me to choose... I have to display 3D objets in an orthonormal system and complete this with an axis and a grid. For these things, I think that vpython is good. But, I have to put a background image behind my graph and the result must look nice when being printed on very large paper sizes (e.g. A0), so a screenshot is probably not good enough. Do you know if with vpython it is possible : * to put a background image in the frame * to change the origin programmatically * to zoom programmatically * to find a system to print easily ? I have studied the reference documentation but I haven't find more doc. Could you say me where I could find some? Thaks a lot for your reply. Rachel =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D Rachel Vaudron Laboratoire d=E9partemental de pr=E9histoire du Lazaret 33 bis bd franck Pilatte 06300 Nice =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D |
From: Bruce S. <bas...@un...> - 2003-11-15 05:08:52
|
graph.py, the component of VPython that produces graphs, has been updated to fix a problem with ghistogram, which wasn't handling x < 0 properly. Thanks to Giulio Venezian for pointing out this problem. He also suggested an improvement to the demo program gas.py to make the initial distribution isotropic. Both of these fixes have been checked into CVS and are also available in the zip files for "all platforms" at vpython.org. Not incorporated into any of the installers yet, however. Bruce Sherwood |
From: Jonathan B. <jbr...@ea...> - 2003-10-30 18:34:58
|
On Wed, 2003-10-29 at 23:24, Aaron Titus wrote: > I'd like to use the helix module. Can I put helix.py in the visual > folder and thus be able to import all classes from the helix module? > > Thanks, > > AT Yes. You can also place it in the same directory as your program and import it directly from there. In this case you would use "from helix import helix" instead of "from visual.helix import helix" -Jonathan Brandmeyer |
From: Aaron T. <ti...@ma...> - 2003-10-30 04:24:09
|
I'd like to use the helix module. Can I put helix.py in the visual folder and thus be able to import all classes from the helix module? Thanks, AT ------------------------------------------------------------------------ ------- Phone: 336-841-4668 Web: http://www.highpoint.edu/~atitus/ 342 Haworth Hall of Science Department of Chemistry and Physical Science High Point University 833 Montlieu Ave High Point, NC 27262 ------------------------------------------------------------------------ ------- |
From: Bruce P. <bap...@te...> - 2003-10-28 22:55:40
|
Attached is a module colorsysts.py that some may find useful. This combines and extends a couple of modules that are already available the functionality includes the original colorsys module for transforming among color coordinate systems a named colors function to provide a wide range of color names a color interpolation module The last requires some explanation: I've found that mapping real valued variables onto a color space (say through Hue in a HSL space) is less than satisfactory -- the color mappings are not linear and the eye doesn't respond linearly either. The color interpolation function maps continuous values onto discrete sets of colors (3,4,5,8 or 11 values ) This provides a much more distinguishable response. Bruce Peterson, Ph.D. Terastat, Inc Information Access Systems Voice (425) 466 7344 Fax (206) 350 3685 |
From: Bruce S. <bas...@un...> - 2003-10-24 17:21:01
|
The recent new instructions for installing on OSX had a major flaw which has been corrected. Due to testing on what I thought was a pristine Mac but wasn't, I missed the fact that X11 has TWO pieces, X11 itself and the SDK libraries. I don't know why they didn't just include the libraries with X11. Sigh. Bruce Sherwood |
From: Bruce S. <bas...@un...> - 2003-10-17 17:42:08
|
Easier OSX installation now available from http://vpython.org. You don't need to register as an OSX developer, install the developer tools, and compile Visual, because this is a binary installer. Also, Numeric is automatically installed. With the next release of OSX, you won't have to install X11 either, because it comes with the new release. This is currently for Python 2.2, because there isn't in the "stable" part of the Fink application catalog a package for Python 2.3. It would be much preferable to use Python 2.3, because that comes with the new Idle, whereas the old Idle for VPython has Emacs key bindings which are not intuitive for most people. I may post instructions on how to install Python 2.3, in which case I'll also post a binary installer for VPython. The new installer is simply a tar file of the binary components. It would be better for it to be a Fink package, but I don't know how to do that. Volunteer? Bruce Sherwood |
From: Jonathan B. <jbr...@ea...> - 2003-10-15 20:47:26
|
On Wed, 2003-10-15 at 10:00, Pawel Oleksik wrote: > Hi! > I cannot build (indeed: link) vpython on Slackware 9.1. > The reason is that libtool cannot find 'libGLU.la' > (all I have is 'libGLU.a' and other static and dynamic > XF86 libraries). > Is there any easy way to get it worked? > > Pawel Oleksik Since the core of visual is a dynamically loaded plugin to Python, it cannot be linked to static libraries on Linux. I believe that you will have to get a shared library version of libGLU.so for your system. HTH, Jonathan Brandmeyer |
From: Pawel O. <ol...@aw...> - 2003-10-15 12:11:09
|
Hi! I cannot build (indeed: link) vpython on Slackware 9.1. The reason is that libtool cannot find 'libGLU.la' (all I have is 'libGLU.a' and other static and dynamic XF86 libraries). Is there any easy way to get it worked? Pawel Oleksik |
From: Bruce S. <bas...@un...> - 2003-10-06 04:20:00
|
Implemented greenmagenta stereo; installers available for Windows/Linux/Unix/MacOSX. Rob Salgado reported that LCD projectors polarize green horizontally (horizontal electric field) and red and blue vertically. This greenmagenta mode therefore may be useful for LCD projection with passive polarizing glasses oriented to pass horizontal electric field to the left eye and vertical electric field to the right eye. (But note that often polarizing stereo glasses pass electric field at 45 and 135 degrees, not 0 and 90 degrees.) I experimented a bit with an LCD projector, but I was handicapped by not having a screen that preserves polarization; the best I could do for the moment was use a sheet of aluminum foil. Also, I'm not sure how good my polaroids are, nor how well polarized the LCD projector light really is. There's definitely a strong polarization of the green vs. the red and magenta, but under the poorly controlled circumstances of the test the ghosts were about as bad as with the simpler redcyan, which doesn't require a special screen. In passing I note that ghosts in the redcyan projection were less noticeable with the room lights on. The ghosts are after all rather faint, and they tended to wash out with the room lights on. Bruce Sherwood |
From: Jonathan B. <jbr...@ea...> - 2003-10-05 02:27:51
|
On Sat, 2003-10-04 at 18:29, Chris Trendall wrote: > Hi, > > I'm getting an error while trying to compile Visual Python > (visual-2.1.7-20031001.tar.gz). > (config.log attached) > > Does anyone have any suggestions? > > Chris > > <START EXCERPT> > > make[1]: Entering directory > `/nfs/hades.dgp/ondemand9/trendall/visual-2.1.7/cvisual' > /bin/sh ..//libtool --mode=compile g++ -c -I./CXX/Include -I. > -DHAVE_CONFIG_H -I/homes/e/trendall/s/include/python2.3 -g -O2 > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/X11R6/include -I/homes/e/trendall/s/include -pthread > -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 > -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include -o xgl.lo > xgl.cpp Note the combination of Glib 2.0 and Gtk 1.2. This is a Bad Thing. > > <END EXCERPT> (excerpted from config.log) GTHREAD_CFLAGS='-pthread -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include ' GTHREAD_LIBS='-pthread -L/nfs/hades.dgp/ondemand9/trendall/lib -lgthread-2.0 -lglib-2.0 ' This is wrong and indicates a problem with your installation of Glib. `configure` determines the values of these variables by running `pkg-config --cflags gthread` and `pkg-config --libs gthread`. You should get stuff relating to glib-1.2, *NOT* glib-2.0. You should have to run `pkg-config --cflags gthread-2.0` to pick up Glib 2 stuff. So, your installation of Glib is screwed up in some way. HTH, -Jonathan Brandmeyer |
From: Bruce S. <bas...@un...> - 2003-10-05 00:02:49
|
Wow! I'll try an LCD projector real soon and check this out. Could be wonderful. Thanks much for the tip. I looked at the polarization of the light from my new Gateway laptop and find that the light is very strongly polarized, but all colors have the same polarization. What do others find? Bruce Sherwood Rob Salgado wrote: > After doing a search on google with green-magenta anaglyph > I found these discussions. > > > from http://www.callipygian.com/3D/ > "Green Magenta Full Color > Uses Green/Magenta instead of Red/Cyan. For LCD projectors viewed with > polarized glasses on a sliver screen" > > > from http://trikuare.cx/mt/archives/000313.php > "GREEN MAGENTA anaglyphs have a good application! > > Most LCD projectors polarize GREEN 90 degrees from RED and BLUE. > > So, if you project a GREEN/MAGENTA anaglyph on a silver screen (or rear > screen that doesn't de-polarize the light) and view with zero/90 polarized > glasses, you'll see a good 3D image! And the colors aren't screwed up > badly because you're viewing them with neutral (polarized) glasses, not > colored lenses." > > > > from http://groups.yahoo.com/group/3dtv/message/2227?source=1 > "Sergio suggested to display a green-magenta anaglyph with a LCD > projector, and to view it with stacked color and polarized glasses. > I did this experiment just now. The result was very pleasing: > ghosting almost completely disappeared! It could be hardly seen only > in the most difficult circumstances (full white on full black). The > ghosting level is certainly at least as good as in a high-quality > active display. > I used red-green anaglyph with linear polarization. > Sergio, two thumbs up! > > Itsik > " > > > > Rob Salgado > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Chris T. <tre...@cs...> - 2003-10-04 22:29:14
|
Hi, I'm getting an error while trying to compile Visual Python (visual-2.1.7-20031001.tar.gz). (config.log attached) Does anyone have any suggestions? Chris <START EXCERPT> make[1]: Entering directory `/nfs/hades.dgp/ondemand9/trendall/visual-2.1.7/cvisual' /bin/sh ..//libtool --mode=compile g++ -c -I./CXX/Include -I. -DHAVE_CONFIG_H -I/homes/e/trendall/s/include/python2.3 -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/homes/e/trendall/s/include -pthread -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include -o xgl.lo xgl.cpp g++ -c -I./CXX/Include -I. -DHAVE_CONFIG_H -I/homes/e/trendall/s/include/python2.3 -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/homes/e/trendall/s/include -pthread -I/nfs/hades.dgp/ondemand9/trendall/include/glib-2.0 -I/nfs/hades.dgp/ondemand9/trendall/lib/glib-2.0/include xgl.cpp -fPIC -DPIC -o xgl.lo xgl.cpp: In method `bool xglContext::initWindow (const char *, int, int, int, int, int)': xgl.cpp:349: parse error before `)' xgl.cpp:349: `G_TYPE_CHECK_INSTANCE_CAST' undeclared (first use this function) xgl.cpp:349: (Each undeclared identifier is reported only once for each function it appears in.) xgl.cpp: In method `void xglContext::makeCurrent ()': xgl.cpp:465: parse error before `)' xgl.cpp: In method `void xglContext::swapBuffers ()': xgl.cpp:472: parse error before `)' make[1]: *** [xgl.lo] Error 1 make[1]: Leaving directory `/nfs/hades.dgp/ondemand9/trendall/visual-2.1.7/cvisual' make: *** [all-recursive] Error 1 <END EXCERPT> -- |
From: Rob S. <sa...@ph...> - 2003-10-04 20:38:45
|
After doing a search on google with green-magenta anaglyph I found these discussions. from http://www.callipygian.com/3D/ "Green Magenta Full Color Uses Green/Magenta instead of Red/Cyan. For LCD projectors viewed with polarized glasses on a sliver screen" from http://trikuare.cx/mt/archives/000313.php "GREEN MAGENTA anaglyphs have a good application! Most LCD projectors polarize GREEN 90 degrees from RED and BLUE. So, if you project a GREEN/MAGENTA anaglyph on a silver screen (or rear screen that doesn't de-polarize the light) and view with zero/90 polarized glasses, you'll see a good 3D image! And the colors aren't screwed up badly because you're viewing them with neutral (polarized) glasses, not colored lenses." from http://groups.yahoo.com/group/3dtv/message/2227?source=1 "Sergio suggested to display a green-magenta anaglyph with a LCD projector, and to view it with stacked color and polarized glasses. I did this experiment just now. The result was very pleasing: ghosting almost completely disappeared! It could be hardly seen only in the most difficult circumstances (full white on full black). The ghosting level is certainly at least as good as in a high-quality active display. I used red-green anaglyph with linear polarization. Sergio, two thumbs up! Itsik " Rob Salgado |