Quantcast
Browsing all 4929 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

I want to run Libtorch(Pytorch C++ Frontend) in OpenFrameworks

@bemoregt wrote: HI, All. I want to run Libtorch (Pytorch C++ Frontend) in OpenFraneworks. LibTorch Site: https://pytorch.org/tutorials/advanced/cpp_frontend.html If LibTorch is run in OpenFrameworks,...

View Article


Quaternion getRotate glm

@pandereto wrote: In the past i can do auto rot = joint.getOrientationQuat(); ofVec3f axis; float angle; rot.getRotate(angle, axis); ofRotate(angle, axis.x, axis.y, axis.z); But now with glm i get an...

View Article


How to change MapTile in ofxMaps

@alzinem wrote: Hi! Thanks for seeing this topic. I’m an oF newbie. I’m trying to run the example in ofxMaps Add-on , and It succeeded. Then, I want to change MapTile in this map next. I have some...

View Article

Sampling an area from an image

@Regi wrote: Hi, I want to do a what seems like a simple task, but I’m getting a bit confused with all the possibilities in OF. Basically I want to sample a 5x5 pixel area from an image to begin with...

View Article

Array and Vectors

@pxt wrote: Hi! Im using imGui library and one object takes as an argument an array bool b [] but in order to use in a interactive way i need that array to be fized size according a vector. so i need...

View Article


Image may be NSFW.
Clik here to view.

"Recording" a contour obtained with ofxCv

@t.espinoza wrote: hi all, i am having trouble understanding how an idea might look as code. i would be grateful for anyone who can offer input and direction i am using ofxcv to receive the contour of...

View Article

ofBoxPrimitives mode for drawing: centre vs. vertex?

@sgrinschpun wrote: Hi I’m trying to have a bunch of ofBoxPrimitives with the same width and depth but different height. The boxes have a parent-child relationship to share transformations and the...

View Article

Quaternion rotate problem

@pandereto wrote: Hello Im playing with ofxNI2 and trying to apply the quaternion coming from a skeleton joint to a 3d model, but im not able to make the model rotate, i know that the quaternion...

View Article


Image may be NSFW.
Clik here to view.

How can I speed up random circle detection?

@bemoregt wrote: Hi, All. I have made Montecarlo Random Circle Detection code. GitHub bemoregt/ofxRandomCircle Circle detection in image using Random Search using Openframeworks. -...

View Article


grabScreen crash

@Sam_McElhinney_io wrote: I’m trying to use the .grabScreen to save the screen view into an image file for export. Using Openframeworks on Visual Studio 17. I get a crash when the dimensions of the...

View Article

Can I issue command line prompts and read the output with the OF app?

@samuset wrote: I know I can use system() or ofSystem() to issue command line prompts on OSX and Windows, but is there any way to read the output of the command inside the OF app? For instance,...

View Article

Getting line number in error message

@edapx wrote: I am working on an application that has quite a lot of textures. Since a while I am receiving the error: [ error ] ofTexture: getTextureData(): texture has not been allocated that could...

View Article

I want to get all images filepath name in a directory

@bemoregt wrote: Hi, All. I want to get all images filepath name in a directory. and that diretory is got from draginfo of dragEvent. My code is here: void ofApp::dragEvent(ofDragInfo dragInfo){ if(...

View Article


How can i rotate a ofTrueTypeFont?

@lkkd wrote: I’m trying to rotate a truetypefont (string). I’m using ofRotate but the string just disappear here is the code. I’m using OF iOS. ofPushMatrix(); ofRotateZ(45); ofSetColor(255,0,0);...

View Article

How to get ofFbo data without drawing to screen

@khho wrote: I want to blur an image using shader, and then save the resulting image. I started from an example of openframework v0.10.1, that is, shader/09_gaussianBlurFilter. I added an ofPixels...

View Article


Link to OF documentation page based on function name?

@cuinjune wrote: Whenever I want to learn about any OF function or class, I google the name and usually they appear as the first search result. I wonder if it is possible to get the direct link to the...

View Article

Image may be NSFW.
Clik here to view.

How can I make kenburns effect from rect1 to rect2?

@bemoregt wrote: Hi All. I made kenburns effect like animated image magnification. GitHub bemoregt/ofxFaceKenburns Contribute to bemoregt/ofxFaceKenburns development by creating an account on GitHub....

View Article


MSYS2ROOT path issue

@zack1 wrote: can someone help me with this issue : https://github.com/openframeworks/openFrameworks/issues/6333 or can some one guide me through set path directly in openframeworks QT plugin , as i...

View Article

Image may be NSFW.
Clik here to view.

I made Xcode version that using libtorch

@bemoregt wrote: Hi, All. I made Xcode version that using libtorch using cnake command. $ cmake -G Xcode -DCMAKE_PREFIX_PATH=~/libtorch CMakeLists.txt … ScrShot 3.png1072×478 109 KB But I ca’nt add OF...

View Article

Is it possible to force OF app window to maintain focus?

@samuset wrote: I am making an OF app for Windows 10 and I have a problem with another app, working with the OF app, opening a window every so often and stealing focus from the fullscreen OF app. Is...

View Article
Browsing all 4929 articles
Browse latest View live