Jesús Zarzoso | 22 Sep 11:29 2014

OsgVolume. Rendering of multiple intersected volumes

Hello.

We are using osgVolume in our latest project. It is working perfectly as long as we don´t  try to render more than one volume in the same view, and those volumes intersect with each other. In this case, we are having what it looks as depth problems. Please look at the attached images.
First of all, is this case supported by the OsgVolume library? 

We are using the MultipassTechnique, so, at the root of the graph, there is a VolumeScene node. Then, some levels below, each volume is created as an individual Volume node, with its corresponding VolumeTile, ImageLayer and their Locators. We have tried also using a unique Volume node and creating multiple VolumeTiles, but with the same result.

Regarding the properties set to the layers, we are using this code:

  osgVolume::AlphaFuncProperty* ap = new osgVolume::AlphaFuncProperty(0.02f);
  osgVolume::SampleDensityProperty* sd = new osgVolume::SampleDensityProperty(0.001);
  osgVolume::SampleDensityWhenMovingProperty* sdwm = new      osgVolume::SampleDensityWhenMovingProperty(0.002);


The OSG version is the  Developer Release 3.3.2.on Windows 7 64 bit.

Any clue why this is happening?

Thank you.
<div><div dir="ltr">Hello.<div><br></div>
<div>We are using osgVolume in our latest project. It is working perfectly as long as we don&acute;t &nbsp;try to render more than one volume in the same view, and those volumes intersect with each other. In this case, we are having what it looks as depth problems. Please look at the attached images.</div>
<div>First of all, is this case supported by the OsgVolume library?&nbsp;<br>
</div>
<div><br></div>
<div>We are using the MultipassTechnique, so, at the root of the graph, there is a VolumeScene node. Then, some levels below, each volume is created as an individual Volume node, with its corresponding VolumeTile, ImageLayer and their Locators. We have tried also using a unique Volume node and creating multiple VolumeTiles, but with the same result.</div>
<div><br></div>
<div>Regarding the properties set to the layers, we are using this code:</div>
<div><br></div>
<blockquote class="gmail_quote">
<blockquote class="gmail_quote">&nbsp; osgVolume::AlphaFuncProperty* ap = new osgVolume::AlphaFuncProperty(0.02f);</blockquote>
<blockquote class="gmail_quote">&nbsp; osgVolume::SampleDensityProperty* sd = new osgVolume::SampleDensityProperty(0.001);</blockquote>
<blockquote class="gmail_quote">&nbsp; osgVolume::SampleDensityWhenMovingProperty* sdwm = new &nbsp; &nbsp; &nbsp;osgVolume::SampleDensityWhenMovingProperty(0.002);</blockquote>
</blockquote>
<div><br></div>
<div><br></div>
<div>The OSG version is the &nbsp;Developer Release 3.3.2.on Windows 7 64 bit.</div>
<div><br></div>
<div>Any clue why this is happening?</div>
<div><div>
<div><br></div>
<div>Thank you.</div>
<div>Jes&uacute;s.<br clear="all"><div><br></div>-- <br><div dir="ltr">
<span>Jes&uacute;s Zarzoso &lt;</span><a href="mailto:jesus.zarzoso@..." target="_blank">jesus.zarzoso@...</a><span>&gt;</span><br><span>Mirage Technologies S.L</span><br><a href="http://www.mirage-tech.com/" target="_blank">http://www.mirage-tech.com</a><br>
</div>
</div>
</div></div>
</div></div>
Maxim Kuzmin | 22 Sep 10:54 2014
Picon

[3rdparty] Animated 3d-models for OSG

Hi,

I have .osgt file with valid 3d-model. It has one animation for all elements of the scene. As I saw in OSG
examples (nathan.osg and bignathan.osg) it is possible to create a file with some separate animations.
But as far as I know, 3dsmax and Blender can make animations in one timeline only, i.e. one animation per scene.
So the question is - what 3d-editor was used to create nathan.osg and bignathan.osg? In other words, what
3d-editor may be used for creation of one scene with some separate animations?

Thank you!

Cheers,
Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61102#61102

Alberto Luaces | 19 Sep 12:18 2014
Picon

Doxygen generated documentation with doxygen >= 1.8.8

Hi,

has anybody been able to generate the documentation with doxygen version
1.8.8 (latest)?  I get at most a menu with the list of source headers,
but no class nor member information, as happened before.

I'm thinking that something could have been changed in this new doxygen
release, but I cannot figure what parameter is to blame.

Thanks,

--

-- 
Alberto

吴亚刚 | 19 Sep 09:15 2014

how dose osgautocapture work when in stereo mode

 dear all,
 I just want to know, how dose osgautocapture work when in stereo mode, bucause I need the left-eye and right-eye image at the same time.
 left-eye rendering and right-eye rendering  one by one may cuase problem, when the scene meet callbak animatoin.
 thanks.
 
 whu


<div>
<div>
<div>&nbsp;dear all,</div>
<div>&nbsp;I just want to know, how dose osgautocapture work when in stereo mode, bucause I need the left-eye and right-eye image at the same time.</div>
<div>&nbsp;left-eye rendering&nbsp;and right-eye rendering&nbsp; one by one may cuase problem,&nbsp;when the scene meet callbak animatoin.</div>
<div>&nbsp;thanks.</div>
<div>&nbsp;</div>
<div>&nbsp;whu</div>
</div>
<br><br><span title="neteasefooter"><span></span></span>
</div>
Trajce Nikolov NICK | 18 Sep 21:47 2014
Picon

