umlaeute / Gem

Graphics Environment for Multimedia (official repository)
https://gem.iem.at
Other
103 stars 29 forks source link

[gemframebuffer] "view" support #351

Closed 60-hz closed 1 year ago

60-hz commented 1 year ago

[gemframebuffer] support "perspec" messages like [gemwin] but don't support the "view" message. I often need this and think it would be a great addition.

umlaeute commented 1 year ago

i actually quite like the simplicity of the [gemframebuffer] object, which allows you to easily build your own [view( message.

e.g.

[gemhead]
|
[gemframebuffer]
|
[rotateXYZ 0 <elevation> <azimuth>]
|
[translateXYZ 0 0 -4]
|

or (for the 9-args version of the [view():

[gemhead]
|
[gemframebuffer]
|
[GEMgluLookAt 0 0 4  0 0 0  0 1 0]
|