Re: [osg-users] [vpb] Speed of first frame rendering

2012-08-29 Thread Robert Osfield
Hi Boon Wah, On 29 August 2012 03:18, Boon Wah boon...@gmail.com wrote: My terrain database is about 3GB in size, and measures about 3 by 5 pixels just for the textures alone. I have written a single frame renderer based on the OSG Viewer code base. The load time for first

Re: [osg-users] [forum] Site web down

2012-08-29 Thread Jordi Torres
Hi Tom et al, Openscenegraph.org is up again. I will try to closely monitor the state of the server and I apologize for the inconveniences. Regarding that I did make a few pages in the Platform specifics section which i've set to 'Awaiting Review'. If you flag them as ok I'll try set aside

Re: [osg-users] Trouble with LightSpacePerspectiveShadowMap artifacts.

2012-08-29 Thread Wojciech Lewandowski
Hi, Dario 0: Ops I was sure these methods are available Thats awkward ommission considering how old this technique is. We probably should add them. But as a temporal workoaround you can derive your own class from LispSM and add proper setter and getter for polygon offset... 1: Yes closed was

Re: [osg-users] Error while loading OSG model on Android

2012-08-29 Thread Koduri Lakshmi
Hello Jordi Torres, Thank you very much for the help. I added OSG macros and got loaded models. But when I say viewer-frame i am getting only blew screen. I am not able to see model. Here is my code Code: if(mload) { LOG(Init); int x=0; int y=0; int

Re: [osg-users] Error while loading OSG model on Android

2012-08-29 Thread Jordi Torres
Hi Koduri, Maybe you are not getting the correct matrix transformation of your trackable, so try first to get the model shown without any transformation. In the other hand _viewer-frame() has to be called every frame you want to get, not once in your code. Pay attention to the method draw() in

[osg-users] osgText stateset

2012-08-29 Thread Filip Arlet
Hi, I have problem with osgText::Text and stateset, osgText is drawable, why isn't pushed my custom StateSet attached to it to StateSet stack in osg::State when rendering ? Thank you Cheers, Filip -- Read this topic online here:

Re: [osg-users] osgText stateset

2012-08-29 Thread Robert Osfield
HI Filip, osgText::Text assigns it's StateSet from the Font's StateSet that provides the textures required for the text. If you want to provide your own StateSet attach it to the Geode above the Text drawable. Robert. On 29 August 2012 13:37, Filip Arlet fili...@seznam.cz wrote: Hi, I have

[osg-users] Best way of adding more models?

2012-08-29 Thread Akilan Thangamani
Hi I was trying an application which renders some models on android phone using osg. The application requires more number of models to be loaded. As the number of models increases the rendering gets slowed down drastically as expected. The way I do is that under a group node all other nodes

Re: [osg-users] Best way of adding more models?

2012-08-29 Thread Robert Osfield
Hi Akilan, What you will need to do work out what the bottlenecks are then address what you find rather than go looking at solutions before you understand the problem. So have a look at the update, cull and draw dispatch and draw GPU stats as you load more models. There might be certain

Re: [osg-users] Trouble with LightSpacePerspectiveShadowMap artifacts.

2012-08-29 Thread Dario Minieri
Hi Yes, polygonoffset methods are presents in ShadowMap class only, but I use a technique derived from StandardShadowMap which redefines the polygonoffset variables and here we have no methods to set. However, I've tried polygonoffset tweak and the final result is much better even if not

[osg-users] Shadow size dont change when i change model size in vertex shader

2012-08-29 Thread Umid Shahmaliyev
Hi, Hi all. I have some problem with shadow. I have 2 models in scene whith shadow. And when i change model size in vertex shader nothing happens with shadow. Are there any way to do this? ... Thank you! Cheers, Umid -- Read this topic online here: