I tried cmake with -O2 instead of -O3, it's still much slower.
So, how is the rpm version compiled?

On Fri, Feb 18, 2011 at 6:42 PM, GeeKer Wang <[email protected]> wrote:

> I downloaded OpenSceneGraph-2.8.3-3.fc14.src.rpm.
>
> and found this in file "OpenSceneGraph.spec"
>       %cmake -DBUILD_OSG_EXAMPLES=ON -DBUILD_OSG_WRAPPERS=ON
> -DBUILD_DOCUMENTATION=ON ../%{OSGSRCDIR}
>
> Does BUILD_OSG_WRAPPERS matter?
>
> File OpenSceneGraph.spec and OpenSceneGraph-2.8.3.diff
> in OpenSceneGraph-2.8.3-3.fc14.src.rpm are list here.
>
> PS: OSG compiled by myself conflicts with compiz, so that osgviewer shows a
> transparent window. export XLIB_SKIP_ARGB_VISUALS=1 can handle this.
>
> On Fri, Feb 18, 2011 at 1:58 AM, Alberto Luaces <[email protected]> wrote:
>
>> GeeKer writes:
>>
>> > Hi, guys
>> >      I have installed OSG 2.8.3 using '*yum install OpenSceneGraph**'.
>> This
>> > version works well.(osgviewer cow.osg => fps=40)
>> >
>> >      But when I compiled OSG 2.8.3 myself, using  './configure && make',
>> it
>> > run much slower than pre-compiled version. (fps < 20)
>> >      Still, 'bin/osgviewer cow.osg' shows a transparent window. My OS is
>> > fedora GNOME 14.
>> >
>> >      So, what's wrong with that? Any advices will be appreciated!
>>
>> Strange, because ./configure also sets the build type to "Release". You
>> can get the source package from your distribution and see which
>> configuration options they selected at runtime.
>>
>> --
>> Alberto
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
>
> --
> Bob
>



-- 
Bob
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to