[osg-users] [3rdparty] libAgar GUI in the OpenSceneGraph

2016-01-05 Thread Nickolai Medvedev
Hi, I recently found the GUI library - libAgar. Has anyone used it together with OpenSceneGraph? Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65933#65933 ___

Re: [osg-users] Dynamic terrains, DatabasePager + PagedLODs

2016-01-05 Thread Nickolai Medvedev
Hi, Daniel You found the solution? I try to make similarity of game with OSG, but also it isn't clear to me how to make dynamic terrain. Vertex Displacement through a shader looks very well, but there is a problem - vertices heights don't remain in geode, they is generated in the course of work

Re: [osg-users] Dynamic terrains, DatabasePager + PagedLODs

2016-01-05 Thread Nickolai Medvedev
Hi, Chris I don't think that osgEarth and VirtualPlanetBuilder are suitable for creation of games. They have too many unnecessary bindings. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65950#65950

Re: [osg-users] Dynamic terrains, DatabasePager + PagedLODs

2016-01-05 Thread Nickolai Medvedev
Hello, Robert. In VirtualPlanetBuilder there is no "manual" control, to be exact - it is impossible to specify the fixed quantity of triangles or vertices, or the landscape size. Why so? Thank you! Cheers, Nickolai -- Read this topic online here:

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-09 Thread Nickolai Medvedev
Actually, not everything is as good as it seemed. When loading large Nodes, in case of turn of the camera to it, GUI disappears. Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67553#67553

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-08 Thread Nickolai Medvedev
The problem is solved! It is necessary to setup the camera and Geode: geode->setCullingActive( false ); geode->addDrawable( mygui.get() ); geode->getOrCreateStateSet()->setMode( GL_BLEND, osg::StateAttribute::ON ); geode->getOrCreateStateSet()->setRenderingHint( osg::StateSet::TRANSPARENT_BIN

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-08 Thread Nickolai Medvedev
Trajce, thank you very much! I hope, it help. Have a nice day! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67513#67513 ___ osg-users mailing list

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-08 Thread Nickolai Medvedev
Hi Trajce, You clarified this problem with background? Why only GUI is visible? If you solved a problem, it is possible an example? Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67490#67490

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-09 Thread Nickolai Medvedev
Oops, sorry, my mistake... I used bad model. Everything perfectly works with others! Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67567#67567 ___ osg-users mailing

Re: [osg-users] osg::View NO_LIGHT bug?

2016-06-05 Thread Nickolai Medvedev
Well, we can deceive viewer if we make so: Code: viewer.getLight()->setAmbient(osg::Vec4(0.0,0.0,0.0,1.0)); viewer.getLight()->setPosition(osg::Vec4(0.0,0.0,0.0,1.0)); viewer.getLight()->setDiffuse(osg::Vec4(0.0,0.0,0.0,1.0)); viewer.getLight()->setConstantAttenuation(0.003);

Re: [osg-users] mygui integration (for Wang Rui)

2016-06-08 Thread Nickolai Medvedev
Trajce, :D I use MyGUI Manager from osgRecipes(HUGE thanks to Wang Rui). Everything perfectly works, except for one: all loaded nodes aren't visible, only blue clear color from viewer. Forgive me for my bad English(if it is bad). Thank you! Cheers, Nickolai -- Read this

Re: [osg-users] GLFW + OSG

2016-06-26 Thread Nickolai Medvedev
Hi, all! Well, if nobody responded, it is my test with GLFW3. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67827#67827 osgGLFW3.rar Description: application/rar-compressed

Re: [osg-users] Potential fix for osgDB MSVC linkage issues (FORCE:MULTIPLE needed)

2016-08-11 Thread Nickolai Medvedev
Hi, guys! The fix works! I had linker error at integration of MYGUI associated with fstream, now everything is all right. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68352#68352

Re: [osg-users] OpenSceneGraph For Game Development

2016-08-03 Thread Nickolai Medvedev
Hi, guys! I will tell one - OpenSceneGraph is good start. I recommend to use him, instead of Ogre3D or something similar. OSG is really fast, don't doubt. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68267#68267

[osg-users] IMGUI wrapper...

2016-08-03 Thread Nickolai Medvedev
Hi, all! I recently have found a wrapper of IMGUI for OSG. https://gist.github.com/megaton/52ac227f77e8accf96cf/ Somebody can tell me how to use him? Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68268#68268

Re: [osg-users] Simulating Light Lobes with Projected Textures (Range mapping)

2016-08-12 Thread Nickolai Medvedev
Hello, Trajce! As far as I have understood, a problem with near/far? Try to increase them. By the way, I will be glad to see shaders, publish them, please. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68358#68358

Re: [osg-users] GLFW + OSG

2016-07-02 Thread Nickolai Medvedev
Hello, Robert! Maybe, you include this example into OSG? Use it as part of OSG, as far it is possible. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67972#67972 ___

Re: [osg-users] Osgb to collada

2016-07-04 Thread Nickolai Medvedev
Hi, Ninnin. By means of the osgConv program you can convert into any known osg model. It is simple: osgconv.exe model.osgb model.dae It must work. Hope, it help you. Good luck! Cheers, Nickolai -- Read this topic online here:

Re: [osg-users] osgTerrainGenerator

2017-02-19 Thread Nickolai Medvedev
Hi, Julien. Yes, the box filtering implemented here(3x3). I had no purpose to add tessellation, or something like that. My example - it's just a terrain generation. In future, perhaps, i may add tessellation. -- Read this topic online here:

Re: [osg-users] osgTerrainGenerator

2017-02-19 Thread Nickolai Medvedev
Hi, Robert. osgTerrainGenerator creates terrain from heightmap and creates the specified quantity of LODs(simplified VPB). Of course, you can use it as a part of OSG. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70280#70280

Re: [osg-users] Thoughts on Vulkan

2017-02-12 Thread Nickolai Medvedev
Hi, Robert. Transition to Vulkan will be difficult. Partly because, that all graphics is based on shaders. But I think that the new system for OpenSceneGraph - it is good. I will try to help, as far as I will be able. Cheers, Nickolai -- Read this topic online here:

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Nickolai Medvedev
So, Robert, if you if you are going to use C++11, it means that OpenThreads won't be used anymore(use std::thread)? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70171#70171 ___ osg-users mailing

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread Nickolai Medvedev
Hi, Robert. And it is good that you have ideas. First of all, it is necessary to refuse opengl fixed pipeline. It is necessary to create shader-based lighting system. I already try to create deferred rendering with various models of lighting (phong, cook-torrance, etc.), but now it isn't a lot of

Re: [osg-users] Potential fix for osgDB MSVC linkage issues (FORCE:MULTIPLE needed)

2016-08-19 Thread Nickolai Medvedev
Hi, guys! Let's remember, what exactly it std::fstream: typedef basic_ifstream< char, char_traits< char > > ifstream; typedef basic_ofstream< char, char_traits< char > > ofstream; typedef basic_fstream< char, char_traits< char > > fstream; So, if problem is names, maybe do something like:

Re: [osg-users] Render to texture ONLY?

2016-08-18 Thread Nickolai Medvedev
Hi, https://github.com/xarray/osgRecipes Chapter 6 - it's all what you need. Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68418#68418 ___ osg-users mailing list

Re: [osg-users] Correct creation of the terrain

2016-10-09 Thread Nickolai Medvedev
Hi, Robert! Where in VirtualPlanetBuilder i can get float array of the heights to process it in the BoxFilter? Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68925#68925

Re: [osg-users] source data samples for VPB

2016-11-08 Thread Nickolai Medvedev
Hi, Nick! If you create something like a game, i don't advise to use VPB. I created own example. Now need to divide terrain into parts, then simplify, then write into LODs. Here my test program: http://forum.openscenegraph.org/viewtopic.php?t=16155 -- Read this topic online

Re: [osg-users] source data samples for VPB

2016-11-08 Thread Nickolai Medvedev
|-) Unfortunately, Nick, my English is still bad. Oh, and one more thing... Site, where i get heightmaps: http://terrain.party/ You know how to divide a terrain into pieces, that i could simplify, and then write into LODs? You understand what I want to do? If yes, i would glad, if you help

