Re: [osg-users] [ANN] 3rdParty Package for VS 2008 SP1 updated

2011-03-13 Thread Jean-Sébastien Guay

Hi Torben,


I added Nvidias Texture Tools 2.0.8 with CUDA support (Cuda SDK 3.2) (also 
32bit and 64bit).


Did you test the 64 bit version of NVTT? I recently downloaded it, and 
found that it did not load png or jpg images - it seems it's been 
packaged with 32 bit DLLs of libpng and libjpeg, which the 64 bit 
executable can't use... I even found some recent forum posts on the 
nvidia developer forum where the main programmer for nvtt says that he 
gets his DLLs from gnuwin32 which don't have 64 bit versions of these 
DLLs yet...


Was I doing something wrong there? I just ended up downloading the 32 
bit version. Does this affect the nvtt lib that OSG will link to in 
order to compress textures? Or will OSG load up the jpeg/png images 
itself and then hand the raw data to nvtt to compress?


Just wondering... Thanks,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.dyndns-web.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [ANN] 3rdParty Package for VS 2008 SP1 updated

2011-03-13 Thread Torben Dannhauer
Hello dear OSG-community,

I have updated the 3rdPartyPackage for Visual Studio 2008 Sp1 for 32 and 64 bit.

The current Version is now V4.

Changes: 
I added Nvidias Texture Tools 2.0.8 with CUDA support (Cuda SDK 3.2) (also 
32bit and 64bit).

I updated also the source package with build instructions for NVTT.

I also modified the Cmake scripts to find the NVTT entrys automatically in the 
package. I will submit it as soon as possible.


Best regards,
Torben

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Kinect

2011-03-13 Thread Chris 'Xenon' Hanson
On 3/12/2011 4:51 PM, ted morris wrote:
> Hi Chris,
> I think your plot is misrepresenting the appropriate feature space for this 
> analysis. You are
> missing estimated component angles of each ray extending from the image plane 
> to the surface
> target + angle of incidence. I would simplify the scene substantially; why 
> not take a 
> flat surface (a piece of foam board with know dimensions) and place it in an 
> open space at a 
> few known distances from the sensor?

  Yes, it's quite a poor test. I was actually only seeking to quantify the low 
end of the
error, which is plainly visible as the thick band down in the <5 region. My 
code averages
errors out down in this range, and throws errors out that are outside this 
range.

  There's a lot more work and testing that could be done in this space, but my 
client's
application didn't really call for anything further.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
"There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Forked osgIntrospection to cppintrospection

2011-03-13 Thread Robert Osfield
Hi Alexandre,

On Sun, Mar 13, 2011 at 2:20 PM, Alexandre Quessy  wrote:
> Are you OK if we use the GNU Autotools for the packaging? It's simply
> that I know them, and it's rather easy to do pretty much anything with
> them. I made a pkg-config file with a version number in it.

I wouldn't recommend using Autotools, even under a pure Unix platform
using gmake.  We didn't adopt Autotools for quite a few reasons, even
for my own pure unix applications I wouldn't use Autotools.

CMake is far more capable, and supports VisualStudio out of the box as
well as XCode, something that Autotools won't help you with.  It's
well worth putting the effort into learning CMake.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgVolume volume rendering ?

2011-03-13 Thread Robert Osfield
Hi Niamul,

I can't say anything abou the problems you having as you don't provide
any details about the transfer function you are using, what volume
rendering techniques and setings, or any screenshots you are using.

The only thing I can qualify is that the screenshots on the
DigitalLearning website are all using the standard Present3D
application that comes as part of the OpenSceneGraph.  The set up of
the volumes is all done using the standard dicom plugin that comes
with the OSG and just using settings set up by Present3D via it's xml
format and supporting ascii files that define the transfer functions
used.  All this same functionality and more is available form the
osgvolume example too.  So... what you see on the website are what
osgVolume can do without any modification or additional shaders.

Robert.


