Re: [osg-users] Step by step addDrawable and visualize current scene graph

2021-03-22 Thread Alberto Luaces
Hi Paul, I guess you might have to viewer.realize() before the first call to .frame(). If that is not the case, please inspect inside the .run() method that does basically the same in just one call. -- Alberto ___ osg-users mailing list

Re: [osg-users] OSG installation in windows 10

2021-02-22 Thread Alberto Luaces
Hi, in this day and age I would recommend using a package manager as vcpkg (https://github.com/microsoft/vcpkg), so you are released from having also to fetch the external dependencies OSG requires. For your case, installing OSG and its dependencies is a matter of issuing vcpkg.exe install

Re: [osg-users] What numerical parameters are passed when osgUtil::PolytopeIntersector is set MODEL?

2021-01-25 Thread Alberto Luaces
The corners of your polytope in MODEL coordinates. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Is there any way to scale the X axis of the model as well as the XY axis?

2021-01-11 Thread Alberto Luaces
Hi, you use a osg::MatrixTransform over the node with the scaling you require. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How do I flip the texture coordinates of an Image object?

2021-01-11 Thread Alberto Luaces
Hi, I think you can transform the coordinates with osg::TexMat. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How do I set NodeTrackerManipulator to rotate with the nodes?

2021-01-05 Thread Alberto Luaces
Did you try NODE_CENTER_AND_ROTATION ? -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Please test OpenScenGraph-3.6 branch in prep for the up commign 3.6.5 maintainance release

2019-12-18 Thread Alberto Luaces
Nathan Mielcarek writes: > Since the 43b274f commit (Mar 21, 2019) OSG has been installing 64-bit > libraries in /usr/local/lib instead of /usr/local/lib64 due to the > condition of LIB_POSTFIX not being defined when using cmake > 2.8.5. Strange; it has created lib64/ for me, using cmake 3.15.4.

Re: [osg-users] OpenSceneGraph-3.6.4 release candidate 5 tagged

2019-07-16 Thread Alberto Luaces
Hi, I have opened a PR (#791) fixing mingw cross-compilation. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Huge perfomance issues

2019-05-31 Thread Alberto Luaces
"Achilleas Margaritis" writes: > The problem is I need to destroy my house every frame. > > There is no standard number of objects received; any object, with any > configuration, can be received at any time. > > My only choice is to destroy everything and repaint everything. You can also

Re: [osg-users] Keeping camera fixed

2019-05-31 Thread Alberto Luaces
"Renzo Scaletta" writes: > What I see is that the camera "follows" in some way the bodies movements > without having done anything in the code to trigger that behavior explicitly. Hi, Renzo, certainly it shouldn't be happening by default. I am thinking about some possible causes (they could be

Re: [osg-users] [build] Building with MinGW on Windows 10

2019-05-20 Thread Alberto Luaces
"Stefan Waldegger" writes: > I did not work with OSG for a while, but today I decided to continue > on my project and downloaded the lates OSG 3.6.3. The configuration of > the make files worked very well, but then when I write mingw32-make > following error occurs at 15%. git's HEAD is working

Re: [osg-users] Retrieve the triangles indices array from a geometry.

2019-05-13 Thread Alberto Luaces
"Dario Minieri" writes: > Hello, > > I need to retrieve the triangles indices from a geometry. > > I'm able to get all the verticies via getVertexArray() and then build an > array that contains the getVertexArray() datas as list of scalars: [v1.x v1.y > v1.z v2.x v2.y v2.z ... ] Hi, Dario.

Re: [osg-users] [forum] Dragging individual model nodes

2019-04-29 Thread Alberto Luaces
"Maxim Senin" writes: > I want to completely detach the door!!! Nice to know!!! Then what you want is to use osg::Transform::setReferenceFrame() on the node holding the position of the door, switching from RELATIVE_RF to ABSOLUTE_RF so its coordinates are in the global system and not in the

Re: [osg-users] [forum] Dragging individual model nodes

2019-04-24 Thread Alberto Luaces
"Maxim Senin" writes: > Yes, I found the necessary node, what should I do next? It depends: do you want to completely detach the door, or just rotate it around its hinges? -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Image capture in memory

2019-04-24 Thread Alberto Luaces
"Catalin Flower" writes: > 2) It creates windows, I don't want to see windows flashing on the screen > while the capture happens If I recall correctly, this is what the pbuffer option does, setting renderImplementation = osg::Camera::PIXEL_BUFFER; You can try the others to see the effect,

Re: [osg-users] Image capture in memory

2019-04-16 Thread Alberto Luaces
"Catalin Flower" writes: > Hi, > > What is the canonical way to capture an image of a view to memory with > different resolutions? Hi, I think that examples/osgposter/osgposter.cpp might be what you are looking for. -- Alberto ___ osg-users mailing

Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-11 Thread Alberto Luaces
"Bruce Clay" writes: > When I walk through the nodes in the > DOFTransform list I can see that each node has an osg::Transform but > calling asPositionAttitudeTransform returns NULL as do many of the > other possible converters. That is right, because they are not PositionAttitudeTransforms, but

Re: [osg-users] osgSim::DOFTransform pivot point

2019-04-10 Thread Alberto Luaces
"Bruce Clay" writes: > I am working on a model viewer that has portions based on the > osgsidebyside example. I can load a tank model that has both > DOFTransforms and Multiswitches then rotate the turret and elevate the > gun and everything works correctly. > > I loaded an aircraft model with

Re: [osg-users] Clip planes and instanced rendering

2019-04-09 Thread Alberto Luaces
Wojciech Lewandowski writes: > Hi Alberto, > > You may need to add support for clip planes via gl_ClipVertex or > gl_ClipDistance to your shaders (which one depends on GLSL version used -see > https://stackoverflow.com/questions/19125628/how-does-gl-clipvertex-work-relative-to-gl-clipdistance).

[osg-users] Clip planes and instanced rendering

2019-04-09 Thread Alberto Luaces
Hi, I want to set a clipping plane for my scene, but it is not working for instanced geometries. I have not found any resource telling that clipping planes are ignored by GLSL. Simple test: if I make the following modifications to osgforest, diff --git a/examples/osgforest/osgforest.cpp

Re: [osg-users] Change color of node read from dxf file

2018-11-21 Thread Alberto Luaces
Chris Hanson writes: > I dunno man, your code is making my head explode. I don't think Geode HAS an > addChild method, so I don't even know why what you're doing would compile. > > I don't think I can help any further. I'm missing something or you are. > Hi, Chris, Geode was subclassed from

Re: [osg-users] reflection on mesh texture

2018-11-09 Thread Alberto Luaces
"Vinicius Nonnenmacher" writes: > Hi, > > I am trying to understand what are these 'wavy' effect. It changes > depending on the camera position. Is it my texture that is beeing > replicated for every triangle on the terrain mesh ? or the material > attached to it ? Hi Vinicius, I think it is a

Re: [osg-users] Selecting a GPU to be used in a dual-GPU laptop

2018-10-19 Thread Alberto Luaces
Great! Thanks a lot, Florent! COUDRET Florent writes: > Hi Alberto, > > for NVidia and AMD graphics cards, we declare 2 public variables at > global scope to force using GPU at run-time (even if there is no > existing application profile). > > > extern "C" { > >     /// Declare this variable

Re: [osg-users] Selecting a GPU to be used in a dual-GPU laptop

2018-10-19 Thread Alberto Luaces
Trajce Nikolov NICK writes: > I owned laptop with same configuration and obviously the Radeon driver > software kit (or how it is called) comes with an app where you select > the card per app. You select your app in this Radeon app and it will > run on the selected device That is what I tried,

Re: [osg-users] Selecting a GPU to be used in a dual-GPU laptop

2018-10-19 Thread Alberto Luaces
Chris Hanson writes: > I believe I was previously told that there are some secret C symbols wherein > if you create a variable of a particular name, it acts as a hint to the > driver to trigger particular behavior. > > I can't at the moment find the names of the symbols or what they do, but

[osg-users] Selecting a GPU to be used in a dual-GPU laptop

2018-10-18 Thread Alberto Luaces
Hi, some client owns a laptop with a dual GPU system —the typical integrated Intel card plus an additional Radeon 530 one into a windows10 system. It seems that the driver selects automatically the Radeon when using some CAD applications, but only the integrated Intel when running our OSG

Re: [osg-users] Thoughts on Gitter, or other forums as alternative to our current forum/ML?

2018-09-15 Thread Alberto Luaces
Robert Osfield writes: > I don't > have any significant experience with Gitter but have just started > looking into it - I see that osgjs has a presence. But it is like a chat room, right? Without individual topics, just a single room for conversation... -- Alberto

Re: [osg-users] osgQt + OSG 3.6.2 Status

2018-09-11 Thread Alberto Luaces
Mathieu MARACHE writes: > Back from holidays... > > Community support is thin when considering OpenSceneGraph with Qt. I > am currenlty the only maintainer of osgQt because I have a software > using it and I didn't want the project to be tossed out. > > The Qt4 way of doing things with legacy

Re: [osg-users] C++11 for next stable release of OpenSceneGraph?

2018-06-11 Thread Alberto Luaces
Robert Osfield writes: > I would suggest that OpenSceneGraph-3.x series remain compilable > without needing C++11. So 3.6.x for instance we'll make bug fixes etc > but never change the compiler requirements. Having that fallback (3.x) for the tiny amount of systems that don't support C++11 is a

Re: [osg-users] [forum] how can i static link to OSG

2018-06-11 Thread Alberto Luaces
"lee xingshun" writes: > Hi, > > while i using staic link libarary to write a demo,i found many error link 2019 > this is my code ,have anybody know? do i need link the lib file or not ? Hi, so link 2019 means "unresolved external symbol - function". Can you please copy the names of the

Re: [osg-users] Export the cropped model

2018-06-11 Thread Alberto Luaces
"Bingqian Wang" writes: > Hi, > > I want to export the model to a file,the model was cliped by clipNode,how can > i do that? > Thank you! > Hi, I'm afraid that it is not possible to do it in an automatic way, since the clipped model is computed by the GPU on the fly, not by OSG, so it is not

Re: [osg-users] OpenSceneGraph-3.6.1 release candidate 2 tagged

2018-05-11 Thread Alberto Luaces
Sebastian Messerschmidt writes: > Hi, > > I've been testing the current build and just discovered, that there > are some things that are different. > > To point out one specifically: > I'm using calls to > osgDB::Registry::addEntryToObjectCache(file_name, result_node) > ommitting the options

Re: [osg-users] OpenSceneGraph-3.6.1 release candidate 3 tagged

2018-05-11 Thread Alberto Luaces
Robert Osfield writes: > Hi Alberto, > > Thanks for the minimal crashing program. The crash wasn't straight > forward to pinpoint the cause but eventually I traced it back to the > the ObjectCache taking a ref_ptr when search for entries in > the ObjectCache. To avoid this I wrote a

Re: [osg-users] OpenSceneGraph-3.6.1 release candidate 3 tagged

2018-05-10 Thread Alberto Luaces
Hi, I think this issue was commented somewhere else, but I couldn't find it again: there is something broken with the cloning of osgDB::Options. This minimal working example works fine with 3.4.x, but SIGSEVs with 3.6.1-rc3 and current master: #include int main(){ auto globalopts = new

Re: [osg-users] [ANN] Cross-platform examples for Linux, macOS, Windows, Android, iOS, and Web

2018-04-17 Thread Alberto Luaces
michael kapelko writes: > Hi. > > All hail the second cross-platform example on how to use PNG images > (embedded into application) with PNG/ImageIO plugins: > https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/02.TextureImage Thanks, nice resource! -- Alberto

Re: [osg-users] OpenSceneGraph-3.6 branch made, please test in prep for stable 3.6.0 release

2018-03-20 Thread Alberto Luaces
Hi, it cross-compiles and runs the viewer (loading some obj and ive files) just fine with mingw-64 on linux. By the way, is the CDash system still working? I was unable to find it, and maybe it is of use for this task. The CI available at github seems to be choking on the fact that OSG takes

Re: [osg-users] Overriding the mouse pan up/down

2018-02-27 Thread Alberto Luaces
"Adrian Jelffs" writes: > Hi, > > When I pan left and right with my mouse the scene moves left and > right. However, when I try to pan up and down the scene zooms in and > out. How can I change this so that the using the mouse to in an > up/down direction causes a pan in the up/down direction?

Re: [osg-users] Free camera manipulator

2018-01-09 Thread Alberto Luaces
"Kazim Kamilov" writes: > Hi, OSG community! > > In OSG is not have free camera manipulator. Need to fix it! > Robert, can you add this in the osgGA? > Sources in attachment. > > Thank you! > Dear Kazim, by just attaching your files in a post in the general channel you risk that your submission

Re: [osg-users] osg installation error

2018-01-08 Thread Alberto Luaces
The image shows an error about a "-loptimized" library not found. This is likely because of some incorrect configuration settings. Please show the configuration steps you issued. -- Alberto ___ osg-users mailing list

Re: [osg-users] Specifying indices of triangle vertices when creating osg::geometry

2017-12-21 Thread Alberto Luaces
"antiro black" writes: > I also looked at the primitive sets to see if I could specify indices > there but I couldn't figure it out. the example you are looking for is osggeometry: https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osggeometry/osggeometry.cpp#L685 --

Re: [osg-users] [build] compile osg on Debian Jessie, after build there are inclue files missing

2017-12-18 Thread Alberto Luaces
"Bernd Hahnebach" writes: > Hi, > > I have been trying to compile OSG on Debian Jessie > > here is what I did. > > Code: > git clone https://github.com/openscenegraph/OpenSceneGraph -b > OpenSceneGraph-3.4 osg34 > mkdir build > cd build > cmake -DCMAKE_BUILD_TYPE=Debug ../osg34 > > > > >

Re: [osg-users] Slow optimization and OpenFlight

2017-11-27 Thread Alberto Luaces
Robert Osfield writes: > I gave up the valgrind tool=callgrind because it was taking too long > to complete. What I did gleen from it was that the run confirms that > removeChildren() is a bottleneck. For these matters the "perf" utility in the linux-perf package reaches near-uninstrumented

Re: [osg-users] [forum] Problem With Osg Texture Colors!

2017-10-10 Thread Alberto Luaces
"Bobak Hossainkhani" writes: > Hi, > I Have Some Problems With .Obj Model's That Load With OSGViewer > I Dont Know Why When Load A Colorfully Obj With Jpeg Texture , Colors On Obj > Was Mixed And Dont Show True Colors.If Anybody Have The Solution Please Help > Me. > In Attachment I Send A 3d

Re: [osg-users] [EXTERNAL] Re: Is there a binary distribution available for version 3.4.0?

2017-10-10 Thread Alberto Luaces
Chris Hanson writes: > I think I've since come up with an idea to work around their weird > demands, but I wasted a bunch of time and hair on it. All of us who > build and distribute OSG binaries really should cooperate and work > together, but I'm not sure how to go about doing that. Maybe for

Re: [osg-users] OpenSceneGaph-3.5.7 developer release tagged

2017-10-10 Thread Alberto Luaces
Cross-compiling with mingw (gcc 6.3.0) — no problems when running osgversion or osgviewer. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Obj model visualization using osg

2017-10-10 Thread Alberto Luaces
"Jai Singla" writes: > Hi, > > But, now a days many sw are available like unity, worldviz vizard which are > built on OSG ? Is not any plug-in developed for OSG directly? > Hi Jai, Certainly, Unity is not built on OSG. I do not know about Vizard, but I think you are right about the point that

Re: [osg-users] memory issue about x-windows in Linux

2017-08-03 Thread Alberto Luaces
"Lv Qing" writes: > Hi, >I know it is not be an osg problem. Just want to know anyone here may met > the same problem. >We use reahat linux 6.5 to run our osg app .The desktop is kde4.3.4. . > After 7 to 20 days,we found the X-windows Process (X) suddenly took all > of system's

Re: [osg-users] OSG Delaunay and alternatives

2017-07-28 Thread Alberto Luaces
Trajce Nikolov NICK writes: > Hi Community, > > I am using the Delaunay triangulator from OSG. For simple cases it works > fine, but not enough for real world ones. Any suggestion for constrained > Delaunay triangulation library? > > Thanks a bunch as always! Hi, Nick, Triangle

Re: [osg-users] OpenGL

2017-07-05 Thread Alberto Luaces
"Mottaghi, Arman" writes: > Hi all, > > I have a general question. I’ve googled this before, but I haven’t had > any luck. I am new to programming world, so I decided to give it a > shot on this forum/mailing list. > > I have a program written in C++ and it uses OSG and OpenGL for its > visual

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-27 Thread Alberto Luaces
Roberto Oliveira writes: > Alberto, > > I was able to build it using Qt4, to do so I added > -DDESIRED_QT_VERSION=4 flag to cmake command and it worked. Nice to know, thanks for posting! -- Alberto ___ osg-users mailing list

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-27 Thread Alberto Luaces
Roberto Oliveira writes: > Alberto, > > The build worked fine in Alpine Linux x86_64, but when I tried to buid > in Alpine Linux ppc64le, I got the following error: > > /home/alpine/aports/testing/openscenegraph/src/OpenSceneGraph-3.4.0/include/osgQt/Version:8:2: > error: #error "Qt version

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Alberto Luaces
Alberto Luaces writes: > Roberto Oliveira writes: > >> The openscenegraph needs a specific version of ffmpeg to compile or am >> I missing something? > > Yes, that issue seems to be currently fixed in master. ...and maybe this patch is useful for you if you want t

Re: [osg-users] Failed to build openscenegraph on Alpine

2017-06-26 Thread Alberto Luaces
Roberto Oliveira writes: > The openscenegraph needs a specific version of ffmpeg to compile or am > I missing something? Yes, that issue seems to be currently fixed in master. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OpenGL warning

2017-05-25 Thread Alberto Luaces
"Qiaokun Lefei" writes: > Hi, > > I always come across this warning "Warning: detected OpenGL error > 'invalid operation' after RenderBin::draw(..)" in my osg project. Mybe > it's just the problem of the driver. I want to know how to make this > warning disappear or just shield it. Hi Qiaokun,

Re: [osg-users] Related to memcpy

2017-04-17 Thread Alberto Luaces
"Rambabu Repaka" writes: > Hi, Iam getting the below error in the memcpy(dst,src,count) in osg. > > Unhandled exception at 0x0f75ee38 (msvcr90d.dll) in Partice.exe: 0xC005: > Access violation reading location 0x. > > How to eliminate this error ? > ... > Hi Rambabu, mind you that

Re: [osg-users] How to get the orientation of 3d object?

2017-04-12 Thread Alberto Luaces
"Jiechang Guo" writes: > Hi, > > I am dealing with a task of orienting and positioning one object > relative to another(the same object as the manipulated one,but has > different position and orientation). And when the task is finished, I > wanna compute the deviation(both position and

Re: [osg-users] osg::Timer

2017-04-12 Thread Alberto Luaces
"Latha Rani Baddala" writes: > Hi, > > Can any one explain about osg::timer Hi Latha, it is a clock class that you can use as a stopwatch. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How can I get pixels 3D coordinates and RGB values from a geode ?

2017-04-12 Thread Alberto Luaces
"Yrieix Leprince" writes: > Hi, > > I am working on a osg::Geode (constructed from .osgb files), and I > would like to have all the 3D coordinates of each pixels (x,y,z), and > also the Red Green Blue values. At the end I need to have a 3D point > cloud with RGB values as properties. > > I have

Re: [osg-users] Having an issue with OSG plugins error.

2017-04-12 Thread Alberto Luaces
"Brigham Keys, Esq." writes: > Hello all, > > I have OpenSceneGraph set up in my project, however when I try to load > any files I always get this error > > Error reading file build/untitled.osgt: read error (Could not find > plugin to read objects from file "build/untitled.osgt".) > > Which I

Re: [osg-users] [ANN] Cross-platform guide for Linux, macOS, and Windows

2017-04-05 Thread Alberto Luaces
michael kapelko writes: > Hi, Alberto. > > This seems like a valid path, but I'm not yet sure how to insert it into > do-it-yourself series. I'll give it a thought. Aaaah, ok. I thought it was more of a "I'm a newbie, how do I compile this whole thing myself" :) -- Alberto

Re: [osg-users] [ANN] Cross-platform guide for Linux, macOS, and Windows

2017-04-04 Thread Alberto Luaces
michael kapelko writes: > 1.2. Install OpenSceneGraph under Linux and display the cube with osgviewer Hi Michael, good work. Maybe it is a philosophical issue, but instead of installing the dependencies one by one I would just issue a sudo apt-get build-dep openscenegraph which, as the man

Re: [osg-users] Fwd: Slow down with shared nodes

2017-03-08 Thread Alberto Luaces
Andre Normann writes: > Hi Alberto, > > I did it. The two files differ only in format style but not the syntax. I > would say the two files are identical. With the provided example every one > can reproduce the slow down effect. Sorry, I was confused by the fact that only one file was sent. I

Re: [osg-users] Fwd: Slow down with shared nodes

2017-03-08 Thread Alberto Luaces
Andre Normann writes: > Hi Robert, > > I used 3.2.3 to load the obj files and converted it into ive format. In 3.2.3 > I load the ive file, build my scenegraph and I get 60 fps. When I now load > the same ive file into 3.4.0, build my scenegraph, I get the slow down. Hi Andre, I guess the

Re: [osg-users] Up to date tutorials for linux

2017-03-02 Thread Alberto Luaces
"Rodrigo Dias" writes: > Hi Robert, > >> Building under linux/unix is explained in the OpenSceneGraph/README > > Right. But you also has a link at Documentation | Platform Specific | > Linux. I thought everything platform specific would be there, but it > wasn't, so I went to other sources

Re: [osg-users] Heap Corruption

2017-01-10 Thread Alberto Luaces
Ok, the next I would do is to see what is OSG trying to print in this stack frame (the ninth from the beginning): osg130-osgUtild.dll!std::operator<<(std::basic_ostream & _Ostr, const char * _Val) Line 806C++ maybe that could serve as a

Re: [osg-users] Heap Corruption

2017-01-10 Thread Alberto Luaces
"Théo Nassour" writes: >>SICLAV.OsgRendering.dll!SICLAV::nodes::Tree3D::accept(osg::NodeVisitor & >> nv) Line 31C++ Hi Théo, is that library in its "Debug" configuration? -- Alberto ___ osg-users mailing list

Re: [osg-users] How to draw 3D cylinder and 3D band?

2017-01-04 Thread Alberto Luaces
Hi Daven, no screenshot came through, but I think I understand what you want to do. You will have to construct the geometry yourself. Please have a look at the osggeometry example. Actually you can deform the cylinder with scaling operations, but that is not possible for the band, so you will

Re: [osg-users] Check if sampler2D is valid in fragment shader

2017-01-03 Thread Alberto Luaces
"Rômulo Cerqueira" writes: > Hi Sebastian, > > I have used the last openscenegraph stable package in ubuntu (version > 3.2.3 - https://launchpad.net/ubuntu/+source/openscenegraph), and > there is no setDefine() method in osg::StateSet (only for 2.4 and > newer). There is a different way? > Hi

Re: [osg-users] Texturing with GLBeginEndAdapter

2016-12-29 Thread Alberto Luaces
Aaron Andersen writes: > I've created a subclass to the Drawable class called "MyDrawable". In > the drawImplementation function I'm have a couple > gl.Begin(GL_QUADS)/gl.End() calls to draw 3 simple rectangles. I'm > unsure of how to apply 3 separate textures to these 3 rectangles. From >

Re: [osg-users] System requirements for OpenSceneGraph

2016-12-28 Thread Alberto Luaces
"Nikita Petrov" writes: > I've googled a lot and I can't find any info about OpenGL or graphic card > requirements for OSG. > Yes, because it pretty much depends on what your code is doing and in which hardware it is executing. I would dare to say that there are not any minimum requirements

Re: [osg-users] Upon Clicking the mouse left button the model should appear there

2016-12-05 Thread Alberto Luaces
"Rambabu Repaka" writes: > Hi,Model is Loading but requirement is where the mouse button clicks it > should display there. Ok, then as Robert suggested, further inspect your event class. Place a breakpoint at ModelController::handle() to see if it is being called at all. -- Alberto

Re: [osg-users] Upon Clicking the mouse left button the model should appear there

2016-12-05 Thread Alberto Luaces
"Rambabu Repaka" writes: > osg::ref_ptr model = > osgDB::readNodeFile("D:/RamFolder/OSG/OSG_Binary/OpenSceneGraph-3.0.1-VS9.0.30729-x86-debug-12741/data/cessna.osg"); Are you sure the model is loading correctly? -- Alberto ___ osg-users

Re: [osg-users] [osgOcean] Dose anybody has other learing resources about osgOcean?

2016-11-22 Thread Alberto Luaces
"Rambabu Repaka" writes: > Hi,Can anyone have the source code of latest version of osg ocean (except osg > ocean 1.0). Hi Rambabu, inspecting the available forks in github, there is one that seems to be updated at least to OSG 3.4.0, though I have not personally tried it:

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread Alberto Luaces
Yes, there is no "high-level" way. I hope it works for you. sam writes: > Hi Alberto, > > No. I was hoping to avoid hacking the CMakeFiles up. I will give this a try. > > Thanks! > > On Tue, Nov 8, 2016 at 5:07 AM, Alberto Luaces <alua...@udc.es>

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread Alberto Luaces
sam writes: > Hi All, > > Is there a simple way to disable the plugin project files from being > generated via CMake? > Hi, Sam. Did you try to comment or delete the 31st line of src/CMakeLists.txt? https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/CMakeLists.txt#L31 --

Re: [osg-users] Issue in Rendering Obj model using c++ code .

2016-10-14 Thread Alberto Luaces
"Uma Devi Selvaraj" writes: > But in Release Mode I am facing error. Hi, Uma. Yes, in the screenshot it is shown that you are still linking with the Debug libraries. Please link with the proper ones. -- Alberto ___ osg-users mailing list

Re: [osg-users] osgversion command fails with symbol lookup error on new clone of OpenSceneGraph 3.5.5 on Linux

2016-10-13 Thread Alberto Luaces
Robert, by the way, due to those recent changes in the OT API, I think it would be a good move to bump the soname to 21. Thanks! Alberto Robert Osfield writes: > Hi Curtis, > > Curious, what Linux variant are you using? > > FYI, I develop under Kubuntu 16.04 at present, so all the new

Re: [osg-users] OpenGL Support in Windows Remote Desktop Protocol

2016-09-29 Thread Alberto Luaces
Robert Osfield writes: > On 29 September 2016 at 10:32, Alberto Luaces wrote: >> I was precisely searching yesterday in the OSG examples directory to seee >> if there were any program printing the detected GL characteristics >> (similar to what glxinfo does on linux),

Re: [osg-users] OpenGL Support in Windows Remote Desktop Protocol

2016-09-29 Thread Alberto Luaces
Alistair Baxter writes: > I’ve just discovered that my Windows 10 (Version 1511, last year’s > November Update) desktop machine now supports OpenGL 4.5 over RDP! > > Apparently this has been in the pipeline for some time, but the only > official word about it has been this post on an MS sysadmin

Re: [osg-users] [build] Where to obtain dependencies for Ubuntu

2016-09-05 Thread Alberto Luaces
"Kaku Ro" writes: > From the wiki it said just running apt-get build-dep openscenegraph > command to download. But it does not work. Is there any tutorial about > it? That command is correct. Please show us the exact error message you are getting. -- Alberto

Re: [osg-users] [build] Where to obtain dependencies for Ubuntu

2016-09-01 Thread Alberto Luaces
"Kaku Ro" writes: > Hi, > > I'm newbie for OSG and is going to build OSG 3.4.0 on Ubuntu 16. > But I can't find the dependencies from the official Wiki. > Does anyone know where can I get it? > Hi, you can read the following page referring to linux:

Re: [osg-users] Linux packaging: Qt 4 vs 5

2016-07-15 Thread Alberto Luaces
Hi Stuart, Stuart Mentzer writes: > Hello, > > The OpenSceneGraph-qt/-devel (OSG 3.4.0) packages on Fedora 24 are > built against Qt 4. I'm wondering if that is suggested by OSG (maybe > due to the single thread restriction on Qt 5) or is the choice of the > Fedora packager. > I think the main

Re: [osg-users] [osgPlugins] Infinite loop loading OBJ with a new osgDB::Options

2016-07-11 Thread Alberto Luaces
"Julien Valentin" writes: > Hi, > I don't understand: > when i open wavefront obj with osgviewer all is right but in my application i > get stuck in an infinite loop. > I set a new osgDB::Options to readrefnodefile, could it come from that? > Here's the stacktrace when i break the inf loop. >

Re: [osg-users] Why ref_ptr node can not release memory immediatelly?

2016-07-08 Thread Alberto Luaces
Hi John, there was a recent discussion on the topic that may be interesting to you: http://forum.openscenegraph.org/viewtopic.php?t=15809 "John Lee" <357059...@qq.com> writes: > Hi, > > In my appllication, there are many child nodes in my root node. When i > dynamically remove its child node,

Re: [osg-users] Creating a annex/attic repository for old and no longer used parts of the OSG

2016-06-20 Thread Alberto Luaces
Robert Osfield writes: > Thoughts? In my opinion, a new repo implies extra maintenance duties (even they are likely low), but cannot guarantee that it is synced or working with the latest OSG version, so it has a little added value. Removing things at the point they were working is a good aid

Re: [osg-users] PagedLOD and page in/out detection

2016-06-03 Thread Alberto Luaces
Trajce Nikolov NICK writes: > Now it doesn't .. Any clue or hint how to detect such changes? git bisect? It is very useful for that kind of "it does work / now it doesn't"... -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Submission/Pull Request problems on github

2016-05-20 Thread Alberto Luaces
"Jannik Heller" writes: > Hi Robert, > > by fixing the author names you have essentially re-written the > repository history. This means that everyone who submitted > pull-requests in the past will have to manually rebase their changes > on top of the new history. But it's not so difficult to do

Re: [osg-users] Remove all LOD children

2016-05-13 Thread Alberto Luaces
. However, It never gets to the initial > value, there is always some memory floating around. > > 2016-05-13 15:16 GMT+01:00 Alberto Luaces > <alua...@udc.es>: > > Bruno, > > if you read the source code, you will see that the LOD uses the > same

Re: [osg-users] Remove all LOD children

2016-05-13 Thread Alberto Luaces
writes: > Thank you for your answer. However, since I'm using a LOD, I think it > is not properly removing my data. At least the memory is still > allocated. > If I manually iterate over all nodes and delete them by myself, some > memory is freed, but not all! > > 2016-05-13 14

Re: [osg-users] Remove all LOD children

2016-05-13 Thread Alberto Luaces
Bruno Oliveira writes: > At some point I want to completely wipe out my scene. How can I delete > all nodes? If you want to wipe a node and all its descendants, just delete the parent node. That is what reference counting is all about. -- Alberto

Re: [osg-users] Clear scene data and underlying memory structures

2016-05-13 Thread Alberto Luaces
Bruno Oliveira writes: > I am using Ubuntu's System monitor. > How can I measure it more accurately? A good tool is valgrind's massif (http://valgrind.org/docs/manual/ms-manual.html) -- Alberto ___ osg-users mailing list

Re: [osg-users] Clear scene data and underlying memory structures

2016-05-13 Thread Alberto Luaces
Bruno Oliveira writes: > Hello, > > thank you for your answaer. However, that does not have any effect :( One thing you are not stating is how are you measuring your memory consumption. Relaying on OS stats may not be precise enough since when one frees some memory block, OSes tend to not

Re: [osg-users] [build] Can't build documentation

2016-04-29 Thread Alberto Luaces
Hi Goj, I think you are almost there: you don't use BUILD_DOCUMENTATION as a make target, but you have to set it in CMake instead. You can either activate the BUILD_DOCUMENTATION variable inside CMake (using ccmake or cmake-gui), or just in the command line with cmake -DBUILD_DOCUMENTATION=ON

Re: [osg-users] ShaderComposer::releaseGLObjects warning

2016-04-25 Thread Alberto Luaces
Robert Osfield writes: > On 18 April 2016 at 20:30, Robert Osfield wrote: > >> Hi Jannik and Ulrich, >> >> You are right it's a bug, the missing const is an error, rather than the >> missing virtual. I've fixed this and rewritten the implementation of >>

Re: [osg-users] [build] Can't build documentation

2016-04-25 Thread Alberto Luaces
"Goj Ames" writes: > Hi, > I'm also not able to build the docs, but with different failure: > osg 3.5.2 sync'd from github a few days ago. > Doxygen version 1.8.8 > The core_Doxyfile has: > EXTENSION_MAPPING = no_extension=C++ > Debian > > pwd > /home/gjames/OpenSceneGraph > echo

Re: [osg-users] [osgPlugins] osgjs failing to build in osg 3.5.1

2016-04-25 Thread Alberto Luaces
Hi Ben, can you confirm that /wrkdirs/usr/ports/graphics/osg-devel/work/OpenSceneGraph-3.5.1/include/osg/Image exists? -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Disabling plugins via CMake

2016-04-25 Thread Alberto Luaces
sam writes: > Hi All, > > Is there a simple way to disable the plugins from building in OSG? I'd > like to be able to just build the OSGCore without having to uncheck > the boxes in visual studio. > Hi Sam, I usually open src/osgPlugins/CMakeLists.txt and comment or remove all the

Re: [osg-users] [osgPlugins] gstreamer plugin failing to build in osg 3.4.0

2016-04-25 Thread Alberto Luaces
Hi Ben, can you post the value of all the GSTREAMER_* cmake variables? Maybe that could be used as a clue. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Segfault when using addChild on Group object

2016-04-25 Thread Alberto Luaces
Andre, maybe you can inspect in the cmake settings (ccmake or cmake-gui) if the detected OSG include path and the OSG library path match as expected (i.e. are under the same root directory). Another chance is to run the program under gdb, enter into any OSG function and see where the compiler

Re: [osg-users] Javascript read .osg/.osgb?

2016-03-10 Thread Alberto Luaces
FlySky writes: > Hi, > > I want to read .osg/.osgb without conversion using javascript in webgl > , could you give me some good suggestions or ideas ? Using osgjs? https://github.com/cedricpinson/osgjs -- Alberto ___ osg-users mailing list

  1   2   3   4   5   6   7   >