GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Aug 24, 2016 5:55 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: image rendering
PostPosted: Mon Nov 19, 2007 3:05 pm 

Joined: Mon Nov 19, 2007 2:53 pm
Posts: 1
I'm trying to get Java3D and compiz working together so that java3d can be rendered without any window. To do this I'm rendering java3d to a (png) image buffer, then transferring the image bytes to GTK+ (in C) via JNI calls and rendering the image with the appropriate transparency support.

I've had some success (you can see a quick video on my blog - blog dot gameldar dot fdns dot net), but have two issues to solve:

1. Its not very smooth in the rendering
2. I have a memory leak somewhere (most likely the PixBuf) that renders my system unusable after about 20 minutes of running the application.

So the question is - what is the best way to perform continuous renders from a series of images (e.g. animation from a series of pngs)? Can I use the GdkPixbufAnimation or reuse my GdkPixbufLoader (the current version creating a new loader with each update)?



Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot] and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group