Quantcast
Channel: openFrameworks - Latest posts
Browsing all 40524 articles
Browse latest View live
↧

ofImage resize is so inefficient,any ideas?

if image size is large,resize is so slow,any ideas?@arturo

View Article


[ error ] ofSerial: writeByte(): serial not inited

/dev/tty.usbmodem1411 does not open in OF?

View Article


ofxNetwork error in console (codeblocks windows)

Hi, arturo and chrisoshea I got a similar error with OF 0.9.0, windows10. [ error ] ofxNetwork: ..¥..¥..¥addons¥ofxNetwork¥src¥ofxUDPManager.cpp: 336 unknown error: 10035 see errno.h for description...

View Article

ofImage resize is so inefficient,any ideas?

If you only want it for rendering, just use OpenGL to scale it. If you need to store it back to RAM you can also render it smaller and then use ofTexture::readToPixels but that might not be that much...

View Article

ofGStreamer problem with Alpha channel

Hello,I am having problems trying to playing back some video files with an alpha using ofGStreamer.The code I wrote works fine using the standard 0.9 ofVideoPlayer (video files playback with alpha...

View Article


ofxNetwork error in console (codeblocks windows)

there's a couple of bugs in ofxNetwork in 0.9. they are fixed already in the nightly builds, can you try if that works for you?

View Article

ofGStreamer problem with Alpha channel

can you post a sample of the video? this was working last time i tested

View Article

[ error ] ofSerial: writeByte(): serial not inited

note that in the code you posted the port you are trying to open is 411 not 1411. the error is also saying just that, port 411 not available and then in the list it shows 1411 as available.

View Article


Bloom using the geometry shader

it's easier to use an image of a circle as a point texture, you just create a mesh with all your points and apply the texture to each in the fragment shader.

View Article


Resetting ofGetElapsedTimeMilles

just store the current time in a variable whenever the cycle starts and compare that to ofGetElapsedTimeMillis every frame instead of getting the absolute value. you can reset that timer but it's not...

View Article

Image may be NSFW.
Clik here to view.

ofImage resize is so inefficient,any ideas?

chuckleplant: much yeah,but i need make big photo small,and do something with it for processing much more fast...

View Article

[ error ] ofSerial: writeByte(): serial not inited

ahh... So stupid mistake.. Thank you for the help!

View Article

OF 0.9.0, can't compile examples on Pi2

I had it at 64, it was at 128 but OF couldn't compile so I set it to 64 which worked for OF but compiling the examples straight after doesn't work.

View Article


ofGStreamer problem with Alpha channel

Hey Arturo!here's a link: https://www.dropbox.com/s/slwjht345403ste/B2.mov?dl=0do you reckon it could be a codec problem ? I started trying to port ofxAVFVideo ... has great performance but annoyingly...

View Article

OF 0.9.0, can't compile examples on Pi2

64 mb seems to be ok. I use OF 0.84 and set minimum 128 mb GPU ram on RPI with NOOBS. I had the same ofAppEGLWindow issues because of my low GPU ram which was 16 mb. There is a complete guide for...

View Article


ofImage resize is so inefficient,any ideas?

one option is that you might try using opencv to resize the image. I know with opencv for example, there are different interpolations that can be faster / slower such as nearest neighbor, linear,...

View Article

ofxNetwork error in console (codeblocks windows)

I've tried latest verson of ofxNetwork from GitHub, and it works!! Thanks!

View Article


Getting the globalPosition of a parent node is crashing the app

Hello, I'm trying to get the gloabl position of a parent node, but the app crashes with the error: Thread 1: EXC_BAD_ACCESS To reproduce the error, is enough to put this code in the setup method: auto...

View Article

Getting the globalPosition of a parent node is crashing the app

you are not setting the parent so getParent() will return nullptr and will crash if you try to dereference it or access any of it's methods

View Article

ofGStreamer problem with Alpha channel

mmh, it's working fine for me with gstreamer, i'm using gstreamer 1.6 but i've tried it before with older versions and it worked too. are you using ofxGstreamer from:...

View Article
Browsing all 40524 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>