[osg-users] Rend to Texture Once

2018-08-26 Thread GuiYe
Hi, I want to render a ploygon to texture,I won't change this polygon unless the polygon data changes. what can I do to render the texture only once, instead of rendering every frame? Cheers GuiYe___ osg-users mailing list

[osg-users] how to set the shadow color of pssm?

2015-01-14 Thread GuiYe
Hi, I'm using osgShadow::ParallelSplitShadowMap Shadow Technique,but I can not find function to set shadow color ? Could you tell me what should i do ? Cheers___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Earth using VPB

2011-05-19 Thread GuiYe
Hi, Who can tell me how to make a earth with terrain(DEM) and Satellite-Image using VPB as Google Earth? Sorry for my poor English. Thank you ! Good Luck! Cheers GuiYe___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] About vpbmaster problem

2011-05-17 Thread GuiYe
give me more information?The dem.tif is some of ASTER 30m Data.How I should do ? Thank you ! Cheers, GuiYe At 2011-05-17 14:21:40,Torben Dannhauer tor...@dannhauer.info wrote: Hi GuiYe, do you want a smooth elevation transition from area with DEM to area without DEM? Then you have

Re: [osg-users] About vpbmaster problem

2011-05-17 Thread GuiYe
Thank you! How about strm 90m DEM? Do you make terrain in earth as I do? Cheers, GuiYe At 2011-05-17 17:35:48,Torben Dannhauer tor...@dannhauer.info wrote: Hi, You use ASTER data? Am I right that ASTER is public available? I played 2 years ago with the ASTER data as it was initially

[osg-users] Gecko Plugins

2009-12-09 Thread GuiYe
  Hello!   Who can tell me how to compile the plugins of gecko!I download xulrunner-1.9.en-US.win32.sdk.zip,but it can't compile right: llembeddedbrowser.cpp f:\web\llmozlib2\llembeddedbrowser.cpp(227) : error C2039: 'Create' : is not a member of 'nsIAppShell'

[osg-users] About virtual file system problem!

2009-12-03 Thread GuiYe
Hello,everyone! In following tutorial,I see how to implement a mechanism for reading osg resources -- such as images, osg and ive files, fonts, etc. -- from a virtual file system. http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/VFS I finish the code according to that

[osg-users] osgTerrain

2009-04-15 Thread GuiYe
  Hello,robert!   Can you provide some examples about how to use the library of osgTerrain except osgTerrain! The library is so complex that I don't know how to use it to render terrain data! Can you provide some documents about the library! On the other hand , I hope that the example of

Re: [osg-users] The Bug of osgparticleeffects??

2008-10-09 Thread GuiYe
Yes ,I konw it .But when I do this,it's wrong.Can you tell me why? class PHandler : public osgGA::GUIEventHandler { public: PHandler() {} bool handle(const osgGA::GUIEventAdapter ea,osgGA::GUIActionAdapter aa) { osgViewer::Viewer* viewer = dynamic_castosgViewer::Viewer*(aa);

Re: [osg-users] The Bug of osgparticleeffects?? (Tomlinson, Gordon)

2008-10-09 Thread GuiYe
These are all my code.Can you help me rewrite the code??I want to remove the particle effects when the particle effects disappear.But now it does't work fine. Thank you!Good Lucky! #include osgViewer/Viewer #include osgViewer/ViewerEventHandlers #include osg/DeleteHandler #include

[osg-users] The Bug of osgparticleeffects??

2008-10-08 Thread GuiYe
  Hello. I tested the example of osgparticleeffects yesterday.I find a problem:When we create particle effects to the scene and the particle effects disappeared,the memory don't release.If we add many particle effects,the memory will increase all the time until the end of the

Re: [osg-users] The Bug of osgparticleeffects?? (Tomlinson, Gordon)

2008-10-08 Thread GuiYe
No,I don't know how to remove the particle effects from the scene.Can you give me some code to do this? Thank you~___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] About Image

2008-08-29 Thread GuiYe
rendering. Robert. 2008/8/29 GuiYe   Hello~~ I want to ask a question about how to write(osgDB::writeImageFile()) a capture_screen_image that I hope it's size bigger than the window size into the disk.For example,my window size is 1280*1024,but the size of image is 2560*1024.I use

[osg-users] About Image~~

2008-08-28 Thread GuiYe
  Hello~~ I want to ask a question about how to write(osgDB::writeImageFile()) a capture_screen_image that I hope it's size bigger than the window size into the disk.For example,my window size is 1280*1024,but the size of image is 2560*1024.I use scaleImage(),but it doesn't work.

Re: [osg-users] Add A Window

2008-06-08 Thread GuiYe
()); } viewer.setSceneData(loadedModel.get()); viewer.realize(); //} return viewer.run(); } Hi GuiYe, At present the addSlave doesn't automatically tell the viewer to realize windows, reset up threading and rendering support, which is why you code isn't working. What you need to do in you event handling

[osg-users] Add A Window

2008-06-07 Thread GuiYe
Hello,I want to add a new window in real time.But the below code doesn't work.Who can tell me why??I face it many days but... Waiting for your good news~~ // // #include osgDB/ReadFile #include osgUtil/Optimizer #include osgViewer/Viewer #include osgGA/MatrixManipulator #include

