Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-18 Thread Dan Wilcox
There’s also some patches which make working with shaders from ShaderToy 
easier: 
https://github.com/danomatika/BangYourHead/tree/master/7.Graphics/10.Shaders/2.ShaderToy
 
<https://github.com/danomatika/BangYourHead/tree/master/7.Graphics/10.Shaders/2.ShaderToy>

> On Apr 15, 2017, at 2:03 PM, pd-list-requ...@lists.iem.at wrote:
> 
> From: oliver <oli...@klingt.org <mailto:oli...@klingt.org>>
> Subject: Re: [PD] some GEM questions, shaders anyone ? ...
> Date: April 15, 2017 at 7:36:27 AM MDT
> To: pd-l...@mail.iem.at <mailto:pd-l...@mail.iem.at>
> 
> 
> hi, people !
> 
> some update on the subject:
> 
> i looked around and found this GEM-shader dedicated github-space:
> 
> https://github.com/mxa/glsl <https://github.com/mxa/glsl>
> 
> bingo ! all of those patches worked alright !


Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-17 Thread Max

On 2017년 04월 15일 15:36, oliver wrote:

hi, people !

some update on the subject:

i looked around and found this GEM-shader dedicated github-space:

https://github.com/mxa/glsl


This is just a fork of https://github.com/b01xy/glsl



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-15 Thread Julian Brooks
Hi Oliver,

Perhaps useful if you haven't seen this thread already:
(I think a few more in archives too)
http://thread.gmane.org/gmane.comp.multimedia.puredata.general/81617

Regards,

Julian

On 15 April 2017 at 14:36, oliver  wrote:

> hi, people !
>
> some update on the subject:
>
> i looked around and found this GEM-shader dedicated github-space:
>
> https://github.com/mxa/glsl
>
> bingo ! all of those patches worked alright !
>
>
> more important for anybody interested: it contains a very useful
> abstraction called "pix_shader.pd" which makes working with glsl shaders
> much easier !
>
> cyrille henry wrote:
>
> can you open the shader file on a windows text editor?
>> I never had this kind of error.
>>
>
> IOhannes wrote:
>
> i can think of two possible problems:
> - line endings (CRLF vs LF)
> - paths with spaces
>
> i think i can rule out the latter - i have PD on running as a "standalone"
> application on an extra partition with no-space paths. plus all other files
> (images etc.) that are called with an "open" message in the GEM glsl
> example patches load alright
>
> i will give messing around with line endings a try
>
> How to develop shader is not specific to GEM, and you'll file billions
>> of website dedicated to glsl.
>>
>
> well, as i said i didn't find too many ...
>
> the good thing about the aforementioned site is, that it contains not only
> the glsl shaders but also PD-patches to dig deeper into the glsl
> functions/code.
>
> thanks for all replys, already helped a lot !
>
> 
>
> again, a call to the list:
>
> a dedicated place that holds a collection of glsl shaders/examples
> optimized for GEM (i.e. with help patches) would be great, and i think the
> puredata.info/downloads section would be a good place to hold it.
>
> if you know about other PD (GEM) dedicated glsl site or github space, i'd
> be glad if you could post it.
>
> 
>
>
> best
>
> oliver
>
>
> ---
> Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
> https://www.avast.com/antivirus
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-15 Thread oliver

hi, people !

some update on the subject:

i looked around and found this GEM-shader dedicated github-space:

https://github.com/mxa/glsl

bingo ! all of those patches worked alright !


more important for anybody interested: it contains a very useful 
abstraction called "pix_shader.pd" which makes working with glsl shaders 
much easier !


cyrille henry wrote:


can you open the shader file on a windows text editor?
I never had this kind of error.


IOhannes wrote:

i can think of two possible problems:
- line endings (CRLF vs LF)
- paths with spaces

i think i can rule out the latter - i have PD on running as a 
"standalone" application on an extra partition with no-space paths. plus 
all other files (images etc.) that are called with an "open" message in 
the GEM glsl example patches load alright


i will give messing around with line endings a try


How to develop shader is not specific to GEM, and you'll file billions
of website dedicated to glsl.


well, as i said i didn't find too many ...

the good thing about the aforementioned site is, that it contains not 
only the glsl shaders but also PD-patches to dig deeper into the glsl 
functions/code.


thanks for all replys, already helped a lot !



again, a call to the list:

a dedicated place that holds a collection of glsl shaders/examples 
optimized for GEM (i.e. with help patches) would be great, and i think 
the puredata.info/downloads section would be a good place to hold it.


if you know about other PD (GEM) dedicated glsl site or github space, 
i'd be glad if you could post it.





best

oliver


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-15 Thread zmoelnig
On 04/14/2017 04:30 PM, cyrille henry wrote:
>>
>> [glsl_vertex]: error reading file
>> [glsl_fragment]: error reading file
>>
[...]
> 
> can you open the shader file on a windows text editor?

i can think of two possible problems:
- line endings (CRLF vs LF)
- paths with spaces

mdsa
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-14 Thread cyrille henry

hello,


Le 14/04/2017 à 15:09, oliver a écrit :

hi, sorry to bump in again

Peter P. wrote:


Asking a similar question recently on this list I got told that a lot is
possible using shaders.


thought so ;-)

See if you have a folder named 10.glsl on your

OS somewhere that could hold Gem examples for shaders.


that's what i did. unfortunately i can't get any shader-related patch to work. 
i tried them all in the 10.glsl folder. always ends up in

[glsl_vertex]: error reading file
[glsl_fragment]: error reading file

in the console.

the graphic-card is NVIDIA GeForce GT 630M, WIN7/64bit.
is it the card that's wrong ?

no, I did most of the glsl example using this GPU.


can you open the shader file on a windows text editor?
I never had this kind of error. After 15 years without windows, it still 
surprise me.

 



GEM-related stuff seems to be pretty scattered on the web, those who are using 
it at all seem to do so quite privately.

at least i wasn't able to find something like a patch repository or a dedicated 
discussion forum that could hopefully explain the GEM world a little deeper. 
the help files and tutorials are sparse and a little dated (however useful to 
get me starting !)

any further info regarding the use of shaders in GEM is highly appreciated !


How to use a shader with GEM is explain in the examples, and it is usually 
straightforward.

How to develop shader is not specific to GEM, and you'll file billions of 
website dedicated to glsl.

cheers
c



happy easter !

oliver

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] some GEM questions, shaders anyone ? ...

2017-04-14 Thread oliver

hi, sorry to bump in again

Peter P. wrote:


Asking a similar question recently on this list I got told that a lot is
possible using shaders.


thought so ;-)

See if you have a folder named 10.glsl on your

OS somewhere that could hold Gem examples for shaders.


that's what i did. unfortunately i can't get any shader-related patch to 
work. i tried them all in the 10.glsl folder. always ends up in


[glsl_vertex]: error reading file
[glsl_fragment]: error reading file

in the console.

the graphic-card is NVIDIA GeForce GT 630M, WIN7/64bit.
is it the card that's wrong ?



GEM-related stuff seems to be pretty scattered on the web, those who are 
using it at all seem to do so quite privately.


at least i wasn't able to find something like a patch repository or a 
dedicated discussion forum that could hopefully explain the GEM world a 
little deeper. the help files and tutorials are sparse and a little 
dated (however useful to get me starting !)


any further info regarding the use of shaders in GEM is highly appreciated !

happy easter !

oliver

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list