Bugs item #621504, was opened at 2002-10-10 14:42
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=621504&group_id=5988
Category: doc
Group: None
>Status: Pending
>Resolution: Postponed
Priority: 5
Submitted By: Thomas Boggs (tboggs)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error/Typo in glTexImage2D documentation
Initial Comment:
In the documentation for glTexImage2D located at
http://pyopengl.sourceforge.net/documentation/manual/glTexImage2D.3G.html,
the documenation specifies that the width and height of
the image must be
2 n + 2 (border),
where n is an integer. I attempted to call the function
with a bitmap matching that criterion and it raised an
exception with
"[Errno 1281] invalid value".
I found another OpenGL document somewhere on the web
which stated that the image dimensions must each be
2^n + 2 (border),
where n is an integer. That eliminated the problem.
I'm not sure if it's a typo or a formatting problem in
the html.
-thomas
----------------------------------------------------------------------
>Comment By: Mike C. Fletcher (mcfletch)
Date: 2002-11-16 04:24
Message:
Logged In: YES
user_id=34901
Hmm, not sure how to go about fixing this. Basically, the
Math-ML is set up to show as (the equivalent of)
2<super>n</super>, but your browser isn't rendering it as
such. I can't actually reproduce the problem on my machine
because both IE and Mozilla render it as 2 with n as a
superscript. Given that is auto-generated from the standard
OpenGL docs, it's not really something I feel like going
through to fix manually.
Suggestions welcome. (Would it be possible to include a
MathML stylesheet that takes over if MathML support isn't
available?)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=621504&group_id=5988
|