Hi Mohammed, I can answer your first question. osgRiver was never integrated into the trunk because I felt that the way it had been combined in its current state needed some work and sadly I simply haven't had time to work on it. I haven't gone over the code for a long time but I seem to remember thinking that it might be more appropriate for osgRiver to exist as a separate nodekit rather than amalgamated into osgOcean since although they share a lot of effects and are both water based, the problems they are trying to solve are quite different.
Kim. On 27 September 2013 18:14, Mohammed Djeralfia <[email protected]> wrote: > Hi, > > I have just tested osgRiver(from alphapixel.com) and the river is not > displyed correctly, the water is on the right corner of the river.3DS but > only 1 segment of 9 is displayed (-15 to 0). > I had tried to change the code of osgRiver in > RiverGraph::MergeRiverFromPoints(vector<RiverControlPoint> points) at : > RiverControlPoint next2 = curvePoint (changed to :(points[i-1] * 0.4 + > points[i] * 0.6)) ; and now I have 3 segments from 9 that are displayed, I > had done some other modifications but it did not resolve the problem. > > So my questions are: > 1) Why the osgRiver does not be integrated in the osgOcean trunk? > 2) Has someone have another version of the RiverGraph.cpp to make > differance ? > > Any other suggestions would be welcome. > > > Thank you! > > Cheers, > Mohammed > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=56516#56516 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

