From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Message-Id: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> Date: Wed, 12 Oct 2016 19:03:47 -0400 To: 9fans@9fans.net Subject: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a52e7a2a-ead9-11e9-9d60-3106f5b1d025 Hello All, I am looking at the specs for a GPU and was thinking about something analogo= us to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed as a= filesystem so that it is network mountable and programmed in any language (= even rc). Does anyone know if this kind of thing has been done before for plan 9? Any r= elevant papers or documents out there? My first thought involves representing elements in the graphics pipeline as f= iles where you can write shader language code. Also a vertex file to write o= r read floating point vertex data. Maybe something more abstract would be be= tter with scene graph and camera controls would be better match for a filesy= stem implementation. Thanks, Chris= From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> References: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> From: "James A. Robinson" Date: Wed, 12 Oct 2016 16:12:01 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113f229e4748d0053eb32114 Subject: Re: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a5327a26-ead9-11e9-9d60-3106f5b1d025 --001a113f229e4748d0053eb32114 Content-Type: text/plain; charset=UTF-8 I wonder if the Inferno guys did anything like that. There was a youtube video from John Floren talking about his work replacing Java w/ Inferno on an Android phone and I think he mentioned some ideas he had consider w/re to driving graphics using a 9p interface. On Wed, Oct 12, 2016 at 4:03 PM, Chris McGee wrote: > Hello All, > > I am looking at the specs for a GPU and was thinking about something > analogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except > exposed as a filesystem so that it is network mountable and programmed in > any language (even rc). > > Does anyone know if this kind of thing has been done before for plan 9? > Any relevant papers or documents out there? > > My first thought involves representing elements in the graphics pipeline > as files where you can write shader language code. Also a vertex file to > write or read floating point vertex data. Maybe something more abstract > would be better with scene graph and camera controls would be better match > for a filesystem implementation. > > Thanks, > Chris > --001a113f229e4748d0053eb32114 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I wonder if the Inferno guys did anythi= ng like that.

There wa= s a youtube video from John Floren talking about his work replacing Java w/= Inferno on an Android phone and I think he mentioned some ideas he had con= sider w/re to driving graphics using a 9p interface.

On Wed, Oct 12, 2016 at 4:0= 3 PM, Chris McGee <newton688@gmail.com> wrote:
Hello All,

I am looking at the specs for a GPU and was thinking about something analog= ous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed a= s a filesystem so that it is network mountable and programmed in any langua= ge (even rc).

Does anyone know if this kind of thing has been done before for plan 9? Any= relevant papers or documents out there?

My first thought involves representing elements in the graphics pipeline as= files where you can write shader language code. Also a vertex file to writ= e or read floating point vertex data. Maybe something more abstract would b= e better with scene graph and camera controls would be better match for a f= ilesystem implementation.

Thanks,
Chris

--001a113f229e4748d0053eb32114-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> References: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> From: Jules Merit Date: Wed, 12 Oct 2016 16:17:37 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113e9f52e78c06053eb332f3 Subject: Re: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a53660a0-ead9-11e9-9d60-3106f5b1d025 --001a113e9f52e78c06053eb332f3 Content-Type: text/plain; charset=UTF-8 Yeah I prototyped draw3d with 9vx driver to host GPU on Linux system. MesajGL if 9p file exists it supports mode of that name to transfer to gpu. It helps if you have DooM handy to try writing it in rc. On Oct 12, 2016 4:06 PM, "Chris McGee" wrote: > Hello All, > > I am looking at the specs for a GPU and was thinking about something > analogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except > exposed as a filesystem so that it is network mountable and programmed in > any language (even rc). > > Does anyone know if this kind of thing has been done before for plan 9? > Any relevant papers or documents out there? > > My first thought involves representing elements in the graphics pipeline > as files where you can write shader language code. Also a vertex file to > write or read floating point vertex data. Maybe something more abstract > would be better with scene graph and camera controls would be better match > for a filesystem implementation. > > Thanks, > Chris > --001a113e9f52e78c06053eb332f3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Yeah I prototyped draw3d with 9vx driver to host GPU on Linu= x system. MesajGL if 9p file exists it supports mode of that name to transf= er to gpu. It helps if you have DooM handy to try writing it in rc.


On Oct 12, 2016 4= :06 PM, "Chris McGee" <= newton688@gmail.com> wrote:
Hello All,

I am looking at the specs for a GPU and was thinking about something analog= ous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed a= s a filesystem so that it is network mountable and programmed in any langua= ge (even rc).

Does anyone know if this kind of thing has been done before for plan 9? Any= relevant papers or documents out there?

My first thought involves representing elements in the graphics pipeline as= files where you can write shader language code. Also a vertex file to writ= e or read floating point vertex data. Maybe something more abstract would b= e better with scene graph and camera controls would be better match for a f= ilesystem implementation.

