Re: [Moose-dev] rome

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

cdelaunay
Hello,

Indeed, I started to build a small package, integrating one by one things working in Rome.
You can load it from the squeak source repository: www.squeaksource.com/Athens

For now, the working canvas are:
- RomePluginCanvas (making the binding with cairo)
- RomeBalloonCanvas

You can see some examples in the class side of RomeDemo.
All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.

All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
So all examples drawing simple form, without text, should work.

You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image. 
You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').

The next steps are:
- Integrate fonts
- The class RomeSVGDemo doesn't work




2010/5/17 Tudor Girba <[hidden email]>
Hi Cyrille,

A bird told me that you are working on a Rome plugin. What is the status? Could we test something? :)

Cheers,
Doru


--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Stéphane Ducasse
Thanks for keeping us up to date

On May 18, 2010, at 11:04 AM, Cyrille Delaunay wrote:

> Hello,
>
> Indeed, I started to build a small package, integrating one by one things working in Rome.
> You can load it from the squeak source repository: www.squeaksource.com/Athens
>
> For now, the working canvas are:
> - RomePluginCanvas (making the binding with cairo)
> - RomeBalloonCanvas
>
> You can see some examples in the class side of RomeDemo.
> All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.
>
> All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
> So all examples drawing simple form, without text, should work.
>
> You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image.
> You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').
>
> The next steps are:
> - Integrate fonts
> - The class RomeSVGDemo doesn't work
>
>
>
>
> 2010/5/17 Tudor Girba <[hidden email]>
> Hi Cyrille,
>
> A bird told me that you are working on a Rome plugin. What is the status? Could we test something? :)
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "The coherence of a trip is given by the clearness of the goal."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Schwab,Wilhelm K
In reply to this post by cdelaunay
Having some code to load will go a long way to answering my question, but more basic than that, I have tried (and failed miserably) to trace Rome back to some library/framework/etc.  Is there any background reading I can do to see where this might be heading?  Any pointers would be greatly appreciated.
 
Bill
 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Cyrille Delaunay
Sent: Tuesday, May 18, 2010 4:04 AM
To: Related to the development of Moose and other related tools
Cc: pharo-project
Subject: Re: [Pharo-project] [Moose-dev] rome

Hello,

Indeed, I started to build a small package, integrating one by one things working in Rome.
You can load it from the squeak source repository: www.squeaksource.com/Athens

For now, the working canvas are:
- RomePluginCanvas (making the binding with cairo)
- RomeBalloonCanvas

You can see some examples in the class side of RomeDemo.
All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.

All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
So all examples drawing simple form, without text, should work.

You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image. 
You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').

The next steps are:
- Integrate fonts
- The class RomeSVGDemo doesn't work




2010/5/17 Tudor Girba <[hidden email]>
Hi Cyrille,

A bird told me that you are working on a Rome plugin. What is the status? Could we test something? :)

Cheers,
Doru


--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Stéphane Ducasse
rome is a new api for rendering image and text.
the idea is to offer a common api and several backends
        one would balloon
        another would be cairo/pango
        a third one could be morphic30 primitives

the idea is to get rome working with the vm primitives and/or balloon
then to get it working with cairo via the ROME plugin

then we could start to migrate the system to use this api.

Stef


On May 18, 2010, at 11:14 PM, Schwab,Wilhelm K wrote:

> Having some code to load will go a long way to answering my question, but more basic than that, I have tried (and failed miserably) to trace Rome back to some library/framework/etc.  Is there any background reading I can do to see where this might be heading?  Any pointers would be greatly appreciated.
>  
> Bill
>  
>
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Cyrille Delaunay
> Sent: Tuesday, May 18, 2010 4:04 AM
> To: Related to the development of Moose and other related tools
> Cc: pharo-project
> Subject: Re: [Pharo-project] [Moose-dev] rome
>
> Hello,
>
> Indeed, I started to build a small package, integrating one by one things working in Rome.
> You can load it from the squeak source repository: www.squeaksource.com/Athens
>
> For now, the working canvas are:
> - RomePluginCanvas (making the binding with cairo)
> - RomeBalloonCanvas
>
> You can see some examples in the class side of RomeDemo.
> All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.
>
> All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
> So all examples drawing simple form, without text, should work.
>
> You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image.
> You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').
>
> The next steps are:
> - Integrate fonts
> - The class RomeSVGDemo doesn't work
>
>
>
>
> 2010/5/17 Tudor Girba <[hidden email]>
> Hi Cyrille,
>
> A bird told me that you are working on a Rome plugin. What is the status? Could we test something? :)
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "The coherence of a trip is given by the clearness of the goal."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Igor Stasenko
On 19 May 2010 00:21, Stéphane Ducasse <[hidden email]> wrote:
> rome is a new api for rendering image and text.
> the idea is to offer a common api and several backends
>        one would balloon
>        another would be cairo/pango
>        a third one could be morphic30 primitives

 - a fourth one is direct OpenGL backend :)

