cluosh
Joined: 15 Mar 2013 Posts: 20
|
Posted: Tue Dec 09, 2014 10:01 pm Post subject: |
|
|
Quote: | By the way, were it your own games written in OpenGL?
I have written one game in FTN95+Clearwin+OpenGL
(my kids were shocked in disbelief LOL Me too, BTW,
that's how good all look in OpenGL) but need more
advanced way to control it via mouse.
The problem is simple: imagine the 3D surface with, say, green trees on it.
I need to select these trees when i click on them. If it were 2D %gr
i'd do that easily just by giving each tree slightly not noticeably different color and get that color associated with specific tree when click on it. |
If the green trees are drawn using vertices, one can use the opengl implemented selection. but if the trees on the 3D surface are on the texture, i think it would be close to impossible to doing this in fortran, since you'd probably need shaders to do this. |
|