-
Notifications
You must be signed in to change notification settings - Fork 88
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
opengl3 example? #34
Comments
I experienced the same. After replacing the glfontstash.h with gl3corefontstash.h no text appears. I am using glew 2.1.0 to access the GL extensions, if that matters. @starseeker Did you find a solution? |
Hi, did you succeed with gl3 version please? |
@bruenor41 No, I did not. |
I haven't looked at the examples in a long time, but I use NanoVG (same
author, uses fontstash) in a GL3 project just fine. If I remember
correctly, the NanoVG examples are GL3, so you could look at those as well.
…On Tue, Oct 15, 2019, 10:08 AM Michael Behrisch ***@***.***> wrote:
@bruenor41 <https://github.com/bruenor41> No, I did not.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AAHGA3SIVGI3IXKFWCW3BV3QOXFFFA5CNFSM4DWARNJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBI4SHY#issuecomment-542230815>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHGA3SIG4FVRSS6UQIGZL3QOXFFFANCNFSM4DWARNJQ>
.
|
I use nanovg in my application too, but i face problem with matrix. Nanovg uses own matrix and has no way accept my transformed matrix. I draw text wih nanovg, but i must handle it's transformations in special way. That's why I need cut it from nanovg, i tried it, but it is hard for me |
Hi,everyone,luckily I found a GL3 example with SDL 2.0.7,maybe more people could use it. |
Many thanks for info, will try run it on my phone
…On Sun, Mar 1, 2020 at 6:14 AM mindoff6502 ***@***.***> wrote:
Hi,everyone,luckly I found a GL3 example with SDL 2.0.7,maybe more people
could use it.
https://github.com/suikki/sdf_text_sample
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#34?email_source=notifications&email_token=AGIJKLPC4KWYUC5OIP6ZQ5DRFHVMJA5CNFSM4DWARNJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMU7VY#issuecomment-593055703>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGIJKLIBYGQG576OGSBUTLLRFHVMJANCNFSM4DWARNJQ>
.
|
Hey,I just want to say I success to use that GL3 example with glfw and glew on my GL3.3 project under Windows Platform,quite good. Anyone who knows opengl 3 could adapt to any GL3 project,SDL or glfw or any other opengl framework lib. And with this example I think it won't be hard to port to DX or any other API. |
Looks like the master branch is missing GLSL shader now. You need to write your own. The author made another PR which contains shader but it is not merged: |
Is there any chance someone could either add an OpenGL 3 version of the example application or tweak the existing one to work with the new header? A naive substitution doesn't appear to produce a working test, unless I'm missing something...
The text was updated successfully, but these errors were encountered: