ofShader and ofLight in 0.9
@Regi wrote: Hi all! As I'm learning shaders and trying to grasp the concepts and power of them perhaps this question comes out of lack of understanding how they and OF truly works. What I'm trying to...
View ArticleI want to know the percentage of RGB color from the PC camera's captured image
@oyatsu wrote: Hello,I am beginner of OpenFrameworks(several years ago I study for book).I want to know the percentage of RGB color from the PC camera's captured image.I heard using a OpenCV.but I...
View ArticleProblem with not working function
@elfh wrote: i cant figure out why setVolFrq (volume); is not working, can someone point me to the solution? #include "ofApp.h" float currentFrequency; float lowestFrequency; float numberOfSteps;...
View ArticleBest way to make a textfield on an app?
@benjgorman wrote: Hi I'm looking for the best way to have a text field in a ofApp. There are lots of addons/solutions out there but I can't seem to get any of them to work quite right. What is the...
View ArticlePause ofx loop when recieving signal
@atran wrote: I'd like to pause the openFrameworks loop whenever it receives a Websocket signal to stop and remove a video from playing. Is this possible? If not the program will just crash. Posts: 2...
View ArticleFace extraction need help
@fonkypigeon wrote: Hi, I'm playing around with ofx face tracker for couple of days, and it's a Wonderfull thing ! thanks for that.I'm almost reaching my goal, I need to extract my face from the...
View ArticleExport fbo (frame sequence) to a single pdf
@Joao wrote: Hey guys, I'm rendering an animation in a fbo and I need to export a frame sequence to a single pdf. Is there any way to do this like ofBeginSaveScreenAsPDF() ? Thanks in advance,J Posts:...
View ArticleGet subSection or ROI from a bigger section
@antocreo wrote: HiI am trying to get a portion, a subsection from a texture (in specific from video source/webcam).I see there is drawSubsection()method which draws the portion I want, but how do I...
View ArticleofEvents problem with buttons in same position, different scene
@seldon wrote: Hello everyone , Using the base of simpleEventsExample example , I created two "scenes" , each with a button in the same position that draws the next or previous scene. The problem is...
View ArticleofPath documentation?
@Gallo wrote: Hello, I am currently working with paths but i really miss some information about it.Step by step i get to understand basics but i still have some bad times finding how things work....
View ArticleOpen or create a .tri file
@fonkypigeon wrote: Hi, I was wondering if one of you would know how to create a .tri file as used in ofx facetracker ?the tri file is looking like n_tri: 91{20 21 2321 22 230 1 3615 16 450 17 3616 26...
View ArticleofxGui disable widgets
@thomasgeissl wrote: Hello,is it possible to disable ofxGui components?I thought ofxBaseGui::unregisterMouseEvents() would do it. But it did not. At least I did not notice any difference.I tried...
View ArticleTest if mouse clic inside an ofPath shape
@Gallo wrote: Hello, I am working with shapes as ofPath. I would like to select a shape with the mouse so i need to test if the mouse is clicked inside the shape. I know there is a function inside(x,...
View ArticleScaling a mesh centred anchor point (ofMesh ofScale ofTranslate)
@antocreo wrote: HiI am trying to scale a ofMesh using as anchor point its centroid.The mesh has a video as texture and it is not a regular shape.I have initially tried to use pushMAtrix() ofScale()...
View ArticleOpenGL render strangeness
@sam_mcelhinney wrote: Hello, I am rendering a load of points via an OpenCL VBO but the image is coming out oddly. Code is as follows: ofEnableDepthTest(); ofEnableBlendMode(OF_BLENDMODE_ALPHA);...
View ArticleZoom in or out with orthographic camera
@chuckleplant wrote: Hi, I'm using ofCamera with enableOrtho. I'm wondering how to properly zoom in or out with it. The only thing affecting the orthographic projection matrix is the viewport. But...
View ArticleTrigger action when variable change value
@jorgeav wrote: Hello!Im need to trigger action every time ofSeconds()How can i check is the value has change from previos frame to the current? Posts: 18 Participants: 5 Read full topic
View ArticleResources for learning how to use VBO's and VboMesh
@Collin_Schupman wrote: Hi! I'm new to the modern OpenGL graphics pipeline, OpenGL immediate mode makes sense but the move to emphasize programmable shaders and balancing memory/computation on the...
View ArticleCan ofLog() write to a file and stdout at the same time?
@racarate wrote: This is a silly question, but I can't figure out how to get ofLog() to write to a file but also write to the console. Do I have to add a custom "channel" or something? Posts: 1...
View ArticleofMesh smoothing edges
@antocreo wrote: Hi,I am trying to find a way to smooth the edges of a not regular mesh like a mask feather.I have tried building a function that increases the resolution of the mesh but that's not...
View Article