I can't call a function in a class from within a mouse event in another class
@lumooo wrote: Is this supposed to not work, or am I missing something really trivial?This is my code: In main.cpp: void ofApp::mouseDragged(int x, int y, int button){ kinematics.mouseDragged(x, y,...
View ArticleReading and saving ofVec2f / ofVec4f from ofxXmlSettings
@SebastianSobotka wrote: Hi,Is there an easy way to get a vector value from XML file? I would like to have: declaration in ofApp.hofVec4f vec; setup in ofApp.cppsettings.loadFile("settings.xml");...
View ArticleSpecify c++ flags on travis
@edapx wrote: Hi, I'm trying to get my addons tested on travis and appveyor. The problem is, that one of the addon that I've made, require the use of std::regex_iterator. On Mac, this is not a...
View ArticleLoad and save mp4 locally
@Pedro Garlaschi wrote: Hey guys, I've been working on this installation where i have a cms to pull a couple of images and mp4. I manage to save the images but i'm struggling to save the video files....
View ArticleHow to specify ofBackground( ) with a hex value instead of RGB?
@chadilaksono wrote: I'm trying to specify my background color: ofBackground(65,70,245); Is there's anyway I can use a hex value instead of the RGB values? I tried doing this: ofBackground(0x4146f5);...
View ArticleVideos Playing out of Sync
@ashutosh wrote: Hi, I am trying to play two locally stored, overlaid 4K videos in synchronization. However, I am experiencing a slight lag (2-3 frames) in one of them. Can someone kindly suggest me...
View ArticleofParameter addListener doesn't match overloads
@Kaito_Kid wrote: Hello, I am starting to use OpenFrameworks with ofxGui. I have the following lines: primType2D.setName("2D"); primType2D.set(true); primType2D.addListener(this,...
View ArticleofSystem() windows
@fresla wrote: I guess this is really basic, but I have a few questions about ofSystem(). I need to record and play files from the kinect2 in my application, I found there is a command line utility to...
View ArticleColor and dimensions of ofSpherePrimitive
@Kaito_Kid wrote: I am creating primitives using user input for the atributes (location, size, color, etc). I could easily make a prism, using the following code ofBoxPrimitive* box = new...
View ArticleOSC over ethernet cable
@Sergio_Marchesini wrote: Hi,I am trying to send OSC from one raspberry to another to synchronize two ofxImageSequence playbacks.Everything works fine if the sender and receiver are on two ofApps on...
View ArticleCorrect way to select drawing order
@Kaito_Kid wrote: I have a scene containing primitives created by the user (mostly cubes and spheres with custom colors and sizes). Now, if I draw them all in the order they appeared, obviously I get...
View ArticleHelp moving triangles vertexes in 3d space with ofxTriangleMesh
@rojele wrote: Hi, everyone, I’m trying to access to z position of different vertexs of the multiple triangles in a mesh in order to move them in 3d space, but I don’t get to give them a new value.I’m...
View ArticleCheck ofRay intersection with a ofMeshFace
@Kaito_Kid wrote: Pretty self explanatory. I've tried many examples of code here, but I couldn't get one to work. I have an ofRay (from ofxRay), and a list of of3dPrimitive. I am trying to figure out...
View ArticleMsys2 dependencies for a standalone app (v0.9.8)
@bnc wrote: Hi mingw friends, My basic question is: What is the right way to distribute my app on windows? I decided to give msys2 a try (since it has less dependencies than VS2015 ... I...
View ArticleofTexture buffer from vidGrabber
@d_p wrote: Hi folks! New here, this is my first project in oF. What I'm trying to do is to build a video scratcher by filling in a buffer from my webcam and playing it back. I'm using a vector of...
View ArticleUndefined symbols for architecture i386
@kotutku wrote: Hi, I'm trying to build this project: https://github.com/cyrilcode/cyril against openFrameworks 0.8.4 for i386 architecture, on latest XCode and macOS Sierra. I've fixed some...
View ArticleFilling in DrawLine?
@mondaysfeelblue wrote: Hi, new to of... I drew a shape with ofDrawLine and trying to fill it with solid color. I tried ofFill(); but it doesn't seem to work. Is there another command for it? Thanks...
View ArticleofxOscReceiver returning 0 for getNextMessage( ofxOscMessage & message )
@jaymollica wrote: I've got a remote IP with an open port: nc -vu MY_REMOTE_IP MY_PORT returns: Connection to MY_REMOTE_IP port MY_PORT [udp/sdfunc] succeeded! But when I try to stream the UDP...
View ArticleProblem compiling with ofxAssimpModelLoader
@Kaito_Kid wrote: I tried to add ofxAssimpModelLoader to my project. I added all of the files in the addons directory of my project, and added all the include directories. But I end up with those...
View ArticleFrom Polyline to texture
@edapx wrote: Hello, I want to make a terrain in 3D with a closed path on which the camera will move.My idea is the following:1) draw a closed path using ofPolyline.2)Save this path in a texture3)Pass...
View Article