Re: [osg-users] Unzip big data size problem!

2016-11-08 Thread Nickolai Medvedev
Hi, Nam. Not enough info's... Please, specify file size, an operating system and its digit capacity. Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69267#69267 ___ osg-users

Re: [osg-users] Unzip big data size problem!

2016-11-08 Thread Nickolai Medvedev
Yes, i checked, i have a similar problem. Shall be, a problem in a zip-plugin. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69269#69269 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] More lights in scene!

2016-10-23 Thread Nickolai Medvedev
Hi, Trajce! Here i found: https://github.com/bcrusco/Forward-Plus-Renderer Well, deferred renderer is more suitable for a large number of light sources. And it is necessary to create also new materials system... -- Read this topic online here:

[osg-users] More lights in scene!

2016-10-23 Thread Nickolai Medvedev
Hi, community! I have a question: how i can create more than 8 lights in scene. Need new shader-based light system? If so, how i can make these? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69119#69119

Re: [osg-users] More lights in scene!

2016-10-23 Thread Nickolai Medvedev
Hi, Jannik. Thanks! OpenMW - amazing project! Good luck to you and your team! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69124#69124 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] More lights in scene!

2016-10-24 Thread Nickolai Medvedev
I need colour of the surface geometry of objects in the scene. I experiment with shaders and trying to create light sources with their help. And, Robert, thank you for your patience. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69147#69147

