30fps frame stuttering/jitter
the value returned by ofGetFrameRate() is very filtered so you shouldn't rely on that to animate. the best value in order to integrate the animation is ofGetLastFrameTime() which returns the time for...
View ArticleOFAndroid doesn't work on x86 devices?
Oh, I'll have it done long before that... I thought you are talking about the next few minutes or something
View ArticleEclipse can't find headers
Hi, just starting to use OF. I haven't looked into the build system, I was following the example that created the "Ball" class, but eclipse can't find the "ofMain.h" which ends up hampering the...
View Article30fps frame stuttering/jitter
Thanks for the reply! I fixed the code to what ofGetLastFrameTime(). However it did not fix the stuttering/jitter of the animation at 30fps. 60fps is still smooth as silk. I know its twice as less...
View ArticleUnderstanding ofxCurl
So I'm clearly still new-ish to c++ and thus wasn't able to figure out how to implement ofxHTTP before discovering that fork() and execlp() system calls would help me achieve exactly what I wanted...
View ArticleInteractive Graphics Software Developer (OpenGL / Cinder / openFrameworks / C++)
Patten Studio (pattenstudio.com) is a small interaction design and technology firm based in Brooklyn, NY. We build a variety of exhibits, installations and experiences that involve bringing our...
View ArticleWhat does the texture() function in GLSL do?
Hello All I'm currently learning GLSL, and I went through the tutorial on shaders from the OF website (great tutorial by the way). In several of the example shader programs, a texture is passed to the...
View ArticleWhat does the texture() function in GLSL do?
Hi there, Actually, is not combining the two, per se, but accessing the texture in a given position and returning the color in normalised RGBA (this is important, the output color in GLSL ranges from...
View ArticleNo config.make files in 090RC2 examples. How to Compile?
I un tared the 090RC2 on RPI2 but I find that there are no make.config files in the examples projects. Instead, there are empty qbs files. After running install_dependencies and then using make in the...
View ArticleiOS Crash problems
QQ图片20151030103808.png1117x639 23 KB I have no idea about this...May be ofEvent has some bugs?Can anyone give me some advices on this crash?Thanks! @arturo
View ArticleNo config.make files in 090RC2 examples. How to Compile?
Not sure if this change was on purpose but the files you are looking for are in scripts/templates/linuxarmv7l There is also scripts/linux/buildAllRPIExamples.sh but if you are on the RPI2 you will...
View ArticleIncorrect float colors & GL_RGBA32Float fbo's - banding
When I use a minimal fragment shader to set the color; it works as expected: #version 120 uniform float c; void main() { gl_FragColor = vec4(c, c, c, 1.0f); } and this is the draw code: float...
View ArticleIncorrect float colors & GL_RGBA32Float fbo's - banding
okay, so the problem is with the command 'ofSetColor': it copies the color variable into a new one; a char-based color. There the downscaling to 8 bit happens, thus prior to drawing. ofFloatColor c =...
View ArticleIncorrect float colors & GL_RGBA32Float fbo's - banding
This is a great piece of research ... and your "hack" isn't ugly it's quite nice. This seems like a possible oversight in the core -- but I'm not sure probably best to ask @arturo. Perhaps instead of...
View Article"Undefined symbols for architecture i386:" error message for IPCAM2SYPHON
Hello everybody, i'm a beginner with OpenFrameworks and I want to use the IPCAM2SYPHON app (https://github.com/bakercp/IPCAM2SYPHON).I pasted all the files on the right places but I have an error...
View Article