Hi all, I have quary regarding rendering............ I have store facet data in osg::ConvexHull but while rendering it always show *Flat* Rendering even if I set Smooth rendering
this is first time i am sending quary if any body don't understand quary please let me know or if this is not right place to ask quary give me mail id where i can ask quary Thanks all On Wed, Mar 31, 2010 at 12:35 AM, < osg-users-requ...@lists.openscenegraph.org> wrote: > Send osg-users mailing list submissions to > osg-users@lists.openscenegraph.org > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > or, via email, send a message with subject or body 'help' to > osg-users-requ...@lists.openscenegraph.org > > You can reach the person managing the list at > osg-users-ow...@lists.openscenegraph.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of osg-users digest..." > > > Today's Topics: > > 1. Re: VS2010 (Anders Backman) > 2. stereo mode for part of a scene graph? (Cory Riddell) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 30 Mar 2010 20:00:32 +0200 > From: Anders Backman <ande...@cs.umu.se> > To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org> > Subject: Re: [osg-users] VS2010 > Message-ID: > <c7aa08921003301100q4eb770dbgcc10bd8b24422...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > In the generated file: src\OpenThreads\Win32\cmake_install.cmake > > I can see that .lib and .dll get the wrong path (cmake install is looking > at > the wrong place). Header files seems ok: > > > I certainly havent added any '..' in the install path. Its a perfect > absolute path. > > FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE > STATIC_LIBRARY OPTIONAL FILES > > "C:/projects/agx_dependencies/build/x86/osg/lib/RelWithDebInfo/../OpenThreads.lib") > ENDIF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES > "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") > ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL > "libopenthreads-dev") > > IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL > "libopenthreads") > IF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") > FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE > SHARED_LIBRARY FILES > > "C:/projects/agx_dependencies/build/x86/osg/bin/Debug/../../bin/ot11-OpenThreadsd.dll") > ENDIF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") > > > For some reason, .. is added before the .lib and ../../bin is added before > the .dll:s > > In applications/osgviewer/cmake_install.cmake: > > FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE > FILES > "C:/projects/agx_dependencies/build/x86/osg/bin/Release/../osgviewer.exe") > > '..' added there too. > > Arguments to cmake: > > cmake -DCMAKE_INSTALL_PREFIX=C:\projects\agx_dependencies\ -G "Visual > Studio > 10" > > > Has anyone successfully built osg with vs2010? > > /A > > > 2010/3/30 andersb <ande...@cs.umu.se> > > > Never write two things in one email :-) > > > > In my first post, there was output of the error I get. I have looked > around > > on the web but haven't found anything helpful. > > It complains that the openthreads dll file is missing, then some cmake/vs > > jibberish: > > > > > > Problem is really that the path of the dll-files are all wrong... > > The Cmake install scripts are trying to locate them at: > > > > > > > c:/projects/agx_dependencies/build/x86/osg/bin/Release/../../bin/ot11-OpenThreads.dll" > > > > Instead of > > > > > > > c:/projects/agx_dependencies/build/x86/osg/bin/Release/ot11-OpenThreads.dll" > > > > Have to look into that some more, although Im running the same > > cmake-command as with vs2008... > > But with latest CMake (to get vs2010 support)... > > > > Unfortunately I need to build it myself to get x64 libs which I need. > > All libraries have built just fine until osg regarding install. Even > > collada and boost! > > Probably some trivial error. > > Thanks > > > > /A > > > > > > >------ Build started: Project: INSTALL, Configuration: Release Win32 > > ------ > > 3> CMake Error at src/OpenThreads/win32/cmake_install.cmake:50 (FILE): > > 3> file INSTALL cannot find > > 3> > > > > "C:/projects/agx_dependencies/build/x86/osg/bin/Release/../../bin/ot11-OpenThreads.dll". > > 3> Call Stack (most recent call first): > > 3> src/OpenThreads/cmake_install.cmake:36 (INCLUDE) > > 3> src/cmake_install.cmake:32 (INCLUDE) > > 3> cmake_install.cmake:36 (INCLUDE) > > 3> > > 3> > > 3> -- Install configuration: "Release" > > 3> -- Up-to-date: > > C:/projects/agx_dependencies/lib/pkgconfig/openscenegraph.pc > > 3> -- Up-to-date: > > C:/projects/agx_dependencies/lib/pkgconfig/openthreads.pc > > 3> -- Up-to-date: C:/projects/agx_dependencies/lib/OpenThreads.lib > > 3>C:\Program Files > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): > error > > MSB3073: The command ""C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" > > -DBUILD_TYPE=Release -P cmake_install.cmake > > 3>C:\Program Files > > (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): > error > > MSB3073: :VCEnd" exited with code 1. > > ========== Build: 2 succeeded, 1 failed, 77 up-to-date, 0 skipped > > ========== > > > > > > > > On Tue, Mar 30, 2010 at 7:00 PM, Jean-S?bastien Guay < > > jean-sebastien.g...@cm-labs.com> wrote: > > > >> Hi Anders, > >> > >> > >> What about the install of OpenThreads, anyone seen it before? > >>> > >> > >> Nope, I always run the INSTALL target after building (on VS2005 and > VS2008 > >> though) and have never seen that. In my case the file it's trying to > find > >> exists... > >> > >> Were there any errors when building OpenThreads (maybe buried in the > >> output so you didn't see it)? The only reason why it shouldn't be there > is > >> if it wasn't built, and sometimes the INSTALL target runs even if > dependent > >> projects failed to build (which doesn't make sense to me, but that's how > >> CMake does it)... > >> > >> J-S > >> -- > >> ______________________________________________________ > >> Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com > >> http://www.cm-labs.com/ > >> http://whitestar02.webhop.org/ > >> > >> _______________________________________________ > >> osg-users mailing list > >> osg-users@lists.openscenegraph.org > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > > > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20100330/44ca42d5/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Tue, 30 Mar 2010 13:50:55 -0500 > From: Cory Riddell <c...@codeware.com> > To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org> > Subject: [osg-users] stereo mode for part of a scene graph? > Message-ID: <4bb2480f.7060...@codeware.com> > Content-Type: text/plain; charset=ISO-8859-1 > > In my scene graph, I have a static image for the background (a > white-blue gradient). When I turn on stereo mode, I get a red stripe on > the right and a blue stripe on the left side of the window. I thought I > was drawing my background the same way statistics are drawn, but > apparently I'm not (btw, stats draw just fine - no red/blue). > > What controls if something is subject to stereo separation? > > Thanks, > Cory > > > ------------------------------ > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > End of osg-users Digest, Vol 33, Issue 72 > ***************************************** > -- Nitin Rangari Member of Technical Staff(CAD) Centre for Computational Technologies Pvt. Ltd. Mobile: +91-9975453673
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org