Go to advanced search

by Cronus99
Mon Dec 24, 2018 1:58 pm
Forum: OpenGLES
Topic: Sending data to OpenGL glBufferData
Replies: 1
Views: 1667

Re: Sending data to OpenGL glBufferData

Okay, can confirm that this works. What I was seeing was garbage values rather than addresses, was just doing it wrong. Issue now is, how do I do it fast enough for real-time audio applications? I am looking into openMP. Do you think openMP can help parellelize it while my graphics app is plotting i...
by Cronus99
Sat Dec 22, 2018 6:06 pm
Forum: OpenGLES
Topic: Sending data to OpenGL glBufferData
Replies: 1
Views: 1667

Sending data to OpenGL glBufferData

Hi, I'm storing some vertex data in: boost::circular_buffer<int> bufferData(200); My class has a function to return a pointer to the address of bufferData.front(): int *getBufferData() {return &bufferData.front();} Then i send this pointer to glBufferData: glBufferData(GL_ARRAY_BUFFER, 200*sizeof(in...
by Cronus99
Fri Dec 21, 2018 11:08 pm
Forum: Graphics programming
Topic: boost::circular_buffer and openGL glBufferData not getting along.
Replies: 1
Views: 1534

boost::circular_buffer and openGL glBufferData not getting along.

Hi, I'm storing some vertex data in: boost::circular_buffer<int> bufferData(200); My class has a function to return a pointer to the address of bufferData.front(): int *getBufferData() {return &bufferData.front();} Then i send this pointer to glBufferData: glBufferData(GL_ARRAY_BUFFER, 200*sizeof(in...
by Cronus99
Wed Dec 05, 2018 3:48 pm
Forum: General discussion
Topic: RPi audio inputs
Replies: 6
Views: 495

Re: RPi audio inputs

Hi, I2S can handle more than 2 channels of audio - the AudioInjector Octo uses the Cirrus CS42448 that supports 6 inputs and 8 outputs at up to 192kHz. I haven't checked the specs as to what can be used simultaneously. I have gone through the threads when people were trying to do exactly this, tryin...
by Cronus99
Wed Dec 05, 2018 2:11 pm
Forum: General discussion
Topic: RPi audio inputs
Replies: 6
Views: 495

Re: RPi audio inputs

Hi, Thanks for your inputs. It is certain that some real time ADC capture needs to be done before the RPi, the challenge then becomes transferring the data over fast enough. The Arduino limits us to 115200 baud(haven't touched an Atmel chip in years so I may be wrong) Via serial, so this would be to...
by Cronus99
Tue Dec 04, 2018 11:18 pm
Forum: General discussion
Topic: RPi audio inputs
Replies: 6
Views: 495

RPi audio inputs

Hi all, I had recently been trying to get audio input working on the Pi 3 B and finally succeeded by using the PCM1804 over i2s. But my application now requires more audio channels (at least 4) and i2s can only handle 2 channels of audio. I have also read that it is not possible to use multiple inpu...
by Cronus99
Sun Oct 21, 2018 12:03 pm
Forum: General discussion
Topic: Shader compile failure
Replies: 0
Views: 166

Shader compile failure

Hi, I have been working with pyglet on the raspberry pi 3 B and want to start using shaders in my program. I am getting a syntax error while setting the shader preprocessor. The pi supports versions 1.00 es, 1.10 es, 1.20 es however I've tried all the following and all give errors: #version 100 #ver...
by Cronus99
Fri Sep 21, 2018 7:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 110
Views: 48379

Re: I2S Success (at last) !

Hi, I have been trying to set up i2s on my raspberry pi 3 model B as well, with no luck. I followed this adafruit guide: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test Right now these are the waveforms im getting while running $ arecord -D plughw:1 -c2 ...
by Cronus99
Wed Aug 15, 2018 11:19 pm
Forum: General discussion
Topic: Display options for the Pi 3
Replies: 6
Views: 402

Re: Display options for the Pi 3

Indeed, I'm thinking of building an interface adapter for the OEM screen. The IC i mentioned earlier (TC358779XBG) seems to be the right candidate but i wanted another opinion on whether it is the right direction or not. Having an ASIC do the interfacing job to a smartphone LCD screen for you would ...
by Cronus99
Wed Aug 15, 2018 10:50 pm
Forum: General discussion
Topic: Display options for the Pi 3
Replies: 6
Views: 402

Re: Display options for the Pi 3

The 5.9" Manga Screen 2 is 1920*1080p60 capable for $99USD https://www.kickstarter.com/projects/1924187374/manga-screen-2 Hi, I did have a look at this(99$ + shipping? I'd rather buy a small LCD monitor), and also the Hyperpixel 4.0" (doesn't ship to my country otherwise was perfect). I am looking ...
by Cronus99
Wed Aug 15, 2018 9:27 pm
Forum: General discussion
Topic: Display options for the Pi 3
Replies: 6
Views: 402

Display options for the Pi 3

Hi all, I have been trying to find a good inexpensive display for the raspberry pi but there don't seem to be too many options besides the generic waveshare 3.5" / 5.0" TFT LCD or the official Raspberry Pi screen. I want to be able to get a high res display up, something like an OEM smartphone displ...

Go to advanced search