Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32 and examples/tessellation.pl #1

Open
sisyphus opened this issue Mar 6, 2017 · 2 comments
Open

Win32 and examples/tessellation.pl #1

sisyphus opened this issue Mar 6, 2017 · 2 comments

Comments

@sisyphus
Copy link

sisyphus commented Mar 6, 2017

The tessellation.pl example doesn't quite behave as intended.

With my Mingw-built x86 perls (and also with x86 Strawberry Perl-5.22.0), pressing the 'q' key has no visible effect (on either the appearance of the cmd.exe window or on the appearance of the display window).

With my Mingw-built x64 perls (and also with x64 Strawberry Perl-5.24.1), pressing the 'q' key causes a crash.
Actually it's 2 crashes - as the first popup box that tells me that the perl interpreter has stopped working is, upon acknowledgement, replaced with a second.

The only way I can cleanly close the program is to click on the 'x' (in either the cmd console window or the display window).

Pressing the 'e' key toggles the appearance of the square and the octagon - but has no effect on any of the other shapes. Is that correct ?

I can toggle between color/black&white by hitting just about any character key that doesn't have a designated purpose. That is, the behaviour is not confined to the 'c' key.

Hitting the 'a' key and the 'o' key is not having any visible affect on the display. Is that as it should be ?

Apart from the 'q' key, behaviour is the same for both x86 and x64 builds.

For the x86 builds, I also tried replacing freeglut-2.8.1 with freeglut-3.0.0, but that made no difference.

If you have access to Strawberry Perl, I think you should be able to easily reproduce this quirky behaviour - though x86 perl-5.22.0 and x64 perl-5.24.1 are the only Strawberry Perls that I've actually tried thus far.

Is this an OpenGL-GLU issue, or an OpenGL-GLUT issue ? (I've opted for raising it here as the tessellation.pl file is actually part of OpemGL-GLU-0.03 distro.

I'm on Windows 7.

Cheers,
Rob

@devel-chm
Copy link
Collaborator

devel-chm commented Mar 6, 2017 via email

@devel-chm
Copy link
Collaborator

You could debug some of this by using OpenGL but importing partial
functionality (you can do this with GLU, GLUT but not Array/Matrix/RPN
since they are always pulled in).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants