Re: [osg-users] [build] How to play Video on Android

2012-11-08 Thread Jordi Torres
Hi Koduri, I managed to show video in Android after a few modifications in the ffmpeg plugin. I was going to send a submission, but somebody sent updates to make possible to run OSG with the latest ffmepg library. So I am waiting this submission to be merged to make the modifications again if

Re: [osg-users] Review of osgQt changes.

2012-11-08 Thread Kristofer Tingdahl
Hi, I have made a number of changes. I am not fully done yet, but I want to use this a a starting point for a discussion. My updated files are found at https://docs.google.com/folder/d/0B_4ZHt6ZZHE9ZTgycmQzcm9fVkk/edit Here is in brief what I have done: 1. I have made a new class

Re: [osg-users] saving camera view state

2012-11-08 Thread Elhanan Ilani
I had the same problem when using getMatrix and setByMatrix with a TerrainManipulator. Using setByMatrix had no effectx. I fixed it by saving the actual center, distance and rotation parameters of the manipulator, then restoring them. -- Read this topic online here:

[osg-users] Need to override (redefine) Billboard::computeMatrix(...)

2012-11-08 Thread Louis Bouchard
Hi, for my project, I need to derive Billboard and override computeMatrix(). However, computeMatrix is not defined as virtual, so my redefined method is never called from within the osg pipeline since billboards, like everything else, are referred to via their normal osg class. am I out of

Re: [osg-users] problem with linear depth in fragment shader

2012-11-08 Thread Peterakos
Not sure if the different levels of depth are distinguishable in first image. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] [vpb] Quesions about LOD in VPB

2012-11-08 Thread David Glenn
Greetings Robert! I've been remerging around the code on VPB and I noticed that there is no way to set the PagedLOD range mode to PIXEL_SIZE_ON_SCREEN and of course do the setRange calculations for that. Is there any reason why or was was not added (sice it's part of PagedLOD) or there just

Re: [osg-users] [build] How to play Video on Android

2012-11-08 Thread Koduri Lakshmi
Hi Jordi Torres, Thank you very much for the great help. When can I expect new release? Now I am using OSG3.0.1. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51020#51020

[osg-users] Oddities when loading a FLT file

2012-11-08 Thread Chris Hanson
I've encountered a strange behavior when loading a client-supplied FLT file and I haven't been able to drill down and find an explanation. I think I know what must be happening, but I can't find any mechanism to explain how. The customer has a TXP database which refers to a FLT model. The FLT

Re: [osg-users] Review of osgQt changes.

2012-11-08 Thread Wang Rui
Hi Kristofer, I can't remember the exact time I wrote the GraphicsWindowQt class, maybe two or three years ago. I designed it along with the OpenThreads for Qt to make OSG's threading and windowing APIs compatible with Qt so that to later migrate to Symbian/Meego... But then iPhone and Android

Re: [osg-users] problem with linear depth in fragment shader

2012-11-08 Thread Wang Rui
Hi Peterakos, Try changing the internal format of the output buffer to float32. I guess it is a precision problem. During the SSAO implementation of effect compositor (in osgRecipes now) I also encountered the problem and using 32 bit float values seems good to me. Wang Rui 2012/11/9 Peterakos