Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread Andrew Nazarov
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
>>
>


Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread Chris McGee
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  
> 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


Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread Stanley Lieber
"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




Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread Jules Merit
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
>


Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread James A. Robinson
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
>