Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - aur8l

#1
Hi,

I'm myself looking for a solution to use a glview over a mapview. Could you hopefully show me how you managed to do it?
I tried multiple solutions. The "best" one so far was to use a mapfragment in my activity layout and dynamically add a glview with addcontentview (using a mapview constantly returned null on getMap). But I couldn't get to draw a transparent background for the glview (fb.clear always throwing an exception).

I tried to adapt it with some tips found on an example by mr.egon about augmented reality. In this one he was drawing a transparent background.
Didn't change anything.

Coule you give me some short sample, ? It would really help me out.

aur8l
#2
Support / Re: State of OpenGL ES2.0 support
July 03, 2011, 10:33:19 PM
Quote from: EgonOlsen on June 08, 2011, 11:24:38 PM
Anybody listening with too much time and a NVidia Tegra based device?
I meet these two requirements if it is still needed.
#3
Okay, I managed to make it out somehow.
Guess I got the basics. Keep you informed in other threads maybe ;).
#4
So it IS not clear !!  ;)
Well, simple question : how does one exit the HelloWorld (jPCT-AE version) demo ?
#5
Thank you for the reply Egon.
In fact, I was disturbed by the example for jPCT, and the fact that there's a difference with the jPCT-AE example. I spent some time looking in-depth of the HelloWorld code, and things became a little clearer.
Anyway, I must admit that the concept of the onDrawMethod being called 60 times a sec was unknown to me, what explained the questions.
There's one that still hangs in my mind though :
When is the stop() function being called ?

[edit]
OK, I guess this is Activity related, but... Man, I'm lost.
[/edit]
#6
Support / New to jPCT-AE, some clearances needed.
July 02, 2011, 07:58:32 PM
Hello everybody.
I downloaded the jPCT-AE packages to start coding 3D stuff on my Eee Transformer. I'm (or have been, actually) pretty used to Android dev, and familiar with3D programming (I used ogre3D in some -far away, it seems- past). Anyway, jPCT seemed pretty easy to learn, so I decided to go with it. Still, I'm a bit confused...
I started looking at the HelloWorld example (from the jPCT wiki), and I understanded it all pretty much. As I started to look into the jPCT-AE HelloWorld, it began less clearer.

Hence the question(s) :
- the example does not seem to show any rendering loop (to me, at least), I was looking for some as in the jPCT example.
- I assume that the onDrawFrame() method is acting as the rendering loop. It tries on 'stop', but the stop() method is not invoked any where in the code.

These might seem some pretty basics questions for you all, but whether I'm completely missing something here, or I'm a bit rusty, which would explain the first.

Anyway, thank you for taking the time for reading my first post.

Peace.

[edit]
Another question has been hitting my mind. The x:y values for the frame buffer doesn't seem to bet set anywhere. Adds to the confusion.
Sorry again for the [stupid maybe] questions.
[/edit]