OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Some questions about osgRiver ???


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgOcean [osgOcean]
View previous topic :: View next topic  
Author Message
MCA4213 (Mohammed Djeralfia)
Newbie


Joined: 30 Jun 2012
Posts: 16

PostPosted: Fri Sep 27, 2013 5:14 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Chris Hanson
Guest





PostPosted: Fri Sep 27, 2013 5:28 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

Just to be clear, AlphaPixel has no affiliation with osgRiver. I just snagged a copy when it was posted years ago, and when it disappeared from mailing-list archives, I made my copy available to anyone who wants it.

It seems like there is renewed interest in it, so I would love to see some of these new folks pick it up, perhaps integrate it back into osgOcean, and support it there.


Perhaps Kim Bale, osgOcean's creator [cc'ed here], could weigh in on the matter?






On Fri, Sep 27, 2013 at 11:14 AM, Mohammed Djeralfia < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
kcbale
User


Joined: 04 Mar 2011
Posts: 68

PostPosted: Fri Sep 27, 2013 5:33 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
MCA4213 (Mohammed Djeralfia)
Newbie


Joined: 30 Jun 2012
Posts: 16

PostPosted: Fri Sep 27, 2013 6:25 pm    Post subject:
Reply with quote

Hi,

Thanks for the answers, so unfortunately there is no trace for its creator, so I must make some others efforts to find the problem and correct it.

In my case I think that to create a realistic 3D environement, the integration of the forest,building,roads,rivers, ocean and skys are very important, so :
1-for the forest and building I use osg+osgEarth directly(projected map),
2-for the roads I did not find a solution yet,
3-for the sea I use osgOcean,
4-for the sky I am trying with Silverlight(the demo),
5-for the river I need to find something to do that and it is the importance of the osgRiver (creation of continuous segment, a good direction of the water...)

So I hope that its creator take it again and reanimate it.

I will thanks again Mr Chris Hanson to share this copy with us: THANK YOU VERY MUCH.

Thank you!

Cheers,
Mohammed
Back to top
View user's profile Send private message Send e-mail
Chris Hanson
Guest





PostPosted: Fri Sep 27, 2013 6:49 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

4-for the sky I am trying with Silverlight(the demo),




  I think you mean Silver Lining.


  Good luck and you're welcome!
 

--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
Trajce Nikolov NICK
Guest





PostPosted: Fri Sep 27, 2013 6:52 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

Quote:
3  -for the sea I use osgOcean,


Nothing against osgOcean. I have used it as well in a project, but switched over to Triton (check it out, same coming from sundog-soft as SilverLining )


Nick



On Fri, Sep 27, 2013 at 8:56 PM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
4-for the sky I am trying with Silverlight(the demo),





  I think you mean Silver Lining.


  Good luck and you're welcome!
 

--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
Trajce Nikolov NICK
Guest





PostPosted: Fri Sep 27, 2013 6:54 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

and if you are really after fully opensource you can look for osgEphemeris, a work I think done by Don Burns years ago, but that was my initial step before figuring out SilverLining as well

Nick



On Fri, Sep 27, 2013 at 9:00 PM, Trajce Nikolov NICK < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
>3  -for the sea I use osgOcean,


Nothing against osgOcean. I have used it as well in a project, but switched over to Triton (check it out, same coming from sundog-soft as SilverLining )


Nick



On Fri, Sep 27, 2013 at 8:56 PM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
4-for the sky I am trying with Silverlight(the demo),





  I think you mean Silver Lining.


  Good luck and you're welcome!
 

--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
trajce nikolov nick





--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
kcbale
User


Joined: 04 Mar 2011
Posts: 68

PostPosted: Fri Sep 27, 2013 7:01 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

Traitor Wink

K.



On 27 September 2013 20:00, Trajce Nikolov NICK < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
>3  -for the sea I use osgOcean,


Nothing against osgOcean. I have used it as well in a project, but switched over to Triton (check it out, same coming from sundog-soft as SilverLining )


Nick



On Fri, Sep 27, 2013 at 8:56 PM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
4-for the sky I am trying with Silverlight(the demo),





  I think you mean Silver Lining.


  Good luck and you're welcome!
 

--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
trajce nikolov nick


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Trajce Nikolov NICK
Guest





PostPosted: Fri Sep 27, 2013 7:20 pm    Post subject:
Some questions about osgRiver ???
Reply with quote

hahaha .. come on .... all the option Smile

Nick



On Fri, Sep 27, 2013 at 9:08 PM, Kim Bale < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Traitor Wink

K.



On 27 September 2013 20:00, Trajce Nikolov NICK < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
>3  -for the sea I use osgOcean,


Nothing against osgOcean. I have used it as well in a project, but switched over to Triton (check it out, same coming from sundog-soft as SilverLining )


Nick



On Fri, Sep 27, 2013 at 8:56 PM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
4-for the sky I am trying with Silverlight(the demo),





  I think you mean Silver Lining.


  Good luck and you're welcome!
 

--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org






--
trajce nikolov nick


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--
trajce nikolov nick

------------------
Post generated by Mail2Forum
Back to top
quintijnhendrickx
Newbie


Joined: 14 Oct 2013
Posts: 2

PostPosted: Mon Oct 14, 2013 6:49 pm    Post subject:
Re: Some questions about osgRiver ???
Reply with quote

Dear all,

This is a slightly delayed response, I have to admit I am longer actively following this mailing list.

A few years I posted my work on river rendering as a submission for the osgOcean project. Unfortunately I do not have the time to maintain this project but maybe I can at least respond to some issues.

MCA4213 wrote:
I have just tested osgRiver(from alphapixel com) and the river is not displyed correctly


I have to speculate but there might be compatability issues due to the fact that I last tested the project back in June 2010. Since then new versions of osg, opengl and drivers have been released and either of these might cause issues. Perhaps reverting to a previous environment might shed some light on the exact problems.

Chris Hanson wrote:

Just to be clear, AlphaPixel has no affiliation with osgRiver. I just snagged a copy when it was posted years ago, and when it disappeared from mailing-list archives, I made my copy available to anyone who wants it.


It does appears that the original download location is no longer working, thanks for making your copy available.

kcbale wrote:

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.


I have to agree that this has always been a difficult issue. Much of the water shader code is shared between osgOcean and osgRiver but the water surface is represented and animated in an entirely different way. This creates compatability issues, especially on transition areas between ocean and river. Perhaps some blending scheme could be investigated but this is not a trivial problem to solve and unfortunately I do not have the time to do this.

Because osgRiver hasn't been maintained for over three years I don't think it should be considered as a ready to use library in its current form. However, anyone interested in river rendering in osg could definitely use it as a starting point.

Anyone interested in a high level overview on the techniques used in osgRiver could glance over the poster:
graphics . tudelft . nl / ~ruben / PosterI3D2010 . pdf

Kind regards,

Quintijn Hendrickx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgOcean [osgOcean] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts [osgEarth] several problems and quest... hulrien General [forum] 3 Thu Nov 24, 2016 10:42 am View latest post
No new posts Questions about shared compile contex... wriedge General 5 Sat Nov 07, 2015 11:29 pm View latest post
No new posts some questions about Frame Scheme ON_... gambr General 7 Fri Jul 17, 2015 2:03 pm View latest post
No new posts VBO questions Terry Welsh General 1 Sun May 03, 2015 6:13 am View latest post
No new posts Hello and a Couple Quick Getting Star... dsargrad General 9 Sun Apr 12, 2015 1:38 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP