From: Guy K. K. <g....@ma...> - 2009-11-16 00:51:33
|
All the lines beginning with a "$" are prompts on the command line. So use your favourite console to do these tasks according to these steps below. Hopefully the fixed libboost packages will move soon to karmic-updates, but as long as they are not there, yet, please follow these instructions. * Add the repository that contain the fixed Boost libraries, you'll probably be prompted for your password on this call: $ sudo add-apt-repository ppa:ajmitch * Update your local repository content list and install the update(s): $ sudo aptitude update $ sudo aptitude full-upgrade * If you haven't done so, yet, install the VPython package from Ubuntu, named python-visual: $ sudo aptitude install python-visual * Test the install by using one (some) of the samples, e. g. doublependulum.py: $ cd /usr/share/doc/python-visual/examples/ $ python doublependulum.py Hope that helps, Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |
From: Andrew M. <amo...@de...> - 2009-11-16 16:11:45
|
On Sun, Nov 15, 2009 at 6:50 PM, Guy K. Kloss <g....@ma...> wrote: > All the lines beginning with a "$" are prompts on the command line. So use > your favourite console to do these tasks according to these steps below. > Hopefully the fixed libboost packages will move soon to karmic-updates, but as > long as they are not there, yet, please follow these instructions. > > * Add the repository that contain the fixed Boost libraries, you'll probably > be prompted for your password on this call: > > $ sudo add-apt-repository ppa:ajmitch > > * Update your local repository content list and install the update(s): > > $ sudo aptitude update > $ sudo aptitude full-upgrade > > * If you haven't done so, yet, install the VPython package from Ubuntu, named > python-visual: > > $ sudo aptitude install python-visual > > * Test the install by using one (some) of the samples, e. g. > doublependulum.py: > > $ cd /usr/share/doc/python-visual/examples/ > $ python doublependulum.py > > Hope that helps, Guy, Thanks for the simple, straightforward instructions. I was able to install the boost libraries. I can also confirm the error reported here: https://bugs.launchpad.net/ubuntu/+source/boost1.38/+bug/457688/comments/14 and that I was able to fix it by installing the libgtkglextmm-x11-1.2-dev package and all its dependencies. I see you suggested that this be reported as a separate bug of python-visual, which I see was done here: https://bugs.launchpad.net/ubuntu/+source/python-visual/+bug/482928 I'm happy that my Vpython module now works, although I am unable to use the textures. Is there anything in the new boost modules that would prevent the textures from showing up, or is it more likely a problem with my graphics card? This installation was the first chance I've had to try the textures, so I'm lost on what to look for in terms of configuration. Thanks again! Andrew |
From: Bruce S. <Bru...@nc...> - 2009-11-16 18:20:45
|
From the download page at vpython.org (and also found in the materials section of the Visual documentation): Materials such as wood 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. Other features new in Visual 5, such as transparency and local lights, work with all graphics cards. Bruce Sherwood Andrew Morrison wrote: > > I'm happy that my Vpython module now works, although I am unable to > use the textures. Is there anything in the new boost modules that > would prevent the textures from showing up, or is it more likely a > problem with my graphics card? This installation was the first > chance I've had to try the textures, so I'm lost on what to look for > in terms of configuration. > > Thanks again! > > Andrew > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |
From: Andrew M. <amo...@de...> - 2009-11-16 19:48:04
|
Ah...okay, that explains it. I was used to getting a warning indicating that my card didn't support Pixel Shader. With my new-to-me card, I expected that it would support PS 3.0, but it does not. Strange that no warning appeared, but I understand it now. On Mon, Nov 16, 2009 at 12:19 PM, Bruce Sherwood <Bru...@nc...> wrote: > > From the download page at vpython.org (and also found in the materials > section of the Visual documentation): > > Materials such as wood > > 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. > > Other features new in Visual 5, such as transparency and local lights, > work with all graphics cards. > > Bruce Sherwood > > Andrew Morrison wrote: >> >> I'm happy that my Vpython module now works, although I am unable to >> use the textures. Is there anything in the new boost modules that >> would prevent the textures from showing up, or is it more likely a >> problem with my graphics card? This installation was the first >> chance I've had to try the textures, so I'm lost on what to look for >> in terms of configuration. >> >> Thanks again! >> >> Andrew >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > |