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: Jaap S. <j....@hc...> - 2008-06-21 11:20:37
|
From the build log: ./core/util/errors.cpp: In function 'void cvisual::write_note(std::string, int, std::string)': ./core/util/errors.cpp:40: error: 'getenv' was not declared in this scope This is a gcc-4.3 problem: http://gcc.gnu.org/gcc-4.3/porting_to.html Probably easy to solve for a c++ guru. Jaap |
From: Bruce S. <Bru...@nc...> - 2008-06-21 06:10:37
|
If you are running Leopard (OS X 10.5) on an Intel Mac, and you don't intend to use the Fink package manager for anything other than installing VPython, you can use the quick and easy VPython installer prepared by John Armstrong and now available on the Mac download page at vpython.org. THANK YOU, JOHN!! This will be particularly helpful for people who want to install VPython on a large number of Macs. The new installer creates a folder /sw containing just those Fink packages needed for VPython (Python 2.5, the Visual module, and the Numeric module, for a total download file of 23 MB). The installer also creates in the Applications folder a convenient VPython icon for starting up the IDLE program editor. The File open menu offers you many demo programs you can run. Before running VPython programs, go to the X11 preferences, and in the Input section choose "Emulate three button mouse", in order to be able to rotate (Command-drag) and zoom (Option-drag). Bruce Sherwood P.S. John is also looking into making similar installers for other Mac configurations. And there is ongoing work to make a true native-mode version that doesn't need X11. |
From: Rob S. <sa...@ph...> - 2008-06-21 03:46:09
|
I have made available a new VPython program ( headtrack-Wiimotelib121-PY24.py ) from http://physics.syr.edu/~salgado/software/vpython/ which receives real-time data from the Nintendo Wii Remote (Wiimote). This [Windows-only] VPython program is an attempt to emulate the Head Tracking efforts of Johnny Chung Lee (http://www.cs.cmu.edu/~johnny/projects/wii/). SOME DETAILS... In order to read in the real-time data from the the Wiimote, we use the procedure presented by Nishio Hirokazu in http://nishiohirokazu.blogspot.com/2008/01/get-values-from-wii-remote-through.html, which uses Brian Peek's (Windows-only) WiimoteLib v1.2.1 [a library for using a Nintendo Wii Remote (Wiimote) from .NET.] (http://www.codeplex.com/WiimoteLib/Release/ProjectReleases.aspx?ReleaseId=10283) described in "Code4Fun - Managed Library for Nintendo's Wiimote (Brian Peek)" (http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx). To use .NET with Python, we used Brian Lloyd's Python for .NET (http://pythonnet.sourceforge.net/). Ideally, we would have liked to use the latest versions of the various software packages [which should be possible]. However, for now, the combination of versions that worked for us [with our program] is: - Python 2.4, VPython 3.2.9 - pythonnet-1.0-rc2-py2.4-clr1.1 - WiimoteLib v1.2.1 I'm sure there is a platform-independent solution in which Python communicates directly with Bluetooth. Of course, one now needs to know details of the protocol for talking with the Wiimote. Note: This was just thrown together as a "proof of concept". The code isn't the prettiest. The tracking and the visualization could certainly be improved. If you get it to work with more recent versions of Python and the various modules or on a different platform, please let us know. rob salgado |
From: Bruce S. <Bru...@nc...> - 2008-06-17 23:03:32
|
<!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 can't find where this comes from in the code, after searching everywhere for "version". If you instead invoke visual.version you'll get (4, beta26).<br> <br> Bruce Sherwood<br> <br> Anders Wallin wrote: <blockquote cite="mid:5ce...@ma..." type="cite"> <div class="gmail_quote"><br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">With visual-3.2.9 you're using the older Numeric, not the newer numpy. It does seem plausible that there could be some problems with Numeric in a 64-bit environment, since it was developed and debugged long before 64-bit computers were generally available. I don't know what would have to be changed to get around this problem (and I myself don't have access to a 64-bit machine).<br> It might be interesting to see what happens with the beta version of Visual, since it is based on numpy.</blockquote> <div><br> Yes! I downloaded visual-4.beta26 and installed all the dependencies that ./configure insisted on (including numpy), then installed with 'sudo make install', and now all the demos work fine.<br> <br> related to version numbers, what does this number mean?<br> >>> visual.__version__<br> '1.0.4'<br> <br> <br> Anders<br> </div> </div> <br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. <a class="moz-txt-link-freetext" href="http://sourceforge.net/services/buy/index.php">http://sourceforge.net/services/buy/index.php</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: Anders W. <and...@gm...> - 2008-06-17 17:37:17
|
> With visual-3.2.9 you're using the older Numeric, not the newer numpy. It > does seem plausible that there could be some problems with Numeric in a > 64-bit environment, since it was developed and debugged long before 64-bit > computers were generally available. I don't know what would have to be > changed to get around this problem (and I myself don't have access to a > 64-bit machine). > It might be interesting to see what happens with the beta version of > Visual, since it is based on numpy. Yes! I downloaded visual-4.beta26 and installed all the dependencies that ./configure insisted on (including numpy), then installed with 'sudo make install', and now all the demos work fine. related to version numbers, what does this number mean? >>> visual.__version__ '1.0.4' Anders |
From: Bruce S. <Bru...@nc...> - 2008-06-17 14:36:40
|
With visual-3.2.9 you're using the older Numeric, not the newer numpy. It does seem plausible that there could be some problems with Numeric in a 64-bit environment, since it was developed and debugged long before 64-bit computers were generally available. I don't know what would have to be changed to get around this problem (and I myself don't have access to a 64-bit machine). It might be interesting to see what happens with the beta version of Visual, since it is based on numpy. Bruce Sherwood anders wrote: > hi all, > I'd like to report some problems that show up with both the faces_xx.py > demos with visual-3.2.9 (I'm using Python 2.5.2 on 64-bit Ubuntu 8.04) > > I get mostly garbage: > http://imagebin.org/21126 > > the other demos work fine, so I'm thinking my opengl hardware/drivers > are ok. > > googling around it seems that this may be a problem with numpy on 64-bit > machines? When trying to use the faces object I get the error message > quoted below. > > anyone else seeing this too? any suggestions? > > regards, > > AW > ------------- > Traceback (most recent call last): > File "faces_cone.py", line 22, in <module> > model.pos[1::3, 0] = visual.sin(t[1:]) > ValueError: matrices are not aligned for copy > ---------------------- > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |
From: anders <and...@gm...> - 2008-06-17 05:59:13
|
hi all, I'd like to report some problems that show up with both the faces_xx.py demos with visual-3.2.9 (I'm using Python 2.5.2 on 64-bit Ubuntu 8.04) I get mostly garbage: http://imagebin.org/21126 the other demos work fine, so I'm thinking my opengl hardware/drivers are ok. googling around it seems that this may be a problem with numpy on 64-bit machines? When trying to use the faces object I get the error message quoted below. anyone else seeing this too? any suggestions? regards, AW ------------- Traceback (most recent call last): File "faces_cone.py", line 22, in <module> model.pos[1::3, 0] = visual.sin(t[1:]) ValueError: matrices are not aligned for copy ---------------------- |
From: Joel K. <jj...@ya...> - 2008-06-15 15:33:16
|
For those unfamiliar with GoodSearch, here is their site URL: http://www.goodsearch.com/ Could the VPython project get itself into the GoodSearch program? It might not raise a huge amount of money for further development &c, but maybe it could be worth some further thought one way or another. . . . Joel |
From: chris l. <chr...@sp...> - 2008-06-12 11:22:15
|
Another attempt, any observations great fully accepted. Add objects with the add menu, select objects to edit with the object menu , adjust parameters with the final menu. Display object allows background colour to be set, but not stored. Save saves a file to the current directory with the extention .hob which can be loaded on top of an existing model with the load function. file stores as a list of primitives, to allow objects to be built for visual python change the case of the commands in the saved file. Chris |
From: Symion <sy...@pr...> - 2008-06-12 04:21:28
|
<!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"> <font face="Helvetica, Arial, sans-serif">Hello again.<br> Here is my latest module, a polyline-polygon drawing program.<br> Super easy to use, it features a 64 color palette and the ability to draw kaleidoscopic polylines.<br> Left mouse key to drag lines around and right mouse click to close object.<br> Press 'x' to exit and your efforts will be output to IDLE window as a complete python script.<br> Then just copy and paste into a new window.<br> <br> More objects will be included in the next version, as well as file output facilities.<br> <br> Have fun<br> Symion<br> <br> </font> </body> </html> |
From: Brad L. <bj...@nc...> - 2008-06-03 01:11:23
|
On Tue, 2008-06-03 at 00:42 +0200, jean-marc pouchoulon wrote: > helo, > > I'm trying to compile vpython 3.2.9 on fedora 9 and I'm getting this > error: > > g++ -I/usr/include/python2.5 -DHAVE_CONFIG_H -I../include > -I..//include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 > -I/usr/lib/glib/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -c > arrow.cpp -fPIC -DPIC -o .libs/arrow.o > In file included from ../include/platform.h:108, > from ../include/cvisual.h:11, > from ../include/displaylist.h:9, > from ../include/prim.h:9, > from ../include/axial.h:9, > from ../include/arrow.h:8, > from arrow.cpp:5: > ../include/platlinux.h:27: error: declaration of 'typedef class > visual::lock<visual::mutex> visual::mutex::lock' > ../include/vthread.h:13: error: changes meaning of 'lock' from 'class > visual::lock<visual::mutex>' > > thanks for your help > > jmp > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users JMP, I was rebuilding the rpms for vpython-3.2.9, gtkglarea, and gtkglarea-devel I made previously for an earlier version of Fedora to give to you when I got the same error. I have no idea what it means. I have attached my build.log in case there is anymore information in there. If anyone finds out what the error is let me know. To those who are interested in the rpms let me know and I will send them to anyone who asks. I will be making them noarch this time so it won't matter whether you try to install them on fedora 7,8, or 9. -- Brad Longo <bj...@nc...> Aerospace Engineering and Applied Mathematics North Carolina State University Raleigh, North Carolina USA |
From: jean-marc p. <jea...@gm...> - 2008-06-02 22:42:14
|
helo, I'm trying to compile vpython 3.2.9 on fedora 9 and I'm getting this error: g++ -I/usr/include/python2.5 -DHAVE_CONFIG_H -I../include -I..//include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -fpic -DPIC -g -O2 -ftemplate-depth-120 -g0 -c arrow.cpp -fPIC -DPIC -o .libs/arrow.o In file included from ../include/platform.h:108, from ../include/cvisual.h:11, from ../include/displaylist.h:9, from ../include/prim.h:9, from ../include/axial.h:9, from ../include/arrow.h:8, from arrow.cpp:5: ../include/platlinux.h:27: error: declaration of 'typedef class visual::lock<visual::mutex> visual::mutex::lock' ../include/vthread.h:13: error: changes meaning of 'lock' from 'class visual::lock<visual::mutex>' thanks for your help jmp |
From: Bruce S. <Bru...@nc...> - 2008-06-01 03:00:22
|
Not sure what you're referring to. Can you offer a simple test program? The following test works properly: a = arrow(color=color.green) print a.axis scene.mouse.getclick() a.rotate(axis=(0,0,1), angle=pi/2) print a.axis The first print gives <1,0,0>, and the second gives <6e-17,1,0>, which is essentially <0,1,0>. Bruce Sherwood chris lyon wrote: > After you have performed a rotate on an object is there a way of > extracting the rotated angle from the object? > Axis is not affected and there doesn't seem to be a way of discovering > how much an object has been rotated once it's been done. > > |
From: chris l. <chr...@sp...> - 2008-06-01 02:00:09
|
After you have performed a rotate on an object is there a way of extracting the rotated angle from the object? Axis is not affected and there doesn't seem to be a way of discovering how much an object has been rotated once it's been done. |
From: Bruce S. <Bru...@nc...> - 2008-05-31 17:34:47
|
<!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"> ghistogram, like gcurve, gvbars, ghbars, and gdots, is a part of the visual.graph package. As with the other graphing modes, you can set title, x, y, width, height, xtitle, ytitle, xmin, xmax, ymin, ymax, and foreground and background colors by explicitly creating a gdisplay.<br> <br> Also note in the on-line help that once you've made a gdisplay, say graph1 = gdisplay(.....), you can refer to the display on which it is based as graph1.display, which means that you can place additional labels on the graph (in addition to xtitle, ytitle, and title) by specifying label(display=graph1.display, ....).<br> <br> If you can describe what seemed missing from the documentation perhaps I could improve the documentation for the next person.<br> <br> Bruce Sherwood<br> <br> Nathan Moore wrote: <blockquote cite="mid:600...@ma..." type="cite">Hi All,<br> <br> I can't seem to find full documentation for ghistogram. Is ghistogram a regular display? How can I set title, x-axis label, add labels to the histogram etc?<br> <br> Thanks!<br> <br> Nathan Moore<br clear="all"> <br> -- <br> - - - - - - - - - - - - - - - - - - - - - <br> Nathan Moore<br> Assistant Professor, Physics<br> Winona State University<br> AIM: nmoorewsu <br> - - - - - - - - - - - - - - - - - - - - - <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. <a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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: Nathan M. <nt...@gm...> - 2008-05-31 17:04:36
|
Hi All, I can't seem to find full documentation for ghistogram. Is ghistogram a regular display? How can I set title, x-axis label, add labels to the histogram etc? Thanks! Nathan Moore -- - - - - - - - - - - - - - - - - - - - - - Nathan Moore Assistant Professor, Physics Winona State University AIM: nmoorewsu - - - - - - - - - - - - - - - - - - - - - |
From: Bruce S. <Bru...@nc...> - 2008-05-27 18:48:03
|
<!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"> There's nothing built-in. However you can modify the standard arrow through inheritance, like this:<br> <br> from __future__ import division<br> from visual import *<br> <br> class arrow2D(arrow):<br> def __init__(self, pos=(0,0,0), axis=(1,0,0), color=color.white):<br> arrow.__init__(self, pos=pos, axis=(axis[0],axis[1],0), color=color)<br> <br> arrow2D(pos=(0,0,0), axis=(3,4,2), color=color.red)<br> arrow2D(pos=(3,4,2), axis=(5,-2,4), color=color.cyan)<br> <br> Bruce Sherwood<br> <br> Jess Kondor wrote: <blockquote cite="mid:1d9...@ma..." type="cite"><br> Dear all,<br> <br> I am new in Vpython. I have a script that plots 3d vectors. By default, it shows a plot in perspective 3D view. Is there a way to set a display that will show my plot in plane projection?<br> <br> thanks,<br> jess<br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. <a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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: Jess K. <kon...@gm...> - 2008-05-27 15:35:56
|
Dear all, I am new in Vpython. I have a script that plots 3d vectors. By default, it shows a plot in perspective 3D view. Is there a way to set a display that will show my plot in plane projection? thanks, jess |
From: Kadir H. <kha...@ya...> - 2008-05-26 08:55:56
|
Sorry, forgot the cc for the group. ----- Forwarded Message ---- From: Kadir Haldenbilen <kha...@ya...> To: Bruce Sherwood <Bru...@nc...> Sent: Monday, May 26, 2008 11:54:31 AM Subject: Re: [Visualpython-users] MULTIPLE WINDOWS FOR A SCENE: Just a little thought Just a matter of curiosity... With the extended capabilities of the FRAME, it now runs even better in V4 with some very little modification. ------------------------- from time import time as _time, sleep as _sleep from visual import * scene1 = display( title = "CUBE 1 - Scene 1" , x=20, y=20, width=300, height=300) scene1.autoscale = 0 scene1.range = (2,2,2) rframe = frame(pos=(0,0,0)) rod = box( frame =rframe, pos=(0,0,0), size=(1,1,1), color=color.blue ) c1 = cylinder(frame=rframe, pos=(0.0,0.5,0), radius=0.4, axis=(0,0.1,0), color=color.red) c2 = cylinder(frame=rframe, pos=(0.0,0,0.5), radius=0.4, axis=(0,0,0.1), color=color.yellow) c3 = cylinder(frame=rframe, pos=(-0.5,0,0.0), radius=0.4, axis=(-0.1,0,0), color=color.green) scene2 = display( title = "CUBE 1 - Scene 2" , x=420, y=20, width=300, height=300) scene2.autoscale = 0 scene2.range = (2,2,2) scene2.forward = (1,-1,0) pi = 3.141592653589793 while 1: scene1.select() rframe.display = display.get_selected() time.sleep(0.01) scene2.select() rframe.display = display.get_selected() time.sleep(0.01) rframe.rotate(axis=(1,0,0), angle=pi/60) ----- Original Message ---- From: Bruce Sherwood <Bru...@nc...> To: Kadir Haldenbilen <kha...@ya...> Cc: vis...@li... Sent: Monday, May 26, 2008 5:09:15 AM Subject: Re: [Visualpython-users] MULTIPLE WINDOWS FOR A SCENE: Just a little thought I'm not sure what you're trying to achieve. I should comment that this won't actually work in Visual 4 because you can't transfer something in a frame in one window to a different window, because in Visual 4 a frame is more fully a container. For example, you can make a frame visible or invisible. Bruce Sherwood Kadir Haldenbilen wrote: I know it looks clumsy and may need some double coding, but it may give some of you some thought to develop it further... Kadir ------------------------------- from time import time as _time, sleep as _sleep from visual import * scene1 = display( title = "CUBE 1 - Scene 1" , x=20, y=20, width=300, height=300) scene1.autoscale = 0 scene1.range = (2,2,2) rframe = frame(pos=(0,0,0)) rod = box( frame =rframe, pos=(0,0,0), size=(1,1,1), color=color.blue ) c1 = cylinder(frame=rframe, pos=(0.0,0.5,0), radius=0.4, axis=(0,0.1,0), color=color.red) c2 = cylinder(frame=rframe, pos=(0.0,0,0.5), radius=0.4, axis=(0,0,0.1), color=color.yellow) scene2 = display( title = "CUBE 1 - Scene 2" , x=420, y=20, width=300, height=300) scene2.autoscale = 0 scene2.range = (2,2,2) scene2.forward = (1,-1,0) pi = 3.141592653589793 while 1: rod.display = scene1 c1.display = scene1 c2.display = scene1 time.sleep(0.01) rod.display = scene2 c1.display = scene2 c2.display = scene2 time.sleep(0.01) rframe.rotate(axis=(1,0,0), angle=pi/60) ________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ________________________________ _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2008-05-26 02:09:11
|
<!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'm not sure what you're trying to achieve. I should comment that this won't actually work in Visual 4 because you can't transfer something in a frame in one window to a different window, because in Visual 4 a frame is more fully a container. For example, you can make a frame visible or invisible. <br> <br> Bruce Sherwood<br> <br> <br> Kadir Haldenbilen wrote: <blockquote cite="mid:593...@we..." type="cite"> <style type="text/css"><!-- DIV {margin:0px;} --></style> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div>I know it looks clumsy and may need some double coding, but it may give some of you some thought to develop it further...<br> <br> Kadir<br> <br> ------------------------------- <br> <br> from time import time as _time, sleep as _sleep<br> from visual import *<br> <br> scene1 = display( title = "CUBE 1 - Scene 1" , x=20, y=20, width=300, height=300)<br> scene1.autoscale = 0<br> scene1.range = (2,2,2)<br> <br> rframe = frame(pos=(0,0,0))<br> rod = box( frame =rframe, pos=(0,0,0), size=(1,1,1), color=color.blue )<br> c1 = cylinder(frame=rframe, pos=(0.0,0.5,0), radius=0.4, axis=(0,0.1,0), color=color.red)<br> c2 = cylinder(frame=rframe, pos=(0.0,0,0.5), radius=0.4, axis=(0,0,0.1), color=color.yellow)<br> <br> scene2 = display( title = "CUBE 1 - Scene 2" , x=420, y=20, width=300, height=300)<br> scene2.autoscale = 0<br> scene2.range = (2,2,2)<br> scene2.forward = (1,-1,0)<br> <br> pi = 3.141592653589793<br> while 1:<br> <br> rod.display = scene1<br> c1.display = scene1<br> c2.display = scene1<br> time.sleep(0.01)<br> <br> rod.display = scene2<br> c1.display = scene2<br> c2.display = scene2<br> time.sleep(0.01)<br> <br> rframe.rotate(axis=(1,0,0), angle=pi/60)<br> </div> </div> <br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. <a class="moz-txt-link-freetext" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</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: Kadir H. <kha...@ya...> - 2008-05-25 21:40:58
|
I know it looks clumsy and may need some double coding, but it may give some of you some thought to develop it further... Kadir ------------------------------- from time import time as _time, sleep as _sleep from visual import * scene1 = display( title = "CUBE 1 - Scene 1" , x=20, y=20, width=300, height=300) scene1.autoscale = 0 scene1.range = (2,2,2) rframe = frame(pos=(0,0,0)) rod = box( frame =rframe, pos=(0,0,0), size=(1,1,1), color=color.blue ) c1 = cylinder(frame=rframe, pos=(0.0,0.5,0), radius=0.4, axis=(0,0.1,0), color=color.red) c2 = cylinder(frame=rframe, pos=(0.0,0,0.5), radius=0.4, axis=(0,0,0.1), color=color.yellow) scene2 = display( title = "CUBE 1 - Scene 2" , x=420, y=20, width=300, height=300) scene2.autoscale = 0 scene2.range = (2,2,2) scene2.forward = (1,-1,0) pi = 3.141592653589793 while 1: rod.display = scene1 c1.display = scene1 c2.display = scene1 time.sleep(0.01) rod.display = scene2 c1.display = scene2 c2.display = scene2 time.sleep(0.01) rframe.rotate(axis=(1,0,0), angle=pi/60) |
From: G. F. <grz...@gm...> - 2008-05-25 16:21:51
|
> Don't count transparent faces very soon. There are serious issues with > transparency in general. The current implementation of transparent object Yeah I see what You mean, from my point of view a straight forward ability to define alpha values coupled with a way to influence the order of primitives rendering would be enough. But I understand You're trying to create a more solid tool and this doesn't cut it. > It is conceivable that a different scheme for handling transparency might be > implemented in such a way that transparency for faces would come along as a > welcome side effect. I would like to hear more about that if You ever feel like writing up Your ideas. > native-mode version for the Mac that is easy to install, uses native-mode > graphics instead of X11, and does not require installing fink. Good luck achieving Your goals then, Multiplatformness was one of the advantages that attracted me to visual, so I hope You'll succeed and will surely follow your progress. -- Best Regards! Grześ |
From: Bruce S. <Bru...@nc...> - 2008-05-25 16:11:02
|
Don't count on transparent faces very soon. There are serious issues with transparency in general. The current implementation of transparent object works well enough for some purposes, but it is easy to construct examples where the rendering is incorrect. The problems are exacerbated with objects that aren't convex, and an object built using the faces object is likely not to be convex. It is conceivable that a different scheme for handling transparency might be implemented in such a way that transparency for faces would come along as a welcome side effect. I should say that the highest priorities for those of us currently working on Visual is to create a production-quality Visual 4, and to create a native-mode version for the Mac that is easy to install, uses native-mode graphics instead of X11, and does not require installing fink. Improving or extending transparency has lower priority. Bruce Sherwood Grześ Furga wrote: > Hi, > > > I'm writing an experimental brain atlasing tool and I'm looking for > visualization options. As I need to (or rather: want to) process my > geometry at a triangle level by hand, VTK seems to complicated. > I'm fairly proficient with opengl programming, so I feel comfortable > with pygtk / pygtkglext / and a custom widget handling simple mouse > interaction. > It's all pretty straight forward and seems the easiest way to > implement custom camera interactions or whatever fancy interface i can > imagine. > > Of course using "raw" pyopengl has serious performance issues, and I > might be forced to code variable level of detail schemes for data > sizes I could otherwise throw at a c implementation without > hesitation. > > So I'm basically looking at options to separate opengl drawing calls > and mouse interaction to a c implementation, while still being able to > modify my data from python, visual python looks really promising to > me, but I think I would only use the frame and faces primitives. > What I really need though is transparency options. > > I know that the beta version doesn't support transparency for the faces shape. > I'm very curious what is the estimated time for this feature to > arrive? Are there any problems with adding transparency handling to > the faces renderer, compared with the other primitives? > > I would also like to hear from anyone using visual python as a simple > polygon pusher / viewer. Maybe You can suggest something simpler? > > |
From: G. F. <grz...@gm...> - 2008-05-25 00:43:45
|
Hi, I'm writing an experimental brain atlasing tool and I'm looking for visualization options. As I need to (or rather: want to) process my geometry at a triangle level by hand, VTK seems to complicated. I'm fairly proficient with opengl programming, so I feel comfortable with pygtk / pygtkglext / and a custom widget handling simple mouse interaction. It's all pretty straight forward and seems the easiest way to implement custom camera interactions or whatever fancy interface i can imagine. Of course using "raw" pyopengl has serious performance issues, and I might be forced to code variable level of detail schemes for data sizes I could otherwise throw at a c implementation without hesitation. So I'm basically looking at options to separate opengl drawing calls and mouse interaction to a c implementation, while still being able to modify my data from python, visual python looks really promising to me, but I think I would only use the frame and faces primitives. What I really need though is transparency options. I know that the beta version doesn't support transparency for the faces shape. I'm very curious what is the estimated time for this feature to arrive? Are there any problems with adding transparency handling to the faces renderer, compared with the other primitives? I would also like to hear from anyone using visual python as a simple polygon pusher / viewer. Maybe You can suggest something simpler? -- Best Regards! Grześ Furga |
From: Bruce S. <Bru...@nc...> - 2008-05-15 03:31:36
|
This isn't really documented as it should be, but if you create a named gdisplay, such as mygraph = gdisplay(), than mygraph.display is the display in which the graph is made, using nonuniform axes. You could place label objects at specific graphing locations by saying label(display=mygraph.display, pos=(x,y), text="Energy"). Bruce Sherwood Nathan Moore wrote: > Hi all, > > I'd like to include a key/legend in a plot generated by vpython. > What's the easiest way to set this up? > > I realize that one can specify a few comments in the title='some title > text' gdisplay argument, but I'm trying to illustrate a figure with 6 > lines, comments about which won't fit in the title bar. > > Nathan > > -- > - - - - - - - - - - - - - - - - - - - - - > Nathan Moore > Assistant Professor, Physics > Winona State University > AIM: nmoorewsu > - - - - - - - - - - - - - - - - - - - - - > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |