Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-06-21 Thread Robert Osfield
Hi Christian, To profile the peformance bottleneck it would be best to press 's' a couple more times to get the full frame rate stats so you can see exactly which parts of rendering are the bottleneck - the frame rate only tells that you frame rate is reducing it doesn't give any clues to why.

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-06-21 Thread Paul Martz
Christian Buchner wrote: The bottleneck here is definitely physics. Frame rates take a dip when lots of coins are interacting. I am hoping for some public CUDA support in the Bullet physics library in the near future. My source inside Bullet development indicates that fully functional public

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-06-21 Thread Christian Buchner
To profile the peformance bottleneck it would be best to press 's' a couple more times to get the full frame rate stats so you can see exactly which parts of rendering are the bottleneck - the frame rate only tells that you frame rate is reducing it doesn't give any clues to why. I am pretty

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-06-20 Thread Christian Buchner
A little youtube video clip showing the progress on my coin pusher arcade prototype with very simple graphics: http://www.youtube.com/watch?v=ubpZUTuO1ecfmt=22 The bottleneck here is definitely physics. Frame rates take a dip when lots of coins are interacting. I am hoping for some public CUDA

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread Kim C Bale
Hi Christian, Out of interest are you simulating a penny push machine? I had the same idea for a hobby project a while back. It's a great idea, although it might be tricky to get the physics working nicely. Unfortunately my ponderings stop there as I never found the time to get on it.

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread Christian Buchner
Out of interest are you simulating a penny push machine? Yes. These sucked the life out of my wallet on my last trip to Shanghai and Hangzhou. Playing with virtual currency would be cheaper. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread Paul Martz
You could take a look at the draw instanced support in OSG, good for drawing lots of things. BRDFs could be used to render a high fidelity coin on just a couple triangles without the flat, wallpaper-like effect of a regular texture map. The first edition orange book included a section on

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread Christian Buchner
You could take a look at the draw instanced support in OSG, good for drawing lots of things. I believe this instancing capability might require Geforce 8 class hardware. I was thinking along the lines of how the osgforest sample replicates thousands of trees from the same billboard drawable.

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread scormier
Hi, I would use osgparticle. You can induce rotations displacement. HTH Sylvain Christian Buchner wrote: You could take a look at the draw instanced support in OSG, good for drawing lots of things. I believe this instancing capability might require Geforce 8 class hardware. I was

Re: [osg-users] Advice sought for rendering coins in OSG. Lots of coins.

2009-05-22 Thread Christian Buchner
Out of interest are you simulating a penny push machine? Here is a first youtube video of my progress so far. http://www.youtube.com/watch?v=74C61A-wzaA This is based on the osgBullet sample code found on the OpenSceneGraph Wiki on Support/Tutorials. A few things to note: - No shiny coins