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

SF feature request #73 - add axis and viewpoint control to TriD graphics #328

Open
mohawk2 opened this issue Jul 30, 2021 · 4 comments
Open

Comments

@mohawk2
Copy link
Member

mohawk2 commented Jul 30, 2021

https://sourceforge.net/p/pdl/feature-requests/73/

It would be nice to be able resize, rotate, hide/unhide axes and labels. That would provide improved support for 3D visualization and demos.

@mohawk2
Copy link
Member Author

mohawk2 commented Mar 1, 2022

A way forward here would be to use Tk for that stuff. The TkTriD_demo currently doesn't work and shows the TriD::Tk module needs updating. As of now it's not getting installed by Demos/Makefile.PL but it can be run just with perl -Mblib Demos/TkTriD_demo.pm.

A resource for getting it working is p402 et seq of this book.

@mohawk2
Copy link
Member Author

mohawk2 commented May 10, 2022

A PerlMonks article from 2012 with a modification to TkTriD: https://perlmonks.org/?node_id=960864

An old TriD tutorial (on Wayback Machine) linked from that: https://web.archive.org/web/20160317024758/http://zentara.net/TriD_Tutorial/TriD_Tutorial.html

Note to self: integrate the GLUT stuff back into main OpenGL.

@mohawk2
Copy link
Member Author

mohawk2 commented Jun 19, 2022

An example of a trivial Tk program that works today and embeds OpenGL: https://metacpan.org/release/CHM/OpenGL-0.70/source/examples/tk_demo.pl

Also example code from 2007: https://perlmonks.org/?node_id=646423

@mohawk2
Copy link
Member Author

mohawk2 commented Sep 16, 2024

Prima::OpenGL works, and shows what might be needed - a Tk::OpenGL. cf https://github.com/codeplea/opengl-tcltk

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

1 participant