Thanks,
Chris
--001a113e9f52e78c06053eb332f3-- From mboxrd@z Thu Jan 1 00:00:00 1970 User-Agent: K-9 Mail for Android In-Reply-To: References: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 From: Stanley Lieber Date: Wed, 12 Oct 2016 19:21:00 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a53f11be-ead9-11e9-9d60-3106f5b1d025 "James A. Robinson" wrote: >I wonder if the Inferno guys did anything like that. > >There was a youtube video from John Floren talking about his work >replacing >Java w/ Inferno on an Android phone and I think he mentioned some ideas >he >had consider w/re to driving graphics using a 9p interface. You might also check out the work on Harvey. sl From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris McGee Content-Type: multipart/alternative; boundary=Apple-Mail-6AE043FA-E588-45F1-89A3-F8239572ACFA Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Message-Id: Date: Wed, 12 Oct 2016 19:47:50 -0400 References: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> In-Reply-To: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a543c9ca-ead9-11e9-9d60-3106f5b1d025 --Apple-Mail-6AE043FA-E588-45F1-89A3-F8239572ACFA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cool. Do you have any code that you can share for that? What does the file p= rotocol look like? > On Oct 12, 2016, at 7:17 PM, Jules Merit wrote: >=20 > Yeah I prototyped draw3d with 9vx driver to host GPU on Linux system. Mesa= jGL if 9p file exists it supports mode of that name to transfer to gpu. It h= elps if you have DooM handy to try writing it in rc. >=20 >=20 >> On Oct 12, 2016 4:06 PM, "Chris McGee" wrote: >> Hello All, >>=20 >> I am looking at the specs for a GPU and was thinking about something anal= ogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed a= s a filesystem so that it is network mountable and programmed in any languag= e (even rc). >>=20 >> Does anyone know if this kind of thing has been done before for plan 9? A= ny relevant papers or documents out there? >>=20 >> My first thought involves representing elements in the graphics pipeline a= s files where you can write shader language code. Also a vertex file to writ= e or read floating point vertex data. Maybe something more abstract would be= better with scene graph and camera controls would be better match for a fil= esystem implementation. >>=20 >> Thanks, >> Chris --Apple-Mail-6AE043FA-E588-45F1-89A3-F8239572ACFA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
Cool. Do you have any code that you can share for that? What does the file protocol look like?

On Oct 12, 2016, at 7:17 PM, Jules Merit <jules.merit.eurocorp.us@gmail.com> wrote:

Yeah I prototyped draw3d with 9vx driver to host GPU on Linux system. MesajGL if 9p file exists it supports mode of that name to transfer to gpu. It helps if you have DooM handy to try writing it in rc.


On Oct 12, 2016 4:06 PM, "Chris McGee" <newton688@gmail.com> wrote:
Hello All,

I am looking at the specs for a GPU and was thinking about something analogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed as a filesystem so that it is network mountable and programmed in any language (even rc).

Does anyone know if this kind of thing has been done before for plan 9? Any relevant papers or documents out there?

My first thought involves representing elements in the graphics pipeline as files where you can write shader language code. Also a vertex file to write or read floating point vertex data. Maybe something more abstract would be better with scene graph and camera controls would be better match for a filesystem implementation.

Thanks,
Chris
--Apple-Mail-6AE043FA-E588-45F1-89A3-F8239572ACFA-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <5067D49A-FA55-4746-9151-7DD8A25167BE@gmail.com> From: Andrew Nazarov Date: Thu, 13 Oct 2016 08:38:10 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a114fce3ee53c3a053eb883cd Subject: Re: [9fans] 3D graphics as a filesystem Topicbox-Message-UUID: a547c64c-ead9-11e9-9d60-3106f5b1d025 --001a114fce3ee53c3a053eb883cd Content-Type: text/plain; charset=UTF-8 Chris, if you find something interesting, please share the knowledge. A few days ago I asked to myself the same question, but Google didn't help me much. On 13 October 2016 at 02:47, Chris McGee wrote: > Cool. Do you have any code that you can share for that? What does the file > protocol look like? > > On Oct 12, 2016, at 7:17 PM, Jules Merit gmail.com> wrote: > > Yeah I prototyped draw3d with 9vx driver to host GPU on Linux system. > MesajGL if 9p file exists it supports mode of that name to transfer to gpu. > It helps if you have DooM handy to try writing it in rc. > > On Oct 12, 2016 4:06 PM, "Chris McGee" wrote: > >> Hello All, >> >> I am looking at the specs for a GPU and was thinking about something >> analogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except >> exposed as a filesystem so that it is network mountable and programmed in >> any language (even rc). >> >> Does anyone know if this kind of thing has been done before for plan 9? >> Any relevant papers or documents out there? >> >> My first thought involves representing elements in the graphics pipeline >> as files where you can write shader language code. Also a vertex file to >> write or read floating point vertex data. Maybe something more abstract >> would be better with scene graph and camera controls would be better match >> for a filesystem implementation. >> >> Thanks, >> Chris >> > --001a114fce3ee53c3a053eb883cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Chris, if you find something interesting, please share the= knowledge. A few days ago I asked to myself the same question, but Google = didn't help me much.

On 13 October 2016 at 02:47, Chris McGee <= ;newton688@gmail.c= om> wrote:
Cool. Do you have any code that you can share for that? What does th= e file protocol look like?

On Oct 12, = 2016, at 7:17 PM, Jules Merit <jules.merit.eurocorp.us@gmail.com>= ; wrote:

Yeah I = prototyped draw3d with 9vx driver to host GPU on Linux system. MesajGL if 9= p file exists it supports mode of that name to transfer to gpu. It helps if= you have DooM handy to try writing it in rc.


On Oct 12, 2016 4= :06 PM, "Chris McGee" <newton688@gmail.com> wrote:
Hello All,

I am looking at the specs for a GPU and was thinking about something analog= ous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed a= s a filesystem so that it is network mountable and programmed in any langua= ge (even rc).

Does anyone know if this kind of thing has been done before for plan 9? Any= relevant papers or documents out there?

My first thought involves representing elements in the graphics pipeline as= files where you can write shader language code. Also a vertex file to writ= e or read floating point vertex data. Maybe something more abstract would b= e better with scene graph and camera controls would be better match for a f= ilesystem implementation.

Thanks,
Chris

--001a114fce3ee53c3a053eb883cd--