[osg-users] Cubmap with osg 2.9.9

2010-10-18 Thread Lilinx
Hi , I test osg2.9.9 with osg example osgcubemap, the cubemap is not valid. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Save texture changes via fragment shader

2010-10-18 Thread Aitor Ardanza
Hi Delport, Yes, I have implemented this already ... I have: - Complex model vertex picking. - Texture coordinates of the vertex I need the texture coordinates of the picked vertex area, projected in the model to paint the area, like this: [Image:

[osg-users] SVN error - access forbidden

2010-10-18 Thread Rob Smith
Hi, for some days I always get a access to '/svn/osg/!svn/vcc/default' forbidden error when trying to update from trunk with tortoiseSVN. I can access the repo from the browser other repos are working. After some googling I found out that maybe it helps to restart the svn-server? Thank you!

[osg-users] integrating tessellation shaders into osg

2010-10-18 Thread Waldemar Schwan
Hi all, my goal is to evaluate the usefulness of tessellation shaders for us. We are using a framework around osg so I whould like to use tessellation shaders in osg. I tried my best to introduce tessellation shaders to osg (see diff below) but when running the application the console is

Re: [osg-users] Save texture changes via fragment shader

2010-10-18 Thread J.P. Delport
Hi, On 18/10/10 09:19, Aitor Ardanza wrote: Hi Delport, Yes, I have implemented this already ... I have: - Complex model vertex picking. - Texture coordinates of the vertex I need the texture coordinates of the picked vertex area, projected in the model to paint the area, like this: [Image:

Re: [osg-users] Cubmap with osg 2.9.9

2010-10-18 Thread Robert Osfield
Hi Lilinx, On Mon, Oct 18, 2010 at 7:56 AM, Lilinx lil...@21cn.com wrote:    I test osg2.9.9 with osg example osgcubemap, the cubemap is not valid. What do you mean by the the cubemap is not valid? Does the example not produce the result you are expecting? Are their OpenGL error reports? I

Re: [osg-users] SVN error - access forbidden

2010-10-18 Thread Robert Osfield
Hi Rob, Could you try svn again as I've just done an svn update and I didn't get an errors. Robert. On Mon, Oct 18, 2010 at 9:01 AM, Rob Smith schra...@iabg.de wrote: Hi, for some days I always get a access to '/svn/osg/!svn/vcc/default' forbidden error when trying to update from trunk

Re: [osg-users] SVN error - access forbidden

2010-10-18 Thread Rob Smith
Hi Robert, doesn't work for me :-( any idea? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32809#32809 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] SVN error - access forbidden

2010-10-18 Thread Robert Osfield
Hi Rob, On Mon, Oct 18, 2010 at 10:18 AM, Rob Smith schra...@iabg.de wrote: doesn't work for me :-( any idea? I'm afraid I don't have any ideas, are you able to browse svn online? Could you try: http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk Robert.

Re: [osg-users] integrating tessellation shaders into osg

2010-10-18 Thread Holger Helmich
Hi Waldemar, I am starting to work on the same integration. I have not tried your code, but was wondering if it is not necessary to use the new Primitive Type 'gl_Patches' in order to use the rendering pipline incl. tesselation steps. Regards Holger -- Read this topic online

Re: [osg-users] SVN error - access forbidden

2010-10-18 Thread Rob Smith
ah.. now its working again - hurray! thanks much (whatever you've done ;-)) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32812#32812 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] integrating tessellation shaders into osg

2010-10-18 Thread Waldemar Schwan
Holger Helmich wrote: Hi Waldemar, I am starting to work on the same integration. I have not tried your code, but was wondering if it is not necessary to use the new Primitive Type 'gl_Patches' in order to use the rendering pipline incl. tesselation steps. Regards Holger I think you are

Re: [osg-users] Intersecting volumes and terrain

2010-10-18 Thread J.P. Delport
Hi, you can check the output of osgspheresegment, it might be a start. Otherwise, you can look at the overlay code the guys of osgearth have been making. regards jp On 15/10/10 19:31, Roman Grigoriev wrote: Hi, I generate terrain using VPB and need to implement intersection lines like on

Re: [osg-users] Terrain geometry

2010-10-18 Thread Robert Gosztyla
Hi, VPB isn't really intended for editing terrain, but it generates heightfields that can be dynamically altered at runtime just fine. You just have to be aware that there are multiple LODs of each terrain tile. Could you explain it with more detail? How i can alter heightfield in

Re: [osg-users] Terrain geometry

2010-10-18 Thread Chris 'Xenon' Hanson
On 10/18/2010 7:05 AM, Robert Gosztyla wrote: Hi, VPB isn't really intended for editing terrain, but it generates heightfields that can be dynamically altered at runtime just fine. You just have to be aware that there are multiple LODs of each terrain tile. Could you explain it with more

[osg-users] OpenSceneGraph 3.0 Beginners' Guide, drawing to a close

2010-10-18 Thread Wang Rui
Hi all, During the last 6 months, I'm working on an OSG tutorial book named OpenSceneGraph 3.0 Beginners' Guide, with my co-author Dr. Qian Xuelei, and now the hard time is drawing to a close. The book, which is written totally in English, will be published by Packt Publishing in December 2010.

Re: [osg-users] OpenSceneGraph 3.0 Beginners' Guide, drawing to a close

2010-10-18 Thread Chris 'Xenon' Hanson
On 10/18/2010 9:40 AM, Wang Rui wrote: Any other suggestions are always appreciated and welcomed. Can't wait to see it. It will be very welcomed. Cheers, Wang Rui -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene

Re: [osg-users] Create Cylinder Around Line

2010-10-18 Thread Sanat Talmaki
The code I hav is as below: Every .ive file loads a line object around which I want to draw a cylinder keeping that line as center. Code: int main( int argc, char **argv ) { osg::ref_ptrosg::Group root = new osg::Group(); osg::ref_ptrosg::Node pipe1; osg::ref_ptrosg::Node pipe2;

Re: [osg-users] Thinking of adding to the ReaderWriter interface

2010-10-18 Thread Chuck Seberino
Wang, I was wondering how you would keep this information resident in the Registry. From your first example it seems like you are setting an option that would attempt to be applied to ALL ReaderWriter transactions, regardless of extension. In this case, some general types of options could be

Re: [osg-users] Thinking of adding to the ReaderWriter interface

2010-10-18 Thread Robert Osfield
Hi Wang Rui, Having a more formal ReaderWriter option control would be a good thing, the current osgDB::Option::OptionString usage is rather overstretched and inflexible. The already exists the Options::PluginStringData which is newer and more flexible but not used extensively, making more use

Re: [osg-users] OpenSceneGraph 3.0 Beginners' Guide, drawing to a close

2010-10-18 Thread Torben Dannhauer
Hi Wang, I'm really looking forward to this book, I'm sure it will be a great help to learn key techniques of OSG! Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32823#32823

Re: [osg-users] OpenSceneGraph 3.0 Beginners' Guide, drawing to a close

2010-10-18 Thread David Glenn
Fantastic! I'm always looking for books on the subject - even beginners books make it in my lab. Just saw the right person (my new hire) come in the door. ... Thank you! D Glenn D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your Desk!

Re: [osg-users] changing the up direction of the SphericalManiuplator

2010-10-18 Thread Cory Riddell
I've been plowing through this and I can almost get what I need, I just don't entirely understand a couple of things. Is it safe to think of the view matrix as the camera position and orientation? By doing so, I think I understand SphericalManipulator::getMatrix()

[osg-users] lighting for point sprites

2010-10-18 Thread Don Leich
Hi all, I've been using point sprites with a small 2-d texture map of a sphere for some time now with great results. I'd like to be able to vary the lighting on my spheres and was hoping that I'd be able to replace the picture of the sphere with a flat disc and use a bump map to affect

Re: [osg-users] Thinking of adding to the ReaderWriter interface

2010-10-18 Thread Wang Rui
Hi Chuck, In the first example I obtained a ReaderWriter object named rwDDS, and then call its setGlobalOption() method. So it actually does the same work with the second example, that is, set the global option for a specified plugin. osgDB::setOptions() can set options for all plugins'

Re: [osg-users] OSG Qt

2010-10-18 Thread David Glenn
Greetings John! Did you ever get a chance to look at the QTviewer example or are you havening problems with the examples in OSG? I using OSG 2.8.1 and I used that to build a class that I use to link between a QTFrame (QT4,.5.1) and OSG. So far it works fine for me. The only thing is that you

Re: [osg-users] Create Cylinder Around Line

2010-10-18 Thread Ulrich Hertlein
Hi Sanat, On 19/10/10 4:13 , Sanat Talmaki wrote: The code I hav is as below: Every .ive file loads a line object around which I want to draw a cylinder keeping that line as center. ... Having a .ive file to specify the location of your cylinders/pipes complicates things a bit, but here

Re: [osg-users] Thinking of adding to the ReaderWriter interface

2010-10-18 Thread Wang Rui
Hi Robert, After a short study, I found that the default option object can work for my present situation, osgDB::Registry::instance()-setOptions(new osgDB::Options(flip_dds)); And reading and writing calls can benifit from it until the global option is set back to default. So I don't think my