Hi Hernan,
I just added two new examples, UFFIOpenGLOffscreenSamples >> #triangle and
UFFIOpenGLOffscreenSamples >> #quad (using your vertices). I tested it on
Linux and on OS X.
triangle
"
self new triangle
"
| context gl fb colorProgram vertexBuffer |
context := UFFIOpenGLCo
On Tue, 13 Nov 2018 at 03:37, Hernán Morales Durand <
hernan.mora...@gmail.com> wrote:
> Hi.
>
> I tried to get an OpenGL MWE from
> https://github.com/ronsaldo/uffi-opengl in both Windows 8.1 and MacOS
> without luck. What I tried so far is to render a simple figure in a
> new window, adding this
Hello Tomo,
Thank you, very interesting project!
BTW to load Jun4Pharo with UFFI OpenGL the expression is:
Gofer new
smalltalkhubUser: 'tomooda' project: 'Jun4Pharo';
configurationOf: #Jun;
load.
(Smalltalk at: #ConfigurationOfJun) project development load: #('Core').
There are only
Hello Hernan,
I tested the code only on Mac.
---
tomo
2018/11/13(Tue) 8:27 Tomohiro Oda wrote:
>
> Hello Hernan,
>
> I have partially working code at
> http://smalltalkhub.com/#!/~tomooda/Jun4Pharo
>
> My code still have two problems that
> * depending on resolution, projection matrix can't be p
Hello Hernan,
I have partially working code at
http://smalltalkhub.com/#!/~tomooda/Jun4Pharo
My code still have two problems that
* depending on resolution, projection matrix can't be properly set, and
* it freezes pharo when switching to fullscreen
Best Regards,
---
tomo
Hi.
I tried to get an OpenGL MWE from
https://github.com/ronsaldo/uffi-opengl in both Windows 8.1 and MacOS
without luck. What I tried so far is to render a simple figure in a
new window, adding this method to UFFIOpenGLOffscreenSamples:
>>sample2
" self new sample2
"
| context gl fb |
context