<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.6;
    }
    ul,ol{
        padding-left: 20px;
        list-style-position: inside;
    }
</style>
<div style = 'font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif; line-height:1.6;'>
    <div ></div><div>
    <div>
        <span style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;">1. Re: osgQt include files (Michael W. Hall)</span><br style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;"><span style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;">2. Re: Advice requested: Is OSG what I need for my project?</span><br style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;"><span style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;">(Johny Canes)</span><br style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;"><span style="color: rgb(49, 53, 59); font-family: Verdana, 'Microsoft Yahei', SimSun, sans-serif; line-height: 22.4px;">3. Re: Procedural terrains in oder to dig it. (Johny Canes)</span><span>
            
        </span>
    </div>
    <div>
        <span>
            <br>
        </span>
    </div>
    <div  style="font-family:'微软雅黑'">
     
    <div style="font-size:14px; padding: 0;  margin:0;line-height:14px;">
        <div style="padding-bottom:6px;margin-bottom:10px;border-bottom:1px solid #e6e6e6;display:inline-block;">
                    <a href="https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=jonasydy&uid=jonasydy%40gmail.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22jonasydy%40gmail.com%22%5D" style="display:block;background:#fff; max-width: 400px; _width: 400px;padding:15px 0 10px 0;text-decoration: none; outline:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
            <table cellpadding="0" style="width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse;color: #9b9ea1;font-size: 14px;line-height:1.3;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
                <tbody style="font-family: 'PingFang SC', 'Hiragino Sans GB','WenQuanYi Micro Hei', 'Microsoft Yahei', '微软雅黑', verdana !important; word-wrap:break-word; word-break:break-all;-webkit-text-size-adjust:none !important;text-size-adjust:none !important;">
                    <tr class="firstRow">
                            <td width="38" style="padding:0; box-sizing: border-box; width: 38px;">
                                <img width="38" height="38" style="vertical-align:middle; width: 38px; height: 38px; border-radius:50%;" src="https://mail-online.nosdn.127.net/qiyelogo/defaultAvatar.png">
                            </td>
                            <td style="padding: 0 0 0 10px; color: #31353b;">
                                <div style="font-size: 16px;font-weight:bold; width:100%; white-space: nowrap; overflow:hidden;text-overflow: ellipsis;">jonasydy</div>
                            </td>
                    </tr>
                        <tr width="100%" style="font-size: 14px !important; width: 100%;">
                            <td colspan="2" style="padding:10px 0 0 0; font-size:14px !important; width: 100%;">
                                    <div style="width: 100%;font-size: 14px !important;word-wrap:break-word;word-break:break-all;">jonasydy@gmail.com</div>
                            </td>
                        </tr>
                </tbody>
            </table>
        </a>
        </div>
    </div>
    <div style="font-size:12px;color:#b5b9bd;line-height:18px;">
        <span>签名由</span>
        <a style="text-decoration: none;color:#4196ff;padding:0 5px;" href="https://mail.163.com/dashi/dlpro.html?from=mail81">网易邮箱大师</a>
        <span>定制</span>
    </div>
 </div>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On <span class="mail-date">9/25/2018 04:20</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;" href="mailto:osg-users-request@lists.openscenegraph.org"><osg-users-request@lists.openscenegraph.org></a> wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family: '微软雅黑';">
