Welcome, Guest. Please login or register. Did you miss your activation email?

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.


Messages - adamw

Pages: [1]
1
General / Re: ContextSettings problem
« on: November 02, 2016, 09:24:07 pm »
Just learned that the Raspberry Pi supports both OpenGL ES 2.0 and 1.1.
So, maybe I just need to tweak the cmake to look for 1.1.

I'll give that a try tonight and let folks know.

2
General / Re: ContextSettings problem
« on: November 02, 2016, 06:52:00 pm »
Thanks for the reply...I'll try to do that this evening after work.

The ConextSettings I used with 2.1 were identical to what I use with 2.4.
All defaults, except the AA level, which was set to 8.

If 2.1 dropped me down to 4 or 2, I would expect 2.4 would do the same.
However it's going to 0.
That makes me think something is fundamentally missing/wrong in the setup.

I also tried AA level 4 using 2.4 with no luck.
I'll try 1 and 2 tonight also.


3
General / Re: ContextSettings problem
« on: November 02, 2016, 02:32:41 pm »
Looking through the cmake stuff, I saw it was looking for GLES/gl.h.

However, looking at files on the pi, it seemed to be located at GL/gl.h.

I made the change and re-ran cmake.
This time, it seemed it found the GL library.

However, when running my app, and asking for 8 levels of AA in my ContextSettings, I still get the output from SFML that requested was 8 and actual was 0.

And the lines I draw still look crappy.

I'd really appreciate any help on this. 
As I mentioned...same code using the pre-build 2.1 library on Raspberry Pi works great.

4
General / Re: ContextSettings problem
« on: November 02, 2016, 03:29:00 am »
I noticed there was a cmake flag for SFML_OPENGL_ES.
I tried to rerun cmake with this flag set to true, but it failed: "Could NOT find GLES (missing: GLES_LIBRARY GLES_INCLUDE_DIR)"

I know the pi (pi 3, w/ latest) supports OpenGL ES, but I'm not sure if I just need to set a path or something.

Can anyone point me in the right direction?

5
General / ContextSettings problem
« on: November 02, 2016, 12:16:50 am »
I've been using SFML on Raspberry Pi.
The repository was using version 2.1.
I needed a later version, so I downloaded and built the code to get 2.4.

However, now when I run, I get a message that says "The created OpenGL context does not fully meet the settings that were requested".

In particular, the AA level I got is 0 instead of 8.
As a result, it looks pretty bad.

Any ideas how I can fix this?

thanks!

Pages: [1]
anything