dbawel Posted May 1, 2016 Share Posted May 1, 2016 Hi @Wingnut - I'm still alive - sort of - and busy enough to keep off the forum since my current efforts are in repetitive writing of similar functions, which is boring the heck out of me. However I haven't yet had the time to really experiment with using percentages from the conversion of canvas (X,Y) event coordinates. Although what I did attempt within the BJS master file was a incomprehensible mess thus far - as I really am not familiar enough with the VR Joystick to make any progress yet. But sometime in the near future, I do plan on trying to "steal" parts of the VR joystick and attempt to write something similar, yet independant of the existing function(s). The reason why I would take this approach, is that I've had really good luck in working with the CastorGUI extension using the latest build which now provides the option of converting (X,Y) coordinates to percentages based upon canvas size. Whereas I can and have now build an interface which draws very similar on practically any device - with the exception of my new S6 and of course VR apps - which I'm learning that GUIs for VR require a completely different approach in design and development. So what I might try is to utilize the code within the current VR Joystick with which I'm somewhat familiar, and write this as a fuction within the CastorGUI extension - since the extension efficiently utilizes JSON objects, and I believe may have the flexability to solve some of the issues I've run into developing additional functionality within the VR joystick, by utilizing the processes in which the extension makes use of the GUI canvas and JSON objects which are the elements in the GUI. But I have SO MUCH work to complete in the next few weeks, however, as I'm curently working in the CastorGUI extension quite extensively right now, adding a flexible and adaptable VR Joystick to the extension is slowly being built in my head, as I work through similar issues using percentages to develop single interfaces adaptable to practicly any device. As soon as I get time to attempt this (and if I find it makes sense to use the CasterGUI Ext.), I'll update this post or start a new one, as I'm certain @Dad72 would be of great help, as well as your input considering your willingness to try practically anything. Of course, perhaps I'll get the time and find the good luck to use what I already belive might work - to actually work correctly. Then I'll simply post the good news. However, it's never quite that easy, is it? Let me know if you have any VR gear, as I'm certain you would love the challenge of working in VR. I've had years of experience in developing VR, however, it's a different world working in WebGL, and I've never built user friendly VR interfaces before - which is a challenge unto itself. So I highly recommend this area of development knowing a bit about how you love to take a good challenge on. Cheers, DB Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.