[osg-users] Loading problem, OpenVR integration

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Thu Nov 3 05:55:09 PDT 2016



Am 11/3/2016 um 12:08 PM schrieb Robert Osfield:
> On 3 November 2016 at 10:19, Sebastian Messerschmidt
> <sebastian.messerschmidt at gmx.de> wrote:
>> I struggled with some instance data not being sent to the GPU (2 gigabytes
>> worth of data textures) resulting in stutter. I ended up using:
>> viewer->getDatabasePager()->setDoPreCompile(true);
>
> This only affects the handling of paged database, it has no effect on
> static databases.
You're right. Forgot to mention, that the instances are paged via PagedLOD.

>
>> Maybe Robert can explain what is happening when using the pre-compiled
>> option is used. It helped with the textures for sure.
>
> I've already gone into enough detail for the topic in hand. The only
> great detail I can provide on pre-compilation is the read the code and
> spell it out line by line.  OR... you could just open up an editor and
> read the code yourself.

It wasn't meant as an offense or a request out of laziness. I simply 
wanted to avoid to spread non-sense. I'm quite comfortable with reading 
code, but that doesn't mean that there is a bigger picture one might miss.

Cheers
Sebastian



>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list