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