[Pharo-project] Morpheas , bringing Morphic to Opengl (3d GUIs)

Igor Stasenko siguctua at gmail.com
Thu Mar 22 09:59:27 EDT 2012


On 22 March 2012 03:36, Javier Pimás <elpochodelagente at gmail.com> wrote:
> Can you post more info about the context? Like you were executing, the call
> stack, whatever. Also, check that you have the opengl lib path correctly set
> going to system settings -> FFI.
>
> Also, some things I forgot to mention:
>
> 1. The generated glX functions list has wrong case. All function names start
> with glx but should start with glX.
>

oops.. That was never tested (for obvious reason, because i never
developed on X)..

so we should change the generator to produce function names with correct case..
and as bonus, have most recent opengl API :)


> 2. I also made the library path a setting that appears in system settings.
> This is cool because before library names where fixed in code, but on each
> system can be different.
>
yes. this is pain in the ass :)

>
> On Wed, Mar 21, 2012 at 8:49 PM, chadwick <mathnoir at gmail.com> wrote:
>>
>> ...sorry I should add I am on Ubuntu 11.10, using NBCog and the error
>> comes from NBGlxAPI > NBFFICallout
>>
>>
>> On Thu, Mar 22, 2012 at 10:43 AM, chadwick <mathnoir at gmail.com> wrote:
>>>
>>> I get Error: function unavailable with Pharo1.3 and 1.4, but I probably
>>> followed the steps wrong. I first loaded a fresh image, then did Gofer it
>>> squeaksource: 'NBOpenGL'; package: 'ConfigurationOfNBOpenGL'; load.
>>> ConfigurationOfNBOpenGL project lastVersion load, as per previous
>>> instructions somewhere else, then loaded the latest NBXLib + examples from
>>> squeaksource via montecello, then latest NBOpengl-X similarly.
>>>
>>>
>>>
>>>
>>>
>>>
>>>>>> Le 19 mars 2012 à 10:50, Igor Stasenko <siguctua at gmail.com> a écrit :
>>>>>>
>>>>>> > great!
>>>>>> >
>>>>>> > On 19 March 2012 16:11, Javier Pimás <elpochodelagente at gmail.com>
>>>>>> > wrote:
>>>>>> >> I got some time and finished commiting it.
>>>>>> >>
>>>>>> >> Steps to load it (I tested with pharo 1.3):
>>>>>> >>
>>>>>> >> 1. load NBOpenGL with its configuration.
>>>>>> >> 2. load NBXLib package from monticello
>>>>>> >> 3. load NBOpengl-X package from monticello
>>>>>> >>
>>>>>> >> Then you can run the example (you'll need tahoma font):
>>>>>> >>
>>>>>> >> 4. add the patch I attach.
>>>>>> >> 5. Do this:
>>>>>> >>
>>>>>> >> GLTTRenderingDemo new openInWorld.
>>>>>> >>
>>>>>> >> tell if something doesn't work.
>>>
>>>
>>
>
>
>
> --
> Lic. Javier Pimás
> Ciudad de Buenos Aires



-- 
Best regards,
Igor Stasenko.




More information about the Pharo-dev mailing list