[osg-users] See images
Pedro José Muñoz Martínez
z_cb_kaiser at hotmail.com
Wed Jan 2 23:37:23 PST 2008
Thanks Brian,
You were rigth. I am using a guide to introduce in OSG, and trying
osg::ref_ptr<osg::Image> image = osgDB::readImageFile("porton.tif");
osg::ref_ptr<osg::Texture2D> tex = new osg::Texture2D;
tex->setImage(image.get());
I can´t see the image. What else I need to see the image?
Thanks in advance
> From: osg-users-request at lists.openscenegraph.org
> Subject: osg-users Digest, Vol 7, Issue 2
> To: osg-users at lists.openscenegraph.org
> Date: Wed, 2 Jan 2008 08:30:55 -0800
>
> Send osg-users mailing list submissions to
> osg-users at 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-request at lists.openscenegraph.org
>
> You can reach the person managing the list at
> osg-users-owner at 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: osgViewer (Michael W. Hall)
> 2. unable to create opengl rendering context (Shuxing Xiao)
> 3. Re: osgViewer (Rafa Gaitan)
> 4. Re: unable to create opengl rendering context (Robert Osfield)
> 5. (no subject) (Pedro Jos? Mu?oz Mart?nez)
> 6. CPU friendly trackball manipulator (Michele Bosi)
> 7. Re: Texturing a Terrain On A Sphere..! (?mit uzun)
> 8. Re: PSSM fix, suggestion and questions (Raymond de Vries)
> 9. Re: (no subject) (Brian)
> 10. Selective lighting in OSG (Pavlos Mavridis)
> 11. Re: (no subject) (Robert Osfield)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 01 Jan 2008 16:45:48 -0600
> From: "Michael W. Hall" <mwhall at hiwaay.net>
> Subject: Re: [osg-users] osgViewer
> To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Message-ID: <1199227548.5436.26.camel at TAZ>
> Content-Type: text/plain; charset=utf-8
>
> Thanks for the info Rafa. I appear to have something working. I my
> KMapView class is derived from QGLWidget and osgViewer::Viewer. The
> application compiled successfully.
>
> To test it I tried to open cube.osg that came with my osg source. It
> appeared to open the file. It was a yellow cube with a symbol that
> looked like a lamda. However, when the file was opened it was showing
> full screen. My question is how do you keep this from happening? Was
> it the file or is there something wrong in my code?
>
> Thanks,
> Michael
>
> On Thu, 2007-12-27 at 08:18 +0100, Rafa Gaitan wrote:
> > Hi Michael,
> >
> > I'm not an expert in QT, but probably you can take a look
> > to osgviewerQT example inside OSG source tree.
> >
> > Rafa.
> >
> > On Dec 27, 2007 4:35 AM, Michael W. Hall <mwhall at hiwaay.net> wrote:
> > I have created a KDevelop project using the Application
> > framework
> > template. I have made my kmapview.cpp class derive from
> > QGLWidget. I
> > created a member variable, m_Viewer in the KMapView class. I
> > have in my
> > constructor for KMapView the following:
> >
> > m_Viewer.getCamera()->setProjectionMatrixAsPerspective(
> > 40., 1., 1., 100. );
> > m_Viewer.getCamera()->setClearColor( osg::Vec4( 0., 0., 0.,
> > 1. ) );
> >
> > However, it doesn't appear that anything is changing. I ran
> > the
> > application after creating the project to see how it looked.
> > With the
> > above changes, it appears that nothing is being effected. The
> > window
> > still looks the same as when I first ran it. I have still
> > have a window
> > with a white background. I have attached a picture of the
> > application
> > running.
> >
> > I was hoping the big white field would have changed to an
> > osgViewer as
> > the window where the white field is. Any ideas as how to
> > replace the
> > white field with an osgViewer? I am a beginner with OSG. I
> > am playing
> > to learn. I have read the OpenSceneGraph Quick Start Quide.
> >
> > Thanks for any help.
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> >
> > --
> > Rafael Gait?n Linares
> > Instituto de Autom?tica e Inform?tica Industrial
> > http://www.ai2.upv.es
> > Ciudad Polit?cnica de la Innovaci?n
> > Universidad Polit?cnica de Valencia
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 2 Jan 2008 10:36:54 +0800
> From: "Shuxing Xiao" <xiaoshuxing at cad.zju.edu.cn>
> Subject: [osg-users] unable to create opengl rendering context
> To: <osg-users at lists.openscenegraph.org>
> Message-ID: <00ad01c84ce8$57a69e00$06f3da00$@zju.edu.cn>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi, all:
>
> First of all,
>
> Happy New Year and Good Luck in 2008.
>
>
>
> Then there's my problem:
>
> I was immigrating from osg 2.0 to osg 2.3 with the new QOSGWidget which is
> derived directly from Qwidget but QGLWidget, and my programming environment
> is Windows 2003 server, visual studio 2005, during the initialization of the
> programming, it crashed.
>
>
>
> Windows Error #2000: [Screen #0] GraphicsWindowWin32::setWindow() - Unable
> to create OpenGL rendering context. Reason: The pixel format is invalid.
>
>
>
> I tracked down, and I found that the creation of graphics context failed,
> and the stack is like following:
>
>
>
> if (s_WindowingSystemInterface.valid())
>
> return s_WindowingSystemInterface->createGraphicsContext(traits);
>
>
>
> in
>
>
>
> osg::ref_ptr<osg::GraphicsContext> gc =
> osg::GraphicsContext::createGraphicsContext(traits.get());
>
>
>
> and I checked that my s_WindowingSystemInterface is surely
> Win32WindowingSystem , but the GraphicsWindowWin32::setWindow( HWND handle )
> and the osg::GraphicsContext* createGraphicsContext(
> osg::GraphicsContext::Traits* traits ) is never called(the breakpoints
> didn't caught them).
>
>
>
> I don't know why this happens, hope someone can give me some hint.
>
> I want gain some performance by immigrating to the new QOSGWidget, but this
> problem stuck me for really a long time.
>
>
>
>
>
> Shuxing Xiao
>
> 2008-1-1
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/d6e051f3/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Wed, 2 Jan 2008 08:53:20 +0100
> From: "Rafa Gaitan" <rafa.gaitan at gmail.com>
> Subject: Re: [osg-users] osgViewer
> To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> Message-ID:
> <6f1464270801012353w443a4808n51611dc7c24a4d65 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Michael,
>
> mmh I don't know, I successfully created a Viewer in Java, so, probably you
> are missingsomething...Have you called to setUpViewerAsEmbedded method?..
> .You should have
> all you need in the viewer examples of the OSG source tree.
>
> Rafa.
>
> On Jan 1, 2008 11:45 PM, Michael W. Hall <mwhall at hiwaay.net> wrote:
>
> > Thanks for the info Rafa. I appear to have something working. I my
> > KMapView class is derived from QGLWidget and osgViewer::Viewer. The
> > application compiled successfully.
> >
> > To test it I tried to open cube.osg that came with my osg source. It
> > appeared to open the file. It was a yellow cube with a symbol that
> > looked like a lamda. However, when the file was opened it was showing
> > full screen. My question is how do you keep this from happening? Was
> > it the file or is there something wrong in my code?
> >
> > Thanks,
> > Michael
> >
> > On Thu, 2007-12-27 at 08:18 +0100, Rafa Gaitan wrote:
> > > Hi Michael,
> > >
> > > I'm not an expert in QT, but probably you can take a look
> > > to osgviewerQT example inside OSG source tree.
> > >
> > > Rafa.
> > >
> > > On Dec 27, 2007 4:35 AM, Michael W. Hall <mwhall at hiwaay.net> wrote:
> > > I have created a KDevelop project using the Application
> > > framework
> > > template. I have made my kmapview.cpp class derive from
> > > QGLWidget. I
> > > created a member variable, m_Viewer in the KMapView class. I
> > > have in my
> > > constructor for KMapView the following:
> > >
> > > m_Viewer.getCamera()->setProjectionMatrixAsPerspective(
> > > 40., 1., 1., 100. );
> > > m_Viewer.getCamera()->setClearColor( osg::Vec4( 0., 0., 0.,
> > > 1. ) );
> > >
> > > However, it doesn't appear that anything is changing. I ran
> > > the
> > > application after creating the project to see how it looked.
> > > With the
> > > above changes, it appears that nothing is being effected. The
> > > window
> > > still looks the same as when I first ran it. I have still
> > > have a window
> > > with a white background. I have attached a picture of the
> > > application
> > > running.
> > >
> > > I was hoping the big white field would have changed to an
> > > osgViewer as
> > > the window where the white field is. Any ideas as how to
> > > replace the
> > > white field with an osgViewer? I am a beginner with OSG. I
> > > am playing
> > > to learn. I have read the OpenSceneGraph Quick Start Quide.
> > >
> > > Thanks for any help.
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > >
> > > --
> > > Rafael Gait?n Linares
> > > Instituto de Autom?tica e Inform?tica Industrial
> > > http://www.ai2.upv.es
> > > Ciudad Polit?cnica de la Innovaci?n
> > > Universidad Polit?cnica de Valencia
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
>
> --
> Rafael Gait?n Linares
> Instituto de Autom?tica e Inform?tica Industrial http://www.ai2.upv.es
> Ciudad Polit?cnica de la Innovaci?n
> Universidad Polit?cnica de Valencia
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/4c603ce6/attachment.html
>
> ------------------------------
>
> Message: 4
> Date: Wed, 2 Jan 2008 10:14:25 +0000
> From: "Robert Osfield" <robert.osfield at gmail.com>
> Subject: Re: [osg-users] unable to create opengl rendering context
> To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> Message-ID:
> <7ffb8e9b0801020214g7f6a3866kaef6713b5e2ee8e4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Shuxing,
>
> Problems with getting a graphics context will need investigating
> further. I only have Linux boxes here to test against so can't
> directly help. FYI, Under the linux exactly the same high level code
> path is used, and the underlying mechanisms in osgViewer for getting
> the graphics context are the same - its only the windowing specific
> implementation that differers. As a test could you try running on
> another OS, such as Linux to see how you get on.
>
> Robert.
>
> On Jan 2, 2008 2:36 AM, Shuxing Xiao <xiaoshuxing at cad.zju.edu.cn> wrote:
> >
> >
> >
> >
> > Hi, all:
> >
> > First of all,
> >
> > Happy New Year and Good Luck in 2008.
> >
> >
> >
> > Then there's my problem:
> >
> > I was immigrating from osg 2.0 to osg 2.3 with the new QOSGWidget which is
> > derived directly from Qwidget but QGLWidget, and my programming environment
> > is Windows 2003 server, visual studio 2005, during the initialization of the
> > programming, it crashed.
> >
> >
> >
> > Windows Error #2000: [Screen #0] GraphicsWindowWin32::setWindow() - Unable
> > to create OpenGL rendering context. Reason: The pixel format is invalid.
> >
> >
> >
> > I tracked down, and I found that the creation of graphics context failed,
> > and the stack is like following:
> >
> >
> >
> > if (s_WindowingSystemInterface.valid())
> >
> > return s_WindowingSystemInterface->createGraphicsContext(traits);
> >
> >
> >
> > in
> >
> >
> >
> > osg::ref_ptr<osg::GraphicsContext> gc =
> > osg::GraphicsContext::createGraphicsContext(traits.get());
> >
> >
> >
> > and I checked that my s_WindowingSystemInterface is surely
> > Win32WindowingSystem , but the GraphicsWindowWin32::setWindow( HWND handle )
> > and the osg::GraphicsContext* createGraphicsContext(
> > osg::GraphicsContext::Traits* traits ) is never called(the breakpoints
> > didn't caught them).
> >
> >
> >
> > I don't know why this happens, hope someone can give me some hint.
> >
> > I want gain some performance by immigrating to the new QOSGWidget, but this
> > problem stuck me for really a long time.
> >
> >
> >
> >
> >
> > Shuxing Xiao
> >
> > 2008-1-1
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 2 Jan 2008 15:06:31 +0100
> From: Pedro Jos? Mu?oz Mart?nez <z_cb_kaiser at hotmail.com>
> Subject: [osg-users] (no subject)
> To: <osg-users at lists.openscenegraph.org>
> Message-ID: <BAY117-W3433E3F40205557CA77504B3520 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hello all,
> I am trying to load Images in my application and it compiles ok but when linking it appears the following errors:
>
> Creating library ../bin/ExerciseImpl.lib and object ../bin/ExerciseImpl.exp
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::compileGLObjects(class osg::State &)const " (__imp_?compileGLObjects at Texture@osg@@UBEXAAVState at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall osg::Texture2D::computeInternalFormat(void)const " (__imp_?computeInternalFormat at Texture2D@osg@@MBEXXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall osg::Texture2D::allocateMipmap(class osg::State &)const " (__imp_?allocateMipmap at Texture2D@osg@@MBEXAAVState at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureDepth(void)const " (__imp_?getTextureDepth at Texture2D@osg@@UBEHXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureHeight(void)const " (__imp_?getTextureHeight at Texture2D@osg@@UBEHXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Object::computeDataVariance(void)" (__imp_?computeDataVariance at Object@osg@@UAEXXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureWidth(void)const " (__imp_?getTextureWidth at Texture2D@osg@@UBEHXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::Texture2D::getNumImages(void)const " (__imp_?getNumImages at Texture2D@osg@@UBEIXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Image const * __thiscall osg::Texture2D::getImage(unsigned int)const " (__imp_?getImage at Texture2D@osg@@UBEPBVImage at 2@I at Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Image * __thiscall osg::Texture2D::getImage(unsigned int)" (__imp_?getImage at Texture2D@osg@@UAEPAVImage at 2@I at Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture2D::setImage(unsigned int,class osg::Image *)" (__imp_?setImage at Texture2D@osg@@UAEXIPAVImage at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::Texture2D::getTextureTarget(void)const " (__imp_?getTextureTarget at Texture2D@osg@@UBEIXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual enum osg::StateAttribute::Type __thiscall osg::Texture2D::getType(void)const " (__imp_?getType at Texture2D@osg@@UBE?AW4Type at StateAttribute@2 at XZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osg::Texture2D::className(void)const " (__imp_?className at Texture2D@osg@@UBEPBDXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osg::Texture2D::libraryName(void)const " (__imp_?libraryName at Texture2D@osg@@UBEPBDXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture2D::isSameKindAs(class osg::Object const *)const " (__imp_?isSameKindAs at Texture2D@osg@@UBE_NPBVObject at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osg::Texture2D::clone(class osg::CopyOp const &)const " (__imp_?clone at Texture2D@osg@@UBEPAVObject at 2@ABVCopyOp at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class osg::Image * __cdecl osgDB::readImageFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osgDB::ReaderWriter::Options const *)" (__imp_?readImageFile at osgDB@@YAPAVImage at osg@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PBVOptions at ReaderWriter@1@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osg::Texture2D::cloneType(void)const " (__imp_?cloneType at Texture2D@osg@@UBEPAVObject at 2@XZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::StateAttribute::checkValidityOfAssociatedModes(class osg::State &)const " (__imp_?checkValidityOfAssociatedModes at StateAttribute@osg@@UBE_NAAVState at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osgDB::ReaderWriter::Options * __thiscall osgDB::Registry::getOptions(void)" (__imp_?getOptions at Registry@osgDB@@QAEPAVOptions at ReaderWriter@2 at XZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture::getModeUsage(struct osg::StateAttribute::ModeUsage &)const " (__imp_?getModeUsage at Texture@osg@@UBE_NAAUModeUsage at StateAttribute@2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall osg::Texture2D::Texture2D(void)" (__imp_??0Texture2D at osg@@QAE at XZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture::isTextureAttribute(void)const " (__imp_?isTextureAttribute at Texture@osg@@UBE_NXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::StateAttribute::getMember(void)const " (__imp_?getMember at StateAttribute@osg@@UBEIXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::resizeGLObjectBuffers(unsigned int)" (__imp_?resizeGLObjectBuffers at Texture@osg@@UAEXI at Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::releaseGLObjects(class osg::State *)const " (__imp_?releaseGLObjects at Texture@osg@@UBEXPAVState at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Referenced::unref(void)const " (__imp_?unref at Referenced@osg@@QBEXXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Texture2D::setImage(class osg::Image *)" (__imp_?setImage at Texture2D@osg@@QAEXPAVImage at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class osgDB::Registry * __cdecl osgDB::Registry::instance(bool)" (__imp_?instance at Registry@osgDB@@SAPAV12 at _N@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::compare(class osg::StateAttribute const &)const " (__imp_?compare at Texture2D@osg@@UBEHABVStateAttribute at 2@@Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Referenced::ref(void)const " (__imp_?ref at Referenced@osg@@QBEXXZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall osg::Texture2D::~Texture2D(void)" (__imp_??1Texture2D at osg@@MAE at XZ)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Referenced::setThreadSafeRefUnref(bool)" (__imp_?setThreadSafeRefUnref at Referenced@osg@@UAEX_N at Z)
> 1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture2D::apply(class osg::State &)const " (__imp_?apply at Texture2D@osg@@UBEXAAVState at 2@@Z)
> 1>../bin/ExerciseImpl.dll : fatal error LNK1120: 35 unresolved externals
>
>
> And I don?t know how can I fix this. I wonder if you could help me. Thanks in advance.
>
>
>
> _________________________________________________________________
> MSN Video.
> http://video.msn.com/?mkt=es-es
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/4ad8972a/attachment.htm
>
> ------------------------------
>
> Message: 6
> Date: Wed, 2 Jan 2008 06:58:38 -0800
> From: "Michele Bosi" <michele.bosi at gmail.com>
> Subject: [osg-users] CPU friendly trackball manipulator
> To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> Message-ID:
> <6d348da50801020658k58414571q2a7c29b99dbc26c9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
> I have a static scene that my program visualizes using a trackball
> manipulator. I would like to update the rendering only when the camera
> moves, that is the user moves it with the mouse or the camera is
> spinning around. I am using a Qt wrapper so I know how to stop the
> refresh by simply stopping the QTimer in there, and I also know how to
> update upon user interaction since Qt gives very nice messages, what I
> don't know is: how can I know if the trackball manipulator is making
> my camera spinning around or not?
> Maybe osgGA::TrackballManipulator::getRotation() encodes in some way
> the rotation velocity? or it's just the current rotation of the
> camera?
>
> Thanks,
> Michele
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 2 Jan 2008 17:29:27 +0200
> From: ?mit uzun <cush_umit at hotmail.com>
> Subject: Re: [osg-users] Texturing a Terrain On A Sphere..!
> To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Message-ID: <BLU128-W3632C5B102503EE7A2063098520 at phx.gbl>
> Content-Type: text/plain; charset="windows-1254"
>
>
>
> Hi Robert;
>
> I have tif formatted images some part of the world! And at the beginning, I build them with VPB and so I created a sample terrain(XXX.osga) with VirtulaTerrainBuillder.
> And now I only want to know how can I texture this part of world terrain to the Sphere surface which position is orijinal for this part of terrain's coordinate.
>
> For example; I produce a terrain where belong Arizona! And I texture this part of terrain on its real coordinate like on the earth! Actually not texture this to all sphere surface! Is there any sample about this topic?
>
> Not : Sorry for my poor English writing:)
>
> Thanks Robert;
>
> ?mit UZUN
>
> > Date: Mon, 31 Dec 2007 17:39:03 +0000
> > From: robert.osfield at gmail.com
> > To: osg-users at lists.openscenegraph.org
> > Subject: Re: [osg-users] Texturing a Terrain On A Sphere..!
> >
> > Hi ?mit,
> >
> > You really need to be more specific about what you are trying to do,
> > and what type of data you are trying to use. Are you trying to do the
> > database building yourself? Using VirtualPlanetBuilder??
> >
> > Robert.
> >
> > On Dec 28, 2007 7:44 PM, ?mit uzun <cush_umit at hotmail.com> wrote:
> > >
> > > Hi mew;
> > >
> > > Sorry for giving wrong link! the real link is http://www.palomino3d.org/pal/openscenegraph/ and I make a terrain "Converting GIS Satellite Images for OSG" with VTP (Virtual Terrain Project) using osgdem command! I have a *.osga formatted terrain!
> > > I look at the osgtoy but it can not help me texturing the terrain on sphere!
> > >
> > > ?mit UZUN
> > > ----------------------------------------
> > > > Date: Fri, 28 Dec 2007 11:10:26 -0600
> > > > From: mweiblen at zebraimaging.com
> > > > To: osg-users at lists.openscenegraph.org
> > > > Subject: Re: [osg-users] Texturing a Terrain On A Sphere..!
> > >
> > > >
> > > >
> > > >
> > > >> -----Original Message-----
> > > >> From: osg-users-bounces at lists.openscenegraph.org [mailto:osg-users-
> > > >> bounces at lists.openscenegraph.org] On Behalf Of ?mit uzun
> > > >> Sent: Friday, December 28, 2007 8:09 AM
> > > >> To: OSG OSG
> > > >> Subject: [osg-users] Texturing a Terrain On A Sphere..!
> > > >>
> > > >> Hi All;
> > > >>
> > > >> I have a terrain which has a Cordinate System like in
> > > >> http://www.palomino3d.org/opnescenegraph And I want to texture map this
> > > >> terrain on the sphere (like earth) ! How can I do this work on my earth
> > > >> figure! Could anybody show me how to this please..! Or rotate me to
> > > >> right example like this!
> > > >
> > > > That link doesn't work, so unclear of your goal, but here's one way to put a texture a sphere
> > > >
> > > > http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/osgtoy/trunk/src/osgPlugins/globe/
> > > >
> > > > -- mew
> > > >
> > > > _______________________________________________
> > > > osg-users mailing list
> > > > osg-users at lists.openscenegraph.org
> > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > > _________________________________________________________________
> > > Yeni nesil Windows Live Servisleri'ne ?imdi ula??n!
> > > http://get.live.com
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > osg-users at lists.openscenegraph.org
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _________________________________________________________________
> Yeni nesil Windows Live Servisleri?ne ?imdi ula??n!
> http://get.live.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/817cf109/attachment.html
>
> ------------------------------
>
> Message: 8
> Date: Wed, 02 Jan 2008 17:07:48 +0100
> From: Raymond de Vries <reedev at xs4all.nl>
> Subject: Re: [osg-users] PSSM fix, suggestion and questions
> To: 3dhelp at gmail.com, Jean-S?bastien Guay
> <jean-sebastien.guay at polymtl.ca>
> Cc: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Message-ID: <477BB6D4.9030300 at xs4all.nl>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Adrian,
>
> In a follow-up to my PSSM experience, I have adapted the osgshadow.cpp
> example so that the effect can be seen with simple shapes as well. I
> suspect that it is a math issue since the light direction and view
> direction are +/- orthogonal. But I don't know how to fix this (yet).
> Also, I think it's not the shadow texture generation itself since
> texture boundaries are not shown.
>
> Please find my patches to the ParallelSplitShadowMap files and the
> stripped osgshadow example (there is no need for command line options or
> so, and I hardcoded it for nvidia) attached to this e-mail. Hopefully
> you know the solution to this issue.
>
> btw this issue is present in 2.2.0 and svn.
>
> bye
> Raymond
>
>
>
> Raymond de Vries wrote:
> > Hi,
> >
> > I am using PSSM and are trying to find proper values. I am using osg
> > 2.2.0 on Windows XP (the PSSM svn version does not show any relevant
> > changes), on an nvidia card.
> >
> > First of all, I have fixed a small issue which prevented the use of
> > dirty(), see the attached ParallelSplitShadowMap.cpp.diff.
> > Furthermore, I would to suggest some small changes so that flags can
> > be toggled, instead of only be set. See ParallelSplitShadowMap.diff
> >
> > Also, I see an error. I am not sure what is causing this so I would
> > like to ask your advice. It seems to me that the split frustums are
> > not always calculated properly. As you can see in the attached images
> > it seems to me that the split frustums are not always adjacent to
> > eachother, when the view is rotated in a certain way.
> >
> > Some values about the size of the world:
> > calculateFrustumCorners() zShadow0 0.161428
> > calculateLightNearFarFormFrustum(), zShadow0 near 2 far 47.147
> > calculateFrustumCorners() zShadow1 0.510139
> > calculateLightNearFarFormFrustum(), zShadow1 near 2 far 91.0805
> > calculateFrustumCorners() zShadow2 1
> > calculateLightNearFarFormFrustum(), zShadow2 near 2.00001 far 152.797
> >
> > I am new to PSSM so I am might still miss some things...
> >
> > Thanks a lot already!
> > Raymond
> >
> >
> > btw changing the number of splits changes things but does not solve them
> > btw both linear and non linear mode expose this behaviour
> >
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: PSSM_bug_report-20080101.rar
> Type: application/octet-stream
> Size: 3439 bytes
> Desc: not available
> Url : http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/07b2b94c/attachment-0001.obj
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: PSSM_error.jpg
> Type: image/jpeg
> Size: 10865 bytes
> Desc: not available
> Url : http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080102/07b2b94c/attachment-0001.jpg
>
> ------------------------------
>
> Message: 9
> Date: Wed, 02 Jan 2008 10:36:58 -0500
> From: Brian <bpdavis at knology.net>
> Subject: Re: [osg-users] (no subject)
> To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Message-ID: <7418.1199288218 at knology.net>
> Content-Type: text/plain; charset="us-ascii"
>
>
> Hi Pedro,
>
> Looks like you need to specify the osg libraries that you want to link against (osg.lib, osgdb.lib, etc. for release and osgd.lib, osgdbd.lib, etc. for debug) It looks as though all you need for your current example is osgd.lib and/or osg.lib, but I didn't do a thorough examination of your error messages. If you are specifying the correct libraries, check to make sure that your library path for OSG is correct.
>
> Brian
>
>
> On Wed Jan 2 9:06 , Pedro José Muñoz MartÃnez <z_cb_kaiser at hotmail.com> sent:
>
> >
> >
> >
> >
> >
> >Hello all,
> >I am trying to load Images in my application and it compiles ok but when linking it appears the following errors:
> >
> >Â Creating library ../bin/ExerciseImpl.lib and object ../bin/ExerciseImpl.exp
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::compileGLObjects(class osg::State &)const " (__imp_?compileGLObjects at Texture@osg@@UBEXAAVState at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall osg::Texture2D::computeInternalFormat(void)const " (__imp_?computeInternalFormat at Texture2D@osg@@MBEXXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual void __thiscall osg::Texture2D::allocateMipmap(class osg::State &)const " (__imp_?allocateMipmap at Texture2D@osg@@MBEXAAVState at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureDepth(void)const " (__imp_?getTextureDepth at Texture2D@osg@@UBEHXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureHeight(void)const " (__imp_?getTextureHeight at Texture2D@osg@@UBEHXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Object::computeDataVariance(void)" (__imp_?computeDataVariance at Object@osg@@UAEXXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::getTextureWidth(void)const " (__imp_?getTextureWidth at Texture2D@osg@@UBEHXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::Texture2D::getNumImages(void)const " (__imp_?getNumImages at Texture2D@osg@@UBEIXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Image const * __thiscall osg::Texture2D::getImage(unsigned int)const " (__imp_?getImage at Texture2D@osg@@UBEPBVImage at 2@I at Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Image * __thiscall osg::Texture2D::getImage(unsigned int)" (__imp_?getImage at Texture2D@osg@@UAEPAVImage at 2@I at Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture2D::setImage(unsigned int,class osg::Image *)" (__imp_?setImage at Texture2D@osg@@UAEXIPAVImage at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::Texture2D::getTextureTarget(void)const " (__imp_?getTextureTarget at Texture2D@osg@@UBEIXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual enum osg::StateAttribute::Type __thiscall osg::Texture2D::getType(void)const " (__imp_?getType at Texture2D@osg@@UBE?AW4Type at StateAttribute@2 at XZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osg::Texture2D::className(void)const " (__imp_?className at Texture2D@osg@@UBEPBDXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual char const * __thiscall osg::Texture2D::libraryName(void)const " (__imp_?libraryName at Texture2D@osg@@UBEPBDXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture2D::isSameKindAs(class osg::Object const *)const " (__imp_?isSameKindAs at Texture2D@osg@@UBE_NPBVObject at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osg::Texture2D::clone(class osg::CopyOp const &)const " (__imp_?clone at Texture2D@osg@@UBEPAVObject at 2@ABVCopyOp at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class osg::Image * __cdecl osgDB::readImageFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osgDB::ReaderWriter::Options const *)" (__imp_?readImageFile at osgDB@@YAPAVImage at osg@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PBVOptions at ReaderWriter@1@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class osg::Object * __thiscall osg::Texture2D::cloneType(void)const " (__imp_?cloneType at Texture2D@osg@@UBEPAVObject at 2@XZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::StateAttribute::checkValidityOfAssociatedModes(class osg::State &)const " (__imp_?checkValidityOfAssociatedModes at StateAttribute@osg@@UBE_NAAVState at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class osgDB::ReaderWriter::Options * __thiscall osgDB::Registry::getOptions(void)" (__imp_?getOptions at Registry@osgDB@@QAEPAVOptions at ReaderWriter@2 at XZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture::getModeUsage(struct osg::StateAttribute::ModeUsage &)const " (__imp_?getModeUsage at Texture@osg@@UBE_NAAUModeUsage at StateAttribute@2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall osg::Texture2D::Texture2D(void)" (__imp_??0Texture2D at osg@@QAE at XZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall osg::Texture::isTextureAttribute(void)const " (__imp_?isTextureAttribute at Texture@osg@@UBE_NXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual unsigned int __thiscall osg::StateAttribute::getMember(void)const " (__imp_?getMember at StateAttribute@osg@@UBEIXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::resizeGLObjectBuffers(unsigned int)" (__imp_?resizeGLObjectBuffers at Texture@osg@@UAEXI at Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture::releaseGLObjects(class osg::State *)const " (__imp_?releaseGLObjects at Texture@osg@@UBEXPAVState at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Referenced::unref(void)const " (__imp_?unref at Referenced@osg@@QBEXXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Texture2D::setImage(class osg::Image *)" (__imp_?setImage at Texture2D@osg@@QAEXPAVImage at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class osgDB::Registry * __cdecl osgDB::Registry::instance(bool)" (__imp_?instance at Registry@osgDB@@SAPAV12 at _N@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osg::Texture2D::compare(class osg::StateAttribute const &)const " (__imp_?compare at Texture2D@osg@@UBEHABVStateAttribute at 2@@Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall osg::Referenced::ref(void)const " (__imp_?ref at Referenced@osg@@QBEXXZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall osg::Texture2D::~Texture2D(void)" (__imp_??1Texture2D at osg@@MAE at XZ)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Referenced::setThreadSafeRefUnref(bool)" (__imp_?setThreadSafeRefUnref at Referenced@osg@@UAEX_N at Z)
> >1>prueba.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osg::Texture2D::apply(class osg::State &)const " (__imp_?apply at Texture2D@osg@@UBEXAAVState at 2@@Z)
> >1>../bin/ExerciseImpl.dll : fatal error LNK1120: 35 unresolved externals
> >
> >
> >And I don´t know how can I fix this. I wonder if you could help me. Thanks in advance.
> >
> >
> >Todo ruedas: información práctica y todo el glamour del mundo del motor. MSN Estilo y Tendencias
> >
>
>
> ------------------------------
>
> Message: 10
> Date: Wed, 02 Jan 2008 18:13:47 +0200
> From: Pavlos Mavridis <pavlos at fhw.gr>
> Subject: [osg-users] Selective lighting in OSG
> To: osg-users at lists.openscenegraph.org
> Message-ID: <477BB83B.7040801 at fhw.gr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Selective lighting in OSG
>
> Hello everyone,
> what is the best way to define a light that affects not the entire
> scenegraph, but only a part of it?
>
> For example I have a scene with many objects. Each one of them is lit by
> one light that is
> different from one object to another. So the number of lights can be
> greater than GL_MAX_LIGHTS,
> but since each object is lit only by one light, using opengl we could
> render the entire scene using
> only one hardware light (lets say GL_LIGHT0), by resetting its
> parameters per object.
>
> In the general case we can have more than one light per object and the
> lights can be
> turned on and off per frame. So, what is the best way to do this in OSG?
>
> I've tried passing the stateset of the sub-tree I want to light on a
> lighsource node using:
> lightsource->setStateSetModes(stateset,osg::StateAttribute::ON);
> but it doesn't work as expected.
>
> Also I've tried changing the stateset of the sub-tree I want to light
> directly,
> without using any lighsource nodes:
> stateset->setAttributeAndModes(light, osg::StateAttribute::ON);
> stateset->setMode( GL_LIGHT0 + num, osg::StateAttribute::ON );
> to enable a light and
> stateset->setAttributeAndModes(light, osg::StateAttribute::OFF);
> to remove it.
>
> The last method seems to work when the number of lights is constant per
> frame,
> but it brakes when I try to dynamically turn on and off lights per
> frame. (perhaps
> because I have to manually enable/disable the corresponding opengl lights?)
>
> So, what is the best way to do this in OSG?
>
> Thanks in advance
>
> Pavlos Mavridis
>
>
>
>
> ------------------------------
>
> Message: 11
> Date: Wed, 2 Jan 2008 16:30:53 +0000
> From: "Robert Osfield" <robert.osfield at gmail.com>
> Subject: Re: [osg-users] (no subject)
> To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
> Message-ID:
> <7ffb8e9b0801020830q427de3e2u95265b0e92f607d3 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Pedro,
>
> Have you added the core osg libraries to you link line? Are the osg
> libraries built OK and on your paths?
>
> Robert.
>
> On Jan 2, 2008 2:06 PM, Pedro Jos? Mu?oz Mart?nez
> <z_cb_kaiser at hotmail.com> wrote:
> >
> > Hello all,
> > I am trying to load Images in my application and it compiles ok but when
> > linking it appears the following errors:
> >
> > Creating library ../bin/ExerciseImpl.lib and object
> > ../bin/ExerciseImpl.exp
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Texture::compileGLObjects(class osg::State &)const "
> > (__imp_?compileGLObjects at Texture@osg@@UBEXAAVState at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual void __thiscall
> > osg::Texture2D::computeInternalFormat(void)const "
> > (__imp_?computeInternalFormat at Texture2D@osg@@MBEXXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual void __thiscall
> > osg::Texture2D::allocateMipmap(class osg::State &)const "
> > (__imp_?allocateMipmap at Texture2D@osg@@MBEXAAVState at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > osg::Texture2D::getTextureDepth(void)const "
> > (__imp_?getTextureDepth at Texture2D@osg@@UBEHXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > osg::Texture2D::getTextureHeight(void)const "
> > (__imp_?getTextureHeight at Texture2D@osg@@UBEHXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Object::computeDataVariance(void)"
> > (__imp_?computeDataVariance at Object@osg@@UAEXXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > osg::Texture2D::getTextureWidth(void)const "
> > (__imp_?getTextureWidth at Texture2D@osg@@UBEHXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual unsigned int __thiscall
> > osg::Texture2D::getNumImages(void)const "
> > (__imp_?getNumImages at Texture2D@osg@@UBEIXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual class osg::Image const * __thiscall
> > osg::Texture2D::getImage(unsigned int)const "
> > (__imp_?getImage at Texture2D@osg@@UBEPBVImage at 2@I at Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual class osg::Image * __thiscall
> > osg::Texture2D::getImage(unsigned int)"
> > (__imp_?getImage at Texture2D@osg@@UAEPAVImage at 2@I at Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Texture2D::setImage(unsigned int,class osg::Image *)"
> > (__imp_?setImage at Texture2D@osg@@UAEXIPAVImage at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual unsigned int __thiscall
> > osg::Texture2D::getTextureTarget(void)const "
> > (__imp_?getTextureTarget at Texture2D@osg@@UBEIXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual enum osg::StateAttribute::Type
> > __thiscall osg::Texture2D::getType(void)const "
> > (__imp_?getType at Texture2D@osg@@UBE?AW4Type at StateAttribute@2 at XZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual char const * __thiscall
> > osg::Texture2D::className(void)const "
> > (__imp_?className at Texture2D@osg@@UBEPBDXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual char const * __thiscall
> > osg::Texture2D::libraryName(void)const "
> > (__imp_?libraryName at Texture2D@osg@@UBEPBDXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual bool __thiscall
> > osg::Texture2D::isSameKindAs(class osg::Object const *)const "
> > (__imp_?isSameKindAs at Texture2D@osg@@UBE_NPBVObject at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual class osg::Object * __thiscall
> > osg::Texture2D::clone(class osg::CopyOp const &)const "
> > (__imp_?clone at Texture2D@osg@@UBEPAVObject at 2@ABVCopyOp at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) class osg::Image * __cdecl osgDB::readImageFile(class
> > std::basic_string<char,struct std::char_traits<char>,class
> > std::allocator<char> > const &,class osgDB::ReaderWriter::Options const *)"
> > (__imp_?readImageFile at osgDB@@YAPAVImage at osg@@ABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@PBVOptions at ReaderWriter@1@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual class osg::Object * __thiscall
> > osg::Texture2D::cloneType(void)const "
> > (__imp_?cloneType at Texture2D@osg@@UBEPAVObject at 2@XZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual bool __thiscall
> > osg::StateAttribute::checkValidityOfAssociatedModes(class osg::State &)const
> > "
> > (__imp_?checkValidityOfAssociatedModes at StateAttribute@osg@@UBE_NAAVState at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: class osgDB::ReaderWriter::Options *
> > __thiscall osgDB::Registry::getOptions(void)"
> > (__imp_?getOptions at Registry@osgDB@@QAEPAVOptions at ReaderWriter@2 at XZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual bool __thiscall
> > osg::Texture::getModeUsage(struct osg::StateAttribute::ModeUsage &)const "
> > (__imp_?getModeUsage at Texture@osg@@UBE_NAAUModeUsage at StateAttribute@2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: __thiscall osg::Texture2D::Texture2D(void)"
> > (__imp_??0Texture2D at osg@@QAE at XZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual bool __thiscall
> > osg::Texture::isTextureAttribute(void)const "
> > (__imp_?isTextureAttribute at Texture@osg@@UBE_NXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual unsigned int __thiscall
> > osg::StateAttribute::getMember(void)const "
> > (__imp_?getMember at StateAttribute@osg@@UBEIXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Texture::resizeGLObjectBuffers(unsigned int)"
> > (__imp_?resizeGLObjectBuffers at Texture@osg@@UAEXI at Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Texture::releaseGLObjects(class osg::State *)const "
> > (__imp_?releaseGLObjects at Texture@osg@@UBEXPAVState at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > osg::Referenced::unref(void)const " (__imp_?unref at Referenced@osg@@QBEXXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > osg::Texture2D::setImage(class osg::Image *)"
> > (__imp_?setImage at Texture2D@osg@@QAEXPAVImage at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: static class osgDB::Registry * __cdecl
> > osgDB::Registry::instance(bool)"
> > (__imp_?instance at Registry@osgDB@@SAPAV12 at _N@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual int __thiscall
> > osg::Texture2D::compare(class osg::StateAttribute const &)const "
> > (__imp_?compare at Texture2D@osg@@UBEHABVStateAttribute at 2@@Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: void __thiscall
> > osg::Referenced::ref(void)const " (__imp_?ref at Referenced@osg@@QBEXXZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) protected: virtual __thiscall
> > osg::Texture2D::~Texture2D(void)" (__imp_??1Texture2D at osg@@MAE at XZ)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Referenced::setThreadSafeRefUnref(bool)"
> > (__imp_?setThreadSafeRefUnref at Referenced@osg@@UAEX_N at Z)
> > 1>prueba.obj : error LNK2001: unresolved external symbol
> > "__declspec(dllimport) public: virtual void __thiscall
> > osg::Texture2D::apply(class osg::State &)const "
> > (__imp_?apply at Texture2D@osg@@UBEXAAVState at 2@@Z)
> > 1>../bin/ExerciseImpl.dll : fatal error LNK1120: 35 unresolved externals
> >
> >
> > And I don?t know how can I fix this. I wonder if you could help me. Thanks
> > in advance.
> >
> >
> >
> > ________________________________
> > Todo ruedas: informaci?n pr?ctica y todo el glamour del mundo del motor. MSN
> > Estilo y Tendencias
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
>
>
> ------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> End of osg-users Digest, Vol 7, Issue 2
> ***************************************
_________________________________________________________________
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la última
http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080103/48eda718/attachment-0001.html
More information about the osg-users
mailing list