Yes, but my computer doesn't require that. Know why?
Ian
Ian Mallett wrote:
Hi, yes,
I noticed that for some reason my computer doesn't require this, but
nearly everyone I've talked to seems to need it. Is there a reason
why glutInit() is required on some computers and not on others?
Ian
GLUT has some book-keeping stuff that it needs initialized,
Hi, yes,
I noticed that for some reason my computer doesn't require this, but nearly
everyone I've talked to seems to need it. Is there a reason why glutInit()
is required on some computers and not on others?
Ian
Looks like you need to make a call to glutInit() at the start of
InitGL. Won't run here without it.
-FM
On Thu, Oct 23, 2008 at 5:31 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> I've condensed it down and ported it to pygame.
> http://www.geometrian.com/Programs/Tutorials/pygameshaders.zip
> Ian
I've condensed it down and ported it to pygame.
http://www.geometrian.com/Programs/Tutorials/pygameshaders.zip
Ian
YAY! Thank you all so much! that works!
PyOpenGL 3.0.0b6, nVidia Go 7600
Ian
On Thu, Oct 23, 2008 at 12:03 PM, Mike C. Fletcher
<[EMAIL PROTECTED]>wrote:
> Ian Mallett wrote:
>
>> Hi,
>>
>> I get (adding the necessary "import ctypes" at the top):
>> AttributeError: function 'glCreateShader' not found
>>
>> Thanks,
>> Ian
>>
> You'll likely need to use the extension-based v
Ian Mallett wrote:
Hi,
I get (adding the necessary "import ctypes" at the top):
AttributeError: function 'glCreateShader' not found
Thanks,
Ian
You'll likely need to use the extension-based version
(ARB.shader_objects). If you have a modern Nvidia/ATI card it will
almost certainly have shade
On Tue, Oct 21, 2008 at 10:15 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Tue, Oct 21, 2008 at 12:28 PM, claudio canepa <[EMAIL PROTECTED]>wrote:
>
>> Searching the pygame site with 'shaders + opengl' got many hits. Can you
>> point to the specif script(s) in trouble ?
>>
> I was refer
Ian Mallett wrote:
Hi,
I get (adding the necessary "import ctypes" at the top):
AttributeError: function 'glCreateShader' not found
Thanks,
Ian
Sorry, but it doesn't look like vanilla Windows OpenGL supports shaders.
They might be there, but under a video card specific library.
--
Lenard Lin
Hi,
I get (adding the necessary "import ctypes" at the top):
AttributeError: function 'glCreateShader' not found
Thanks,
Ian
Hi Ian,
Ian Mallett wrote:
On 10/20/08, Greg Ewing <[EMAIL PROTECTED]> wrote:
How exactly do they fail? Do you get an exception?
Well, they certainly don't run right out of the box.
The ARB example seems more complete, but it whines about the ARB
extensions--how it can't find them fo
Ian Mallett wrote:
Perhaps I'm doing something wrong--I get another error when using the
OpenGLContext example:
File "C:\dev\Python25\Lib\site-packages\OpenGLContext\arrays.py",
line 2, in
from vrml.arrays import *
ImportError: No module named vrml.arrays
My intention was be to suggest y
Perhaps I'm doing something wrong--I get another error when using the
OpenGLContext example:
File "C:\dev\Python25\Lib\site-packages\OpenGLContext\arrays.py", line 2,
in
from vrml.arrays import *
ImportError: No module named vrml.arrays
René Dudfield wrote:
Hi,
at one point they did work...
However pyopengl 3 is still in beta and has been changing a lot
recently... causing some things to fail.
There's been a recent fix in cvs to get them working on windows again
(I think your platform).
Actually, I'm using bzr these days
Done. Where were the examples you mentioned?
hi,
it should be:
python setup.py install
Maybe remove your site-packages one first.
cheers,
On Wed, Oct 22, 2008 at 12:15 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On Tue, Oct 21, 2008 at 12:28 PM, claudio canepa <[EMAIL PROTECTED]>
> wrote:
>>
>> Searching the pygame site with 'sha
Hi,
On Tue, Oct 21, 2008 at 12:28 PM, claudio canepa <[EMAIL PROTECTED]>wrote:
> Searching the pygame site with 'shaders + opengl' got many hits. Can you
> point to the specif script(s) in trouble ?
>
I was referring to these tutorials:
http://www.pygame.org/wiki/GLSLExample?parent=CookBook
http:
Hi,
at one point they did work...
However pyopengl 3 is still in beta and has been changing a lot
recently... causing some things to fail.
There's been a recent fix in cvs to get them working on windows again
(I think your platform).
I know that recently a bunch of shader examples were added to
On Mon, Oct 20, 2008 at 11:42 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've been doing lots of cool stuff with PyOpenGL, but frankly, with cooler
> effects comes more complexity, and when things get more complex
> [...]
> The solution, I've gathered from day 1, is to use shaders, which
On 10/20/08, Greg Ewing <[EMAIL PROTECTED]> wrote:
> How exactly do they fail? Do you get an exception?
Well, they certainly don't run right out of the box.
The ARB example seems more complete, but it whines about the ARB
extensions--how it can't find them for some reason. Probably because
the p
Ian Mallett wrote:
However, neither of the shader examples work for me,
even after I made the obvious modifications.
How exactly do they fail? Do you get an exception?
Does PyGlet use the PyOpenGL port of the
outdated OpenGL 2.0?
I think pyglet has its own wrappers for OpenGL, and
doesn't
Hi,
I've been doing lots of cool stuff with PyOpenGL, but frankly, with cooler
effects comes more complexity, and when things get more complex, PyOpenGL
"fixed function" techniques do not seem to be the answer. A dynamically
rendered cubic reflectionmapped object is complicated enough. So is a
d
23 matches
Mail list logo