<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Well my limited understand of nativeboost is that it does what it does in Assembly level, so if something goes wrong with it , that would mean that I would have to dive inside assembly. Its FFI is true it bypasses assembly but I am not so sure how much that applies when things go wrong. Please correct me if I am wrong.&nbsp;</span></div><div><span><br></span></div><div><span>Also last time I checked NBOpenGL was not available for all platforms. That was at least 6 months ago. I dont have a problem using pharo with some squeak libraries. The project I am making will be most likely a bridge between pharo and squeak. Since both projects have some very useful libraries . &nbsp;I have also created a thread about this in pharo mailing list some time ago, I want to reimplement morphic in opengl and do my own explorations too. I think I
 will give another go to NBOpenGL and see how it will go.&nbsp;</span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Igor Stasenko [via Smalltalk] &lt;ml-node+s1294792n4644549h92@n4.nabble.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> kilon &lt;thekilon@yahoo.co.uk&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, 18 August 2012, 20:31<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Opengl and Squeak<br> </font> </div> <br><div id="yiv714625281">

        On 17 August 2012 08:51, dimitris chloupis &lt;<a rel="nofollow" href="">[hidden email]</a>&gt; wrote:
<br>&gt; Well if FFI works okish in squeak I dont have a need for nativeboost, since
<br>&gt; I prefer to code in smalltalk than assembly.
<br>&gt;
<br>You don't have to learn assembly to use OpenGL with Nativeboost.
<br>Also, replying to previous post, it supports all 3 major platforms -
<br>mac, unix and windows.
<br><br>As for making NB working on Squeak, except from VM there's only one
<br>significant change
<br>made in Pharo but not in Squeak (afaik) is to improve the debugger
<br>support for custom primitives.
<br><div class="yiv714625281shrinkable-quote"><br>&gt; I decided to continue my project 'Ephestos' is squeak, since Blender python
<br>&gt; has been a complete failure, the opengl implementation is buggy , still
<br>&gt; stuck to version 1.1 and it consumes CPU cycles like crazy (simple hand
<br>&gt; morph system &nbsp;consume 50% of my dual core) so fingers crossed it will works
<br>&gt; with squeak. I dont care for fancy features like nativevboost if its buggy,
<br>&gt; non cross platform and slow.
<br>&gt;
<br>&gt; Seems I am not getting replies from other than you lawson , I assume
<br>&gt; something is wrong with my squeak-dev subscription.
<br>&gt;
<br>&gt; Anyway, will test FFI from CroquetGL and hopefully it will work for me
<br>&gt; too.Thanks for the help.
<br>&gt; ________________________________
<br>&gt; From: Lawson English &lt;<a rel="nofollow" href="">[hidden email]</a>&gt;
<br>&gt; To: <a rel="nofollow" href="">[hidden email]</a>
<br>&gt; Sent: Thursday, 16 August 2012, 23:07
<br>&gt;
<br>&gt; Subject: Re: [squeak-dev] Opengl and Squeak
<br>&gt;
<br>&gt; thanks Hans-Martin. I'll update my videos with that bit of info too.
<br>&gt;
<br>&gt; I have been playing quite a bit with NativeBoost lately and it offers some
<br>&gt; very nice features that anyone wanting to make a game or other realtime-ish
<br>&gt; application will find beneficial, including the ability to create a
<br>&gt; "cascade" of foreign file calls within a single method, or even program a
<br>&gt; bit of custom x86 assembler. I don't know what will be involved to port it
<br>&gt; to Squeak, but Igor's talk suggests that the only "special" bit is already
<br>&gt; present in the VM, which should work with either Pharo or Squeak. The rest
<br>&gt; is just glue code at the Smalltalk level, which means that it is perfectly
<br>&gt; doable to get it working on Squeak, in theory at least.
<br>&gt;
<br>&gt; Native boost also offers a way of passing an arbitrary &nbsp;ByteArray to an
<br>&gt; external function as though it were a normal pointer to a bit of malloc-ed
<br>&gt; memory, which can be VERY useful with certain libraries, that and the
<br>&gt; ability to actually malloc memory for a ByteArray from the OS level heap,
<br>&gt; opens up all sorts of possibilities like having an external lib render
<br>&gt; directly into a BitMap object asynchronously from its own OS level thread so
<br>&gt; that each update can show the library's progress in a morph without any
<br>&gt; further coding.
<br>&gt;
<br>&gt; I'm actually working on a simple MandelBrot Set generator lib in C to demo
<br>&gt; this.
<br>&gt;
<br>&gt; L.
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; On 8/16/12 12:38 PM, Hans-Martin Mosner wrote:
<br>&gt;&gt; The Squeak OpenGL bindings are on squeaksource.com. Here is an older mail
<br>&gt;&gt; exchange describing the installation procedure:
<br>&gt;&gt; <a rel="nofollow" target="_blank" href="http://forum.world.st/OpenGL-in-4-1-or-later-td3794639.html">http://forum.world.st/OpenGL-in-4-1-or-later-td3794639.html</a>&nbsp;I have just
<br>&gt;&gt; tried it in a 4.3 image, and after fixing three small glitches it worked: -
<br>&gt;&gt; somehow the method OGLUnix&gt;&gt;#openGLLibraryName has an illegal character at
<br>&gt;&gt; the end (it's probably being handled as whitespace in other Squeak/Pharo
<br>&gt;&gt; images) - the method Point&gt;&gt;#area does not exist. I implemented it as
<br>&gt;&gt; returning x*y, which works. - the method printShowingMaxDecimalPlaces: does
<br>&gt;&gt; not exist. I used printString instead. That should get you started. Cheers,
<br>&gt;&gt; Hans-Martin
<br>&gt;
<br>&gt;
<br>&gt; -- Squeak from the very start (introduction to Squeak and Pharo Smalltalk
<br>&gt; for the (almost) complete and compleate beginner).
<br>&gt; <a rel="nofollow" target="_blank" href="https://www.youtube.com/playlist?list=PL6601A198DF14788D&amp;feature=view_all">https://www.youtube.com/playlist?list=PL6601A198DF14788D&amp;feature=view_all</a><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt;
</div><br><br><br>-- 
<br>Best regards,
<br>Igor Stasenko.
<br><br>

        
        
        
        <br>
        <br>
        <hr noshade="" size="1" color="#cccccc">
        <div style="color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: tahoma, geneva, helvetica, arial, sans-serif; ">
                <div style="font-weight:bold;">If you reply to this email, your message will be added to the discussion below:</div>
                <a rel="nofollow" target="_blank" href="http://forum.world.st/Opengl-and-Squeak-tp4644265p4644549.html">http://forum.world.st/Opengl-and-Squeak-tp4644265p4644549.html</a>
        </div>
        <div style="color: rgb(102, 102, 102); font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: 1.5em; font-family: tahoma, geneva, helvetica, arial, sans-serif; margin-top: 0.4em; ">
                
                To unsubscribe from Opengl and Squeak, <a rel="nofollow" target="_blank" href="http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&amp;node=4644265&amp;code=dGhla2lsb25AeWFob28uY28udWt8NDY0NDI2NXwtMTEzNTM4MTMyMg==">click here</a>.<br>
                <a rel="nofollow" target="_blank" href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 9px; line-height: normal; font-family: serif; ">NAML</a>
        </div></div><br><br> </div> </div>  </div></body></html>