newforrestgump001 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

mlab mesh and surface is black instead of colorized #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I tried the following 'mesh' mlab example on page:
http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab
_helper_functions.html#mesh

With 
   mesh(x, y, z, colormap="bone")

the figure is completely black. The background is gray.

with
   mesh(x, y, z, color=(1,1,0.5))

the figure is yellow, as expected. But without colormap, of course.

I use Python(xy) Full Version 2.1.5 including ETS (Mayavi 2) on two Windows
XP (Home and Prof.) laptops (‘acer’ and Dell) using the same settings. One
the Dell the figure is perfect, on the 'acer' the figure is black. The same
is true for the mlab-surface command.

Could it be a broken registry entry (I tried to install python(xy) ETS
edition first without success and uninstalled it before moving to the full
version, may be the first version made some wrong registry entries) . Or
could it be a graphic card driver problem?

Original issue reported on code.google.com by Jens.Spi...@web.de on 15 Jan 2009 at 9:21

GoogleCodeExporter commented 9 years ago
No, I don't think Python(x,y) has anything to do with this bug. The symptoms 
you are
describing happen when there is no valid 3D graphics driver installation.

Original comment by pierre.raybaut on 17 Jan 2009 at 8:09

GoogleCodeExporter commented 9 years ago
You are right. The problem is solved – It was the Intel Graphic Driver
Thanks for your hint and sorry for the disturbance.

Have a nice, day. 

Jens

Original comment by Jens.Spi...@web.de on 17 Jan 2009 at 8:32