recent changes to osg::Geometry

Hi Robert, Community,

I spent good time to go through the archive looking for the announcement from Robert from time ago about the changes in osg::Geometry with no luck. And I don't mean the last one that now it is a regular osg::Node, but was something else, and I don't remember what was it.

Can you/someone give me brief insights in the changes made in the last versions what were they and why?

Thanks a bunch !

Nick
--
trajce nikolov nick
<div><div dir="ltr">Hi Robert, Community,<div><br></div>
<div>I spent good time to go through the archive looking for the announcement from Robert from time ago about the changes in osg::Geometry with no luck. And I don't mean the last one that now it is a regular osg::Node, but was something else, and I don't remember what was it.</div>
<div><br></div>
<div>Can you/someone give me brief insights in the changes made in the last versions what were they and why?</div>
<div><br></div>
<div>Thanks a bunch !</div>
<div><br></div>
<div>Nick</div>
<div>-- <br>trajce nikolov nick<br>
</div>
</div></div>
Alessio G. B. | 18 Sep 16:04 2014
Picon

Re: OS X 10.9 Segmentation fault OSG 3.2.1

Hi,

this is the LLDB debugging output:

Code:

Process 33093 launched: './game' (x86_64)
Process 33093 stopped
* thread #1: tid = 0x207b1, 0x0000000100383529
libOpenThreads.20.dylib`OpenThreads::Atomic::operator--() + 9, queue =
'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x0000000100383529 libOpenThreads.20.dylib`OpenThreads::Atomic::operator--() + 9
libOpenThreads.20.dylib`OpenThreads::Atomic::operator--() + 9:
-> 0x100383529:  lock   
   0x10038352a:  xaddl  %eax, (%rdi)
   0x10038352d:  decl   %eax
   0x10038352f:  popq   %rbp
(lldb) q
Quitting LLDB will kill one or more processes. Do you really want to proceed: [Y/n] y

Thank you!

Cheers,
Alessio

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61087#61087

Alessio G. B. | 18 Sep 14:59 2014
Picon

Re: OS X 10.9 Segmentation fault OSG 3.2.1

Hi,

I built OSG in this mode (please, note the double dots at end):

Code:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/alex/Programs/OpenSceneGraph
-DBOOST_ROOT=/Users/alessio/Programs/Boost156 ..

and I use it in this mode (after I setted up the environment):

Code:
clang++ -std=c++11 -Wall -pedantic `pkg-config --cflags --libs openscenegraph` -O0 -g -o game main.cpp

Where are the problems?

Thank you!

Cheers,
Alessio

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61081#61081

Alessio G. B. | 18 Sep 13:29 2014
Picon

Re: OS X 10.9 Segmentation fault OSG 3.2.1

Hi,

the following simple program raise SEGFAULT, why?

Code:

int main (int argc, char **argv)
{
    osg::ArgumentParser ap (&argc, argv);
    osg::ref_ptr<osgViewer::Viewer> viewer = new osgViewer::Viewer (ap);
    osg::ref_ptr<osg::Camera> camera = new osg::Camera;

    return viewer->run ();
}

Thank you!

Cheers,
Alessio

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61077#61077

John Drummond | 18 Sep 02:05 2014
Picon

Re: Qt5 integration first try

Hi,

Claus. Are you willing to share the source code.

Thank you!

Cheers,
John

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61069#61069

Re: OSG MFC problem


> Hi, this is a thread synchronization. You can use a user event to solve it. Example is in the book:osg 3.0
beginner' guide.
> Sen

Hyunsoo | 17 Sep 10:18 2014

OSG MFC Debug Memory leak detection problem.

Hi. I am using osg 3.2.1 and osgEarth 2.5.0 and visual studio 2013.

When my mfc program terminated in debug mode, huge memory dump popping in my IDE output window.

Is this normal?

Some google search says it's normal. But I couldn't find any solution to get rid of the memory dump.

Does anyone know how to solve this problem?

Or I took some mistake to release memory in my code?

Anyway...always thanks for the reply. :)





 
 
 
 
 
 
 
 
 
 
당신과 제가 다름이 세상을 풍요롭게 합니다...^^v
Differences between U and me make the world plentiful...^^v
<div><div class="wc_wrapper">
<div>Hi. I am using osg 3.2.1 and osgEarth 2.5.0 and visual studio 2013.</div>
<div><br></div>
<div>When my mfc program terminated in debug mode,&nbsp;huge memory dump popping in my IDE output window.</div>
<div><br></div>
<div>Is this normal?</div>
<div><br></div>
<div>Some google search says it's normal. But I couldn't find any solution to get rid of the memory&nbsp;dump.</div>
<div><br></div>
<div>Does anyone know how to solve this problem?</div>
<div><br></div>
<div>Or I took&nbsp;some&nbsp;mistake to release memory in my code?</div>
<div><br></div>
<div>Anyway...always thanks for the&nbsp;reply. :)</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div>&nbsp;</div>
<div class="_wcSign"><div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&#45817;&#49888;&#44284; &#51228;&#44032; &#45796;&#47492;&#51060; &#49464;&#49345;&#51012; &#54413;&#50836;&#47213;&#44172; &#54633;&#45768;&#45796;...^^v</div>
<div>Differences between U and me make the world plentiful...^^v</div>
</div></div>
</div></div>

Gmane