State of different projects for work with 3D

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

State of different projects for work with 3D

gerard alis
Regards; excuse me for my poor english.

I want create a language similar to XAML for define UI interfaces. My doubt is the number and state of different projects for access to OpenGL. I need running on different OS without differences. Well, perhaps is a great question, but I haven´t a global look of that in Pharo. Is possible implements something like that in Smalltalk?

Thanks for the answers.
Reply | Threaded
Open this post in threaded view
|

Re: State of different projects for work with 3D

Alexandre Bergel
> I want create a language similar to XAML for define UI interfaces. My doubt
> is the number and state of different projects for access to OpenGL. I need
> running on different OS without differences. Well, perhaps is a great
> question, but I haven´t a global look of that in Pharo. Is possible
> implements something like that in Smalltalk?

I am not sure to understand your email.
From what I've heard and seen, Lumiere is probably the bext starting point for any new opengl related project.

http://www.squeaksource.com/Lumiere.html

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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: State of different projects for work with 3D

Fernando olivero
Hi, from what i understood  you just want an OpenGL interface, take a look at: http://www.squeaksource.com/AlienOpenGL.html

Or search in this mailing list fot the NativeBoost OpenGL Igor is working on.

Also you have the FFI binding to OpenGL extracted from the Croquet/Cobalt system. 


Fernando

On Jun 26, 2010, at 12:29 AM, Alexandre Bergel wrote:

I want create a language similar to XAML for define UI interfaces. My doubt
is the number and state of different projects for access to OpenGL. I need
running on different OS without differences. Well, perhaps is a great
question, but I haven´t a global look of that in Pharo. Is possible
implements something like that in Smalltalk?

I am not sure to understand your email.
From what I've heard and seen, Lumiere is probably the bext starting point for any new opengl related project.

http://www.squeaksource.com/Lumiere.html

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
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
|

Where to download

FDominicus
In reply to this post by gerard alis
There was a patch discussed on the Squeak mailing list
http://bugs.squeak.org/view.php?id=7266
names serial ports. (not just by Number)

There are patchs for the plugin. I wonder how do I build such a new
plugin? Or can't I use that in Pharo?

Regards
Friedrich


Reply | Threaded
Open this post in threaded view
|

Re: Where to download

Schwab,Wilhelm K
Friedrich,

I recall having success with the vm as-is and just patching the image.  One thing the vm certainly should do is tell us the translations it makes.  I think it is always a good idea to know which port was actually opened, or failed to open :)  Double that for external libraries, but that's another story.

Try the attached.  It is basically lifted from Squeak (to handle numbers and names) and then tweaked to avoid the silent failure trap.

Bill



________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Friedrich Dominicus [[hidden email]]
Sent: Wednesday, March 02, 2011 6:54 AM
To: [hidden email]
Subject: [Pharo-project] Where to download

There was a patch discussed on the Squeak mailing list
http://bugs.squeak.org/view.php?id=7266
names serial ports. (not just by Number)

There are patchs for the plugin. I wonder how do I build such a new
plugin? Or can't I use that in Pharo?

Regards
Friedrich



SerialPortWKS.st (3K) Download Attachment
SerialPort-*dolphinCompatibility-Streams-SerialPorts.st (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Pharo 64-bit virtual machine?

FDominicus
In reply to this post by gerard alis
Just wondering if anyone has build a 64-bit virtual machine for Pharo
Or are you sticking to 32-bit. If so how do you build the virtual
machine on a 64-bit system?

Regards
Friedrich


Reply | Threaded
Open this post in threaded view
|

Re: Where to download

FDominicus
In reply to this post by Schwab,Wilhelm K
"Schwab,Wilhelm K" <[hidden email]> writes:

> Friedrich,
>
> I recall having success with the vm as-is and just patching the image.  One thing the vm certainly should do is tell us the translations it makes.  I think it is always a good idea to know which port was actually opened, or failed to open :)  Double that for external libraries, but that's another story.
>
> Try the attached.  It is basically lifted from Squeak (to handle
> numbers and names) and then tweaked to avoid the silent failure trap.
Thansk I'll try it tomorrow.

Regards
Friedrich

--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

Reply | Threaded
Open this post in threaded view
|

Re: Where to download

FDominicus
In reply to this post by Schwab,Wilhelm K
"Schwab,Wilhelm K" <[hidden email]> writes:

> Friedrich,
>
> I recall having success with the vm as-is and just patching the image.
> One thing the vm certainly should do is tell us the translations it
> makes.  I think it is always a good idea to know which port was
> actually opened, or failed to open :)  Double that for external
> libraries, but that's another story.

Sorry I wonder the primitive is placed in
libSerialPlugin.a
this are the function I found in the
Content/Linux subdirectory

e
08102f10 t primitiveSerialPortOpen
08102df0 t primitiveSerialPortRead
08102cc0 t primitiveSerialPortWrite
08105980 t primitiveSocketBindToPort
081055c0 t primitiveSocketConnectToPort
08104b40 t primitiveSocketListenOnPort
08104a00 t primitiveSocketListenOnPortBacklog
08104830 t primitiveSocketListenOnPortBacklogInterface
08104670 t primitiveSocketLocalPort
08103e60 t primitiveSocketRemotePort
08102630 t secCanConnectToPort
081025d0 t secCanListenOnPort
081034a0 T serialPortClose
081030d0 T serialPortInit
080d9a90 T serialPortMidiClockRate
08103210 T serialPortOpen
08103190 T serialPortReadInto
081030b0 T serialPortShutdown
08103120 T serialPortWriteFrom


