Hello, thanks for this tutorial, I have one question: how can I implement same thing using min3d? We apply the renderer to the surface view in RendererActivity class and I start my graphics like that:
by the way, I’ve implemented ray picking for min3d and some other stuff, I can email you my code or share it some other way, just tell me how should I do this. I know you’re not maintaining min3d any more, but I hope it can be useful for other beginner developers.
I had some troubles with uploading my files on github, so I used upload.com
Here is my solution: http://uploading.com/files/84a46ac4/min3d.zip/
I’ve written something like a tutorial, sorry for my english if I made some mistakes, I’m just a student from Ukraine
You can edit and include it to min3d or just post it somewhere if you want or have time, I hope it will be useful to someone.
I’ afraid I won’t have time to deal with new library next month or two, but you can use my code to implement picking in Rajawali, the main idea is the same so I don’t think it will be a big problem
Hi Dennis,
Have you tried to use my picking? I hoped you would answer something about it Are you going to try/test it or you don’t want to update min3d at all any more?
how to interact with user interface? I found how interact with objects: public boolean onTouch(View v, MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_DOWN)
{
mRenderer.getObjectAt(event.getX(), event.getY());
}
return super.onTouchEvent(event);
}
but if I want touch to UI elements and do something with object… how implement it?
Leave a comment
About
Name: Dennis Ippel Job: Senior Creative Developer Location: London, United Kingdom E-mail: info at rozengain dot com
[...] to Rajawali Tutorial 6: Adding User Interface Elements. Tags: 3D, Android, engine, OpenGL ES, Rajawali, [...]
Hello, thanks for this tutorial, I have one question: how can I implement same thing using min3d? We apply the renderer to the surface view in RendererActivity class and I start my graphics like that:
this.startActivity(new Intent(this, mOpenGL.class));
I have no idea where exactly should I add user interface
by the way, I’ve implemented ray picking for min3d and some other stuff, I can email you my code or share it some other way, just tell me how should I do this. I know you’re not maintaining min3d any more, but I hope it can be useful for other beginner developers.
Hi Ilya,
Maybe something like this?
http://code.google.com/p/min3d/source/browse/trunk/sampleProjects/min3dSampleProject1/src/min3d/sampleProject1/ExampleInsideLayout.java
Awesome. Would you be interested in implementing ray picking in Rajawali? Just fork the repository on Github
wow, thanks for that. Exactly what I wanted
I had some troubles with uploading my files on github, so I used upload.com
Here is my solution: http://uploading.com/files/84a46ac4/min3d.zip/
I’ve written something like a tutorial, sorry for my english if I made some mistakes, I’m just a student from Ukraine
You can edit and include it to min3d or just post it somewhere if you want or have time, I hope it will be useful to someone.
I’ afraid I won’t have time to deal with new library next month or two, but you can use my code to implement picking in Rajawali, the main idea is the same so I don’t think it will be a big problem
[...] Rajawali Tutorial 6: Adding User Interface Elements [...]
Hi Dennis,
Are you going to try/test it or you don’t want to update min3d at all any more?
Have you tried to use my picking? I hoped you would answer something about it
hi,
but it’s high on my todo list. thanks a lot for sending the code!
haven’t had the time to look into it yet
Can I load the layout from .xml ?
Rather use Eclipe’s GUI designer.
How would you had a regular 2d surfaceview in order to draw something like a HUD?
how to interact with user interface? I found how interact with objects: public boolean onTouch(View v, MotionEvent event) {
if(event.getAction() == MotionEvent.ACTION_DOWN)
{
mRenderer.getObjectAt(event.getX(), event.getY());
}
return super.onTouchEvent(event);
}
but if I want touch to UI elements and do something with object… how implement it?