6 Faces Cube
Hi list,
I made a six faces gl cube using jit.glue to made the 'cross' texture.
this way is too expensive (more than 100% CPU on my MacBook Pro !).
I need to have 27 cubes like that to make a big one (3*3*3).
Would somebody show me a other way to do that...
thank you
fxw
nicely done. From what I understand, textures are always in powers of 2, so using images or movies at 256x256 will help a lot with processing, if the resolution is OK for your application. Not only will there be tons less data to send around, there's no resampling needed.
There are a lot more optimization tricks out there but they are out of my league as of now. Interested to hear what some of the jitter wizards have to say... videoplanes? slabs? I'd love to know more about this...
fxw,
Using srcdim and dstdim is much cheaper than jit.glue. I would also included Vade's GPU-based playback optimizations. Here's the patch without playback optimizations. I'm getting 60fps on my MacBook Pro 2.5GHz (2 gigs RAM).
best,
Zachary
Thanks !
I try that...
Thanks for Vade's GPU-based playback optimizations too...