The code in Pharo is:
<primitive: 'primitiveSerialPortOpenByName' module:'SerialPlugin'>
So hasn't there  a function with that name?


Regards
Friedrich


--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 64-bit virtual machine?

David T. Lewis
In reply to this post by FDominicus
On Wed, Mar 02, 2011 at 04:14:31PM +0100, Friedrich Dominicus wrote:
> Just wondering if anyone has build a 64-bit virtual machine for Pharo
> Or are you sticking to 32-bit. If so how do you build the virtual
> machine on a 64-bit system?

Hi Friedrich,

For a standard VM, you get a 64-bit VM just by compiling the VM on
a 64-bit platform and not using the -m32 compiler flag. It works fine,
but some plugins have not been updated to be 32/64 bit clean, so for
most folks it is better to just use the 32-bit version. Personally,
I usually use a VM compiled for 64-bit, but there is no real advantage
to doing this.

Additional info is at http://www.squeakvm.org/squeak64/faq.html.

Dave



Reply | Threaded
Open this post in threaded view
|

Re: Where to download

Luc Fabresse
In reply to this post by FDominicus
Hi all,

I am also interested in serial ports for a student project.
What I understood so far:

- A patch as been in integrated in 1.3
@Bill, what are the differences with your code?

- the standard VM (Squeak-4.2.5beta1U for me as a Mac user) should be OK
primitives in the SerialPlugin are:

00001230 T _primitiveSerialPortFindNamesPlusKeys
00001410 T _primitiveSerialPortUnixCfgetispeed
00001618 T _primitiveSerialPortUnixCfgetospeed
00001820 T _primitiveSerialPortUnixCfmakeraw
000019f8 T _primitiveSerialPortUnixCfsetispeed
00001c74 T _primitiveSerialPortUnixCfsetospeed
00001ef0 T _primitiveSerialPortUnixClose
00002038 T _primitiveSerialPortUnixErrno
00002108 T _primitiveSerialPortUnixOpen
000022e8 T _primitiveSerialPortUnixRead
000025ec T _primitiveSerialPortUnixSizeOftermios
000026b0 T _primitiveSerialPortUnixTcdrain
000027f8 T _primitiveSerialPortUnixTcflow
0000296c T _primitiveSerialPortUnixTcflush
00002ae0 T _primitiveSerialPortUnixTcgetattr
00002d34 T _primitiveSerialPortUnixTcsendbreak
00002ea8 T _primitiveSerialPortUnixTcsetattr
00003128 T _primitiveSerialPortUnixWrite
0000342c T _primitiveSerialPortUnixioctl

Students will tests that soon.

Cheers,

#Luc


2011/3/2 Friedrich Dominicus <[hidden email]>
"Schwab,Wilhelm K" <[hidden email]> writes:

> Friedrich,
>
> I recall having success with the vm as-is and just patching the image.
> One thing the vm certainly should do is tell us the translations it
> makes.  I think it is always a good idea to know which port was
> actually opened, or failed to open :)  Double that for external
> libraries, but that's another story.

Sorry I wonder the primitive is placed in
libSerialPlugin.a
this are the function I found in the
Content/Linux subdirectory

e
08102f10 t primitiveSerialPortOpen
08102df0 t primitiveSerialPortRead
08102cc0 t primitiveSerialPortWrite
08105980 t primitiveSocketBindToPort
081055c0 t primitiveSocketConnectToPort
08104b40 t primitiveSocketListenOnPort
08104a00 t primitiveSocketListenOnPortBacklog
08104830 t primitiveSocketListenOnPortBacklogInterface
08104670 t primitiveSocketLocalPort
08103e60 t primitiveSocketRemotePort
08102630 t secCanConnectToPort
081025d0 t secCanListenOnPort
081034a0 T serialPortClose
081030d0 T serialPortInit
080d9a90 T serialPortMidiClockRate
08103210 T serialPortOpen
08103190 T serialPortReadInto
081030b0 T serialPortShutdown
08103120 T serialPortWriteFrom


The code in Pharo is:
<primitive: 'primitiveSerialPortOpenByName' module:'SerialPlugin'>
So hasn't there  a function with that name?


Regards
Friedrich


--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus


Reply | Threaded
Open this post in threaded view
|

Re: Where to download

David T. Lewis
In reply to this post by FDominicus
On Wed, Mar 02, 2011 at 12:54:30PM +0100, Friedrich Dominicus wrote:
> There was a patch discussed on the Squeak mailing list
> http://bugs.squeak.org/view.php?id=7266
> names serial ports. (not just by Number)
>
> There are patchs for the plugin. I wonder how do I build such a new
> plugin? Or can't I use that in Pharo?

Friedrich,

The updated plugin with support for named serial ports is in the
standard VM, but possibly not yet in the Cog VM. If you need to use
named serial ports, try using a standard VM from squeakvm.org. If
you are building your own Cog VM, the updates are not complex so
you may be able to just apply them in your VMMaker package.

HTH,
Dave