Re: [osg-users] Add A Window

2008-06-07 Thread GuiYe
()); } viewer.setSceneData(loadedModel.get()); viewer.realize(); //} return viewer.run(); } Hi GuiYe, At present the addSlave doesn't automatically tell the viewer to realize windows, reset up threading and rendering support, which is why you code isn't working. What you need to do in you event handling

[osg-users] vpb

2008-06-05 Thread GuiYe
  Hello.I have some question about the svn of VPB. vpbinfo is only used for getting the number of processors?And the vpbextrusion is use for putting two or more terrain models together? When I use vpbheightfieldmapping,I can't find it's data.I also want to know what the

[osg-users] VPB

2008-05-23 Thread GuiYe
  Hello ~   I am a new to OSG.Now I'm using OSGDEM,I want to ask to question: the different between --LOD and --PagedLOD when using osgdem the different between --compressed and --RGBA-compressed when using osgdem When the VPB1.0 realse?Thank

[osg-users] The 3rdParty_Win32binaries_2005_05_10.zip

2008-04-28 Thread GuiYe
  Hello ,Robert~   The 3rdParty_Win32binaries_2005_05_10.zip should update.If it does not updat, many peopel can't compile OSG2.4!And in China,the svn is so slowly! Thank you!___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] About VirtualPlanetBuilder0.9.4~ ~~~

2008-01-22 Thread GuiYe
  Hello,robert! Today I download VirtualPlanetBuilder0.9.4's source code.When I compile the source code in OpenSceneGraph2.2 , there are many errors.Can you tell me what I can do to solve the problems? On the other hand, I want to ask how to use the VirtualPlanetBuilder0.9.4,it

[osg-users] About VirtualPlanetBuilder0.9.4~ ~~~

2008-01-22 Thread GuiYe
  Hello,robert! Today I download VirtualPlanetBuilder0.9.4's source code.When I compile the source code in OpenSceneGraph2.2 , there are many errors.Can you tell me what I can do to solve the problems? On the other hand, I want to ask how to use the VirtualPlanetBuilder0.9.4,it just

Re: [osg-users] About VirtualPlanetBuilder0.9.4~ ~~~

2008-01-22 Thread GuiYe
/Support/UserGuides/osgdem.  ??   Thank you~ Hi GuiYe, As mentioned on the front page of the virtualplanetbuilder.osgforger.org you'll need to use OSG-2.3.x to compile VPB-0.9.4. As for docs, the front page has links to all the docs currently available for VPB. Robert. 2008/1/22 GuiYe [EMAIL

[osg-users] Some Code

2008-01-16 Thread GuiYe
  Hello~~   I once wrote some in OpenSceneGraph1.2.Now I use OpenSceneGraph2.2,I want to rewrite it.But I can't find some functions to replace some code: osgProducer::Viewer::SceneHandlerList::iterator sh_it = viewer.getSceneHandlerList().begin(); osgProducer::OsgSceneHandler* sh

Re: [osg-users] Some Code

2008-01-16 Thread GuiYe
~~~ Hi GuiYei, The osgViewer doesn't have an OsgSceneHandler and their isn't an equivalent. Perhaps you could provide a bit of information about what you were doing with the OsgSceneHandler then we might be able to suggest how to replace this code. Robert. 2008/1/16 GuiYe [EMAIL PROTECTED

Re: [osg-users] Some Code

2008-01-16 Thread GuiYe
sh_it = viewer.getSceneHandlerList().begin();   osgProducer::OsgSceneHandler* sh =sh_it-get(); 在2008-01-16,GuiYe [EMAIL PROTECTED] 写道: Hello,robert! I want to use the code: osgProducer::Viewer::SceneHandlerList::iterator sh_it = viewer.getSceneHandlerList().begin(); osgProducer

[osg-users] About virtualplanetbuilder

2008-01-10 Thread GuiYe
Hello,I want to ask two questions: 1. Where I can get the last version of virtualplanetbuilder? I found that the URL: svn checkout http://www.openscenegraph.org/svn/VirtualPlanetBuilder/tags/VirtualPlanetBuilder-0.9.1 VirtualPlanetBuilder svn checkout

Re: [osg-users] About virtualplanetbuilder (Robert Osfield)

2008-01-10 Thread GuiYe
Hello,Rebert! Thanking for your answering! When can I use the virtualplanetbuilder 0.93 in windows? I hope that you can give us a detailed document about how to use the virtualplanetbuilder 0.93 when the virtualplanetbuilder 0,93 is release.Waiting for your good news!

[osg-users] A parameter in VirtualPlanetBuilder-0.9.1

2007-10-31 Thread GuiYe
Hello, I want to ask a question about a parameter in VirtualPlanetBuilder-0.9.1: CODE: arguments.getApplicationUsage()-addCommandLineOption(--layer layer_num,Specify the layer that the next source Texture will contribute to..); Who can tell me the meaning of the

[osg-users] VirtualPlanetBuilder0.91

2007-10-26 Thread GuiYe
Hello, I want ask the question about a function in VirtualPlanetBuilder0.91.The function is : void setGeoTransformFromRange(double xMin, double xMax, double yMin, double yMax) { _geoTransform.makeIdentity(); _geoTransform(0,0) =