>
> the idea is to get rome working with the vm primitives and/or balloon
> then to get it working with cairo via the ROME plugin
>
> then we could start to migrate the system to use this api.
>

+1

> Stef
>
>
> On May 18, 2010, at 11:14 PM, Schwab,Wilhelm K wrote:
>
>> Having some code to load will go a long way to answering my question, but more basic than that, I have tried (and failed miserably) to trace Rome back to some library/framework/etc.  Is there any background reading I can do to see where this might be heading?  Any pointers would be greatly appreciated.
>>
>> Bill
>>
>>
>> From: [hidden email] [mailto:[hidden email]] On Behalf Of Cyrille Delaunay
>> Sent: Tuesday, May 18, 2010 4:04 AM
>> To: Related to the development of Moose and other related tools
>> Cc: pharo-project
>> Subject: Re: [Pharo-project] [Moose-dev] rome
>>
>> Hello,
>>
>> Indeed, I started to build a small package, integrating one by one things working in Rome.
>> You can load it from the squeak source repository: www.squeaksource.com/Athens
>>
>> For now, the working canvas are:
>> - RomePluginCanvas (making the binding with cairo)
>> - RomeBalloonCanvas
>>
>> You can see some examples in the class side of RomeDemo.
>> All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.
>>
>> All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
>> So all examples drawing simple form, without text, should work.
>>
>> You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image.
>> You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').
>>
>> The next steps are:
>> - Integrate fonts
>> - The class RomeSVGDemo doesn't work
>>
>>
>>
>>
>> 2010/5/17 Tudor Girba <[hidden email]>
>> Hi Cyrille,
>>
>> A bird told me that you are working on a Rome plugin. What is the status? Could we test something? :)
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "The coherence of a trip is given by the clearness of the goal."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Schwab,Wilhelm K
In reply to this post by Stéphane Ducasse
Stef,

Thanks, that helps.  Where does post script fit into it?  I am getting a few steps ahead of myself here, but some day it would be important to be able to print on Linux.  Sooner than that, it would be nice to do something similar to passing a Windows HDC into a function in a DLL to speed up loops over lots of numbers.  If nothing else, the primitives should serve as examples for anything I find missing.

One small frustration/irony has been that I now end up using code to turn what should be double arrays into ordinary collections of objects then into text to shove into gnuplot.  There are some hints that I might be able to do better, but for now, the graphics from gnuplot are worth looking the other way :)

Bill




-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Stéphane Ducasse
Sent: Tuesday, May 18, 2010 4:22 PM
To: [hidden email]
Subject: Re: [Pharo-project] [Moose-dev] rome

rome is a new api for rendering image and text.
the idea is to offer a common api and several backends
        one would balloon
        another would be cairo/pango
        a third one could be morphic30 primitives

the idea is to get rome working with the vm primitives and/or balloon then to get it working with cairo via the ROME plugin

then we could start to migrate the system to use this api.

Stef


On May 18, 2010, at 11:14 PM, Schwab,Wilhelm K wrote:

> Having some code to load will go a long way to answering my question, but more basic than that, I have tried (and failed miserably) to trace Rome back to some library/framework/etc.  Is there any background reading I can do to see where this might be heading?  Any pointers would be greatly appreciated.
>  
> Bill
>  
>
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Cyrille Delaunay
> Sent: Tuesday, May 18, 2010 4:04 AM
> To: Related to the development of Moose and other related tools
> Cc: pharo-project
> Subject: Re: [Pharo-project] [Moose-dev] rome
>
> Hello,
>
> Indeed, I started to build a small package, integrating one by one things working in Rome.
> You can load it from the squeak source repository:
> www.squeaksource.com/Athens
>
> For now, the working canvas are:
> - RomePluginCanvas (making the binding with cairo)
> - RomeBalloonCanvas
>
> You can see some examples in the class side of RomeDemo.
> All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.
>
> All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
> So all examples drawing simple form, without text, should work.
>
> You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image.
> You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').
>
> The next steps are:
> - Integrate fonts
> - The class RomeSVGDemo doesn't work
>
>
>
>
> 2010/5/17 Tudor Girba <[hidden email]> Hi Cyrille,
>
> A bird told me that you are working on a Rome plugin. What is the
> status? Could we test something? :)
>
> Cheers,
> Doru
>
>
> --
> www.tudorgirba.com
>
> "The coherence of a trip is given by the clearness of the goal."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Fernando olivero
In reply to this post by Igor Stasenko

On May 19, 2010, at 12:03 AM, Igor Stasenko wrote:

> On 19 May 2010 00:21, Stéphane Ducasse <[hidden email]> wrote:
>> rome is a new api for rendering image and text.
>> the idea is to offer a common api and several backends
>>        one would balloon
>>        another would be cairo/pango
>>        a third one could be morphic30 primitives
>
> - a fourth one is direct OpenGL backend :)
>


OpenGL would be a nice backend indeed.