On Sun, Mar 13, 2011 at 6:39 AM, Naimul Khan  wrote:
> Hi everyone,
>
> Apologies for reviving an old thread. I have been playing around with 
> osgvolume recently and have been able to volume render set of dicom images. 
> But I am getting similar results as this thread's opener (i.e. the bounding 
> box is still there). I tried to tweak the 1D transfer function in osgvolume, 
> but did not quite get what I was looking for. However, while googling for 
> tips and tricks, I found this:
>
> (since I can not post links, I will request to google the following query, 
> the first result shows what I am talking about)
>
> google digitallearningfoundation jmvp_movies
>
>
> They also state that they are using osgVolume for this kind of rendering. I 
> was wondering whether the stock osgVolume can do something of this quality, 
> or do I have to write my own volume rendering code?
>
> ...
>
> Thank you!
>
> Cheers,
> Naimul
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=37571#37571
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-03-13 Thread GeeKer Wang
That's strange, my processor is Genuine Intel T2300.
But there is still mtune=atom in commandline.

On Sun, Mar 13, 2011 at 5:28 PM, Eric Wing  wrote:

> > CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> > -fasynchronous-unwind-tables'
>
> Just browsing through. Does "-mtune=atom" look right to you? That
> implies to me optimization biases for Atom processors. If you don't
> have one, then maybe this flag should be removed or changed.
>
> -Eric
> --
> Beginning iPhone Games Development
> http://playcontrol.net/iphonegamebook/
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Bob
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Forked osgIntrospection to cppintrospection

2011-03-13 Thread Alexandre Quessy
Hello Wang Rui,

2011/3/12 Wang Rui :
> It's really good to know that somebody is interested in the
> introspection framework. During the last few months I managed to merge
> genwrapper into the osgIntrospection project and made an semi-auto
> wrapper-generating utility. But I'm not able to make all kinds of
> classes work properly at present, and couldn't update the project
> along with the latest OSG version without troubles.

I will make more tests, but the current master branch of my Git
repository seems to be able to generate cpp files with success.

Yes, that Boost::spirit code generator is a rather interesting project.

> I'd like to go deep into this project after my client work finished.
> And I'm willing to cooperate with any body with interests. I just
> wonder if you could attend the osgIntrospection project and submit
> your changes directly to its SVN trunk (as below), instead of keeping
> another project with a maybe confusing name? As I'm still struggling
> against genwrapper's possible bugs, your knowledge will really help at
> this time. I'll try to ask for a read/write account for you if
> possible.

Yes, of course I am willing to work with you on the official upstream
osgIntrospection/genwrapper project. Of course I want to stay in sync
with your code, since I am more a packaging helper than the vode
maintainer in this project. The maintainer (lead developer) is you. :)

I have a few questions:

I renamed it because we thought its namespace would clash with older
OSG versions. Is it really the case? If so, should we rename it to
cppintrospection as I did, or keep it named osgIntrospection?

Would you be interested in using a Git repository to manage this code?
I have seen a 200% speed increase in my workflow since I use
distributed revision control tools, like Git.

Are you OK if we use the GNU Autotools for the packaging? It's simply
that I know them, and it's rather easy to do pretty much anything with
them. I made a pkg-config file with a version number in it.

Best regards,
-- 
Alexandre Quessy
http://alexandre.quessy.net/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Intersection tests on paged PagedLODs

2011-03-13 Thread Wang Rui
Hi Trystan,

Try using IntersectionVisitor::setReadCallback() to set a custom
callback for reading paged files into memory (or any other operation
you wish). The node loaded at runtime will automatically be removed
after the traversal of the subgraph.

BTW, thanks for supporting the 3.0 Beginners Guide book. :-)

Cheers,

Wang Rui


2011/3/13 Trystan Larey-Williams :
> Hi all,
>
> I'm looking for a way to selectively load PagedLODs saved to files on an 
> intersection test. I've built up an Octree represented by a PagedLOD node for 
> each subdivision (similar to the quad-tree example in the 3.0 beginner's 
> guide). Given an arbitrary point or line, I want to be able to test the 
> PagedLODs it intersects with without having unnecessary ones loaded into 
> memory.
>
> I gather that intersection visitors will only traverse loaded PagedLODs but 
> won't automatically trigger the database pager to load additional levels (is 
> that correct?). Would I need to create a custom visitor to do this or is 
> there an easier way that I'm missing?
>
> Thanks in advance,
> Trystan
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=37568#37568
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Intersection tests on paged PagedLODs

