| View previous topic :: View next topic |
| Author |
Message |
chema
Joined: 06 Mar 2007 Posts: 4
|
Posted: Tue Dec 11, 2007 6:41 pm Post subject: First triangle rendered by Gallium3D Cell/PS3 driver |
|
|
Brian and the guys of tungsten graphics have release the first screenshot of Gallium3D for Cell. There is a lot of work to do.
Brian:
| Quote: |
The Gallium/Cell driver is drawing its first triangle.
This is by no means "real" code but it exercises sending a drawing
command to the SPUs, get/putting framebuffer tiles and displaying the
results.
In the attachment, the background and triangle colors are tweaked a bit
per-SPU so you can see which SPU drew which tile.
-Brian |
Screenshot:
 |
|
| Back to top |
|
 |
IronPeter
Joined: 06 Aug 2007 Posts: 207
|
Posted: Tue Dec 11, 2007 8:42 pm Post subject: |
|
|
| Is the code public? |
|
| Back to top |
|
 |
chema
Joined: 06 Mar 2007 Posts: 4
|
|
| Back to top |
|
 |
IronPeter
Joined: 06 Aug 2007 Posts: 207
|
|
| Back to top |
|
 |
ethernode
Joined: 16 Dec 2007 Posts: 1
|
Posted: Sun Dec 16, 2007 3:26 am Post subject: |
|
|
Heh IronPeter, why don't you go work at Tungsten Graphics ? Looks like they could use some help...
;)
Anyway keep up your awesome work ! |
|
| Back to top |
|
 |
IronPeter
Joined: 06 Aug 2007 Posts: 207
|
Posted: Sun Dec 16, 2007 6:04 pm Post subject: |
|
|
Hhm, my email is public. There are no mails with hiring offers :).
My point is very simple. It is easy to prototype spu based rasterizer. Two-days work, no more.
It is hard to write good spu code in large software project. Refactoring is myth on spu. Bad design means re-engineering.
Good luck for Tungsten guys. |
|
| Back to top |
|
 |
chema
Joined: 06 Mar 2007 Posts: 4
|
Posted: Thu Dec 20, 2007 8:25 pm Post subject: |
|
|
| With the RSX disabled by now, only Gallium3d for Cell still alive :( |
|
| Back to top |
|
 |
Compound
Joined: 12 May 2005 Posts: 48
|
Posted: Wed Jan 16, 2008 5:43 am Post subject: |
|
|
does this need to be run from within a X desktop? im trying to run it from the shell and it just exits without doing anything
| Quote: |
root@localhost:/mnt/share# cd triangle
root@localhost:/mnt/share/triangle# make
embedspu spu_handle spu-server spu_handle.o
g++ -O3 -Wall -lspe -lSDL -g host.cpp spu_handle.o -o development
root@localhost:/mnt/share/triangle# ./development
root@localhost:/mnt/share/triangle#
|
|
|
| Back to top |
|
 |
Compound
Joined: 12 May 2005 Posts: 48
|
Posted: Wed Jan 16, 2008 10:16 am Post subject: |
|
|
seems it is a resolution issue, im running on a standard def telly at the moment, and the only way this would run is setting
#define WIDTH 400
#define HEIGHT 300
but it just renders a corrupt display |
|
| Back to top |
|
 |
Compound
Joined: 12 May 2005 Posts: 48
|
Posted: Thu Jan 17, 2008 11:43 am Post subject: |
|
|
| hmm, it only seems to render correctly inside of an xserver |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Jan 17, 2008 12:41 pm Post subject: |
|
|
| It's an SDL app, so it will work on X or directfb or whatever you have SDL compiled to support. |
|
| Back to top |
|
 |
Compound
Joined: 12 May 2005 Posts: 48
|
Posted: Thu Jan 17, 2008 9:29 pm Post subject: |
|
|
i just compiled SDL in the standard way, didnt realise there was any options for alternate configurations. im having the same problem with the ppc version of mesa3d as well, it says to run it without X compile it as linux-solo but i dont thik this is a ppc version, and it certainly doesnt want to build
whats this directfb, had a quick look at the site and couldnt work out what im supposed to do with it |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
|
| Back to top |
|
 |
|