Re: [osg-users] Tagging triangles in the BSP

2008-11-08 Thread Jean-Sébastien Guay
Hello Andrew, I hear that the OSG now supports BSP tree capability. Perhaps what you heard was that OSG now supported intersection testing with a *kd-tree* structure? That would be true, but not BSP trees (yet). I was wondering if this included functionality for tagging metadata onto the

[osg-users] How to bind a osgGA::TrackballManipulator to a scene node!

2008-11-08 Thread YangXiao
Hi everyone : How to bind a osgGA::TrackballManipulator to a scene node! Best Regards. YangXiao! - 雅虎邮箱,您的终生邮箱!___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] VPB: Superimposed or switch different textures possible?

2008-11-08 Thread Alejandro Aguilar Sierra
Hello: Is it possible to switch between different textures over the same terrain? Is it possible to superimpose different textures over the same terrain? Thanks in advance, -- A. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How to bind a osgGA::TrackballManipulator to a scene node!

2008-11-08 Thread Wang Rui
Hi YangXiao, I think it should be binded to the scene viewer using setCameraManipulator() Wang Rui 2008/11/8 YangXiao [EMAIL PROTECTED] Hi everyone : How to bind a osgGA::TrackballManipulator to a scene node! Best Regards. YangXiao! -- 雅虎邮箱,您的终生邮箱!

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-08 Thread Jean-Sébastien Guay
Hi Jeremy, Hey, I can't e-mail through work on the weekends, so I have to use gmail off lists. :) Feel free to forward this back to the lists for archival... Done, see below :) I'll probably end up sending you the changes tomorrow instead of today. Sorry about that, but since nobody uses it

Re: [osg-users] How to bind a osgGA::TrackballManipulator to a scene node!

2008-11-08 Thread Robert Osfield
Hi YangXia, 2008/11/8 YangXiao [EMAIL PROTECTED]: Hi everyone : How to bind a osgGA::TrackballManipulator to a scene node! Could you explain a bit more about what you are trying to achieve as on its own the above sentence doesn't really provide enough info to know what you are after, and

Re: [osg-users] VPB: Superimposed or switch different textures possible?

2008-11-08 Thread Robert Osfield
Hi Alejandro, The best way to manage swtiching between different textures over the same terrain is use multiple texture units, and then if you blend between them as required. The osgTerrain::TerrainTile class supports multiple osgTerrain::Layer(s) so you can attach multiple images as multiple

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-08 Thread Robert Osfield
Hi Guys, On Sat, Nov 8, 2008 at 12:24 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: P. S. If I'm real lucky, Robert has expressed a VERY slight interest in merging some small part of osgCairo into OSG itself, but we'll have to see. At any rate, to know it works on Windows would help no

Re: [osg-users] VPB: Superimposed or switch different textures possible?

2008-11-08 Thread Ümit Uzun
Hi Alejando, If you want to create expilicit LOD terrain image, the answer is YES. If you want to change the texture of specified area by the distance of the viewer you can create your terrain with using --levels parameters. With --levels parameter you can define expected image in this levels.

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-08 Thread Cedric Pinson
Hi Jean-Sebastien, It's really great, i would love to see osgCairo and osgPango in osg. nice work Cheers, Cedric Jean-Sébastien Guay wrote: Hi all, Hi Jeremy, As I mentioned a little while ago, I stopped trying to get osgCairo and osgPango working on Windows because of time constraints (it

[osg-users] How to extract info from geotiff to warp image

2008-11-08 Thread Alejandro Aguilar Sierra
Hi, I just created a texture for my terrain. How can I extract the projection and georeferencial information from the terrain heighfile in geotiff format to apply it to the texture? I guess I should use gdalwarp. Regards, -- A. ___ osg-users mailing

Re: [osg-users] VPB: Superimposed or switch different textures possible?

2008-11-08 Thread Alejandro Aguilar Sierra
Hi Robert and Umit, How should I run the osgmultitexturecontrol example? Regards, -- A. On Sat, Nov 8, 2008 at 11:14 AM, Robert Osfield [EMAIL PROTECTED] wrote: Hi Alejandro, The best way to manage swtiching between different textures over the same terrain is use multiple texture units,

[osg-users] 回复: Re: How to bind a osgG A::TrackballManipulator to a scene node!

2008-11-08 Thread YangXiao
Thanks Robert . I means to bind a osgGA::TrackballManipulator only to a scene node, and others scene node i use PickHandler(). Can I achieve this function? YangXiao. Robert Osfield [EMAIL PROTECTED] 写道: Hi YangXia, 2008/11/8 YangXiao : Hi everyone : How to

[osg-users] rewrite glTexImage2D() with OSG

2008-11-08 Thread dmu_rhx
Hi! I wrote a program with opengl, now I want to rewrite the program with OSG. But I don't know how to rewrite the following code: glGenTextures(1, texture[l]); glBindTexture(GL_TEXTURE_2D, texture[l]); glTexParameteri(GL_TEXTURE_2D,GL_GENERATE_MIPMAP_SGIS, GL_TRUE);