Hi,
for that i normally use abstractions that do the coordinate
transformation after the gemhead without changing the camera (see
attachment: vis-test uses the other files).
But, since for a project i'm working on a more general solution for
simple UI widgets in gem including mouse and keyboard interaction,
that brings me to the question if anyone has already done something
like that. One would assume yes....
gr~~~
Am 03.09.2008 um 18:08 schrieb marius schebella:
hi, after fuzzing around with 3d to pix conversions for the xth time, I
thought it should also be possible to set the camera to a point
that just allows to have all units in pixels with the 0/0 in the
top left corner. the only way to get this working was to set the camera to a
negative z position and flip the upvector. the problem with that
is, that all images will be vertically flipped, too. so I wonder whether there could be a general gemwin switch to flip
- and - on the y axis?
and again, it would be extremely cool to have a possibility to read
out the curent size of the gemwin. thanks, marius.<camera_pixel_view.pd>_________________________________________ ______ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list