popojan / goban

3D igo/baduk/weiqi/go game board and GUI for GnuGo and other GTP engines ray traced by GLSL shader
https://hraj.si/goban
GNU General Public License v3.0
47 stars 3 forks source link

How to move the camera? #40

Closed noword closed 2 years ago

noword commented 2 years ago

Thanks for your great working.

Right press the mouse, I can rotate; scroll the mouse, I can zoom. How can I change the camera postion more freedom?

Actually, I try to make a program to recognize the SGF from Image. I need more data to train/test the model. I will open its source, when it almost done.

1

popojan commented 2 years ago

Hi noword,

you can drag the camera while either pressing the middle mouse button or the d key. As for the zoom more precision is gained by moving mouse while pressing the s key.

I have not thought of such fancy use as generating training data for image recognition! Maybe you could further profit from changing gamma and contrast (arrow keys) or altering materials in the shader.

Wish you a good luck with your project. The screenshot preview looks promising.

noword commented 2 years ago

Thanks for your replay. Shader/glsl is a new technology tree for me. Hopefully I can find the transition matrix for the board, get the boxes of 4 corners.

noword commented 2 years ago

I opened its source.

https://github.com/noword/image2sgf