| |

VerySource

 Forgot password?
 Register
Search
View: 864|Reply: 5

How can I get the values ​​(coordinates) generated by opengl's evaluator?

[Copy link]

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-24 09:40:01
| Show all posts |Read mode
The value obtained by glEvalCoord2f ((float) j, i) is the coordinates of the vertex. The problem is that it is drawn directly on the screen. I now want to know its x, y, z values. If you can get it with the feedback mode, but after a big bend, is there a way to return directly?
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-2-16 08:45:01
| Show all posts
should not;
Use gluProject, gluUnproject functions.
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 United States

Post time: 2020-2-16 10:15:01
| Show all posts
should not,
Use gluproject, gluUnproject functions.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-17 14:45:02
| Show all posts
OpenGL also has a kind of feedback, which is drawing grids and assigning coordinates to each grid, so that querying which grid displays the coordinates of which grid.
Reply

Use magic Report

2

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-3-16 17:00:02
| Show all posts
Theoretically there should be, because the evaluation program must first calculate the x, y, z coordinates and then calculate the projection coordinates. What is the problem to return the x, y, z coordinates?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-2 19:15:01
| Show all posts
Have the same feelings and are following
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list