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

Sending attribute to ofShader?

@ayruos wrote: Hello! Doing some work with shaders and trying to figure how to send an attribute to the vertex shader. They’re being loaded from file and a mesh is being drawn so I have this at the...

View Article


ofxFaceTracker error

@MataKurara wrote: Hi, all I am trying ofxFaceTracker2 with OF 10.1 with VS 2017. I have ofxFaceTracker2, ofxCv, ofxOpencv, ofxgui, ofxosc in my addons. When I ran the example in ofxFaceTracker...

View Article


2D dxf line import?

@Sam_McElhinney_io wrote: Hello, Is there a library or method for importing a 2d dxf file into OF? i.e. a dxf file of layers and lines, polylines, etc? In hope Sam Posts: 2 Participants: 2 Read full...

View Article

Image may be NSFW.
Clik here to view.

Project generator don't create Qt project

@mimi012 wrote: Hello, I try to start a project with oF on Ubuntu but when I use the project generator I have only a .qbs file, if I open this file with Qt creator I don’t have any .h and .cpp files,...

View Article

ofxGpuParticles + adding lines for interaction

@Sam_McElhinney_io wrote: Hi, I’m trying out using ofxGpuParticles for the first time, to try and get my head round shaders a bit more. Can someone give me a pointer as to how I could go about loading...

View Article


Image may be NSFW.
Clik here to view.

Understanding => gl_ProjectionMatrix * gl_ModelViewMatrix * gl_Vertex

@PleekMan wrote: Hello everyone!! This is my first post, concerning shaders…!! After studying linear algebra, I am trying to understand how the matrix operations are implemented in the shaders’...

View Article

ofSoundStream::stop() causes error

@Cube wrote: Hi, if I’m trying to stop my soundstream I get an “RtAudioError” error. Can anyone tell me if i am using it the right way? thanks This is my code: void ofApp::setup(){ stream1.setup(this,...

View Article

Help linking external libraries [OSX]

@skiprox wrote: I’m trying to link an external library (librtlsdr, as downloaded from homebrew) and am having some problems. The error I’m getting is: Undefined symbols for architecture x86_64:...

View Article


Image may be NSFW.
Clik here to view.

Creating a polygon shape in Box2D with Face outline

@eulphean wrote: Hey all, I’m trying to create a polygon body in Box2D using the Face outline that I get from ofxFaceTracker2. But I’m unable to map the texture of the face correctly. My strategy has...

View Article


Image may be NSFW.
Clik here to view.

Avoid 'triangles' when drawing line paths and circles

@Okliis wrote: Hello all, I keep getting these slanted lines that form a ‘triangle cut out’ at the connection points of my circles and line paths that I draw. See attached image. I’ve set circle...

View Article

Problem iterating through vector of Polylines

@George_Still wrote: hi all! i’m having some trouble iterating through a vector of Polylines. here’s my header code: #pragma once #include "ofMain.h" #include "ofxBox2d.h" #include "ofxTwitter.h"...

View Article

Raspberry PI - UDP Packet, maybe too large?

@dimitre wrote: Hello, I’m sending an UDP packet of exactly 1195 bytes, and it runs OK in macOS but in raspbian stretch it works ok too but I get an error message [ error ] ofxNetwork:...

View Article

ofxFbx animated cameras

@olalofberg wrote: Hello, I am currently trying to get ofxFbx working. It seems to load the model and textures, but I was hoping to get it to play the animated camerapath that I animated in 3dsmax. I...

View Article


Heap corruption when trying to create an image from pixel array

@oscare_gs wrote: Hello, I’m trying to create an image from a pixel array, as seen in the book “Mastering openFrameworks” by Denis Perevalov in page 116. The debug error says the following: Debug...

View Article

Image may be NSFW.
Clik here to view.

ofBook Experimental Game Development Example

@Ioannis wrote: Hello guys, I am going through the ofBook game example and I am trying to follow the tutorial and code it on my pc.The problem is that the Player class .cpp explanation is missing.Has...

View Article


Shared objects between windows

@pxt wrote: Hello! im following the multi window example, creating two apps for two different windows. How can i share one object (creating in the ofApp) to the other window? i want to (lets say, for...

View Article

What type to use for ofMesh::addNormals()

@noine wrote: I tried to do vector<ofPoint> normals(size); mesh.addNormals(normals); But it doesn’t accept that. Changing ofPoint to ofVec3f doesn’t help either. As a fix I’m a for loop with...

View Article


Specify macos target build qtCreator

@Gallo wrote: hello ! i am using the latest oF 0.10.1 under macOS Mojave and QtCreator 4.8.1 I need to build an app which will run under mac 10.6 (snow leopard). I tried under XCode 10. I was able to...

View Article

Trying to run ofxClipper on 0.9.8

@willjvan wrote: Hey y’all, I’m trying to run Baker’s ofxClipper example on version 0.9.8 ( https://github.com/bakercp/ofxClipper ) and I’m getting two errors: "No matching member function for call to...

View Article

Very slow frame rate in Xcode

@KyoSch wrote: I’ve recently started a course in OF and when I add a piece of code that resets the position of objects to the update function the whole animation has about 1 fps and it takes 140% from...

View Article
Browsing all 4929 articles
Browse latest View live