Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread sam
If you're generating the cmake file through the cmake application then it should be generated in your build folder. If you are using cmake on the command line then you will need to pass cmake -G "Visual Studio XX" to the command line, where XX is your Visual Studio version. On Sun, Jun 3, 2018 at

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Peter Klose
Hi, it seems my fault was to look into the "src" directory for the sources. With the cmakelists.txt file in the base directory openscenegraph cmake worked succesfully. Now it is only to find out how to find the project file for VC++ which might load the project into the IDE? --

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Peter Klose
Hi Sam, i do not have any binaries so i don't see any way to set a path to it? I am trying to build binaries and my hope was the delivered cmakelists.txt would be the key for this. As Robert pointed out the cmakelists.txt file in the src/osg directory should do the job but it spits the weird

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Peter Klose
robertosfield wrote: > HI Peter, > > It's the OpenSceneGraph/CMakeLists.txt that it the one you should open > in CMakeSetup. All the CMakeLists.txt below this will rely upon all > the setting/includes that it sets up. > > Robert. > > > Hi Robert, this is exactly the one i am referreing

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread sam
Hi Peter, Not sure how you're attempting to compile OSG but I'd recommend you'd do the following: [image: osg1.png] ​ >From here I would hit Configure and then Generate. Open up the ALL_BUILD project and right-click OpenThreads and hit build. This will ensure all the dependencies are in place.

Re: [osg-users] TriangleStrip mesh is not smooth...

2018-06-03 Thread Mike Raider
Hi, Thank you Robert... Here is how I create the mesh: float column_x_loc = -(LAND_WIDTH * LAND_TRIANGLE_WIDTH)/2; float column_z_loc = -(LAND_DEPTH * LAND_TRIANGLE_DEPTH)/2 float column_y_loc = DETAIL_TERRAIN_FLOOR; for (int c = 0;c < LAND_WIDTH;c++) {

Re: [osg-users] TriangleStrip mesh is not smooth...

2018-06-03 Thread Robert Osfield
Hi Mike, You don't provide any details about how you've created the mesh, whether you've loaded it from some loader, you've use some util from the OSG or other 3rd party tool or done it by hand yourself. Given we know nothing about how you've created the mesh there isn't much can do to help

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Robert Osfield
HI Peter, It's the OpenSceneGraph/CMakeLists.txt that it the one you should open in CMakeSetup. All the CMakeLists.txt below this will rely upon all the setting/includes that it sets up. Robert. On 3 June 2018 at 13:30, Peter Klose wrote: > > robertosfield wrote: >> Hi Peter, >> >> You

[osg-users] TriangleStrip mesh is not smooth...

2018-06-03 Thread Mike Raider
Hi, I have a TriangleStrip mesh that I use for a simple data collection app to show data changes in real time. Most of the time the mesh looks very clean and smooth. However, sometimes the triangles look like spikes and not smooth. I do not understand why the mesh is broken by the spikes.

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Peter Klose
robertosfield wrote: > Hi Peter, > > You shouldn't need to compile OpenThreads independently, just point > CMakeSetup at OpenSceneGraph/CMakeLists.txt and OpenThreads will be > built alongside the rest of the OSG. > > Robert. > > -- > Post generated by Mail2Forum Hi Robert,

Re: [osg-users] VBO Bug with 3.6.1 and Normal Arrays

2018-06-03 Thread Robert Osfield
On 3 June 2018 at 11:11, Robert Osfield wrote: > Hi Dan, > > On 1 June 2018 at 16:01, Daniel Emminizer, Code 5773 > wrote: >> Attached is a demo of the problem that generates a console warning. More >> complex scenes can cause crashes. The red triangle has the problem, but the >> green one

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread Robert Osfield
Hi Peter, You shouldn't need to compile OpenThreads independently, just point CMakeSetup at OpenSceneGraph/CMakeLists.txt and OpenThreads will be built alongside the rest of the OSG. Robert. On 3 June 2018 at 11:51, Peter Klose wrote: > Hi, > > i am trying to build OSG with MS Visual Studio

[osg-users] [build] CMake can not find include files

2018-06-03 Thread Peter Klose
Hi, i am trying to build OSG with MS Visual Studio 2013 on Windows7. I have downloaded the latest release from git, same with CMake, but it seems that there are some files missing? Any helb would be appreciated. Thank you! Cheers, Peter the cmake-messages: -- The C

Re: [osg-users] VBO Bug with 3.6.1 and Normal Arrays

2018-06-03 Thread Robert Osfield
Hi Dan, On 1 June 2018 at 16:01, Daniel Emminizer, Code 5773 wrote: > Attached is a demo of the problem that generates a console warning. More > complex scenes can cause crashes. The red triangle has the problem, but the > green one does not. I have built the example, and to help with test