Send osg-users mailing list submissions to<br>    osg-users@lists.openscenegraph.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org<br><br>or, via email, send a message with subject or body 'help' to<br>     osg-users-request@lists.openscenegraph.org<br><br>You can reach the person managing the list at<br>   osg-users-owner@lists.openscenegraph.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of osg-users digest..."<br><br><br>Today's Topics:<br><br>   1. Re: osgQt include files (Michael W. Hall)<br>   2. Re: Advice requested: Is OSG what I need for my project?<br>      (Johny Canes)<br>   3. Re: Procedural terrains in oder to dig it. (Johny Canes)<br>   4. Re: Image containing floats (ivar out)<br>   5. glMemoryBarrier (Tyler Durden)<br>   6. Re: Obtain the position of a node (Johny Canes)<br>   7. Re: glMemoryBarrier (PaweÅ‚ Księżopolski)<br>   8. Absolute/world position (Johny Canes)<br>   9. Re: Absolute/world position (Johny Canes)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 23 Sep 2018 20:48:44 -0500<br>From: "Michael W. Hall" <hallmw@att.net><br>To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org><br>Subject: Re: [osg-users] osgQt include files<br>Message-ID: <1537753724.3990.20.camel@att.net><br>Content-Type: text/plain; charset="utf-8"<br><br>Well I built OSG and did not install from a package. ?I made the change<br>in Option two. ?I changed the two lines to add lib64. ?I also had to<br>add /usr/local to the PATHS section. ?That got rid of some of the<br>error. ?It now finds all but osg. ?Not sure what it up. ?I see the<br>libosg library in the /usr/local/lib64 directory. ?Still working on it.<br>Thanks,<br>Michael<br>On Sat, 2018-09-22 at 00:04 -0500, Michael W. Hall wrote:<br> <blockquote class="mmbqc1">My osg libraries are in /usr/local/lib64. ?I built osgEarth and it<br> found the osg libs, but the osgQt does not find the libs. ?Not sure<br> what is up with the osgQt. ?I run ccmake to do the configure and it<br> does not find the libraries. ?Has anyone else had this issue?<br> <br> Thanks,<br> Michael<br> <br> On Wed, 2018-09-19 at 11:13 +0200, Mathieu MARACHE wrote:<br> <blockquote class="mmbqc2">Hi Michael,<br> <br> Thanks that help understanding the issue. CMake finds the include<br> file named 'osg/Version' in /usr/local/include but fails to find<br> any library for the following components 'osgDB', 'osgGA',<br> 'osgUtil', ?'osgText', 'osgViewer', 'osgWidget '?and lastly ''osg'<br> not 'OpenThreads' itself.<br> <br> For example it looks for osgDB for optimized libraries and osgDBd<br> for debug libraries. Could you verify that your /usr/local/lib<br> folder contains such libraries ?<br> <br> I recall that on linux 64bits libraries may be installed in<br> /usr/local/lib64 and not in /usr/local/lib (without the 64<br> appended).<br> <br> If this is the case, you are then left with two options :<br> <br> Option 1 you are the one building osg and installing it so you can<br> modify osg's CMake install path for libraries.<br> <br> You can call CMake to set LIB_POSTFIX to an empty string when<br> configuring osg on your system<br> it is set by default to 64 when building on unix 64bits<br> architectures<br> ? ? ? SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir<br> placement")<br> <br> that would mean configuring like this :<br> <br> $> cmake -DLIB_POSTFIX="" ....<br> <br> Option 2 if you get osg from a package you need to modify your<br> local copy of CMake's module to add the lib64 to the PATH_SUFFIXES.<br> On your system that would be?/usr/share/cmake-<br> 3.5/Modules/Findosg_functions.cmake . You need to modify two lines<br> to replace?<br> <br> 'PATH_SUFFIXES lib'<br> <br> by?<br> <br> 'PATH_SUFFIXES lib lib64'<br> <br> <br> <br> HTH<br> --<br> n??????<br> <br> <br> On Wed, 19 Sep 2018 at 03:54, Michael W. Hall <hallmw@att.net><br> wrote:<br> <blockquote class="mmbqc3">Hope this is correct.<br> <br> On Tue, 2018-09-18 at 08:39 +0200, Mathieu MARACHE wrote:<br> <blockquote class="mmbqc3">Hi Micheal,<br>?<br> This is not the output of cmake but the output of cmake<br> </blockquote>determining<br> <blockquote class="mmbqc3">your compiler capabilities. I should have been more clear last<br> </blockquote>time.<br> <blockquote class="mmbqc3">Please run:<br>?<br> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On .<br> </blockquote>&><br> <blockquote class="mmbqc3">output.log<br>?<br> and send back this output.log file that will contain everything<br> </blockquote>cmake<br> <blockquote class="mmbqc3">has run through<br>?<br> As a last note. It is always better to do out of source or<br> </blockquote>below<br> <blockquote class="mmbqc3">source cmake like this :<br>?<br> .../osgQt<br> .../osgQt-build<br>?<br> the run cmake from osgQt-build like this :<br>?<br> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On<br> ../osgQt<br> &> output.log<br>?<br> or<br>?<br> .../osgQt<br> .../osgQt/build<br>?<br> and run cmake from osgQt/build like this :<br>?<br> cmake --debug-output --trace-expand -DOpenSceneGraph_DEBUG=On<br> </blockquote>.. &><br> <blockquote class="mmbqc3">output.log<br>?<br> I prefer the later and either way generated files won't lie<br> </blockquote>with<br> <blockquote class="mmbqc3">original source code<br>?<br> Regards,<br> Mathieu<br>?<br>?<br> On 18/09/2018, Michael W. Hall <hallmw@att.net> wrote:<br><blockquote class="mmbqc3">?<br> Just wondering the if anyone has noticed anything in the log<br> </blockquote></blockquote>files.<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3">?Still have not had any luck.<br> Thanks,<br> Michael<br> On Sat, 2018-09-15 at 01:22 -0500, Michael W. Hall wrote:<br><blockquote class="mmbqc3">?<br> Here is the output you requested.<br>?<br> Thanks,<br> Michael<br>?<br> On Fri, 2018-09-14 at 17:18 +0200, Mathieu MARACHE wrote:<br><blockquote class="mmbqc3">?<br> Hi Michael,<br>?<br> I'd like the output of the command :<br>?<br> cmake -DOpenSceneGraph_DEBUG=On ./<br>?<br> Regards<br> --<br> n??????<br>?<br>?<br> On Wed, 12 Sep 2018 at 02:56, Michael W. Hall <br> </blockquote></blockquote></blockquote></blockquote>.net><br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">wrote:<br><blockquote class="mmbqc3">?<br> I attached the log file.? When I do cmake, I am just<br> </blockquote></blockquote></blockquote></blockquote></blockquote>doing<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">cmake<br> ./ ?I am not really sure what you are asking for in<br> </blockquote></blockquote></blockquote></blockquote></blockquote>your<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">second<br> question.<br>?<br> On Mon, 2018-09-10 at 18:12 +0200, Mathieu MARACHE<br> </blockquote></blockquote></blockquote></blockquote></blockquote>wrote:<br><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">?<br> Hi Michael,<br>?<br> It's difficult to tell what went wrong, could you try<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>to<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">add<br> the 'OpenSceneGraph_DEBUG' variable when running<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>cmake ?<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">And<br> also include the parameters you set to your cmake<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>call for<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">osgQt ?<br>?<br><blockquote class="mmbqc3">?<br> cmake -DOpenSceneGraph_DEBUG=True ...<br> </blockquote>Regards<br> --<br> n??????<br>?<br>?<br> On Sun, 9 Sep 2018 at 08:04, Michael W. Hall <br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>att.ne<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">t><br> wrote:<br><blockquote class="mmbqc3">?<br> Got the osgQt from github.? When I try to configure<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>I am<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">getting the following error.<br>?<br> ?CMake Error at<br> ?/usr/share/cmake-<br> 3.5/Modules/FindPackageHandleStandardArgs.cmake:148<br> ?(message):<br> ???Could NOT find OpenSceneGraph (missing:<br> OPENSCENEGRAPH_LIBRARIES<br> ???OSGDB_FOUND OSGGA_FOUND OSGUTIL_FOUND<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>OSGTEXT_FOUND<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">OSGVIEWER_FOUND<br> ???OSGWIDGET_FOUND OPENTHREADS_FOUND) (found<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>suitable<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">version<br> "3.7.0", minimum<br> ???required is "3.0.0")<br> ?Call Stack (most recent call first):<br> ???/usr/share/cmake-<br> 3.5/Modules/FindPackageHandleStandardArgs.cmake:388<br> ?(_FPHSA_FAILURE_MESSAGE)<br> ???/usr/share/cmake-<br> 3.5/Modules/FindOpenSceneGraph.cmake:234<br> ?(FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br> ???CMakeLists.txt:130 (FIND_PACKAGE)<br>?<br> I have osg 3.7.0 installed.? Any idea why it is not<br> finding<br> it?<br>?<br> Thanks,<br> Michael<br>?<br> On Sun, 2018-08-12 at 08:09 -0500, Michael W. Hall<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>wrote:<br><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">?<br> Thanks,<br>?<br> On Sun, 2018-08-12 at 08:36 +0300, Konstantin<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>Podsvirov<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">wrote:<br><blockquote class="mmbqc3">?<br> Hello Michael!<br>?<br> 0:13, 12 August 2018 ?., "Michael W. Hall"<br> t>:<br> This may have been answered.? I got the latest<br> version of<br> OpenSceneGraph from github.? It is version<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>3.7.? I<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">built<br> and installed.<br> When I try to compile my program I am getting<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>the<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">following error:<br>?<br> In file included from<br><br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>/home/hallmw/Projects/osgMap/applications/osgmap/osgm<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">ap.c<br> pp:12:0:<br><br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>/home/hallmw/Projects/osgMap/include/osgmap/MainWindo<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">w:31<br> :34: fatal<br> error: osgQt/GraphicsWindowQt: No such file or<br> directory<br>?<br> I can check that directory and there are no<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>header<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">files<br> in it.? Any<br> idea whey they are missing?<br>?<br> Thanks,<br> Michael<br>?<br> The osgQt now is a separate project.<br> You should build and install osgQt too.<br>?<br> https://github.com/openscenegraph/osgQt<br>?<br> --<br> Regards,<br> Konstantin Podsvirov<br> _______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/os<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>g-user<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">s-op<br> enscenegraph.org<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>users-<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">open<br> scenegraph.org<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraphorg/listinfo.cgi/osg-use<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>rs-ope<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">nsce<br> negraph.org<br>?<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-user<br> </blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>s-open<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">scen<br> egraph.org<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraphorg/listinfo.cgi/osg-users-o<br> </blockquote></blockquote></blockquote></blockquote></blockquote>pensce<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">negr<br> aph.org<br>?<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-users-op<br> </blockquote></blockquote></blockquote></blockquote>enscen<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">egra<br> ph.org<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-users-open<br> </blockquote></blockquote></blockquote>sceneg<br> <blockquote class="mmbqc3"><blockquote class="mmbqc3"><blockquote class="mmbqc3">raph<br> .org<br> </blockquote></blockquote>_______________________________________________<br> </blockquote>osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegr<br> aph.org<br> <br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegra<br> ph.org<br> </blockquote>_______________________________________________<br> osg-users mailing list<br> osg-users@lists.openscenegraph.org<br> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph<br> .org<br></blockquote>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180923/ba17ebb2/attachment-0001.html><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 24 Sep 2018 09:35:20 +0200<br>From: "Johny Canes" <psijsma@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] Advice requested: Is OSG what I need for my<br>    project?<br>Message-ID: <1537774519.m2f.74961@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi,<br><br>No absolutely do not use Osg. It may not be mentioned, but Osg is quite heavyweight.<br><br>Osg is a render engine, not a scene graph, whatever that is.<br><br>Shockingly, people don't even use Osg because it is a scene graph. We use it because it thinly abstracts(?)OpenGL, and leaves you with a looot of performance, if you treat the Osg right.<br><br>Do not write a 3d chat-bot (?) with Osg!<br><br>Thank you!<br><br>Cheers,<br>Johny<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74961#74961<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 24 Sep 2018 09:38:58 +0200<br>From: "Johny Canes" <psijsma@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] Procedural terrains in oder to dig it.<br>Message-ID: <1537774738.m2f.74962@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi,<br><br>I wouldn't use osgEarth, that's a heavy notekit, which is in its own a rather sluggish heavy prebuilt thing people use to make planets I think.<br><br>I get what you're asking. You're thinking of some voxel type thing... Hm, just build your own.<br><br>Thank you!<br><br>Cheers,<br>Johny<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74962#74962<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 24 Sep 2018 10:02:21 +0200<br>From: "ivar out" <ivarout@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] Image containing floats<br>Message-ID: <1537776141.m2f.74963@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Thanks David! I got it to work now. <br><br>Here my function creating a 2D texture from a 2-Dimensional vector, in case it's of any use to anyone. <br><br><br>Code:<br><br>osg::Texture2D* createTextureLUT2D(std::vector<std::vector<float> >& data)<br>{<br>    int rows = data.size();<br>       int cols = data[0].size();<br>    <br>      //create image containing one channel of float, we use the RED channel<br>        osg::Image* image = new osg::Image;<br>   image->allocateImage(cols, rows, 1, GL_RED, GL_FLOAT);<br>     image->setInternalTextureFormat(GL_R32F);  <br><br>    //set the data to the image; the image stores successive columns rather than succesive rows<br>   float* dataPtr = (float*)image->data();<br>    for (int b = 0; b < cols; b++)<br>             for (int a = 0; a < rows; a++)<br>                     *dataPtr++  = data[a][b];<br><br>      //create the texture and set its image<br>        osg::ref_ptr<osg::Texture2D> texture = new osg::Texture2D;<br>      texture->setImage(image);<br>  texture->setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::NEAREST);<br>   texture->setFilter(osg::Texture2D::MAG_FILTER, osg::Texture2D::NEAREST);<br><br> return texture.release();<br>}<br><br><br><br><br>cheers, Ivar<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74963#74963<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Mon, 24 Sep 2018 10:19:13 +0200<br>From: "Tyler Durden" <mynewphoneaaaa@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: [osg-users] glMemoryBarrier<br>Message-ID: <1537777153.m2f.74964@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi,<br><br>I have two compute shader and i need that second cs must wait until first cs finished his work. Do i have to use memory barriers between each dispatch compute invocation? How can i invoke glMemoryBarrier in openscenegraph?<br><br>Thank you!<br><br>Cheers,<br>Tyler<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74964#74964<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Mon, 24 Sep 2018 12:16:23 +0200<br>From: "Johny Canes" <psijsma@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] Obtain the position of a node<br>Message-ID: <1537784183.m2f.74965@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>*7 years later<br><br>... This is a problem in 2018.<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74965#74965<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Mon, 24 Sep 2018 13:13:55 +0200<br>From: "PaweÅ‚ Księżopolski" <pawel.ksiezopolsk@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] glMemoryBarrier<br>Message-ID: <1537787635.m2f.74966@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br><br>sergio2k18 wrote:<br> <blockquote class="mmbqc1"><br> I have two compute shader and i need that second cs must wait until first cs finished his work. Do i have to use memory barriers between each dispatch compute invocation? How can i invoke glMemoryBarrier in openscenegraph?<br> <br></blockquote><br><br>You certainly should use memory barrier in this case.<br><br>In osggpucull example there is InvokeMemoryBarrier draw callback, that you may connect to your osg::DispatchCompute.<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74966#74966<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Mon, 24 Sep 2018 13:25:36 +0200<br>From: "Johny Canes" <psijsma@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: [osg-users] Absolute/world position<br>Message-ID: <1537788336.m2f.74967@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi,<br><br>I've been using the following snippet to get a final world position<br><br>Code:<br>n.getBound().center() * computeLocalToWorld(n.getParentalNodePaths()[0]));<br><br><br><br>This works correctly some of the time, e.g. for a shallow scene, or one that is freshly imported from an .obj loader, etc.<br><br>But things go awry when nesting Pats, and will returns 'doubly multiplicated' coordinates or otherwise just coords that make no sense to me.<br><br>Is there a real surefire way to get the absolute / world coordinates from a node / pat?<br><br>Alternatively, could I be doing something wrong? I have several pats and nodes inside of eachother, and maybe something is bad.<br><br>Thank you!<br><br>Cheers,<br>Johny<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74967#74967<br><br><br><br><br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Mon, 24 Sep 2018 18:33:32 +0200<br>From: "Johny Canes" <psijsma@gmail.com><br>To: osg-users@lists.openscenegraph.org<br>Subject: Re: [osg-users] Absolute/world position<br>Message-ID: <1537806812.m2f.74968@forum.openscenegraph.org><br>Content-Type: text/plain; charset=UTF-8<br><br>Hi,<br><br>Like this unanswered thread from 2011 (http://forum.openscenegraph.org/viewtopic.php?t=8366) suggests, replacing the bounds center with a vec3(1,1,1) is much better.<br><br>Code:<br>Vec3(1,1,1) * computeLocalToWorld(pat->getParentalNodePaths()[0]);<br><br><br><br>This gives me the result I'm looking for.<br><br>Thank you!<br><br>Cheers,<br>Johny<br><br>------------------<br>Read this topic online here:<br>http://forum.openscenegraph.org/viewtopic.php?p=74968#74968<br><br><br><br><br><br><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>osg-users mailing list<br>osg-users@lists.openscenegraph.org<br>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org<br><br><br>------------------------------<br><br>End of osg-users Digest, Vol 135, Issue 28<br>******************************************<br></blockquote><!--😀-->
</div>
</body>
</html>