But the text rendering would be missing, in the OpenGLCanvas part of ROME, and would have to be taken from another library?
When i wanted to add text rendering over OpenGL for Lumiere, i saw a couple of external libraries for freetype2 rendering.
Just by curiosity, did you have something in mind regarding this?

Regards,
Fernando
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Igor Stasenko
On 19 May 2010 01:21, Fernando olivero <[hidden email]> wrote:

>
> On May 19, 2010, at 12:03 AM, Igor Stasenko wrote:
>
>> On 19 May 2010 00:21, Stéphane Ducasse <[hidden email]> wrote:
>>> rome is a new api for rendering image and text.
>>> the idea is to offer a common api and several backends
>>>        one would balloon
>>>        another would be cairo/pango
>>>        a third one could be morphic30 primitives
>>
>> - a fourth one is direct OpenGL backend :)
>>
>
>
> OpenGL would be a nice backend indeed.
>
> But the text rendering would be missing, in the OpenGLCanvas part of ROME, and would have to be taken from another library?
> When i wanted to add text rendering over OpenGL for Lumiere, i saw a couple of external libraries for freetype2 rendering.
> Just by curiosity, did you have something in mind regarding this?
>

I do: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch25.html

Freetype having an API to extract the vector data from glyphs. So, the
only thing what is needed is to
convert & pass that data directly on GPU, and don't bother wasting
time with pixels.

For raster fonts, its even simpler - just use textures.


> Regards,
> Fernando
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: [Moose-dev] rome

Stéphane Ducasse
In reply to this post by Schwab,Wilhelm K

On May 19, 2010, at 12:08 AM, Schwab,Wilhelm K wrote:

> Stef,
>
> Thanks, that helps.  Where does post script fit into it?  I am getting a few steps ahead of myself here, but some day it would be important to be able to print on Linux.  Sooner than that, it would be nice to do something similar to passing a Windows HDC into a function in a DLL to speed up loops over lots of numbers.  If nothing else, the primitives should serve as examples for anything I find missing.

it could fit in there. Rome is an API. so we can after have the subclasses we would like draw on various canvases.

>
> One small frustration/irony has been that I now end up using code to turn what should be double arrays into ordinary collections of objects then into text to shove into gnuplot.  There are some hints that I might be able to do better, but for now, the graphics from gnuplot are worth looking the other way :)
>
> Bill
>
>
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Stéphane Ducasse
> Sent: Tuesday, May 18, 2010 4:22 PM
> To: [hidden email]
> Subject: Re: [Pharo-project] [Moose-dev] rome
>
> rome is a new api for rendering image and text.
> the idea is to offer a common api and several backends
> one would balloon
> another would be cairo/pango
> a third one could be morphic30 primitives
>
> the idea is to get rome working with the vm primitives and/or balloon then to get it working with cairo via the ROME plugin
>
> then we could start to migrate the system to use this api.
>
> Stef
>
>
> On May 18, 2010, at 11:14 PM, Schwab,Wilhelm K wrote:
>
>> Having some code to load will go a long way to answering my question, but more basic than that, I have tried (and failed miserably) to trace Rome back to some library/framework/etc.  Is there any background reading I can do to see where this might be heading?  Any pointers would be greatly appreciated.
>>
>> Bill
>>
>>
>> From: [hidden email]
>> [mailto:[hidden email]] On Behalf Of
>> Cyrille Delaunay
>> Sent: Tuesday, May 18, 2010 4:04 AM
>> To: Related to the development of Moose and other related tools
>> Cc: pharo-project
>> Subject: Re: [Pharo-project] [Moose-dev] rome
>>
>> Hello,
>>
>> Indeed, I started to build a small package, integrating one by one things working in Rome.
>> You can load it from the squeak source repository:
>> www.squeaksource.com/Athens
>>
>> For now, the working canvas are:
>> - RomePluginCanvas (making the binding with cairo)
>> - RomeBalloonCanvas
>>
>> You can see some examples in the class side of RomeDemo.
>> All is not working.  You can have a look at RomeDemo >> demoMovingCar, that should work with the RomePluginCanvas and the RomeBalloonCanvas.
>>
>> All that concern fonts is not yet integrated, a lot of thing are already broken in the sophie dev image.
>> So all examples drawing simple form, without text, should work.
>>
>> You can also have a look at the version of Alain plantec, from which I based the package Athens. This is already a condense version of all stuffs from the sophie image.
>> You can load it from: www.squeaksource.source/PharoTaskForces (load te last version of 'Rome').
>>
>> The next steps are:
>> - Integrate fonts
>> - The class RomeSVGDemo doesn't work
>>
>>
>>
>>
>> 2010/5/17 Tudor Girba <[hidden email]> Hi Cyrille,
>>
>> A bird told me that you are working on a Rome plugin. What is the
>> status? Could we test something? :)
>>
>> Cheers,
>> Doru
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "The coherence of a trip is given by the clearness of the goal."
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project