Hi Tcll, I don't get your problem exactly. You speak about window event coord in 3D space. I think that Tycho pointed you to some code to get the coords but the transform in 3D space is up to you I think (basically, it is just a projection using your transform matrix).
Sorry, I won't give you any answer but I'm a bit curious about what you're trying to do. Alex. On Thu, Feb 5, 2015 at 6:04 PM, Tcll <[email protected]> wrote: > sorry for taking a while to respond... > I opened your email as soon as I got it and just didn't know how to > respond :P > > but yea many thanks =D > > I'll definately be using your src as an example ;) > > before I get started though, > can I get a hint as to how to gather the event hotspots :/ > I'll need to figure out how to apply them to quads in 3D space (which I'm > not looking forward to... lol) > > if not, it's ok, I'll figure it out. :) > > or is that rather something I'd need to inverse-transform onto the hidden > 2D plane?? > > in any case, thanks :) > > On Wed, Feb 4, 2015 at 7:14 AM, Tycho Andersen <[email protected]> wrote: > >> On Tue, Feb 03, 2015 at 09:35:45AM -0800, Tcll 5850 wrote: >> > Hello, I've been looking into designing a full 3D workspace with OpenGL >> > with controllable ane repositionable windows in 3D space. >> > (imagine playing a first-person game but with the controls of your DE) >> > >> > I'm using XFCE and know how to overlay xfdesktop with the GL draw data >> via >> > GLFW. >> > >> > I've got everything pretty much down, I just need to know how to get >> the: >> > - window draw data (render to an image and transform on a quad in 3D >> space) >> > - window event coords (transform in 3D space) >> > >> > would the libraries you're using be able to get that data?? >> >> Yes, to interact with X we use xcffib. xcffib itself is a little raw, >> so we have a layer on top available in our tree in /libqtile/xcbq.py >> which may have more examples of how to use xcffib (along with xcffib's >> test suite). >> >> Tycho >> >> > thanks :) >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "qtile-dev" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "qtile-dev" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/qtile-dev/MiSYLUb-zg8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
