[solved] Can I use the value sent from Pd as float or bool using ofxPd
@yuma_taesu wrote: Can I use the value sent from Pd as float or bool using ofxPd?Even looking at PdExample, it looks just like displaying it on the console. I'm sorry if I misunderstand Do I have to...
View ArticleofCamera nearClip and farClip both setting to zero?
@cuinjune wrote: Hi, what happens if nearClip and farClip are set to zero? When I set both to zero and move object far away from the camera, I could see the object far enough until it disappeared. But...
View ArticleofCamera - How to get position and orientation of the current view
@cuinjune wrote: Hi, I'm trying to figure out how to make the camera have the same position and orientation as the default view matrix. For example, let's say if I want to draw a bouncing ball on...
View ArticleWhat kind of font does ofDrawBitmapString use?
@AndreasRef wrote: Hey For I project I want to use the build in font from ofDrawBitmapString, but make it bigger. It seems like you cannot change its size, so I was wondering if anybody knows what the...
View ArticleWay to mimic setLensOffset without using ofCamera?
@cuinjune wrote: Is it possible to do the ofCamera::setLensOffset effect without using ofCamera? Or is there any global method for doing this in OF? All I want is simply translating 3d objects...
View ArticleChanging window dimensions affects ofCamera view?
@cuinjune wrote: Hi, I drew a sphere in the center of 640 x 480 sized window and created a camera to see the left side of the sphere like the image below. Screen Shot 2017-03-31 at 12.05.51...
View ArticleUsing #include with open frameworks
@Alex_Waese-Perlman wrote: I am starting to get into open frameworks and I was wondering if instead of using the project generator there was a way to put it in /usr/include and have it accessible from...
View ArticleHow can I use c++11 instead of c++14
@jeraymond wrote: Hello, I'm using open of_v0.9.8_linuxarmv7l and wish to explicitly usec++11 instead of c++14. When I build a project I see it uses c++14 g++ -c -O3 -DNDEBUG -Wall -std=c++14 ... I...
View ArticleUtf-16 characters (ő,ű)
@adamtth wrote: hi. is it possible somehow draw utf-16 characters with ofTrueTypeFont.drawString ? looking for a solution for a couple of days but havent found one yet and all of the plugins didn't...
View ArticleCornell Box ceiling light
@Will_Weeder wrote: Hello everyone, I'd like to know what kind of light would be best suited to implement a Cornell box. And if you have any advice to better visualize the light as I'm modifying it's...
View ArticleChecking for null pointer
@edapx wrote: Hello, I've an error that happens rarely, but when it happens my app crashes.I've a loop like this: for (auto b:branches) { if(b!= nullptr && b->count > 0){ auto newDir =...
View ArticleVideo fade out question
@jlyjn wrote: hello! i’m very new to openFrameworks and have a question using the video keyboard example, i’d like to fade the currently playing video to black on keypress and then play a video. the...
View ArticleTransparent PNG image is not working in 3D world
@Wenzy90 wrote: 屏幕快照 2017-04-03 下午11.34.05.png2272x1682 181 KB i have use ofEnableAlphaBlending();This is the PNG image~ 屏幕快照 2017-04-03 下午11.35.16.png828x820 9.71 KB Posts: 2 Participants: 2 Read...
View ArticleofEasyCam save and restore position/orientation
@gonzzza wrote: Hi! I am creating a video installation and using ofCamera in my 3D scene.I want to pre-record camera positon/orientation and then to restore them by triggering events. The problem is...
View ArticleSaving frames with transparent background?
@Louisa wrote: Hello all, is there a way to save a frame with transparent background? I never managed to do this in Processing, and scared that OpenFrameworks will be as challenging. ofFrameSave()...
View ArticleMouse events on Windows with touch display
@SebastianSobotka wrote: I have a problem with mouse events on Windows with touch display. My class "ofxImgButton" has got mousePressed and mouseReleased events registered. Button changes for example...
View ArticleHelp with Vectors
@jadie_p1 wrote: Hi Guys, I am making a game in OFW and I'm nearly there- I have a collision detection algorithm and also a points system and audio. The game involves using gestures in Wekinator to...
View ArticleDisplaying large images - 1920x1080
@Louisa wrote: Hello, I need to display an image of 1920x1080 size. I can display smaller imager(750x500, 350x350, etc), but the 1920x1080 just print out totally blank. I did it this morning, then...
View ArticleTwo audio devices
@xavi wrote: Hi, I need to use two audio devices. I want to read buffers from one device and write it to the other device. ( device1 is a Blackmagic recorder and device2 is an external audio sound...
View ArticleHow to set border mode for image texture?
@yangyangcv wrote: void ofApp::draw(){ ofSetColor(255); img_.bind(); ofMesh mesh; int vx0 = 0; int vy0 = 0;int vx1 = 500; int vy1 = 500; int tx0 = 0; int ty0 = 0;int tx1 = 500; int ty1 = 500;...
View Article