Quantcast
Channel: beginners - openFrameworks
Browsing all 4929 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Best way to convert between euler angles and quaternions, avoiding gimbal lock?

@ttyy wrote: I’m having trouble with finding a good way to convert between quaternion rotations and euler angles without gimbal lock issues. I’m trying to expose GUI controls for an ofNode - the GUI...

View Article


It's posible to pass reference to an ofParameter as a 'simple' C float type?

@moebiussurfing wrote: hey, I have a class where I pass some variables (string, int, float, bool) as reference: ofApp.h #include "ofxPrintMyVars.h" string s; float f; int i; bool b; ofApp.cpp setup()...

View Article


ofxSVG + macOS + Illustrator

@stephanschulz wrote: The ofxSVG example works well with OF 0.11 and OF 0.10.1 on macOS Mojave + the tiger.svg file it comes with. But it fails to display the SVG after I open the file in Illustrator...

View Article

How to correctly pass a texture to a vertex shader

@Julian_Puppo wrote: So, i ´ve been playing arround with the vboMeshDrawInstanceExample from the “gl” folder. Im completly noob to vertex shaders. Im looking to extrude the Z value from a texture that...

View Article

How to open txt file in a new xCode file

@pxt wrote: Hello guys! i´ve a folder populate with .txt files. and i have a ListBox to acces them. What i want is to make a double click and open the file in a xcode tab. what is the function to do...

View Article


'opencv/cv.h' file not found when trying to compile ofxFaceTracker examples

@blaskretti wrote: I’m having trouble trouble compiling any of the ofxFaceTracker examples. I always end up getting this error. I’ve tried solutions posted on similar questions. #include...

View Article

Understanding ofMesh with ofShader

@lewislepton wrote: howdy folks, this is just a small & hopefully quick question. but I wanted to ask about shaders & using them with ofMesh. I have a project that generates random addVertex...

View Article

Continuous writing text effect - String issues

@iamtc wrote: Hey there, I am trying to create a program which continually loads characters of a piece of text. when the test is of a certain height it should then delete the first line and continue...

View Article


Why are project addons compiled even when not used?

@hamoid wrote: Hi, I see that if I add an addon to the QtCreator project the addon gets compiled, even if I don’t use it (no #include) in any of my .h or .cpp files. That makes the compilation slower....

View Article


Kinect 1571, of_v.11.0_osx_release, High Sierra 10.13.6, XCode 10.1

@eduzal wrote: hi all i’m using one kinect model 1571 and another 1414. for a moment it worked for about 20seconds in a multicam app(i’m following lewis lepton, 033ofxKinect) , then 1571 got frozen....

View Article

Driving 4 projectors and mapping video to 3 walls and floor

@kflak1 wrote: Hi forum, I am in the beginning phase of a project where I’m thinking of projecting on three walls and the floor in a white-box setup for a dance performance. I have two questions for...

View Article

Image may be NSFW.
Clik here to view.

Animated Sine Wave Graph

@somaphonk wrote: Hey Peeps, I’m trying to draw a graph in which a Sine wave is moving up and down. Something like the right part of the image just into the other direction Do I use a Polyline for...

View Article

Image may be NSFW.
Clik here to view.

How do you decode template related errors?

@hamoid wrote: Hi hi I need your expertise again. This code: listeners.push(ofEvents().update.newListener(this, [&]() { std::cout << ofGetFrameNum() << std::endl; })); produces this...

View Article


Failure to Launch! (browser) on OSX

@Sam_McElhinney_io wrote: Hello folks I’m trying to use ofLaunchBrowser() for the first time: ofLaunchBrowser(“www.isovists.org”, true); Now’t happens. Is this no longer enabled? I’m on apple OSX 14.6...

View Article

Multiple shaders running at once

@lewislepton wrote: so I’m trying to do this & have made each shader & each layer of whatever needs to happen. whilst everything works completely fine for each thing. when running all together...

View Article


Audio programming basics

@davidspry wrote: Recently I wrote an app using OF to sequence MIDI notes. It synchronises with an external clock (from Live, Logic, etc.) and broadcasts MIDI notes. Here’s a video of it being used....

View Article

Simple Color Tracker with oF

@Liz1997 wrote: Hi everyone! I’m quite new to oF and also to coding (please bear with me haha)… Currently I’m trying to write a program, that uses my webcam as input and tracks only red and blue...

View Article


How to make a vector with, let's say 40 random numbers

@BartMulder wrote: Looking for a way to make a vector with random number and than use that for x or y positions of multiple circles (maybe also from a vector?). Looking forward to hearing from you...

View Article

VC++ Runtime Error

@dicer2000 wrote: I’ve got a pretty basic program going, but I can’t see why it keeps throwing this exception. It’s in Visual Studio 2019 (not sure if that’s the problem?) Sometimes it works fine, but...

View Article

Blend Mode - InvertColor

@pxt wrote: Hello! Im trying to get with a blend that invert the colors of two shapes. For ex: a black circle overlaps a black circle = a white circle. What do you think i can do? Probably in a shader...

View Article
Browsing all 4929 articles
Browse latest View live