Quantcast
Channel: beginners - openFrameworks

Image may be NSFW.
Clik here to view.

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 Article


How 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 Article


Antivirus 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 Article

Image may be NSFW.
Clik here to view.

Multitouch 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 Article

Http 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 Article


Convert 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 Article

Dynamically 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 Article

Image may be NSFW.
Clik here to view.

No 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Making 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 Article

Texture 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 Article

How 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 Article

Connecting 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 Article


New 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 Article

Shader 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 Article


Implementing 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Getting 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 Article

Cross-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 Article

Trouble 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 Article

Resize 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 Article


Live 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 Article


Xcode 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 Article

Calling 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 Article

An 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