Hi, loading of obj format is time consuming itself. Better convert to something more native and you will experience very fast loading;
osgconv --compressed-dxt5 mymodel.obj mymodel.osgb On Fri, Jun 18, 2021 at 6:06 PM [email protected] < [email protected]> wrote: > Hi, > > I have an application in which I need to load multiple osg::Node from > file. Then, when the application starts, I preferred to load all models. > > Each model it's an obj file. > > Then, since I have multiple node to load, the application it takes a long > time to starts. > > Then, my first question: is it possible to create a cache of each obj > files? > > I saw that, there is a osgfilecache.cpp file, but I'm not able to > understand why it only creates the root folder (empty) and not the > subfolders for the caches of each model. > > Do you have an example code to help me? > > -- > You received this message because you are subscribed to the Google Groups > "OpenSceneGraph Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/osg-users/18f41b3b-2dfb-497d-af99-03606ec859c2n%40googlegroups.com > <https://groups.google.com/d/msgid/osg-users/18f41b3b-2dfb-497d-af99-03606ec859c2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- trajce nikolov nick -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/CAO-%2BzimtEk-Xf-gKKNtri9v0J25wFHTeJEQqcRJ10KMxqryzww%40mail.gmail.com.
