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. <Bru...@nc...> - 2009-05-07 04:00:33
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Note too that in your application you might want to increase the "ambient" light a bit, so that no part of an object is very dark.<br> <br> I do see merit in an option to change from the default behavior (rotate the camera around a scene that has lights to that scene) to a behavior where the camera and lights are fixed and you rotate the scene, as though you were turning a model in your hand to inspect it from different angles but with a fixed light source.<br> <br> What would this be called? scene.camera_rotate = False?<br> <br> The hard part though is the implementation.....<br> <br> Bruce Sherwood<br> <br> Guy K. Kloss wrote: <blockquote cite="mid:200...@ma..." type="cite"> <pre wrap="">On Thu, 07 May 2009 10:56:51 Scott David Daniels wrote: </pre> <blockquote type="cite"> <pre wrap="">Can't you just add a few more lights on the far side? </pre> </blockquote> <pre wrap=""><!----> Hmmm, I didn't even know placement of light sources is possible. Might be worth a try. However, I need to be careful that I'm not losing the depth impression of the 3D scene doing that. Guy </pre> </blockquote> </body> </html> |
From: Guy K. K. <g....@ma...> - 2009-05-07 00:05:27
|
On Thu, 07 May 2009 11:50:37 David Froger wrote: > sudo apt-get install libgtkglextmm-x11-1.2-dev libglademm-2.4-dev > libboost-python1.35-dev I don't think you even need the *-dev packages. Installing them will probably pull in the actual libraries. But you will most likely need the libraries only, not the headers (from the *-dev packages). 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: David F. <dav...@gm...> - 2009-05-06 23:50:43
|
sudo apt-get install libgtkglextmm-x11-1.2-dev libglademm-2.4-dev libboost-python1.35-dev A simple script now is ok: import visual visual.sphere() 2009/5/7 David Froger <dav...@gm...> > Hi, > > I'm new to python visual, I install it with > python-visual_5.0rc3~jaunty-1_i386.deb<https://gutefee.massey.ac.nz/moin/Python/3D?action=AttachFile&do=view&target=python-visual_5.0rc3%7Ejaunty-1_i386.deb>(thanks Guy K. Kloss!) from > https://gutefee.massey.ac.nz/moin/Python/3D > > When I try a 'import visual', I get: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in > <module> > import cvisual > ImportError: libgtkglextmm-x11-1.2.so.0: cannot open shared object file: No > such file or directory > > Ubuntu 9.04, Python 2.6.2 > > Thanks for any help! > > David > > > |
From: Guy K. K. <g....@ma...> - 2009-05-06 23:22:19
|
On Thu, 07 May 2009 10:56:51 Scott David Daniels wrote: > Can't you just add a few more lights on the far side? Hmmm, I didn't even know placement of light sources is possible. Might be worth a try. However, I need to be careful that I'm not losing the depth impression of the 3D scene doing that. Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |
From: David F. <dav...@gm...> - 2009-05-06 23:19:41
|
Hi, I'm new to python visual, I install it with python-visual_5.0rc3~jaunty-1_i386.deb<https://gutefee.massey.ac.nz/moin/Python/3D?action=AttachFile&do=view&target=python-visual_5.0rc3%7Ejaunty-1_i386.deb>(thanks Guy K. Kloss!) from https://gutefee.massey.ac.nz/moin/Python/3D When I try a 'import visual', I get: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/visual/__init__.py", line 59, in <module> import cvisual ImportError: libgtkglextmm-x11-1.2.so.0: cannot open shared object file: No such file or directory Ubuntu 9.04, Python 2.6.2 Thanks for any help! David |
From: Scott D. D. <Sco...@Ac...> - 2009-05-06 22:52:05
|
Guy K. Kloss wrote: > I'm visualising very often (larger) multi-dimensional data ... using colour. > When rotating through the data set ... I am seeing ...objects ... like the > "dark side of the moon" ... colours become very difficult to discriminate. > It would be nice if the light source position could be defined as fixed > relative to the observer, rather than relative to the scene.... Can't you just add a few more lights on the far side? --Scott David Daniels Sco...@Ac... |
From: Guy K. K. <g....@ma...> - 2009-05-06 22:31:17
|
Hi, I'm visualising very often (larger) multi-dimensional data sets using VPython. For certain dimensions (beyond the 3D position) I am using colour. When rotating through the data set to get views from different perspectives I am seeing the spacial objects (mostly spheres and boxes) often like the "dark side of the moon" (thanks Pink Floyd), and colours become very difficult do discriminate. It would be nice if the light source position could be defined as fixed relative to the observer, rather than relative to the scene. I believe a simple boolean flag should be sufficient for this. Any comments? Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: G....@ma... http://iims.massey.ac.nz |
From: Peter G. (CSSE) <P.G...@co...> - 2009-05-06 00:42:11
|
Hi there, I am trying to get vpython5.0.3 compiled on fedora 10 x86_64 The 64 bit seems to be causing problems as the configure script seems to set up things to ONLY look for libraries only in /usr/lib instead of /usr/lib64 Brute force has got it compiling OK but I am getting an error loading bounce2.py and trying to run gets me this... some bounce information messages then.. VPython ***CRITICAL ERROR***: ../../visual-5.03_candidate/src/gtk2/render_surface.cpp:88: render_surface: failed to initialize and OpenGL configuration, Aborting. The problem I have is that I am not sure if this was from the force required to compile or some other issue. Can anyone give me some pointers on what to look at, or what to test.. Running Fedora 10 on a core2 Duo with an nvidia 8600GT in it. This is what I did below to get it going --config wasn't much use as the Makefiles changed and the build huge Let me know what other info required.. First what I did... ================================= mkdir /netfs/cosc/pkg/VPython5.0.3/ cd /netfs/cosc/pkg/VPython5.0.3/ ../visual-5.03_candidate/configure --prefix /netfs/cosc/pkg/VPython5.0.3/ vi Makefile src/Makefile site-packages/visual/Makefile docs/Makefile examples/Makefile bin/vpython ### These were changed to have libdir point to /usr/lib64 ### and any other directories to have lib64 where needed ### PYTHON_INCLUDES = -I/usr/include/python2.5 -I${prefix}/lib64/python2.5/site-packages/numpy/core/include # python is completely separate to the install prefix # for vpython # the rpm's install it in /usr/lib64/... Change it /usr separate out where the python stuff is /usr/lib64/python2.5/site-packages from where the vpython stuff is. $prefix_stuff/lib64/python2.5/site-packages # /usr/lib64/libboost_thread-mt.so is the only # boost_thread library on my machine so change it... vi src/Makefile # and change the library - here's hoping:-) #inside ..../bin/vpython the script needed to know full #path to where idle was.. same for visualexampledir IDLE=/usr/bin/idle Pete -- ------------------------------------------------------------------- Peter Glassenbury Computer Science department pe...@co... University of Canterbury +64 3 3642987 ext 7762 New Zealand |
From: Lenica R. <Lr...@ia...> - 2009-05-05 09:09:56
|
Thanks for the tips. I tried editing the file translate_exception.hpp , but later on got another error with the linker, so I decided, the hell with this, and installed the boost 1.35 libraries instead of their newer versions and finally got it to work. Hopefully everything will work fine now. Anyways, thanks again! Bruce Sherwood wrote: > I recognize this problem, which is a bug in some versions of the Boost > libraries. What version of Boost are you using? > > I found the following on the web: > > ************** > Furthermore building pyrap with boost-1.37 and gcc-4.3.2 gave an error > due to a missing include. The following patch has to be applied to boost: > > Index: boost/python/detail/translate_exception.hpp > =================================================================== > --- boost/python/detail/translate_exception.hpp (revision 50228) > +++ boost/python/detail/translate_exception.hpp (working copy) > @@ -9,6 +9,7 @@ > > # include <boost/call_traits.hpp> > # include <boost/type_traits/add_const.hpp> > +# include <boost/type_traits/add_reference.hpp> > > # include <boost/function/function0.hpp> > *************** > > I was able to build Visual 5 on ubuntu 9.04 without having to make > this change, as I happened to pick Boost 1.35 in the package manager, > which apparently doesn't have this bug, but I had to make this change > on Windows using Boost 1.38. > |
From: Guy K. K. <g....@ma...> - 2009-04-30 02:44:45
|
On Thu, 30 Apr 2009 06:29:23 Bruce Sherwood wrote: > I was able to build Visual 5 on ubuntu 9.04 without having to make this > change, as I happened to pick Boost 1.35 in the package manager, which > apparently doesn't have this bug, but I had to make this change on Windows > using Boost 1.38. Lenica, I've got some Jaunty packages compiled with Boost 1.35 here, but you need to resolve your dependencies manually, as they're built with checkinstall and don't contain any dependencies. But it still helps a lot to not have to build it yourself. https://gutefee.massey.ac.nz/moin/Python/3D FYI, configuring, building and creation of the package has been accomplished with these commands: /configure --prefix=/usr --disable-docs make -j 3 # I use a dual core, so I gain some speed though the "-j 3" sudo checkinstall --pkgname python-visual --pkgversion 5.0rc3 --pkglicense "Boost Public License" --maintainer "Guy K. Kloss \<g....@ma...\>" > On both Windows and ubuntu, when I build Visual for Python 2.6 and numpy > 1.3.0, I get a run-time failure on something that works on Python 2.5 with > numpy 1.2.1. There is a vector(double,double,double) class in Visual which > now fails if handed numpy.int32 arguments (works fine with numpy.float64 > arguments). I used Boost 1.35 with Python 2.5 and have used Boost 1.38 on > Windows and 1.35 on unbuntu. Here using python-numpy in version 1.2.1-1ubuntu1, which strangely enough works with Python 2.6 on Jaunty (1.3 is supposed to be the numpy version that works with Python 2.6). > This test routine fails: Indeed, never noticed ... In [1]: import numpy In [2]: import visual In [3]: xs = numpy.arange(0,10,1) In [4]: x = xs[1] In [5]: print type(x) <type 'numpy.int32'> In [6]: v = visual.vector(x,0,0) ArgumentError Traceback (most recent call last) /home/gkloss/<ipython console> in <module>() ArgumentError: Python argument types in vector.__init__(vector, numpy.int32, int, int) did not match C++ signature: __init__(_object*, cvisual::vector) __init__(_object*) __init__(_object*, double) __init__(_object*, double, double) __init__(_object*, double, double, double) > I've posted pleas for help on both the Boost and numpy mailing lists but > haven't gotten any replies. I would much appreciate suggestions for what to > do. Maybe you need to add another constructor to the C++ code containing integers? 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-04-29 18:29:33
|
I recognize this problem, which is a bug in some versions of the Boost libraries. What version of Boost are you using? I found the following on the web: ************** Furthermore building pyrap with boost-1.37 and gcc-4.3.2 gave an error due to a missing include. The following patch has to be applied to boost: Index: boost/python/detail/translate_exception.hpp =================================================================== --- boost/python/detail/translate_exception.hpp (revision 50228) +++ boost/python/detail/translate_exception.hpp (working copy) @@ -9,6 +9,7 @@ # include <boost/call_traits.hpp> # include <boost/type_traits/add_const.hpp> +# include <boost/type_traits/add_reference.hpp> # include <boost/function/function0.hpp> *************** I was able to build Visual 5 on ubuntu 9.04 without having to make this change, as I happened to pick Boost 1.35 in the package manager, which apparently doesn't have this bug, but I had to make this change on Windows using Boost 1.38. Since Python 2.6 ships with ubuntu 9.04, and there is now a numpy for Python 2.6 (a very recent development), I built Visual 5 for Python 2.6, and most example programs run okay, but: On both Windows and ubuntu, when I build Visual for Python 2.6 and numpy 1.3.0, I get a run-time failure on something that works on Python 2.5 with numpy 1.2.1. There is a vector(double,double,double) class in Visual which now fails if handed numpy.int32 arguments (works fine with numpy.float64 arguments). I used Boost 1.35 with Python 2.5 and have used Boost 1.38 on Windows and 1.35 on unbuntu. This test routine fails: xs = arange(0,10,1) # works okay if xs = arange(0,10,0.1) x = xs[1] print type(x) v = vector(x,0,0) print v I've posted pleas for help on both the Boost and numpy mailing lists but haven't gotten any replies. I would much appreciate suggestions for what to do. Bruce Sherwood Lenica Reggie wrote: > Hello all, > > I'm having trouble building vpython 5 on ubuntu 9.4. I had it up and > running on 8.10, but for some reason it is unwilling to compile on the > newer version. I am using python version 2.6.2 and gcc compiler version > 4.3, and I'm pretty sure I installed all the packages mentioned in the > INSTALL.txt and I even tried changing to the newest threadpool version > with no success. The error message I get in build.log is the following > (attatched you can see the whole log file): > > > In file included from > /usr/include/boost/python/exception_translator.hpp:12, > from ../../visual-5.03_candidate/src/python/cvisualmodule.cpp:11: > /usr/include/boost/python/detail/translate_exception.hpp:34: error: > expected nested-name-specifier before ‘add_reference’ > /usr/include/boost/python/detail/translate_exception.hpp:34: error: > expected ‘;’ before ‘<’ token > /usr/include/boost/python/detail/translate_exception.hpp: In member > function ‘bool boost::python::detail::translate_exception<ExceptionType, > Translate>::operator()(const boost::python::detail::exception_handler&, > const boost::function0<void>&, typename > boost::call_traits<Translate>::param_type) const’: > /usr/include/boost/python/detail/translate_exception.hpp:56: error: > expected type-specifier before ‘exception_cref’ > /usr/include/boost/python/detail/translate_exception.hpp:56: error: > expected `)' before ‘e’ > /usr/include/boost/python/detail/translate_exception.hpp:56: error: > expected `{' before ‘e’ > /usr/include/boost/python/detail/translate_exception.hpp:56: error: ‘e’ > was not declared in this scope > /usr/include/boost/python/detail/translate_exception.hpp:56: error: > expected `;' before ‘)’ token |
From: Lenica R. <Lr...@ia...> - 2009-04-29 15:41:38
|
Hello all, I'm having trouble building vpython 5 on ubuntu 9.4. I had it up and running on 8.10, but for some reason it is unwilling to compile on the newer version. I am using python version 2.6.2 and gcc compiler version 4.3, and I'm pretty sure I installed all the packages mentioned in the INSTALL.txt and I even tried changing to the newest threadpool version with no success. The error message I get in build.log is the following (attatched you can see the whole log file): In file included from /usr/include/boost/python/exception_translator.hpp:12, from ../../visual-5.03_candidate/src/python/cvisualmodule.cpp:11: /usr/include/boost/python/detail/translate_exception.hpp:34: error: expected nested-name-specifier before ‘add_reference’ /usr/include/boost/python/detail/translate_exception.hpp:34: error: expected ‘;’ before ‘<’ token /usr/include/boost/python/detail/translate_exception.hpp: In member function ‘bool boost::python::detail::translate_exception<ExceptionType, Translate>::operator()(const boost::python::detail::exception_handler&, const boost::function0<void>&, typename boost::call_traits<Translate>::param_type) const’: /usr/include/boost/python/detail/translate_exception.hpp:56: error: expected type-specifier before ‘exception_cref’ /usr/include/boost/python/detail/translate_exception.hpp:56: error: expected `)' before ‘e’ /usr/include/boost/python/detail/translate_exception.hpp:56: error: expected `{' before ‘e’ /usr/include/boost/python/detail/translate_exception.hpp:56: error: ‘e’ was not declared in this scope /usr/include/boost/python/detail/translate_exception.hpp:56: error: expected `;' before ‘)’ token It almost looks like a compiler problem? I tried setting the option g++ -V 3.4 in the makefile but this had no effect. the output of configure is the following: $ ../visual-5.03_candidate/configure --prefix /usr/local checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether make sets $(MAKE)... (cached) yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether to enable maintainer-specific portions of Makefiles... no checking for some Win32 platform... no checking for some Mac OSX platform... no checking for a Python interpreter with version >= 2.2... python checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking for array in python module numpy... yes checking for headers required to compile python extensions... found checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTKGLEXTMM... yes checking for GLIBMM... yes checking for PANGOMM... yes checking for LIBGLADEMM... yes checking for PANGOFT2... yes checking for FREETYPE2... yes checking for GTK... yes checking for GTHREAD... yes checking where to install documentation... ${prefix}/lib/python2.6/site-packages/visual/docs checking whether to install html documentation... yes checking where to install example programs... ${prefix}/lib/python2.6/site-packages/visual/examples checking whether to install example programs... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating site-packages/visual/Makefile config.status: creating docs/Makefile config.status: creating examples/Makefile config.status: creating bin/vpython config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands it would be great if I could get this working! Thanks in advance for any help on this. cheers Lenica |
From: Wayne W. <sie...@sb...> - 2009-04-27 01:04:56
|
I thought I had fixed the link in my e-mail. That's incorrect. Here's the right one. <file:///C:/Python25/Lib/site-packages/visual/docs/visual/display.html>. The three pulldown menus show: 3D objects, Working with objects and Windows/Events/Files. If I select in the last one, Windows, nothing changes. It continues to show a description for "Controlling One or More Visual Display Windows". If I got Mouse Drag, that shows in the description, but the third menu continues to show "Controlling One or More Visual Display Windows". I got it. They all work that way. The three menus always show the first item. I think I'm used to seeing pull downs that actually advance to the item selected. There is no problem. Bruce Sherwood wrote: > What you see in the documentation is all you get. If you don't find > what you want, it's because it doesn't exist. > > As mentioned in the documentation, you can use full Python Unicode > strings in a label. > > The documentation for graphs says this: > > "Every gdisplay has the attribute display, so you can place additional > labels or manipulate the graphing window. The only objects that you > can place in the graphing window are labels, curves, faces, and points." > > Can you say in more detail how you find a broken link in the > documentation? I don't find the broken link you report. > > Bruce > > Wayne Watson wrote: >> Thanks. I found some hints in the FAQ. I have SnagIt, so that will >> probably suffice. More questions. >> >> How do I find other attributes for various objects like curve, >> sphere, etc.? For example, is there an edge attribute for sphere, so >> that if I make it completely transparent, the outline can still be >> seen? An outline. If so, can its thickness be changed? Is it >> possible to use Greek letters in Label? Is there a hemisphere object? >> Maybe it's an attribute of sphere? I guess ring is for circles? Are >> there arcs somewhere with arrows on each end for putting text between >> the arrows? Just plain arcs (part of a circle) or solid sections of a >> sphere (surface section area extending down to the center of the >> sphere)? Can I put an arrow on a graph? That is, suppose I wanted to >> show an x-y coordinate system with a drawn vector on it. >> >> It doesn't seem as though Windows (choice) works properly on >> <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. >> It acts just like Windows/Events/Files. >> >> Bruce Sherwood wrote: >>> Depends on your computer platform. For example, on Windows you can >>> make the window active and press Alt-Screen, then paste into Word >>> and print. >>> >>> It's possible that PIL (Python Imaging Library) has routines for >>> capturing from the screen; not sure. >>> >>> In the contributed section of vpython.org is a routine for exporting >>> a scene to POV-Ray, a multiplatform free ray-tracer which generates >>> higher-quality images than Visual can do in real time. >>> >>> Bruce Sherwood >>> >>> Wayne Watson wrote: >>>> How do I print the graphic material on my printer, or capture it to >>>> a file? >>>> >>> >> > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-26 21:56:42
|
What you see in the documentation is all you get. If you don't find what you want, it's because it doesn't exist. As mentioned in the documentation, you can use full Python Unicode strings in a label. The documentation for graphs says this: "Every gdisplay has the attribute display, so you can place additional labels or manipulate the graphing window. The only objects that you can place in the graphing window are labels, curves, faces, and points." Can you say in more detail how you find a broken link in the documentation? I don't find the broken link you report. Bruce Wayne Watson wrote: > Thanks. I found some hints in the FAQ. I have SnagIt, so that will > probably suffice. More questions. > > How do I find other attributes for various objects like curve, sphere, > etc.? For example, is there an edge attribute for sphere, so that if I > make it completely transparent, the outline can still be seen? An > outline. If so, can its thickness be changed? Is it possible to use > Greek letters in Label? Is there a hemisphere object? Maybe it's an > attribute of sphere? I guess ring is for circles? Are there arcs > somewhere with arrows on each end for putting text between the arrows? > Just plain arcs (part of a circle) or solid sections of a sphere > (surface section area extending down to the center of the sphere)? Can I > put an arrow on a graph? That is, suppose I wanted to show an x-y > coordinate system with a drawn vector on it. > > It doesn't seem as though Windows (choice) works properly on > <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. > It acts just like Windows/Events/Files. > > Bruce Sherwood wrote: >> Depends on your computer platform. For example, on Windows you can >> make the window active and press Alt-Screen, then paste into Word and >> print. >> >> It's possible that PIL (Python Imaging Library) has routines for >> capturing from the screen; not sure. >> >> In the contributed section of vpython.org is a routine for exporting a >> scene to POV-Ray, a multiplatform free ray-tracer which generates >> higher-quality images than Visual can do in real time. >> >> Bruce Sherwood >> >> Wayne Watson wrote: >>> How do I print the graphic material on my printer, or capture it to a >>> file? >>> >> > |
From: Wayne W. <sie...@sb...> - 2009-04-26 21:03:49
|
Thanks. I found some hints in the FAQ. I have SnagIt, so that will probably suffice. More questions. How do I find other attributes for various objects like curve, sphere, etc.? For example, is there an edge attribute for sphere, so that if I make it completely transparent, the outline can still be seen? An outline. If so, can its thickness be changed? Is it possible to use Greek letters in Label? Is there a hemisphere object? Maybe it's an attribute of sphere? I guess ring is for circles? Are there arcs somewhere with arrows on each end for putting text between the arrows? Just plain arcs (part of a circle) or solid sections of a sphere (surface section area extending down to the center of the sphere)? Can I put an arrow on a graph? That is, suppose I wanted to show an x-y coordinate system with a drawn vector on it. It doesn't seem as though Windows (choice) works properly on <file:///C:/Python25/Lib/site-packages/visual/docs/visual/cylinder.html>. It acts just like Windows/Events/Files. Bruce Sherwood wrote: > Depends on your computer platform. For example, on Windows you can > make the window active and press Alt-Screen, then paste into Word and > print. > > It's possible that PIL (Python Imaging Library) has routines for > capturing from the screen; not sure. > > In the contributed section of vpython.org is a routine for exporting a > scene to POV-Ray, a multiplatform free ray-tracer which generates > higher-quality images than Visual can do in real time. > > Bruce Sherwood > > Wayne Watson wrote: >> How do I print the graphic material on my printer, or capture it to a >> file? >> > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-26 15:43:31
|
Depends on your computer platform. For example, on Windows you can make the window active and press Alt-Screen, then paste into Word and print. It's possible that PIL (Python Imaging Library) has routines for capturing from the screen; not sure. In the contributed section of vpython.org is a routine for exporting a scene to POV-Ray, a multiplatform free ray-tracer which generates higher-quality images than Visual can do in real time. Bruce Sherwood Wayne Watson wrote: > How do I print the graphic material on my printer, or capture it to a file? > |
From: Wayne W. <sie...@sb...> - 2009-04-26 15:32:12
|
How do I print the graphic material on my printer, or capture it to a file? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-22 00:55:02
|
You can click on "See pictures of 3D objects", then click on the object of interest (curve, in your case). Or in the pull-down menu labeled "3D objects" choose curve. If you have suggestions of how to make these operations more obvious, please let us know. Bruce Sherwood Wayne Watson wrote: > Thanks. It looks like I installed 5. Help->Visual shows New Features in > 5. I guess my timing was right for the need for opacity. Is there a > specific place in the doc hmtl that I might find reference to curve? > This looks like a very attractive tool. > > Bruce Sherwood wrote: >> Install the latest "Visual 5" which does support transparency. In the >> documentation (which is installed with VPython and accessible from the >> Help menu in the IDLE editor), consult the section on opacity from a >> pull-down menu. >> >> The objects you should look at are curve (for drawing lines), sphere >> (setting the opacity to less than 1), and label (for showing labels). >> >> Considering the drawing you reference, you probably will want to make >> your own routine based on the curve object to draw a dashed line. >> >> Bruce Sherwood >> >> Wayne Watson wrote: >>> I would like some spherical geometry tools to draw spheres, arcs, >>> >>> great circles, lat/long, and the like, along with labels and >>> notation. An >>> >>> example of such a drawing can be found at >>> >>> <http://www.tpub.com/content/engineering/14071/css/14071_342.htm>. >>> Label is important. I'm assuming if one does this in 3-D that one >>> could view the work from an angle then project it onto a 2-D drawing >>> surface, which one could then print. Win XP user. >>> >>> I've installed VisPython and see that most examples and tutorials are >>> aimed at solid objects. My needs are mostly drawing lines, >>> transparent sphere(s), and labels. Are there specific commands I >>> should know about for these needs? >> > |
From: Wayne W. <sie...@sb...> - 2009-04-22 00:02:33
|
Thanks. It looks like I installed 5. Help->Visual shows New Features in 5. I guess my timing was right for the need for opacity. Is there a specific place in the doc hmtl that I might find reference to curve? This looks like a very attractive tool. Bruce Sherwood wrote: > Install the latest "Visual 5" which does support transparency. In the > documentation (which is installed with VPython and accessible from the > Help menu in the IDLE editor), consult the section on opacity from a > pull-down menu. > > The objects you should look at are curve (for drawing lines), sphere > (setting the opacity to less than 1), and label (for showing labels). > > Considering the drawing you reference, you probably will want to make > your own routine based on the curve object to draw a dashed line. > > Bruce Sherwood > > Wayne Watson wrote: >> I would like some spherical geometry tools to draw spheres, arcs, >> >> great circles, lat/long, and the like, along with labels and >> notation. An >> >> example of such a drawing can be found at >> >> <http://www.tpub.com/content/engineering/14071/css/14071_342.htm>. >> Label is important. I'm assuming if one does this in 3-D that one >> could view the work from an angle then project it onto a 2-D drawing >> surface, which one could then print. Win XP user. >> >> I've installed VisPython and see that most examples and tutorials are >> aimed at solid objects. My needs are mostly drawing lines, >> transparent sphere(s), and labels. Are there specific commands I >> should know about for these needs? > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Bruce S. <Bru...@nc...> - 2009-04-21 21:05:50
|
Install the latest "Visual 5" which does support transparency. In the documentation (which is installed with VPython and accessible from the Help menu in the IDLE editor), consult the section on opacity from a pull-down menu. The objects you should look at are curve (for drawing lines), sphere (setting the opacity to less than 1), and label (for showing labels). Considering the drawing you reference, you probably will want to make your own routine based on the curve object to draw a dashed line. Bruce Sherwood Wayne Watson wrote: > I would like some spherical geometry tools to draw spheres, arcs, > > great circles, lat/long, and the like, along with labels and notation. An > > example of such a drawing can be found at > > <http://www.tpub.com/content/engineering/14071/css/14071_342.htm>. Label is > important. I'm assuming if one does this in 3-D that one could view the work > from an angle then project it onto a 2-D drawing surface, which one could > then print. Win XP user. > > I've installed VisPython and see that most examples and tutorials are aimed at solid objects. My needs are mostly drawing lines, transparent sphere(s), and labels. Are there specific commands I should know about for these needs? > |
From: Wayne W. <sie...@sb...> - 2009-04-21 20:03:59
|
I would like some spherical geometry tools to draw spheres, arcs, great circles, lat/long, and the like, along with labels and notation. An example of such a drawing can be found at <http://www.tpub.com/content/engineering/14071/css/14071_342.htm>. Label is important. I'm assuming if one does this in 3-D that one could view the work from an angle then project it onto a 2-D drawing surface, which one could then print. Win XP user. I've installed VisPython and see that most examples and tutorials are aimed at solid objects. My needs are mostly drawing lines, transparent sphere(s), and labels. Are there specific commands I should know about for these needs? -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet All the neutrons, and protons in the human body occupy a cube whose side is 5.52*10**-6 meters (tiny!). That adds up to a 150 pound person. It's not a surprise that we are mostly space. (Calculation by WTW) |
From: Guenter S. <Gue...@ph...> - 2009-04-20 18:46:18
|
I can't find in the documentation a way to terminate a vpython program other than mouse clicking the exit button. I am looking for something like scene.terminate() # terminates vpython program if scene is the last vpython display Thank you, Guenter |
From: Bruce S. <Bru...@nc...> - 2009-04-20 01:11:50
|
My apologies: I shouldn't have said "now that I think of it", as you had already said this! Bruce Sherwood Bruce Sherwood wrote: > I'm wouldn't think that it's useful to pick up dependencies from Visual 3, which > for Linux was based on the old GTK, not the current GTK+ on which Visual 5 is based. > > But it seemed like he was able to build Visual 5; the problem was that it > wouldn't run within the larger framework he was trying to use. Evidently he > wasn't trying simply to run a VPython program (though now that I think of it, it > would be useful to know whether a simple example program would run). > > If the problem is the build itself, the thing to do is to study carefully the > extensive notes in INSTALL.txt, which is included in the Linux tarball available > at vpython.org. > > Bruce Sherwood > > Guy K. Kloss wrote: >> On Sun, 19 Apr 2009 21:06:07 alessandro wrote: >>> OK. So the only way is to use Visual 5? I need some help installing >>> Visual 5 on Ubuntu Hardy. I've tried to install the package made by Guy >>> K. Kloss here >>> >>> https://gutefee.massey.ac.nz/moin/Python/3D >>> >>> but when I use in my prog. it doesn't work. >> I must say that I didn't extensively test the package for Hardy, and the >> (former) Hardy box now is running Jaunty. So I can't go back and verify. But >> the packages were installed using checkinstall, therefore no dependencies >> should be listed inside the .deb package, and you're on your own installing >> them. >> >> What I would suggest is this: >> >> * Install the python-visual 3 package (from your distribution) to pull in most >> dependencies >> * remove that package again >> * install the new python-visual 5 package provided from my wiki (URL above) >> * run some samples >> >> See if the samples will work. If not, check the error message(s) you may get >> on the console to figure out what other package might be missing and needs >> installing. >> >> HTH, >> >> Guy >> > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Bruce S. <Bru...@nc...> - 2009-04-20 01:03:19
|
I'm wouldn't think that it's useful to pick up dependencies from Visual 3, which for Linux was based on the old GTK, not the current GTK+ on which Visual 5 is based. But it seemed like he was able to build Visual 5; the problem was that it wouldn't run within the larger framework he was trying to use. Evidently he wasn't trying simply to run a VPython program (though now that I think of it, it would be useful to know whether a simple example program would run). If the problem is the build itself, the thing to do is to study carefully the extensive notes in INSTALL.txt, which is included in the Linux tarball available at vpython.org. Bruce Sherwood Guy K. Kloss wrote: > On Sun, 19 Apr 2009 21:06:07 alessandro wrote: >> OK. So the only way is to use Visual 5? I need some help installing >> Visual 5 on Ubuntu Hardy. I've tried to install the package made by Guy >> K. Kloss here >> >> https://gutefee.massey.ac.nz/moin/Python/3D >> >> but when I use in my prog. it doesn't work. > > I must say that I didn't extensively test the package for Hardy, and the > (former) Hardy box now is running Jaunty. So I can't go back and verify. But > the packages were installed using checkinstall, therefore no dependencies > should be listed inside the .deb package, and you're on your own installing > them. > > What I would suggest is this: > > * Install the python-visual 3 package (from your distribution) to pull in most > dependencies > * remove that package again > * install the new python-visual 5 package provided from my wiki (URL above) > * run some samples > > See if the samples will work. If not, check the error message(s) you may get > on the console to figure out what other package might be missing and needs > installing. > > HTH, > > Guy > |
From: Guy K. K. <g....@ma...> - 2009-04-20 00:13:03
|
On Sun, 19 Apr 2009 21:06:07 alessandro wrote: > OK. So the only way is to use Visual 5? I need some help installing > Visual 5 on Ubuntu Hardy. I've tried to install the package made by Guy > K. Kloss here > > https://gutefee.massey.ac.nz/moin/Python/3D > > but when I use in my prog. it doesn't work. I must say that I didn't extensively test the package for Hardy, and the (former) Hardy box now is running Jaunty. So I can't go back and verify. But the packages were installed using checkinstall, therefore no dependencies should be listed inside the .deb package, and you're on your own installing them. What I would suggest is this: * Install the python-visual 3 package (from your distribution) to pull in most dependencies * remove that package again * install the new python-visual 5 package provided from my wiki (URL above) * run some samples See if the samples will work. If not, check the error message(s) you may get on the console to figure out what other package might be missing and needs installing. HTH, 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 |