> http://puredata.info/Members/mtl/ Thanks! I tried the gemsWin-help.pd and it does some of what I want but I noticed that if you move along the Y axis eventually the view will bounce back rather than continually rotate.
I've analysed sonofsols GEM game engine and removed lots of the extra bits to focus on rotating the viewport (attached). It seems like most of the is done inside [pd crossprod] and [pd vectorcross]. If anyone is able to help clean it up and add in some comments about how/why it works that would be great! I'm doing what I can with it. On 17 November 2016 at 13:31, Py Fave <pyf...@gmail.com> wrote: > i think you will find useful things in these gem abstractions > > http://puredata.info/Members/mtl/ > > > https://github.com/patricksebastien/mtl > > > > > 2016-11-16 19:51 GMT+01:00 IOhannes m zmölnig <zmoel...@iem.at>: >> >> On 11/16/2016 12:35 PM, Antonio Roberts wrote: >> > Hi Pd/Gem users, >> > >> > I'm looking for an easy way to control the position of the GEM window. >> > I want to be able to pan across, zoom in and out and rotate the view >> > easily. Essentially have the same amount of control you already have >> > in programs like Blender. >> > >> >> > Does anyone know of a patch or abstraction that allows for a high >> > level of control of the window? >> > >> >> hmm, i don't think you actually want to control the window (though in >> Gem-git, you have dynamic control over the window (at least with the >> glut-backend [gemglutwindow]) by sending it [offset( and [dimen( >> messages *after* the window has been created. >> >> anyhow, you probably do want to have a look into >> examples/02.advanced/03.View.pd >> >> gfmadsr >> IOhannes >> >> >> >> _______________________________________________ >> Pd-list@lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> https://lists.puredata.info/listinfo/pd-list >> > > > _______________________________________________ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > -- ============================ anto...@hellocatfood.com http://www.hellocatfood.com ============================
GEM_engine1.pd
Description: application/download
unitvector3D.pd
Description: application/download
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list