[R-SIG-Mac] problem with rgl
Ken Knoblauch
knoblauch at lyon.inserm.fr
Thu Mar 31 17:59:15 CEST 2005
Hi,
To pick up this thread again,
I've installed rgl from source and overall it works fine except that
during the demo, I get a message first, at the regression demo
as below:
rgl.demo.regression()
RGL: Pixmap load: file format unsupported
RGL: Pixmap load: failed
I traced the error to the command:
rgl.spheres(x,esty,z,color="gray",radius=1.5,specular="green",texture=system.f
ile("textures/bump_dust.png",package="rgl"),texmipmap=T,
texminfilter="linear.mipmap.linear")
RGL: Pixmap load: file format unsupported
RGL: Pixmap load: failed
and further to the argument
texture=system.file("textures/bump_dust.png",package="rgl")
I have the png libraries and the png demos work.
capabilities()
jpeg png tcltk X11 GNOME libz http/ftp sockets
TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE
libxml fifo cledit IEEE754 bzip2 PCRE
TRUE TRUE TRUE TRUE TRUE TRUE
if that information is accurate.
The only thing that I've been able to spot further is in the
compilation during installation:
g++ -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/
System/Library/Frameworks/OpenGL.framework/Headers -I -DHAVE_PNG_H -DDarwin
-DNO_GL_PREFIX -I/usr/X11R6/include -I/usr/local/include -Wall -pedantic
-fno-exceptions -fno-rtti -fno-common -g -O2 -c scene.cpp -o scene.o
scene.cpp: In member function `void Texture::beginUse(RenderContext*)':
scene.cpp:1994: warning: invalid conversion from `int*' to `GLint*'
I reported this to the maintainer a few weeks ago, with no response
yet. Seeing the discussion on the help page, I thought that someone
might have a better idea.
I'm using Mac 0SX 10.3.8
platform powerpc-apple-darwin6.8
arch powerpc
os darwin6.8
system powerpc, darwin6.8
status
major 2
minor 0.1
year 2004
month 11
day 15
language R
Thanks.
best,
ken
____________________
Ken Knoblauch
Inserm U371, Cerveau et Vision
Department of Cognitive Neurosciences
18 avenue du Doyen Lepine
69675 Bron cedex
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: 06 84 10 64 10
http://www.lyon.inserm.fr/371/
More information about the R-SIG-Mac
mailing list