Re: [osg-users] More lights in scene!

2016-10-24 Thread Nickolai Medvedev
Hi, Robert. If we need diffuse lighting, we need get color of the scene, send him into shader as uniform, then, for example, if we need point light, add color with radius. So, question is: how to get our scene color? Need create light shader for each light? -- Read this

Re: [osg-users] [A little bit off topic] A simple graphics library

2016-11-14 Thread Nickolai Medvedev
Hi, Andrew. You can try one of this: GLFW SFML http://www.dhpoware.com/source/gl3framework.html OGLPlus http://openframeworks.cc if you are interested in development of games: http://softpixelengine.sourceforge.net https://www.game-coder.de/page/pixellight http://www.maratis3d.org Good

Re: [osg-users] OsgOcean

2016-11-28 Thread Nickolai Medvedev
Hi, Rambabu. In the osgOcean example use both osgViewer::Viewer and osgViewer::View. You need use osgViewer::Viewer only. oceanExample: // // Set up the viewer

Re: [osg-users] VPB and terrain normals

2016-11-24 Thread Nickolai Medvedev
Hi, Nick! :) You try to create the implementation of a terrain? Try this example. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69496#69496 18_FindingTriangles.7z Description: Binary data ___

Re: [osg-users] ECEF Oriented Compass Implementation

2016-11-16 Thread Nickolai Medvedev
Hi, all. Source file and header in archive. To use a class a compass: osg::ref_ptr node = osgDB::readNodeFile("arrow.osgb"); // any node looking to the north if(node.valid()) { node->getOrCreateStateSet()->setMode( GL_LIGHTING, osg::StateAttribute::OFF );

Re: [osg-users] Embed in SFML window, rendering problem

2016-10-31 Thread Nickolai Medvedev
Hi, rebootl. I think, you need create SFML graphic context, then set he to camera. I advise you to make normal support of a SFML window, like a SDL-window in OpenMW. https://github.com/OpenMW/openmw/blob/master/components/sdlutil/sdlgraphicswindow.hpp

Re: [osg-users] More lights in scene!

2016-10-27 Thread Nickolai Medvedev
Hi, all. This is very good site about lighting and another graphic effects: http://sunandblackcat.com/other.php -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69177#69177 ___ osg-users mailing list

Re: [osg-users] Correct creation of the terrain

2016-10-10 Thread Nickolai Medvedev
Thanks for councils, Robert. I will try to look for the necessary array of heights in a VPB code. Good luck! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68945#68945 ___ osg-users mailing list

Re: [osg-users] isolate specific LOD from a VPB generated database

2016-11-29 Thread Nickolai Medvedev
I try to create similarity of a game, and in the future i will need to realize the big open world too. I experimented with creation of a terrain from a heightmap, i managed to create it, but inconsistencies still are. My problem - i nothing understand in the math, it would help me. About your

Re: [osg-users] isolate specific LOD from a VPB generated database

2016-11-29 Thread Nickolai Medvedev
Hi, Nick. Code: osg::ref_ptr visible_group = new osg::Group; visible_group->addChild(lod.get()); viewer.setSceneData(visible_group.get()); I hope, I correctly understood... -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69541#69541

