When to use ofEnableLighting()/ofDisableLighting()?
@cuinjune wrote: Hi, I always thought I have to call ofEnableLighting()/ofDisableLighting() and ofLight::enable()/ofLight::disable() together to make the lighting properly work like the following way....
View ArticleMakefile: execute a bash command
@kashim wrote: Hi guys, usually when I want to run a bash command from my makefileadd a new shell statement immediately after the "all:" targetcan i do this with config.make? I gave it a try but it is...
View ArticleHow can I access a matrix which the current frame anchor has?
@Shin wrote: I'm struggling with ofxARKit... I guess the current frame anchors increase automatically and each of them has a matrix to transform.Btw how can I access them to iterate the other objects....
View ArticleHow to fill ofBuffer with array of bytes
@stephanschulz wrote: I am looking in to the option of sending a OSC blob to an Arduino.For it to work I will need to fill a ofBuffer with a bunch of bytes (number between 0 - 8). I am stuck on the...
View ArticleAny way to get the number of vertices in an ofMeshFace?
@Preslav_Aleksandrov wrote: Hey everyone,I am trying to create an algorithm that converts the faces of an STL file to my own face type. In order for me to achieve this, I need to access all of the...
View ArticleHelp with script
@jeremyworger wrote: Hey guys, im brand new to openframeworks...wondering if I can get some pointers/help with this particular script.Im looking to utilize...
View ArticleDifference between OpenGLES and OpenGL 3.0
@edapx wrote: Hello, I'm moving a shader from openGLES to OpenGL 3.0.The shaders are almost identical, but that one for OpenGL 3.0 does not show the texture. This is the OpenGLES version const int...
View ArticleCatch exception from ofSaveImage()
@marcorexo wrote: Hi, I would like to catch an exception from the ofSaveImage() object: which receives an ofImage object and a string object for the path: // I'm using a Mac //image is of type...
View ArticleWhich function is faster to draw a circle odCircle, ofDrawEllipse or...
@GinesMendoza wrote: I'm doing a particle system and I have to draw around 300 particles, right now I'm using ofcircle but I don't know if ofDrawCircle is better, any suggestion? here the particle...
View ArticlevideoPlayerExample - [ error ] ofPixels: format doesn’t support channels
@foong wrote: Im trying to run the videoPlayerExample but stumbled upon this error:[ error ] ofPixels: format doesn’t support channels. im using:OF_v0.9.8_vs_releaseVisual Studio 2015Windows 10...
View ArticleCustom Cursor over ofxGUI
@Kalahee wrote: I chose to work on the GUI and Cursor for a school project. I've made cursors without any issue using the ofApp::mouseMoved and cie events, and it worked like a charm, but when I added...
View ArticleQtCreator caching too much
@edapx wrote: I'm using the current master and the qtCreator 4.4.1When changing the draw method of my application, the changes are not immediately reflected in the next build. I have to clean the...
View ArticleNon blocking call to ofSystem()?
@haggi wrote: Hi,I'd like to start another independent process on windows. Can I somehow do it non blocking with ofSystem("...")? The & seems not to work on windows. Posts: 3 Participants: 2 Read...
View ArticleHow can I smooth output polylines?
@jdworg wrote: Hi there, im working with some code that converts google's quickdraw images into pngs... github.com wearenocomputer/ncGoogleQuickDrawToPng/blob/master/src/ncQuickDrawImageSave.cpp...
View ArticleAssimp model loading failing
@xenal1996 wrote: Using of0.9.8, win8.1, vscommunity2017 When I'm trying to load any models, including the ones from the assimpexemple, it fails to load and give a blank error message. It seems,...
View ArticleProblem compiling OF on arch linux
@kflak1 wrote: Hi all, I'm having trouble (again) compiling of on arch linux. I haven't touched of for a few weeks, and now it stopped working, so I suspect some update in the arch repos has broken...
View ArticleaudioInputExample for iOS doesn't work on OF release 0.9.8
@Shin wrote: I tried the audioInputExample for iOS but it doesn't work. Actually I could run the app and play the sound.But I could not get the volume from input.Of course I called the setup function...
View ArticleWay to know if AntiAliasing is enabled
@jagracar wrote: I'm developing an addon to draw plots (ofxGrafica) and I realized that horizontal and vertical lines do not look very nice when the AntiAliasing is enabled. I would like to disable it...
View ArticleTUIO touch points coordinates
@Gerardo_Pellicer wrote: Hi! I am running the example of ofxTuioWrapper, and it works fine, I can see the dots on my screen representing the touch points. But I haven't figured out how to get the x, y...
View ArticleHow to reuse code between different shaders
@edapx wrote: Hello, I've a library used in different fragment shaders. Is there a way to include it? For now I'm copying and paste its content every time i need it but I'm ending up with files with...
View Article