Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 15 20:29
    dependabot[bot] labeled #367
  • Jan 15 20:29

    dependabot[bot] on npm_and_yarn

    Bump follow-redirects from 1.13… (compare)

  • Jan 15 20:29
    dependabot[bot] opened #367
  • Jan 15 04:11
    dependabot[bot] labeled #366
  • Jan 15 04:11
    dependabot[bot] opened #366
  • Jan 15 04:11

    dependabot[bot] on npm_and_yarn

    Bump follow-redirects from 1.13… (compare)

  • Jan 15 04:05
    dependabot[bot] labeled #365
  • Jan 15 04:05
    dependabot[bot] opened #365
  • Jan 15 04:05

    dependabot[bot] on npm_and_yarn

    Bump shelljs from 0.8.4 to 0.8.… (compare)

  • Jan 07 23:26
    Lemon-King commented #300
  • Jan 07 23:25
    Lemon-King commented #300
  • Jan 07 23:23
    Lemon-King commented #300
  • Jan 07 23:22
    Lemon-King commented #300
  • Jan 07 11:36
    iamterryclark commented #300
  • Jan 07 11:34
    iamterryclark commented #300
  • Jan 07 11:33
    iamterryclark commented #300
  • Jan 07 06:35
    wyhinton edited #364
  • Jan 07 06:35
    wyhinton edited #364
  • Jan 07 06:34
    wyhinton opened #364
  • Jan 07 06:10
    wyhinton commented #300
Le Nguyen
@Lenoxnguyen2014
i try to use webGL GL react to do saturation on image with react native
However, it printed out the error requireNative Component RNWEbGLView
it seems like react native not recognize the Surface
leshengSupoort
@leshengSupoort
Hello.I use OpenGL in ReactNative , but the error hits View config not found for name canvas ,why? I use the first Demo.
David Cian
@davidcian
Hey, does anyone have any idea how to use the camera loader with the new 1.0 version of the loaders? I've installed the expo camera loader but I'm not sure about the second line stating that I need to "load the lib in your entry point". Where do I insert that import statement?
David Cian
@davidcian
Nevermind, the formulation put me off, but it turns out it means what I expected it to mean: literally just adding the import statement in the entry point which is app.js in my case. Cheers for an amazing library @gre ! On a side note, for other people who have the black screen problem, it might be related to permissions. I also have this problem on and off (although it is related to the expo camera, not to gl-react-expo) and after many tries I believe it's something to do with permissions.
Le Nguyen
@Lenoxnguyen2014
I found out later that I need style the surface div in react
I did asked for permissions already
Thanks tho
Gal-Nahum
@Gal-Nahum
Hey, I'm trying to use the example from the cookbook of Saturation, after changing the Surface to be imported from gl-react-native and adjusting the style I cant load the image getting the following error : webgltexture-loader-expo: ExponentGLObjectManager.createObjectAsync is not available. Make sure to use the correct version of Expo
WARN Node#1(Saturate#2), uniform t: no loader found for value http://i.imgur.com/rkiglmm.jpg http://i.imgur.com/rkiglmm.jpg
Le Nguyen
@Lenoxnguyen2014
Hi, are u using react native?
Gal-Nahum
@Gal-Nahum
yes
Le Nguyen
@Lenoxnguyen2014
so basically, check your package json, make sure what version open gl you use (for your image saving later).
Basically, there is an example of class saturate , then you create your class, and pass it as a state instead of props to change the color
this is a good source, if you run on expo cli website, it works. The only thing is that you need to style surface to have the image on your phone
and also pass the <Saturate state /> instead of <Saturate props>. Good luck
but yeah, think about how would you save image later too, depends on the gl version you use, there are different ways to do it.
timhysniu
@timhysniu
Hi Guys,
I am trying to get started with react-native-gl and I can't find any articles with a simple example.
I am getting stuck at library installation. Is there an example somewhere that I can run on my android simulator?
timhysniu
@timhysniu
Ultimately I would like to add a Surface with effects for a video... Not sure how well this is supported in React Native. I hope someone can point me to the right direction
Juan
@JuanJSebGarcia_twitter

Hi everyone. Trying to get this most basic example working on React Native: https://gl-react-cookbook.surge.sh/diamondcrop

The issue is I can't see to work out what the syntax should be for the image child? Obviously the string URL does not work. I have tried wrapping it in an image <Image source={{uri: 'https://i.imgur.com/5EOyTDQ.jpg'}} style = {{ width: 200, height: 200 }}/> but I get a uniform t: child is not renderable. Got null

What am I missing?

Le Nguyen
@Lenoxnguyen2014
hi, @JuanJSebGarcia_twitter , so you don't need to style the image
you just need to pass the link like whatever <DiamondCrop>
https://i.imgur.com/5EOyTDQ.jpg
</DiamondCrop>
Juan
@JuanJSebGarcia_twitter
Thanks for replying Le. I should have mentioned I tried that way too, and the issue is uniform t: no loader found for value "https://i.imgur.com/5EOyTDQ.jpg" "https://i.imgur.com/5EOyTDQ.jpg" :(
Le Nguyen
@Lenoxnguyen2014
@JuanJSebGarcia_twitter yeah, I did a project with gl react last term, for filter change color saturation
Juan
@JuanJSebGarcia_twitter
I have a hunch it's a React Native specific issue
Juan
@JuanJSebGarcia_twitter
I got it working!
For future reference, on React Native the URL needs to be as follows: {{ uri: 'https://i.imgur.com/5EOyTDQ.jpg' }}
Would be great to document this somewhere! Anyone know the best place?
Juan
@JuanJSebGarcia_twitter
I haven't been able to find any examples of React native Video/Expo Video being used through this lib. Is that a limitation at this point?
2 replies
Le Nguyen
@Lenoxnguyen2014
Nice, maybe stackoverflow.com
Le Nguyen
@Lenoxnguyen2014
What is your project about?
Juan
@JuanJSebGarcia_twitter
Eduardo Vedes
@evedes
Hi everyone :wave:
I'm trying to do a frontend image processing previewer with gl-react
and it works very well indeed
the thing is when I pass my changes to the backend and save it with ffmpeg
result is quite different
I've created a shader to tackle only brightness, for instance, and tried to find a correction factor
but not near of what I need :(
I can't use GLSL in backend
so the question is how to I accurately compatiblize what I preview with gl-react with what I save with ffmpeg, TIA :heart:
VLE
@vle326
Is there a .ts version of gl-react?
Mukesh Sharma
@mukeshsharma04
@here Is there any working example to render expo video in gl ?? I tried a lot but video is not showing
David Cian
@davidcian
Does capturing a surface (to an NDArray) work in an Expo project? It returns all zeroes in my case, and it's specified in the API reference that a DOM-only option in webglContextAttributes has to be set, but the same isn't specified for a node, so I thought it might work?
tweakdoor
@tweakdoor
hi
Mashrukh Islam
@mushroomgenie
Hey can someone help me with this issue gre/gl-react-image#33
sahilShah55569
@stoner2497
hello can anyone provide me the code of camera stream with effects which is used in gl-react Expo cookbook
please help me out
nattog
@nattog:matrix.org
[m]
Hi people, i’m running gl-react-dom and have an issue with scrolling on a position fixed Surface on mobile. Was hoping to use the Surface dom element to remove touch events but i can’t figure out how to target it with a ref. Any ideas?
Vishal0201
@Vishal0201
hey, how to use captureFrame in gl-react-native latest version that was in v2 ?
Vishal0201
@Vishal0201
on android i am getting gl is not available for remote debugghing.... how do i solve it