Quantcast
Channel: openFrameworks - Latest posts
Browsing all 40524 articles
Browse latest View live
↧

PS3 Eye - how to use CodeLaboratories SDK in oF

Hi Cristopher, nice to meet you.I'm using of_v0.8.4_win_cb_release, Code::Blocks 13.12., Windows 8.1.If there are no problems with versions and ide I suspect I am doing some kind of mess with addon...

View Article


Fix for Xcode 7 and OF 0.8.4 (opensslconf.h not found)

Ha, nice fix!

View Article


[RPI] ofImage allocating double the space than needed?

So it seems that the Pixels object is definitely not loaded into the VRAM (wouldn't make sense anyway).But why is a texture taking up so much space then? I can't really see a good reason why this is...

View Article

[RPI] ofImage allocating double the space than needed?

Without digging into it too much, maybe mipmapping is the culprit? Mipmapping allocates more memory to store scaled versions of a texture so that drawing at it different scales is (visually, I think)...

View Article

[RPI] ofImage allocating double the space than needed?

Right, thats a good point. Would tex.setCompression(OF_COMPRESS_NONE) disable mipmaps? Atleast thats what I'm kind of getting from the description here, though it sounds a bit...

View Article


[RPI] ofImage allocating double the space than needed?

Apparently mipmaps are off by default anyway. So mipmaps don't seem like the cause here.

View Article

ofSetCurrentRenderer in 0.9.0

I'm migrating some code to 0.9.0, and I need to use the ofGLProgrammableRenderer. in 0.8.4 I was doing this brefore ofSetupOpenGL: ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE); However, in...

View Article

ofSetCurrentRenderer in 0.9.0

in 0.9.0 you just need to set the GL version when creating the window in main. something like: #include "ofMain.h" #include "ofApp.h"...

View Article


Image may be NSFW.
Clik here to view.

ofSetCurrentRenderer in 0.9.0

Thanks @arturo

View Article


Arduino / of0.9.0 / of0.8.4

I'm experimenting with of0.9.0 and an Arduino (uno). Results so far are a bit hit-and-miss, and I'm trying to figure out what could be causing that. I've breadboarded a kind of 'minimal arduino'...

View Article

Map texture from videoGrabber to ofVBOMesh/ofMesh

I'm currently using an ofPlanePrimitive as a surface upon which to draw the live video input from a ofVideoGrabber. My art piece then runs generative distortion on the plane using shaders. I would...

View Article

Arduino / of0.9.0 / of0.8.4

What version of Firmata are you running on the arduino? The most recent code I wrote was for 2.4.4 though really its 2.5 since those new features are part of the current upgrade. I have a good idea...

View Article

Image may be NSFW.
Clik here to view.

Arduino / of0.9.0 / of0.8.4

DomAmato: What version of Firmata are you running on the arduino? I'm running 2.4.4 - the version that comes with Arduino 1.6.6 DomAmato: The most recent code I wrote was for 2.4.4 though really its...

View Article


Arduino / of0.9.0 / of0.8.4

Ok the analog problem im pretty sure is related to this: at line 215 in ofArduino in the getAnalog function you need to replace to pin capabilities test with the following if...

View Article

Vector of ofxMSAInteractiveObject

Hi! I'm trying to make a menu with buttons using the ofxMSAInteractiveObject addon, and the buttons using images that will be inside a folder. I'm using a vector, since the number of buttons will be...

View Article


Arduino / of0.9.0 / of0.8.4

The PWM and servo one isn't quite clear as to the problem since the protocol for both are essentially the same. Unfortunately I don't have a servo to test with but I can't see any problems with the...

View Article

Arduino / of0.9.0 / of0.8.4

That doesn't help, unfortunately - the error appears to be triggered in ofArduino::sendAnalogPinReporting (and AFAICT that uses the right logic - or at least the same logic as in the snippet you...

View Article


Arduino / of0.9.0 / of0.8.4

Most of the code is directly from the OF Firmata example. This is the code that moves the servo: void ofApp::keyPressed (int key){ switch (key) { case OF_KEY_RIGHT: arduino.sendServo(9, 180, false);...

View Article

Image may be NSFW.
Clik here to view.

Arduino / of0.9.0 / of0.8.4

Can you put a breakpoint at the first part of sendAnalogPinReporting and tell me what the pin map says as well as what firstAnalogPin is? firstAnalogPin should be 14 for an UNO The pin map is a bit...

View Article

Image may be NSFW.
Clik here to view.

Arduino / of0.9.0 / of0.8.4

Well, that doesn't seem correct: firstAnalogPin is set to 0, and pin 14 (entry 12) has analogSupported set to false Screenshot from 2015-11-08 22-38-42.png531x690 30.9 KB

View Article
Browsing all 40524 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>