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: Steve S. <st...@sp...> - 2010-07-03 16:13:21
|
Hi K, What's the full message if you just type 'make'? -steve On Jul 3, 2010, at 4:09 AM, K. Uebayashi wrote: > Thank for your reply. > >> Anyway.. if you really want help building an X-Windows version for >> Mac >> you'll need to include more of the error message. It's pretty hard to >> diagnose with only a '...' > > As you mentioned above, > I attach the error message from "make -d". > It is very long, so I put the last lines. > > I don't think this error message is good enough, > could you tell me how to get a right error message? > > -- > K. Uebayashi > > > $ make -d |tail -38 > make[1]: *** [arrayprim.lo] Error 1 > make: *** [all-recursive] Error 1 > Prerequisite `gtk2/timer.cpp' is older than target `timer.lo'. > Prerequisite `../include/util/timer.hpp' is older than target > `timer.lo'. > No need to remake target `timer.lo'. > Considering target file `arrayprim.lo'. > File `arrayprim.lo' does not exist. > Looking for an implicit rule for `arrayprim.lo'. > Trying pattern rule with stem `arrayprim'. > Trying implicit prerequisite `arrayprim.cpp'. > Found prerequisite `arrayprim.cpp' as VPATH `./python/ > arrayprim.cpp' > Found an implicit rule for `arrayprim.lo'. > Considering target file `arrayprim.cpp'. > Looking for an implicit rule for `arrayprim.cpp'. > Trying pattern rule with stem `arrayprim.cpp'. > Trying implicit prerequisite `arrayprim.cpp,v'. > Trying pattern rule with stem `arrayprim.cpp'. > Trying implicit prerequisite `RCS/arrayprim.cpp,v'. > Trying pattern rule with stem `arrayprim.cpp'. > Trying implicit prerequisite `RCS/arrayprim.cpp'. > Trying pattern rule with stem `arrayprim.cpp'. > Trying implicit prerequisite `s.arrayprim.cpp'. > Trying pattern rule with stem `arrayprim.cpp'. > Trying implicit prerequisite `SCCS/s.arrayprim.cpp'. > No implicit rule found for `arrayprim.cpp'. > Finished prerequisites of target file `arrayprim.cpp'. > No need to remake target `arrayprim.cpp'; using VPATH name > `./python/arrayprim.cpp'. > Finished prerequisites of target file `arrayprim.lo'. > Must remake target `arrayprim.lo'. > Putting child 0x10019aab0 (arrayprim.lo) PID 19092 on the chain. > Live child 0x10019aab0 (arrayprim.lo) PID 19092 > Compiling ./python/arrayprim.cpp ... > Reaping winning child 0x10019aab0 PID 19092 > Live child 0x10019aab0 (arrayprim.lo) PID 19093 > Reaping winning child 0x10019aab0 PID 19093 > Live child 0x10019aab0 (arrayprim.lo) PID 19094 > Reaping losing child 0x10019aab0 PID 19094 > Removing child 0x10019aab0 PID 19094 from chain. > Reaping losing child 0x100116ea0 PID 19078 > Removing child 0x100116ea0 PID 19078 from chain. |
From: K. U. <u.k...@gm...> - 2010-07-03 08:09:53
|
Thank for your reply. > Anyway.. if you really want help building an X-Windows version for Mac > you'll need to include more of the error message. It's pretty hard to > diagnose with only a '...' As you mentioned above, I attach the error message from "make -d". It is very long, so I put the last lines. I don't think this error message is good enough, could you tell me how to get a right error message? -- K. Uebayashi $ make -d |tail -38 make[1]: *** [arrayprim.lo] Error 1 make: *** [all-recursive] Error 1 Prerequisite `gtk2/timer.cpp' is older than target `timer.lo'. Prerequisite `../include/util/timer.hpp' is older than target `timer.lo'. No need to remake target `timer.lo'. Considering target file `arrayprim.lo'. File `arrayprim.lo' does not exist. Looking for an implicit rule for `arrayprim.lo'. Trying pattern rule with stem `arrayprim'. Trying implicit prerequisite `arrayprim.cpp'. Found prerequisite `arrayprim.cpp' as VPATH `./python/arrayprim.cpp' Found an implicit rule for `arrayprim.lo'. Considering target file `arrayprim.cpp'. Looking for an implicit rule for `arrayprim.cpp'. Trying pattern rule with stem `arrayprim.cpp'. Trying implicit prerequisite `arrayprim.cpp,v'. Trying pattern rule with stem `arrayprim.cpp'. Trying implicit prerequisite `RCS/arrayprim.cpp,v'. Trying pattern rule with stem `arrayprim.cpp'. Trying implicit prerequisite `RCS/arrayprim.cpp'. Trying pattern rule with stem `arrayprim.cpp'. Trying implicit prerequisite `s.arrayprim.cpp'. Trying pattern rule with stem `arrayprim.cpp'. Trying implicit prerequisite `SCCS/s.arrayprim.cpp'. No implicit rule found for `arrayprim.cpp'. Finished prerequisites of target file `arrayprim.cpp'. No need to remake target `arrayprim.cpp'; using VPATH name `./python/arrayprim.cpp'. Finished prerequisites of target file `arrayprim.lo'. Must remake target `arrayprim.lo'. Putting child 0x10019aab0 (arrayprim.lo) PID 19092 on the chain. Live child 0x10019aab0 (arrayprim.lo) PID 19092 Compiling ./python/arrayprim.cpp ... Reaping winning child 0x10019aab0 PID 19092 Live child 0x10019aab0 (arrayprim.lo) PID 19093 Reaping winning child 0x10019aab0 PID 19093 Live child 0x10019aab0 (arrayprim.lo) PID 19094 Reaping losing child 0x10019aab0 PID 19094 Removing child 0x10019aab0 PID 19094 from chain. Reaping losing child 0x100116ea0 PID 19078 Removing child 0x100116ea0 PID 19078 from chain. |
From: Steve S. <st...@sp...> - 2010-07-02 13:18:58
|
Hi K, I'm pretty sure the gtk/glade etc are only needed for an X-Windows build. The Mac port uses the Carbon API to run on macos x. It may be possible to build an X-Windows version (in fact that was originally how visual was ported to the mac, except using fink rather than macports) but it hasn't been done in some time (I don't think at all for Visual 5.X, as far as I know, but I may be wrong here..) Anyway.. if you really want help building an X-Windows version for Mac you'll need to include more of the error message. It's pretty hard to diagnose with only a '...' ;-) thanks, -steve On Jul 2, 2010, at 7:44 AM, K. Uebayashi wrote: > Hi, > > I'm trying to build vpython on my Mac OS X10.6.4. > > I've installed gtkglextmm, libglademml, ftgl and boost from macports. > > After executing > PYTHON=/opt/local/bin/python2.6 ./configure --prefix=/opt/local > && make, > I get a error message; > "Compiling ./python/arrayprim.cpp ... > make[1]: *** [arrayprim.lo] Error 1 > make: *** [all-recursive] Error 1". > > > Is possible to avoid this error and > to build visual python on Mac OS X? > > > -- > K. Uebayashi > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: K. U. <u.k...@gm...> - 2010-07-02 11:45:04
|
Hi, I'm trying to build vpython on my Mac OS X10.6.4. I've installed gtkglextmm, libglademml, ftgl and boost from macports. After executing PYTHON=/opt/local/bin/python2.6 ./configure --prefix=/opt/local && make, I get a error message; "Compiling ./python/arrayprim.cpp ... make[1]: *** [arrayprim.lo] Error 1 make: *** [all-recursive] Error 1". Is possible to avoid this error and to build visual python on Mac OS X? -- K. Uebayashi |
From: Bruce S. <bas...@nc...> - 2010-06-29 20:47:20
|
You just have to do what it says: Each dimension of the texture must be a power of 2. The image will then be stretched and/or compressed to fill the rectangle you put it on. Bruce Sherwood On Tue, Jun 29, 2010 at 2:27 PM, Khaerul Adzany <kha...@gm...>wrote: > Kadir, thank you for the hint! I think I didn't read the page thoroughly > (shy) > > Now I have another (related) problem, as you can see in my code there is: > > width = 1840 > height = 321 > #an then resize > im = Image.open('w-gauss_of_v1.1_0.50_04.png') > im = im.resize((width,height), Image.ANTIALIAS) > > there are the size of the bitmap i'm using and I created a bitmap from > a file an then re-size it, so after using a 'rectangular' as mapping > mode in my materials.texture() my image isn't showing as I expected. > So the real question is: how do you handle that kind of texture (not a > power-of-2 sized texture)? (because I've red it at the example in the > link that a texture has to have a power-of-2 size) > > -- > again, please, enlighten me > > > |
From: Khaerul A. <kha...@gm...> - 2010-06-29 20:27:25
|
Kadir, thank you for the hint! I think I didn't read the page thoroughly (shy) Now I have another (related) problem, as you can see in my code there is: width = 1840 height = 321 #an then resize im = Image.open('w-gauss_of_v1.1_0.50_04.png') im = im.resize((width,height), Image.ANTIALIAS) there are the size of the bitmap i'm using and I created a bitmap from a file an then re-size it, so after using a 'rectangular' as mapping mode in my materials.texture() my image isn't showing as I expected. So the real question is: how do you handle that kind of texture (not a power-of-2 sized texture)? (because I've red it at the example in the link that a texture has to have a power-of-2 size) -- again, please, enlighten me On 6/29/10, Kadir Haldenbilen <kha...@ya...> wrote: > Khaerul, > > mapping is either "rectangular", or "spherical". > > Please see section below: > > http://vpython.org/contents/docs/visual/materials.html > > Kadir > > > > > > ________________________________ > From: Khaerul Adzany <kha...@gm...> > To: vis...@li... > Sent: Tue, June 29, 2010 1:36:26 PM > Subject: [Visualpython-users] materials.texture(mapping?) > > Hello my great friends! > I've been trying vpython today and my project target is to display a > series of image into faces... one image for each face, but now it's > not really the problem. > > My problem is at the: > > materials.texture(mapping='mode') > > which I dont have any clue what value to fill in the 'mode' to pass > into the mapping argument, is there any decent resources/reference for > vpython that I can use? > Because after awhile searching the original website I can't find any > "API reference" or something like that. > > In case you people want to see my code, here it is: > > from visual import * > > #using P.I.L (Python Imaging Library) > import Image > > #create frame object > f = frame() > > #create a red face > model = faces(frame = f) > model.append(pos = (-3,0,-3)) > model.append(pos = (-3,0,3)) > model.append(pos = (3,0,3)) > model.append(pos = (-3,0,-3)) > model.append(pos = (3,0,-3)) > model.append(pos = (3,0,3)) > model.make_normals() > model.make_twosided() > > #get material from file > name = 'wgauss' > width = 1840 > height = 321 > im = Image.open('w-gauss_of_v1.1_0.50_04.png') > materials.saveTGA(name, im) > data = materials.loadTGA(name) > > #set model's material > model.material = materials.texture(data=im, mapping='sign') > > -- > Thanks in advance for any (helpful) reply > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first-- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > > -- Khaerul Adzany, Software Developer Mobile Phone: +628562217552 Yahoo! Messenger: kha...@ya... |
From: Kadir H. <kha...@ya...> - 2010-06-29 14:34:41
|
.. and also mapping = "sign" is available. ________________________________ From: Kadir Haldenbilen <kha...@ya...> To: Khaerul Adzany <kha...@gm...>; vis...@li... Sent: Tue, June 29, 2010 5:15:14 PM Subject: Re: [Visualpython-users] materials.texture(mapping?) Khaerul, mapping is either "rectangular", or "spherical". Please see section below: http://vpython.org/contents/docs/visual/materials.html Kadir ________________________________ From: Khaerul Adzany <kha...@gm...> To: vis...@li... Sent: Tue, June 29, 2010 1:36:26 PM Subject: [Visualpython-users] materials.texture(mapping?) Hello my great friends! I've been trying vpython today and my project target is to display a series of image into faces... one image for each face, but now it's not really the problem. My problem is at the: materials.texture(mapping='mode') which I dont have any clue what value to fill in the 'mode' to pass into the mapping argument, is there any decent resources/reference for vpython that I can use? Because after awhile searching the original website I can't find any "API reference" or something like that. In case you people want to see my code, here it is: from visual import * #using P.I.L (Python Imaging Library) import Image #create frame object f = frame() #create a red face model = faces(frame = f) model.append(pos = (-3,0,-3)) model.append(pos = (-3,0,3)) model.append(pos = (3,0,3)) model.append(pos = (-3,0,-3)) model.append(pos = (3,0,-3)) model.append(pos = (3,0,3)) model.make_normals() model.make_twosided() #get material from file name = 'wgauss' width = 1840 height = 321 im = Image.open('w-gauss_of_v1.1_0.50_04.png') materials.saveTGA(name, im) data = materials.loadTGA(name) #set model's material model.material = materials.texture(data=im, mapping='sign') -- Thanks in advance for any (helpful) reply ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first-- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Kadir H. <kha...@ya...> - 2010-06-29 14:15:24
|
Khaerul, mapping is either "rectangular", or "spherical". Please see section below: http://vpython.org/contents/docs/visual/materials.html Kadir ________________________________ From: Khaerul Adzany <kha...@gm...> To: vis...@li... Sent: Tue, June 29, 2010 1:36:26 PM Subject: [Visualpython-users] materials.texture(mapping?) Hello my great friends! I've been trying vpython today and my project target is to display a series of image into faces... one image for each face, but now it's not really the problem. My problem is at the: materials.texture(mapping='mode') which I dont have any clue what value to fill in the 'mode' to pass into the mapping argument, is there any decent resources/reference for vpython that I can use? Because after awhile searching the original website I can't find any "API reference" or something like that. In case you people want to see my code, here it is: from visual import * #using P.I.L (Python Imaging Library) import Image #create frame object f = frame() #create a red face model = faces(frame = f) model.append(pos = (-3,0,-3)) model.append(pos = (-3,0,3)) model.append(pos = (3,0,3)) model.append(pos = (-3,0,-3)) model.append(pos = (3,0,-3)) model.append(pos = (3,0,3)) model.make_normals() model.make_twosided() #get material from file name = 'wgauss' width = 1840 height = 321 im = Image.open('w-gauss_of_v1.1_0.50_04.png') materials.saveTGA(name, im) data = materials.loadTGA(name) #set model's material model.material = materials.texture(data=im, mapping='sign') -- Thanks in advance for any (helpful) reply ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first-- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Seth M. <sm...@ps...> - 2010-06-29 13:49:18
|
I have definitely isolated the problem to the installation of kmod-nvidia from the RPMFusion repository. On a computer in which we have VPython running, installing kmod-nvidia causes VPython to crash. Jason, to answer your question, I ran into problems in the install phase of the driver from NVIDIA ('NVIDIA-Linux-x86_64-256.35.run'). I don't recall the actual error message, however. I have no problems preventing the open source driver from loading (since I have to do that for kmod-nvidia as well). The reason why I would like to avoid using the NVIDIA driver is that when yum issues a kernel update, my computer crashes on reboot and I have to reinstall my OS... it seems to mess with some things that prevent a new kernel from booting. In fact, the NVIDIA website actually says that using the kmod-nvidia is safer since it is designed not to mess with things it shouldn't: ''' Note that many Linux distributions provide their own packages of the NVIDIA Linux Graphics Driver in the distribution's native package management format. This may interact better with the rest of your distribution's framework, and you may want to use this rather than NVIDIA's official package.''' I guess my question is why would one version of the driver cause VPython and another not? Or, is there a way to install the NVIDIA driver without having it mess with my kernel updates? I realize those aren't really VPython questions, but hopefully one of these answers may allow me to get VPython working again. Seth |
From: Khaerul A. <kha...@gm...> - 2010-06-29 11:34:28
|
Hello my great friends! I've been trying vpython today and my project target is to display a series of image into faces... one image for each face, but now it's not really the problem. My problem is at the: materials.texture(mapping='mode') which I dont have any clue what value to fill in the 'mode' to pass into the mapping argument, is there any decent resources/reference for vpython that I can use? Because after awhile searching the original website I can't find any "API reference" or something like that. In case you people want to see my code, here it is: from visual import * #using P.I.L (Python Imaging Library) import Image #create frame object f = frame() #create a red face model = faces(frame = f) model.append(pos = (-3,0,-3)) model.append(pos = (-3,0,3)) model.append(pos = (3,0,3)) model.append(pos = (-3,0,-3)) model.append(pos = (3,0,-3)) model.append(pos = (3,0,3)) model.make_normals() model.make_twosided() #get material from file name = 'wgauss' width = 1840 height = 321 im = Image.open('w-gauss_of_v1.1_0.50_04.png') materials.saveTGA(name, im) data = materials.loadTGA(name) #set model's material model.material = materials.texture(data=im, mapping='sign') -- Thanks in advance for any (helpful) reply |
From: Peter G. (CSSE) <P.G...@co...> - 2010-06-28 02:52:01
|
On 26/06/10 07:20, Cross, Jason wrote: > I have vpython running on Fedora 13 with Intel based video cards with 3d support. So, I'm guessing your problem comes from the 3rd party packaged nvidia driver. > I've installed the nvidia's driver successfully on fedora 13 at home. ..... the biggest problem was making sure the open source nvidia driver was prevented from loading at startup. > Jason The standard F12 method was to stop the open source driver loading with this put in the /boot/grub/grub.conf file on the kernel line.... rdblacklist=nouveau There was another method if you switched between the drivers but this was the easiest. Pete -- ------------------------------------------------------------------- Peter Glassenbury Computer Science department pe...@co... University of Canterbury +64 3 3642987 ext 7762 New Zealand |
From: Thomas S. <to...@fe...> - 2010-06-25 19:56:29
|
Am Fri, 25 Jun 2010 19:20:44 +0000 schrieb "Cross, Jason" <JC...@CS...>: > Seth, > > I have vpython running on Fedora 13 with Intel based video cards with > 3d support. So, I'm guessing your problem comes from the 3rd party > packaged nvidia driver. > > I've installed the nvidia's driver successfully on fedora 13 at > home. It's been a while, so I don't remember what exactly I did, but > I remember the biggest problem was making sure the open source nvidia > driver was prevented from loading at startup. What exact problem did > you run into with the official nvidia driver install? It seems to be the same crash like: https://bugzilla.redhat.com/show_bug.cgi?id=580984 But I have no idea how to track this down... Thomas |
From: Cross, J. <JC...@CS...> - 2010-06-25 19:35:57
|
Seth, I have vpython running on Fedora 13 with Intel based video cards with 3d support. So, I'm guessing your problem comes from the 3rd party packaged nvidia driver. I've installed the nvidia's driver successfully on fedora 13 at home. It's been a while, so I don't remember what exactly I did, but I remember the biggest problem was making sure the open source nvidia driver was prevented from loading at startup. What exact problem did you run into with the official nvidia driver install? Jason |
From: Bruce S. <bas...@nc...> - 2010-06-25 19:10:49
|
This is almost certainly a graphics driver problem, judging from past experience. Bruce Sherwood On Fri, Jun 25, 2010 at 1:01 PM, Seth Morton <sm...@ps...> wrote: > Hello, > > I am using Fedora 13 (x86_64). I previously used visual python on Fedora > 11, but I cannot get it to work on fc13. When I try to run anything that > uses visual, I get this error: > > Segmentation fault (core dumped) > > The window pops up for a split second (I can't see what's on it, but I can > see that it is drawn). I checked, and using only the line from visual > import * does not cause a segfault, but including > > from visual import * > sphere() > > does. > > Previously, on fc11, I had troubles when using a third-party kmod-nvidia > (it said there was an OpenGL error), so I had to use the driver directly > from nVidia. Now, on fc13, I am again using the kmod-nvidia (I couldn't get > nVidia's driver to work), but I am getting a different, and much less > helpful, error message than from before. My advisor also is using fc13, but > without the kmod-nvidia driver, and he is getting vpython to work, but it is > slow and choppy since he has no 3D graphics support. We'd like to be able > to use both vpython *and* 3D graphics. > > Of course, the driver may be just a red herring, but it's the best lead I > have. > > Does anyone have any ideas? > > Seth Morton > Graduate Student > Department of Chemistry > The Pennsylvania State University > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Seth M. <sm...@ps...> - 2010-06-25 19:01:40
|
Hello, I am using Fedora 13 (x86_64). I previously used visual python on Fedora 11, but I cannot get it to work on fc13. When I try to run anything that uses visual, I get this error: Segmentation fault (core dumped) The window pops up for a split second (I can't see what's on it, but I can see that it is drawn). I checked, and using only the line from visual import * does not cause a segfault, but including from visual import * sphere() does. Previously, on fc11, I had troubles when using a third-party kmod-nvidia (it said there was an OpenGL error), so I had to use the driver directly from nVidia. Now, on fc13, I am again using the kmod-nvidia (I couldn't get nVidia's driver to work), but I am getting a different, and much less helpful, error message than from before. My advisor also is using fc13, but without the kmod-nvidia driver, and he is getting vpython to work, but it is slow and choppy since he has no 3D graphics support. We'd like to be able to use both vpython /and/ 3D graphics. Of course, the driver may be just a red herring, but it's the best lead I have. Does anyone have any ideas? Seth Morton Graduate Student Department of Chemistry The Pennsylvania State University |
From: Bruce S. <bas...@nc...> - 2010-06-22 21:37:34
|
For completeness, note that you can make an anaglyph VPython animation simply by inserting the statement scene.stereo = 'redcyan' # or 'redblue' or 'yellowblue' Bruce Sherwood |
From: Davidmh <dav...@gm...> - 2010-06-22 12:04:31
|
I see. For doing that, you don't want VPython. It can render 3D images constructed by code, writing the positions of boxes, spheres, lines and so; but it cannot process images, at least as far as I know. For processing images the best library I know is Matplotlib. Here is a tutorial: http://matplotlib.sourceforge.net/users/image_tutorial.html. It imports the image as a matrix, in which each element represents a pixel, and it is, or a number from 0 (black) to 1 (white) , or a list of three elements (RGB). Starting from that, you can work, well in a more compact way treating it like matrices, or in a more elementary way element by element. As a footnote, Matplotlib works natively only with png, but if you have PIL installed, it can open any other file exactly in the same way. Also, I am thinking in another way to work. GIMP is actually a GUI for a tool that you could program to do what you want. I haven't tried it, so I cannot tell you more. I hope it helps. David. On Tue, Jun 22, 2010 at 6:14 AM, Alec Bennett <wry...@gm...> wrote: > I have two pictures shot from slightly different angles, and I'm trying to > process them into a 3d anaglyph image. > > I wound up finding this bit of code: > > http://www.mail-archive.com/pyt...@py.../msg86685.html > > Seems to be working nicely, though I have no idea what exactly is happening > in the code, so I can't fine tune the results. I don't have the two cameras > I'm using mounted yet so I can't really guage how much of a 3d effect I'm > getting. But with my cameras pointed very imprecisely, I'm getting somewhat > decent results. > > Its my understanding that to get a good 3d anaglyph effect, the cameras need > to be mounted very very carefully, exactly mimicking the distance of human > eyes. > > > > > |
From: Alec B. <wry...@gm...> - 2010-06-22 04:15:02
|
I have two pictures shot from slightly different angles, and I'm trying to process them into a 3d anaglyph image. I wound up finding this bit of code: http://www.mail-archive.com/pyt...@py.../msg86685.html Seems to be working nicely, though I have no idea what exactly is happening in the code, so I can't fine tune the results. I don't have the two cameras I'm using mounted yet so I can't really guage how much of a 3d effect I'm getting. But with my cameras pointed very imprecisely, I'm getting somewhat decent results. Its my understanding that to get a good 3d anaglyph effect, the cameras need to be mounted very very carefully, exactly mimicking the distance of human eyes. |
From: Davidmh <dav...@gm...> - 2010-06-22 03:06:32
|
On Tue, Jun 22, 2010 at 4:44 AM, Alec Bennett <wry...@gm...> wrote: > I'm trying to make a simple anaglyph composite image. I have the two source > images, and I'd like to produce a single 3d image. I don't understand what do you want. Do you mean that you have already two pictures and you want to put them together, one red and another blue? For this business, an image processing software will do easily. If, on the other hand, you want to create the scene from spheres and boxes, like any standard VPython scene, yes, you can convert it into an anaglyph trivially. If you have two pictures and you want to build up the 3D scene from them, you will need bigger cannons. It is possible (even with only one image! * ), but not easy. Cheers, David. * http://make3d.cs.cornell.edu/ |
From: Alec B. <wry...@gm...> - 2010-06-22 02:44:55
|
I'm trying to make a simple anaglyph composite image. I have the two source images, and I'd like to produce a single 3d image. Is VPython a good candidate for that? Is there any sample source code posted on how to do this? Thanks for any help. |
From: Pablo G. C. <ozr...@gm...> - 2010-06-18 18:44:24
|
I've been playing (with TkSnack <http://www.speech.kth.se/snack/>) some simple noise in my visual python toys... A simple Lorenz attractor with several particles... Well, not so simple. Each particle has it's own sound and the sound frequency depends on the speed of the particle. The result is something really disturbing. I'll call it "Lorenz's Theremin". This is a quite stupid example, but can be easily adapted for illustrating interesting physics like Doppler effect. As usual with me, code is far from elegant, sorry for that. IMPORTANT NOTE: be carefull with sound volume, specially if using earphones!!! Hope you enjoy it. \\// Que la suerza os acompañe Pablo. |
From: Bruce S. <bas...@nc...> - 2010-06-18 04:06:38
|
Here is an example which seems to do what you want: from __future__ import division from visual import * scene.background = color.white scene.forward = (1,-1,-1) road = frame(pos=(-30,0,0)) yroad = 0.05 width = 1 length = 2000 box(frame=road, pos=(length/2,-yroad/2,0), size=(length,yroad,width), color=color.green) for x in range(0,length,10): curve(frame=road, pos=[(x,0.01,-width/2), (x,0.01,width/2)], color=color.black) truck = frame() L = 1.7 body = box(frame=truck, pos=(L/2,0.4,0), size=(1.7,0.3,0.6), color=color.red) cab = box(frame=truck, pos=(L/2+.3,0.7,0), size=(.4,0.3,0.6), color=color.red) R = 0.17 for x in (1.1*R,L-1.2*R): for z in (-0.25,0.15): cylinder(frame=truck, pos=(x,R,z), radius=R, axis=(0,0,0.1), color=color.black) scene.range = 25 scene.center = (truck.x,0,0) scene.mouse.getclick() while truck.x < length-5: rate(50) truck.x += 0.3 scene.center = (truck.x,0,0) However, depending on the details I can see rendering problems. For example, if I set scene.range = 5 or 10, pieces of the scene are truncated. It appears that there are problems in the setting of near and far clipping planes for the 3D display when one sets the range very small for a situation where the scene is actually very large. Oddly, if I don't set scene.range but simply zoom in before clicking to start the motion, I don't have the rendering problem. In general, you probably have to generate scenery around the truck as you go. For example, in my code instead of moving the truck in the +x direction you could move the road in the -x direction. Then if you use short road segments and move them to the front whenever one goes off the screen to the back, you could keep the whole scene small. As for problems with textures, that almost certainly indicates that you need to update the graphic drivers. From the Linux download page at vpython.org: Materials such as wood will work with graphics cards that support Pixel Shader 3.0 ("PS 3.0"). See http://en.wikipedia.org/wiki/Pixel_shader#Hardware. *Some* materials may work with graphics cards that support PS 2.0, but other materials may need to be manually disabled; see instructions in the *site-settings.py* module in the Visual package in your site-packages folder. If the graphics hardware does not support pixel shaders, the material property is ignored. If you think you should be able to use materials but have trouble with their display or performance, we highly recommend upgrading your video card drivers to the latest version. Bruce Sherwood On Thu, Jun 17, 2010 at 5:19 PM, Baozhi Chen <bc...@gm...> wrote: > Hi all, > > I am a new user of VPython. My goal is to make a 3D visualization of a > moving autonomous vehicle for a demo. The vehicle will move along a > long trajectory. > For example, the whole trajectory is from 0 m to 2000 m in x-axis > while the vehicle is only 1 or 2 m long. > Therefore it won't look good to view the whole trajectory. I want to > set the viewing region dynamically to an appropriate size (for > example, from 1950 m to 2000 m in x-axis) so > that the vehicle does not look too small. I have tried to use the > scene.center and scene.range to change the view region but it doesn't > seem to work. > Could any one tell me what's wrong and how to set the view region? > > I am using a SONY VGN-CR490 laptop with intel 965GM graphics driver. > My OS is Ubuntu 10.04 and VPython is the latest version 5.32 (I > followed INSTALL.txt to install). > BTW, there seems to be a problem when I tried to use the textures, > which leads to the crash of the GNOME window system. > Some 3D text object cannot be displayed in my visualization although > the text examples coming with Vpython work. > > Thanks. > > Bob > > |
From: Bruce S. <bas...@nc...> - 2010-06-18 02:47:51
|
What "text examples" work? There shouldn't be a difference between a text object in an example program and a text object in your own program. Bruce Sherwood On Thu, Jun 17, 2010 at 7:43 PM, Baozhi Chen <bc...@gm...> wrote: > I have installed these font and polygon packages. The text examples > with vpython 5.32 work but the text object cannot appear > in my program. I wonder if it is due to the graphics driver or not. > > |
From: Baozhi C. <bc...@gm...> - 2010-06-18 01:50:02
|
I have installed these font and polygon packages. The text examples with vpython 5.32 work but the text object cannot appear in my program. I wonder if it is due to the graphics driver or not. On Thu, Jun 17, 2010 at 8:37 PM, Bruce Sherwood <bas...@nc...> wrote: > I guess the confusion is that in the case of the Windows and Mac installers, > the modules are included in the VPython installers. On the Linux download > page at vpython.org you will see "In support of the 3D text object, you will > need to install the font-handling modules FontTools, ttfquery (version 1.0.4 > or later), and Polygon (all available from pypi.python.org), for which the > following conditions apply:" followed by an extract from the Visual > license. > Also, in INSTALL.txt included in the Visual tarball you will see "For Visual > 5.3 and later, you need the Python modules FontTools, ttfquery, and > Polygon. Be sure to get ttfquery 1.0.4 or later." This is followed by the > specific information about Polygon. > If you don't install these components on Linux the new text object won't > work. > Hope this helps. > Bruce Sherwood > On Thu, Jun 17, 2010 at 4:50 PM, Thomas Spura <to...@fe...> > wrote: >> >> Am Thu, 17 Jun 2010 11:18:48 -0600 >> schrieb Bruce Sherwood <bas...@nc...>: >> >> > I'm not sure to what you're referring. >> >> To this part of the license: >> >> [snip] >> >> > --------------------------------------------------------------------- >> > The following copyright notice applies to the Polygon module >> > distributed with Visual for the convenience of our users under the >> > following terms: >> > >> > "This distribution contains code from the GPC Library, and/or code >> > resulting from the use of the GPC Library. This usage has been >> > authorized by The University of Manchester, on the understanding >> > that the GPC-related features are used only in the context of this >> > distribution. It is not permitted to extract the GPC code from the >> > distribution as the basis for commercial exploitation, unless a >> > GPC Commercial Use Licence is obtained from The University of >> > Manchester, contact: http://www.cs.man.ac.uk/~toby/gpc/". >> > >> > --------------------------------------------------------------------- >> >> This sounds highly 'non free' and therefor needs to go through the >> legal team from redhat at least. >> >> But after looking thought the sources, I didn't found, where the >> polygon module exactly is... Should be somewhere under >> site-packages/visual/*, but the only thing I found was >> in ./site-packages/visual/primitives.py: >> 'import Polygon'. >> >> So where is it? >> >> Grepping for "GPC" also brings no results, so at least there will be a >> comment missing about the license, if this polygon modules is still >> included... >> >> Thomas >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |
From: Bruce S. <bas...@nc...> - 2010-06-18 00:38:04
|
I guess the confusion is that in the case of the Windows and Mac installers, the modules are included in the VPython installers. On the Linux download page at vpython.org you will see "In support of the 3D text object, you will need to install the font-handling modules FontTools, ttfquery (version 1.0.4 or later), and Polygon (all available from pypi.python.org), for which the following conditions apply:" followed by an extract from the Visual license. Also, in INSTALL.txt included in the Visual tarball you will see "For Visual 5.3 and later, you need the Python modules FontTools, ttfquery, and Polygon. Be sure to get ttfquery 1.0.4 or later." This is followed by the specific information about Polygon. If you don't install these components on Linux the new text object won't work. Hope this helps. Bruce Sherwood On Thu, Jun 17, 2010 at 4:50 PM, Thomas Spura <to...@fe...>wrote: > Am Thu, 17 Jun 2010 11:18:48 -0600 > schrieb Bruce Sherwood <bas...@nc...>: > > > I'm not sure to what you're referring. > > To this part of the license: > > [snip] > > > --------------------------------------------------------------------- > > The following copyright notice applies to the Polygon module > > distributed with Visual for the convenience of our users under the > > following terms: > > > > "This distribution contains code from the GPC Library, and/or code > > resulting from the use of the GPC Library. This usage has been > > authorized by The University of Manchester, on the understanding > > that the GPC-related features are used only in the context of this > > distribution. It is not permitted to extract the GPC code from the > > distribution as the basis for commercial exploitation, unless a > > GPC Commercial Use Licence is obtained from The University of > > Manchester, contact: http://www.cs.man.ac.uk/~toby/gpc/". > > > > --------------------------------------------------------------------- > > This sounds highly 'non free' and therefor needs to go through the > legal team from redhat at least. > > But after looking thought the sources, I didn't found, where the > polygon module exactly is... Should be somewhere under > site-packages/visual/*, but the only thing I found was > in ./site-packages/visual/primitives.py: > 'import Polygon'. > > So where is it? > > Grepping for "GPC" also brings no results, so at least there will be a > comment missing about the license, if this polygon modules is still > included... > > Thomas > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |