Gradient calculation woes
Hi all, ultimately I’m trying to simulate Chladni patterns (made by vibrating a metal plate with particles on it). I’ve come across this equation that gives Chladni patterns (a, b, m, n are...
View ArticleHow to load pixels / an image to a texture in ofThread and draw them in...
I wonder, if that is possible. As a result I get a white or a black texture, but not the expected image (while loading the same image in ofApp.cpp does work as expected). 3 posts - 1 participant Read...
View ArticleAntivirus software has stopped my project from running
I am at an absolute loss, but my project has stopped working after my avg antivirus said it was scanning the debug.exe. It found no threat and popped up a notification that it was found to be safe but...
View ArticleMultitouch on latest OF: Linux (+Windows, iOS, Mac)
I’m looking for guidance to make multitouch input work on Linux (ideally also cross-platform across Mac, iOS, Android, and Windows as well). I found this project that is Windows-only which is the top...
View ArticleHttp videoGrabber streaming
Hi, I’m looking to stream my webcam over http. I have the grabber working and I believe the server is also working ok, but now I’m baffled how to actually pass the videoGrabber data as video or jpeg...
View ArticleConvert pixel size to true type font size?
I looked a little into this and it involves getting your screen’s dpi or something, but I haven’t been able to get a working formula yet. Any ideas? I’d like to be able to set the font size based on...
View ArticleDynamically update color of VBO with compute shader
I am setting the colorbuffer of a VBO to the colors of an image, and then trying to have the colors of the image change over time via a compute shader. I am basing off of the...
View ArticleNo ofClear in a 3d space
I want ofClear to process if the frames are being cleared or not, but it seems like it controls whether the frames reset on a 3d space. fbo.begin(); ofClear(255,255,255, 0); light1.setPointLight();...
View ArticleHow to embed openFrameworks in WPF?
I would like to embed openFrameworks as a component in a WPF application. Is there any good way to do it? By the way, I tried the following forum content, but it did not work as expected. It generated...
View ArticleMaking a random playback position raspberry pi video player. My options?
Hi, I signed up here to get help and advice on how to proceed with the following. It is a very simple project but I want to start in the best way possible. For an upcoming exhibition I need a...
View ArticleTexture coordinates set properly but not getting properly in...
I’m having a problem getting accurate texture coordinates from ofxAssimpModelLoader. I’m able to set the coordinates properly with code like this: void...
View ArticleHow to clear or remove a specific texture from an ofMaterial object?
Hello, I’m using ofMaterial class to set the appearance of my objects in the scene. I saw a series of methods of setTexture(), but didn’t find according removeText() methods. What should I do if I...
View ArticleConnecting Processing to Open Frameworks - OSC
Hi, I had a code to send a message from Processing to Open Frameworks that used to work with the 0.11 version, but when I try it with de last version it stoped working. Do you know if there were any...
View ArticleNew of::random classes
Hey I noticed that ofSeedRandom() is deprecated in 0.12.0, and has been replaced by a new OF class Engine (in ofRandomEngine.h) by of::random::Engine::destruct(); of::random::Engine::construct(); Does...
View ArticleShader examples on 0.12
hey all just wondering on the glsl examples the first line is now set to “OF_GLSL_SHADER_HEADER” what does this en capsule? 2 posts - 2 participants Read full topic
View ArticleImplementing Shaders on Mesh
Hi, I am trying to “tint” my mesh using a shader, that will be modified with two values from arduino. I tried using the examples from OF but it only shows the image of the example. #include "ofApp.h"...
View ArticleHow to use ofFilterLibrary with ofDrawCircle
Hello. I’m trying to apply a filter from ofxFilterLibrary(addon made by mfargo) to a circle drawn with ofDrawCircle(). However, the texture of the circle will be black. I just added the line...
View ArticleGetting RPi HQ camera feed into ofTexture using ofGstVideoUtils
Hi everyone, I am trying to render the RPI HQ camera (IMX477) feed in OpenFrameworks using ofGstVideoUtils. I am using an Arducam board that emulates a stereo camera by combining the feeds from two...
View ArticleCross-compiling mac - rpi
The documentation regarding cross-compilation and effective programming of OF on Raspberry Pi seems out of date. Anyone has been writing an updated guide for 0.12? Does anyone use XCode as an IDE and...
View ArticleTrouble with ofFbo::getDepthTexture()
Hello people, I keep having problems using ofFbo::getDepthTexture() and I am not sure, if I’m doing things right. I am trying to use the depthTexture inside a shader, but i can only get it to work, if...
View ArticleResize video for use in VBO (or resize vbo)
Hi, I am using a compute shader to constantly load the texture of a video onto the color buffer of a VBO. I know that you can change the size of a video during drawing, but I’d like to resize the...
View ArticleLive Detecting of Colours
My idea is to use Xcode and supercollider and connect it to a camera to detect colour. I will then paint with colour on a wall and have scollider react to the different colours by producing different...
View ArticleXcode 15.0.1: command codeSign failed with a nonzero exit code
I’m a newcomer to openFrameworks and have recently downloaded the OSX version. After unzipping the file, I attempted to run the 3DPrimitivesExample.xcodeproj file, only to encounter an error message:...
View ArticleCalling the constructor correctly from a different cpp file
Hey guys I’m midst creating a game in where I am on the learning curve of OF and qt however, I’m running into some trouble since in java you would call one using something along the lines of: ofApp...
View ArticleAn Open Frameworks V0.12.0 equivalent to the setTransformMatrix function.
I’m looking at a piece of code that was originally written in Open Frameworks in 2018 I believe using OF 0.9.3. The code makes use of a function setTransformMatrix that I can see from this forum...
View Article