Hi there
I use of vuforia and jpct.
I need when my object detected show a small layout on screen.
how can i do that?
help me please.
What exactly do you mean by layout?
for example show a simple button
For a simple button and similar elements, just draw them into a texture and blit it onto the screen using the blit methods in FrameBuffer.
Thanks for your comment.
but can you tell me,how can I do that?(I mean draw button into texture)
excuse me,also I have an another question.
I want render a video in vuforia? but i can't find native sample for android.
can you help me,please.
Thanks
Onto a texture? Then this might help: http://www.jpct.net/forum2/index.php/topic,3794.0.html (http://www.jpct.net/forum2/index.php/topic,3794.0.html)
(It's a rather long thread, but it should be possible to derive a solution from it.)
Thanks for you replay.
I got it,but can you answer my first question?(draw button into texture).
Thanks
I did: http://www.jpct.net/forum2/index.php/topic,4413.msg30650.html#msg30650 (http://www.jpct.net/forum2/index.php/topic,4413.msg30650.html#msg30650)... ???
um,sorry,my english not very well.
but my question is:how can I draw button into texture?
I'm new in vuforia/jpct.
I got it,I solved it.
Thanks a lot.
for the last question.
can I use ImageSwicher instead of object3D?
I need render a Image gallery.
You can try to mix standard Android GUI/layout stuff with OpenGL output. Personally, I wouldn't do it, but that might be just a personal preference. If you do it that way, it's independent from jPCT-AE and this forum isn't the right place to ask for support.
The other option is stay within the OpenGL world, but that requires you to re-invent some stuff. For a simple button, you can create a texture that contains the button as an image and use one of the blit()-methods in FrameBuffer to draw it on screen.
Quote from: nima.sh23 on July 01, 2015, 04:00:43 PM
can I use ImageSwicher instead of object3D?
I need render a Image gallery.
Not sure what you mean? You want to combine the ImageSwitcher with Vuforia or what?