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