2011-03-13 Thread Trystan Larey-Williams
Hi all,

I'm looking for a way to selectively load PagedLODs saved to files on an 
intersection test. I've built up an Octree represented by a PagedLOD node for 
each subdivision (similar to the quad-tree example in the 3.0 beginner's 
guide). Given an arbitrary point or line, I want to be able to test the 
PagedLODs it intersects with without having unnecessary ones loaded into 
memory. 

I gather that intersection visitors will only traverse loaded PagedLODs but 
won't automatically trigger the database pager to load additional levels (is 
that correct?). Would I need to create a custom visitor to do this or is there 
an easier way that I'm missing? 

Thanks in advance,
Trystan

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Keyboard move camera position

2011-03-13 Thread Dan West
I too am looking for a camera manipulator that I can control using WASD as 
mentioned above.

I went to take a look at the FirstPersonManipulator mentioned, but it wasn't 
there ( in the 2.8.3 source package ). The DriveManipulator isn't exactly what 
I'm looking for either.

The FirstPersonManipulator in subversion doesn't even appear to be a 
MatrixManipulator, I"m thinking there was some refactoring and the 
FirstPersonManipulator was obsoleted?

Is this the case, and if so - should I just write my own FirstPersonManipulator 
equivalent?

Cheers,
talyn

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgVolume volume rendering ?

2011-03-13 Thread Naimul Khan
Hi everyone,

Apologies for reviving an old thread. I have been playing around with osgvolume 
recently and have been able to volume render set of dicom images. But I am 
getting similar results as this thread's opener (i.e. the bounding box is still 
there). I tried to tweak the 1D transfer function in osgvolume, but did not 
quite get what I was looking for. However, while googling for tips and tricks, 
I found this:

(since I can not post links, I will request to google the following query, the 
first result shows what I am talking about)

google digitallearningfoundation jmvp_movies


They also state that they are using osgVolume for this kind of rendering. I was 
wondering whether the stock osgVolume can do something of this quality, or do I 
have to write my own volume rendering code?

... 

Thank you!

Cheers,
Naimul

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Why Compiled OSG is slower than pre-compiled version?

2011-03-13 Thread Eric Wing
> CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables'

Just browsing through. Does "-mtune=atom" look right to you? That
implies to me optimization biases for Atom processors. If you don't
have one, then maybe this flag should be removed or changed.

-Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Kinect

2011-03-13 Thread Sergey Kurdakov
Hi,

maybe not a straightaway solution - but consider to reconstruct geometry
from point cloud.

there is one example code:
http://tetgen.berlios.de/features.html


( see also
links below )

this way you would be able to compute error metric from model to pixels and
decide accordingly

links:

http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
http://www.cs.jhu.edu/~misha/Code/PoissonRecon/ - code (osg Based ) and
paper

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Surface_reconstruction_points_3/Chapter_main.html
 (
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Point_set_processing_3/Chapter_main.html#Section_56.7
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/packages.html#Pkg:Triangulation3

http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesher/Chapter_main.html
 )


papers

http://www.geometry.caltech.edu/pubs/MDDCA10.pdf
http://www.cs.jhu.edu/~bolitho/Research/PoissonSurfaceReconstruction/PoissonRecon.pdf
the
parallel variant http://www.cs.jhu.edu/~misha/MyPapers/ISVC09.pdf
http://www.cs.jhu.edu/~misha/Fall05/Papers/ohtake03B.pdf
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.25.2726&rep=rep1&type=pdf


additionaly

• *GTSLibrary –* The GNU Triangulated Surface Library.
http://gts.sourceforge.net/index.html

• *VTK:* http://www.vtk.org/.

• *Volume and Surface Meshing –*
http://www.cse.ohio-state.edu/~tamaldey/mesh.htm.

• *Poly2Tri:* An open source CDT library http://code.google.com/p/poly2tri/.

• *Jonathan Shewchuk* - http://www.cs.berkeley.edu/~jrs/
http://www.cs.cmu.edu/~quake/robust.html

Regards
Sergey
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org