[osg-users] How to get frame rate
Hi, when i type S we can see status information. such as frame rates. is it possible to save the frame rates to the variable? Thank you! Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59178#59178 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] truning OSG into OpenGL language
hi. i implemented an application by using OSG. But i wonder that is it possible to turn OSG into OpenGL language? is there easy way or a program to do it? thanks in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57706#57706 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to getting the number of vertices
i tried the osgUtil::Statistics class to get the number of vertices. but i couldn't make it. could u get me example of source? i would appreciate it thanks guys -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57571#57571 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to getting the number of vertices
Hi, i would like to know the number of vertices in the scene. i know how to see the value of vertices as i press 's'button. but i wanna know how can i get the value (ex_for storing into variable) Thank you! Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57508#57508 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] again_question about black-out(BO) of airport runway(light control)
Hi, guys i m trying to develop flight simulation with osg. as i attached the picture, i used 3DViewer program to load the .ive airport map. and you can see the black-out(BO) of airport runway and the properties of light point. so my question is is it possible and how to control the black-out(BO) of airport runway(light control)? i want to turn on(or off) the light. Thanks in advance guys ; ) Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57069#57069 Attachments: http://forum.openscenegraph.org//files/ive_light_108.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about black-out(BO) of airport runway(light control)
Hi, guys i m trying to develop flight simulation with osg. for the airport, i load .txp(terrain) with .flt(airport). and there are black-out(BO) at the airport runway. for more information, i attached the pciture of black-out(BO) of airport runway. so my question is is it possible to control the black-out(BO) of airport runway(light control)? i want to turn on(or off) the light. Thanks in advance guys ; ) Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57036#57036 Attachments: http://forum.openscenegraph.org//files/blackout_airport_runway_211.jpg ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] question about culling (z-fighting)
hi, Nick our terrain format is .txp files. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56595#56595 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about culling (z-fighting)
Hi, guys i m doing with culling to my application because my end of terrain is blinking when i move (i guess this is called z-fighting problem) could u tell me the the meaning of function and its parameters. setCullingActive(true); -meaning : ? setNearFarRatio(0.1f); -meaning : ? -parameters : ? setComputeNearFarMode(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES); -meaning : ? -parameters : ? setSmallFeatureCullingPixelSize(-1.0f); -meaning : ? -parameters : ? Thank you! Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56572#56572 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about getting RGB value(los point) of Terrain
Hi, i am trying to get RGB value(los point) of Terrain i tried with below code. osg::Drawable * drawable = intersection.drawable.get(); if(drawable-getStateSet()) { state_set = drawable-getStateSet(); osg::Texture * texture = state_set-getTextureAttribute (0, osg::StateAttribute::TEXTURE)-asTexture(); if(texture-getImage(osg::Material::FRONT)) printf(%f %f %f\n,texture-getImage(osg::Material::FRONTFACE)-getColor(intersection.localIntersectionPoint).r() ,texture-getImage(osg::Material::FRONTFACE)-getColor(intersection.localIntersectionPoint).g() ,texture-getImage(osg::Material::FRONTFACE)-getColor(intersection.localIntersectionPoint).b()); } /// But i only got RGB value as (1,1,1) Could u let me know why the value is always (1,1,1) Thank you in advance for any help Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56456#56456 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about CUDA with OSG
Hi, First of all I am not familiar with Osg and CUDA I implemented fIight simulation program with osg but If I use big Size of Terrain, The performance(fame rate) of application is not good So I wanna try to apply CUDA to my osg application for improving the performance So what do u guys think about it? Is it possible to improve the performance With Cuda? and could u let me know How to implement to my osg application? Thank you so much in advance for any help :) Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56391#56391 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgParticle(particle system) vs PrecipitationEffect plz help me out~
Hi, so the precipitationEffect(shader) is based on GPU? Thank you! Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55973#55973 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgParticle(particle system) vs PrecipitationEffect plz help me out~
Hi, guys i would like to learn differences between osgParticle (particle system) and osgParticle::PrecipitationEffect. i tried to implement snow/rain effect with them but the result is totally different so why is that? especially, osgParticle (particle system)'s performance is very low even if i render little particles with short life span and at the small part. on the other hand, PrecipitationEffect render at the whole scene but performance is high(frame rates) so could you explain that the differences and how they work i mean the principles plz~ Thank you so much guys ! Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55938#55938 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] questions about lightning(thunder)
Hi, guys is there some way to render thunder? i think that i could use the thunder image but what i wanna know is how to render the flashing or lightning with images? i mean how to flicker(blink) the light of thunder at specified area(part of area) Thanks in advance Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54460#54460 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] questions about lightning(thunder)
hi, errno (Lionel Lagarde) First, thanks for your kind reply and i was surprised because what you did for thunder is exactly same as i thought but it was just theory because i m new in OSG so could you let me know how to do that for thunder? did you use OSG libray and which library did u use for the effect? thanks in advance Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54465#54465 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] questions about frame rate lock(locking FPS)
i found viewer.setRunMaxFrameRate(20); i found that They are only available when using the run() method. but for our program we use frame() method. is there way i could use the method with frame()? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54369#54369 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] questions about frame rate lock(locking FPS)
Hi, i m wondering is it possible to lock(maintatin) the frame rate? i mean that we can see the frame rate on the viewer if we press 's'. then i can see the frame rate is around 60 but i would like to lock the frame rate aroud 30 is there some osg library for that? Thanks in advance Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54294#54294 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about precipitation effect with large terrrain
Hi, guys we used PrecipitationEffect with large terrrain we attached the video file(.avi) as you see the video if i move camera of position / direction, PrecipitationEffect disappears gradually we would like to render snow/rain whole the scene(terrain) could you help me out the problem? Thanks in advance Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54202#54202 Attachments: http://forum.openscenegraph.org//files/precipitation_problem_121_692.zip ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about precipitation effect with large terrrain
Hi, guys we used PrecipitationEffect with large terrrain we attached the video file(.avi) as you see the video if i move camera of position / direction, PrecipitationEffect disappears gradually we would like to render snow/rain whole the scene(terrain) could you help me out the problem? Thanks in advance Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53925#53925 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about precipitation effect with large terrrain
Hi, guys we used PrecipitationEffect with large terrrain we attached the video file(.avi) as you see the video if i move camera of position / direction, PrecipitationEffect disappears gradually we would like to render snow/rain whole the scene(terrain) could you help me out the problem? Thanks in advance Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53926#53926 Attachments: http://forum.openscenegraph.org//files/precipitation_problem_121.zip ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] question about material of terrain ; )
Hi, i have a question about material of terrain. i implemented LOS, and then i wanna know the material code of intersection. i think that the material code would be integer value but i m not sure. so i would like to know how to get the integer value of material. is there library for that? let me know Thanks in advance Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53883#53883 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] plz help me out with PrecipitationEffect
Hi, guys we are developing Flight Simulator using OSG and would like to render snow / rain effect on the scene so we used PrecipitationEffect for the effect here is questions if i move the orientaion and coordinates of camera, the PrecipitationEffect can follow the camera in our scene, the PrecipitationEffect only render snow/rain locally we would like to render snow/rain whole the scene(terrain) could you help me out the problem? and PrecipitationEffect doesn't work with large terrain and ephemeris cuz if i move camera position of direction, PrecipitationEffect disappears gradually is there someone how to solve this problem Thanks in advance Cheers :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53865#53865 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] questions about distributed-rendering
hello :D we are new in OSG and developing Flight Simulation using OSG we wnat to develop the simulator that consists in three PCs one is master, two is clusters the total fov(field of view) should be 180degree so each PC's fov sould be 60 degree in short, we want to do distributed-rendering when the flight moves in the scene, the orientation and position of flight must synchronize in the 3 PCs with no delay after we seached at forum, osgVisual and osgCluster(example) could offer what we want to do so we thought that we could apply their distriubed-rendering part(code) in our simulator code do you think is it possible or there are the other way to render distributed-rendering? Thanks in advance :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53499#53499 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] plz help me out regarding weather phenomena
Hi, guys i'm new in OSG and developing Flight Simulation using OSG i wanna render snow / rain effect on the scene i used PrecipitationEffect for the effect but it seems that PrecipitationEffect doesn't work with large terrain cuz if i move camera position of direction, PrecipitationEffect disappears gradually is there someone how to solve this problem or is there different way to render snow / rain effect without commercial SDKs i look forward to early reply Thanks in advance Cheers :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52723#52723 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] plz help me out regarding weather phenomena
Hi, guys i'm new in OSG and developing Flight Simulation using OSG i wanna render snow / rain effect on the scene i used PrecipitationEffect for the effect but it seems that PrecipitationEffect doesn't work with large terrain cuz if i move camera position of direction, PrecipitationEffect disappears gradually is there someone how to solve this problem or is there different way to render snow / rain effect without commercial SDKs i look forward to early reply Thanks in advance Cheers :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52890#52890 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] how to render cloud in OSG
Hi, i would like to ask questions have you ever rendered cloud in OSG application? i wanna render cloud in my OSG but seems that there are not library for cloud in OSG i saw delta3d that seems providing cloud library but i have never used delta3d before so i wanna make sure that could i use cloud library of delta3d in my OSG application? and i m not sure that flight gear is based on OSG. could i use cloud library of flight gear in my OSG application? if it can't, Is there different way to make cloud in my OSG application without commercial SDKs? Could you let me know? Thanks in advance Cheers, Kim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52934#52934 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgSim::HeightAboveTerrain not returning any hits
Hi, i tried your code but it's not working osg::CoordinateSystemNode *wCsn =dynamic_castosg::CoordinateSystemNode*(HAT::GetInstance()-terrain); wCsn-setEllipsoidModel(new osg::EllipsoidModel()); when i execute your souce code, above code occured an error you are using .ive terrain file in your code for me, using .txp terrain file i m not sure this makes an error so if you have why this makes an error in my code plz, let me know Thank you! Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51990#51990 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Help me! i have problem for Height Above Terrain!!
Hi, i'm new in OSG and developing Flight Simulation using OSG. i wanna compute height above terrain. so wanna know how to use this class(osgSim::computeHeightaboveterrain). i look forward to tour early reply. Thank you! Cheers -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51989#51989 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org