Troubles with running examples
@Maxim_Istomin wrote: When i run androidPolygonExample, i get error in a run tab: Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: No outputs for the main artifact...
View ArticleLoading json from string?
@dicktom wrote: Kind of stuck on this atm, how can I load an ofJson object from a string that contains json data. There only seems to be a function to load from a file in the openframeworks ofJson.h...
View ArticleSpeech recognition
@chusi wrote: Hi to everybody, I’m looking for a speech recognition addon, but I just could find https://github.com/kitschpatrol/ofxASR which is pretty old. Anybody knows another approach to...
View ArticleSetting a variable for OF root directory
@sjd wrote: Hi, If I generate a project using the PG it places a relative path to my OF root directory. What if I want to share my code or commit to a repo for someone else to use? The path to their...
View ArticleAudio input and drawing lines project. How to fix deprecation?
@sonotype wrote: Hi, I found a nice source code about how to draw line starting from input source, but this code uses a couple of deprecated functions. I’ve found the updated ones, but I couldn’t find...
View ArticleFile dependencies messed up when moving the compiled app?
@p1r4t3b0y wrote: Hello everybody, I have an OF project that’s currently located in “…/apps/myApps/” and has two shader files, a vertex and a fragment shader, in its “bin/data” folder. The project...
View ArticleHelp me with a project on fluid resistance
@jewel wrote: HI!! I want to know why the ball doesn’t slow down in the water. ofApp.h class MovingBall : public ofApp { public: int x; int y; int radius; ofVec2f location; ofVec2f velocity; ofVec2f...
View ArticleIs there a way/class to set indices so that a random amount of vertices...
@bobby wrote: Is there a way/class to set indices so that a random amount of vertices (position) generates a mesh? I want to load a mesh with a random amount of vertices. Now I’m looking for a way to...
View ArticlePorting an existing iOS/UIKit app to OpenFrameworks
@cjniven wrote: Hi there, For a freelancing contract I have been helping develop “The Monster Musician Reader”, which is an iOS app developed in Objective-C/UIKit. My client wants to create a...
View ArticleMain Menu User Interface?
@LewisS99 wrote: Hello all, I am very new to openFrameworks and was wondering if anybody could recommend an admin that isn’t for debugging. I want to make an application where you can look at presets...
View ArticleofDist only detecting one vector element
@skrowemarF wrote: Hello. I have a main program that has a ship that is moved successfully using oscHook. I also have a class that gets pulled into the main program. I create a vector of object from...
View ArticleCreating a custom slider?
@Lewis wrote: Does anybody know how I’d go about creating a custom slider with 2D Shapes without using any addons? I had the idea of using the mouseDragged function and finding the coords of the...
View ArticleQuestions about code whose radius changes depending on the size of the sound
@jewel wrote: Hi I want to get a number for the volume of sound. So I found an example and entered the code. for (int i = 0; i<bufferSize;i++){ left = input[i*2]*0.5; right = input[i*2+1]*0.5;...
View ArticleEquirectangular Projection - mapping a sphere
@pxt wrote: Hello everyone! I need to convert a image into a equirectangular projection, just like this: 251390×1184 213 KB golf4_sph_s800×400 145 KB To map a sphere and not having the obvius...
View ArticleHow to make a class that samples incoming audio to be used as a synth voice...
@GusCarr wrote: Hello everybody: I am having trouble trying to build a class with which I could record a certain amount of an incoming stereo signal (a chunk several seconds long) and play it later at...
View ArticleHow to convert ofVec2f in glm::vec2?
@sonotype wrote: Hi, I’ve tried to replace ofVec2f with glm::vec2 but I can’t get the rotation method. Does anyone know how to solve it? glm::vec<2, float> mousePos(ofGetMouseX(),...
View ArticleUsing mouse position to control light
@Georgie_Hodges wrote: Hi all, I am working on building a 3D scene and was wondering if there is a way to use mouseposition to change the lighting’s colour? Many thanks Posts: 4 Participants: 3 Read...
View ArticleWhat have you made with Emscripten?
@fresla wrote: I am curious to take a look at work that people have online that are made with openframeworks and Emscripten, does anyone have any active links? Posts: 1 Participants: 1 Read full topic
View ArticleofxSerial close connection
@v_za wrote: Hello Everyone, I’m using the ofxSerial addon to read serial data but I need to close the connection and re-open it again with a different baud rate. how could I do that? here my ofApp.h...
View ArticleEquivalent of Processing’s loadPixels, pixels[] not using ofImage
@kotaonaga wrote: Hi! I am trying to create Metaballs like this tutorial. I tried to write the equivalent of this Processing’s code in oF. I tried to use ofImage, but it was too heavy for the...
View Article