Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
ruckertheron
7
Years of Service
User Offline
Joined: 12th Nov 2016
Location:
Posted: 26th Jan 2021 01:30
Virtual Reality UI is something I'm trying to create. The first concept I came up with would be...
1. Create object planes that share vertices and texture them with GUI interactive buttons...
Id figure Id hardcode some images in the beginning, but I wonder if I can clear the screen and print data on the black screen from default ( it seems to be transparent when I grab letters)
so running a for-next from 33 to 126 and naming them to there character ascii code like "33.png" using GetImage() and SaveImage() before the main loop.
This step is pretty straight forward.

2. I would have to use the VR hand objects to create the beam. Im thinking cast a beam object depending on x, y, and z angles of the VR hand object until it hits an object or a certain
distance to act as an object selector. This is the more difficult task in my opinion.

3. Finally I would depending on the gui type I would be able to manipulate object orientation or texture objects or whatever at this point.

Now am I trying to reinvent the wheel? am I thinking about this wrong or do I have something here?
ruckertheron
7
Years of Service
User Offline
Joined: 12th Nov 2016
Location:
Posted: 27th Jan 2021 13:14
#2 POSSIBLE SOLUTION A
Okay so I managed to do number 2.. sort of.. instead of a beam I used a projectile or bullet theory in which the Virtual Hand can act as a gun. Being able to shoot an "bullet" from the current angle of your hand straight forward I can make collision checks with the bullet and the group of objects that "can be selected". until it gets to a certain distance or it hits something.
IF IT HITS SOMETHING then it will record the XYZ position of the "bullet" and create a 2d spot from 3d co-ords where the target can hit.
IF IT GOES TO A DISTANCE THEN release check and move forward...

ruckertheron
7
Years of Service
User Offline
Joined: 12th Nov 2016
Location:
Posted: 30th Jan 2021 16:28
Found some very interesting things in the Vr Zombies demo this morning... Im pretty much all set thanks for the demo!!

Login to post a reply

Server time is: 2024-04-20 15:51:59
Your offset time is: 2024-04-20 15:51:59