-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenGL Request #3
Comments
Hey,
I am glad you found this helpful. I wanted to try OpenGL as a side project,
and started working on that. You can even find a branch called "opengl" in
this repository.
If you checkout the opengl branch, there is an example on how to draw a
cube with OpenGL. It also lists all the dependencies I had to install.
Unfortunately it does not have OpenGL-ArUco integration yet. I was busy
with all the other stuff and never got to finish it. I don't see me
finishing that up near future either just because I don't have time.
If you figure that out, please feel free to make a pull request though.
Good luck,
Kani
…On Fri, Jul 19, 2019, 04:08 Alperen Caykus ***@***.***> wrote:
Hello, thanks for the sample codes. They really helped me a lot. I am
looking for a way to make drawing stuff with OpenGL on markers. Do you know
any tutorials, or do you know how to do this ? Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AEYSOYQ2R3ZKWTC7BJRLUP3QAFY5TA5CNFSM4IFDP2DKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAGTKKQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEYSOYWWP2PM6A6HRXAILS3QAFY5TANCNFSM4IFDP2DA>
.
|
Hello again, |
I am not entirely sure about the reason or what you mean when you say "cube moves on aruco marker". One possible reason would be the origin of the cube. If you need the cube to be on the marker, the origin of the cube must be on the bottom most face. In other words, if you are drawing a unit cube, the (x,y,z) coordinates must be as follows: If this is correct, I am not sure what is wrong with your code. |
Actually it is not my code. I found the code on stackoverflow and thought it would give me some idea about the process. So, I took the code and run it on my computer. When marker is at the center, cube is drawn on it. But when I move the marker to the right for example, cube also moves to the right but it is no longer on marker. I tried the solution mentioned in the comment but didnt work. Can you have a look at the code and tell what is wrong with it? Btw, of course my problem is the same with the guy's problem who posted the code. Link to code |
Did you try the solution provided in the Stackoverflow question?
I am sorry, but it is hard for me to comment without trying the code, and I
simply do not have time to try to implement OpenGL at this moment.
…On Sun, Jul 21, 2019 at 7:08 PM Alperen Caykus ***@***.***> wrote:
Actually it is not my code. I found the code on stackoverflow and thought
it would give me some idea about the process. So, I took the code and run
it on my computer. When marker is at the center, cube is drawn on it. But
when I move the marker to the right for example, cube also moves to the
right but it is no longer on marker. I tried the solution mentioned in the
comment but didnt work. Can you have a look at the code and tell what is
wrong with it? Btw, of course my problem is the same with the guy's problem
who posted the code. Link to code
https://stackoverflow.com/questions/50764623/object-is-wrong-displaced-in-ar-aruco-opengl
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AEYSOYVXBMT2M2VC2MBAW3DQATT7LA5CNFSM4IFDP2DKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ONQPI#issuecomment-513595453>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEYSOYUWPN34Z24DFDVAVQ3QATT7LANCNFSM4IFDP2DA>
.
|
Hello, thanks for the sample codes. They really helped me a lot. I am looking for a way to make drawing stuff with OpenGL on markers. Do you know any tutorials, or do you know how to do this ? Thanks in advance.
The text was updated successfully, but these errors were encountered: