<div dir="ltr"><div>Shaping,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 25, 2019 at 9:27 PM Shaping via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" lang="EN-US"><div class="gmail-m_-3019641765972521343WordSection1"><p class="MsoNormal">See also <a href="https://github.com/pbella/Cuis-OpenGL" target="_blank">https://github.com/pbella/Cuis-OpenGL</a> .<span style="color:windowtext"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><a href="http://OpenGL.pck.st" target="_blank">OpenGL.pck.st</a> loads.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">Needed <a href="http://FFI.pck.st" target="_blank">FFI.pck.st</a> does not finish loaded, giving error: <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">‘ShortRunArray cannot be found in list’, where the list is currently:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">an OrderedCollection(#Delay #DisplayScreen #Cursor #InputSensor #ProcessorScheduler #WeakArray #ExternalObject #ExtendedClipboardInterface #SoundBuffer #UUIDGenerator #ThisOSProcess #OpenGL)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">and ShortRunArray is in the image.</span></p></div></div></blockquote><div><br></div><div>I just tried it and it still loads in the latest 3770 image. You need to load in sequence: FFI (from the main Cuis repo Packages/System directory), 3DTransform (from the OpenGL repo link you used) and finally OpenGL (also from the OpenGL repo.)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" lang="EN-US"><div class="gmail-m_-3019641765972521343WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext">Anyone using the OpenGL stuff regularly?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> </span></p></div></div></blockquote><div><br></div><div>I did that port over a decade ago and used it until about 5-ish years ago. When I last used it, the core OpenGL stuff worked fine but the code was getting a bit crusty:</div><div><br></div><div>1) I originally pulled it from a Croquet image back before anyone would admit to having OpenGL support in Squeak (this was 2009 or so) and ported it back to Squeak then later to Cuis. So the code is quite old.</div><div><br></div><div>2) As a result of the bit-rot due to 1, it only supports OpenGL 1.x I think (along with some early VBO and shader extensions) and immediate mode rendering.</div><div><br></div><div>3) It *might* need some minor modifications to run on 64-bit images... I don't remember if the FFI package updates handled everything or not on that front.</div><div><br></div><div>So it's a good starting point showing how to do OpenGL via FFI, but probably not much more than just a starting point these days. (i.e. I'm not actively working with/on that code anymore)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="white" lang="EN-US"><div class="gmail-m_-3019641765972521343WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Shaping</span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:windowtext"><u></u><u></u></span></p></div></div>-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a></blockquote><div><br></div><div>Thanks,</div><div>Phil </div></div></div>