Re: [osg-users] replace tile with my own Node in VPB generated QuadTree

2016-12-03 Thread Nickolai Medvedev
Hi, Nick! I think, it would be simpler to write the new program of creation of a terrain, than to change existing VPB. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69585#69585 ___ osg-users

Re: [osg-users] mygui integration (for Wang Rui)

2017-01-01 Thread Nickolai Medvedev
Hi, guys! Sorry about Russian talking, Trajce! :D Денис, если будут ещё вопросы по OSG, пиши мне, я разъясню тебе, что знаю, на понятном языке. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69821#69821

Re: [osg-users] mygui integration (for Wang Rui)

2016-12-30 Thread Nickolai Medvedev
Привет, Денис. GLUT в OpenSceneGraph так никто не использует. Если он тебе действительно нужен, смотри пример examples/osgviewerGLUT. Удачи! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69806#69806

Re: [osg-users] looking for a terrain database building toolchain

2016-12-23 Thread Nickolai Medvedev
Hi, Terry. You should pay attention to Proland: http://proland.inrialpes.fr/index.html -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69759#69759 ___ osg-users mailing list

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-18 Thread Nickolai Medvedev
You can unclench your fingers, now everything works. The error has been fixed. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71455#71455 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-17 Thread Nickolai Medvedev
I tested on osgviewer. Logs are attached. Your last-revised boolean defines nothing to do with it. Before the changes, StatsHandler also did not work. When i press 's', appears text with FrameRate. When I press 's' again, the program crashes. -- Read this topic online here:

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-17 Thread Nickolai Medvedev
> It's a stack trace rather than console output is what we need to start > looking at the cause of the crash. There is nothing in the console. > Do you mean the CMakeLists.txt changes relating to GL.in? Yes. > Did this happen with 3.4.0 or OSG master? No. With 3.4.1 branch.

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-18 Thread Nickolai Medvedev
You welcome. I would help more often if I had more free time. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71460#71460 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OpenSceneGraph-3.4.1-rc2 tagged

2017-08-22 Thread Nickolai Medvedev
Hi, Robert. I built OSG with Visual Studio 2010 and everything works fine. I checked examples too, everything works. Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71498#71498 ___

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-18 Thread Nickolai Medvedev
Do you mean this stack? > ntdll.dll!779315ee() [Указанные ниже фреймы могут быть неверны и (или) отсутствовать, символы для ntdll.dll не загружены] ntdll.dll!779315ee() ntdll.dll!7792015e() nvoglv32.dll!5e627fed()

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-18 Thread Nickolai Medvedev
Hi, Robert. Maybe, all problems in driver. Although, with OSG 3.4.0 everything works fine. My computer data: NVidia GeForce 640M OpenGL Driver version: 365.19 It is necessary, that someone else has checked up a branch 3.4.1 on Visual Studio. If on another computer everything will work well,

Re: [osg-users] Render to texture with GL3.

2017-05-23 Thread Nickolai Medvedev
Hi, Robert. All right, now i see. Probably, something wrong with my code. I'm use new OSG 3.5.6, trying to port deferred renderer with light system to OpenGL 3.3. Thank you for your answer. -- Read this topic online here:

Re: [osg-users] Render to texture with GL3.

2017-05-23 Thread Nickolai Medvedev
I found problem. HUD-Camera does not work when i create OpenGL 3.3 core context. Only clear color is visible. If not create context, all is worked. Code: const int width(1920), height(1080); const std::string version("3.3"); osg::ref_ptr< osg::GraphicsContext::Traits > traits = new

[osg-users] Render to texture with GL3.

2017-05-23 Thread Nickolai Medvedev
Hi, community! How to correctly create a render to texture in GL3 context? What is the difference between RTT GL2 and GL3 in OSG. Thank you! Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70962#70962

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-18 Thread Nickolai Medvedev
Allright, let's see... Give me a hour, i rebuild all, then i will test. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71454#71454 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Please test OpenSceneGraph-3.4 in prep for 3.4.1

2017-08-17 Thread Nickolai Medvedev
Hi, Robert. I checked. Now everything builded is fine. There was another problem. When i run StatsHandler, the program crashes. I use GL2 settings. Cheers, Nickolai -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71434#71434