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 

osgEarth


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
Latha Rani
Newbie


Joined: 19 Nov 2016
Posts: 7

PostPosted: Thu Apr 06, 2017 2:13 pm    Post subject:
osgEarth
Reply with quote

Hi,

I am new to osgEarth,I have doubts on osg::ClipNode.I am using osgEarth2.8 version.I am not getting that how ClipNode will establishes poistional state.And difference b/w clipnode & clip-plane.


Thank you!

Cheers,
Latha
Back to top
View user's profile Send private message
Latha Rani
Newbie


Joined: 19 Nov 2016
Posts: 7

PostPosted: Sun Apr 23, 2017 11:58 am    Post subject:
osgEarth
Reply with quote

Hi,

I am new to osgEarth,I have doubts on osg::ClipNode.I am using osgEarth2.8 version.I am not getting that how ClipNode will establishes poistional state.And difference b/w clipnode & clip-plane.


Thank you!

Cheers,
Latha

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







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10908

PostPosted: Mon Apr 24, 2017 7:17 am    Post subject:
osgEarth
Reply with quote

On 6 April 2017 at 15:13, Latha Rani Baddala <> wrote:
Quote:
I am new to osgEarth,I have doubts on osg::ClipNode.I am using osgEarth2.8 version.I am not getting that how ClipNode will establishes poistional state.And difference b/w clipnode & clip-plane.

ClipNode exists to provide a mechanism for the OSG's cull traversal to
record the modelview matrix which to apply ClipPlane associated with
that ClipNode. ClipPlanes have to applied with a specific modelview
matrix in OpenGL which is what makes it "positional state".
osg::LightSource + osg::Light work, TexGenNode and osg::TexGen in a
similar way as they both require a specific modelview matrix.

See the osgclip example to see ClipNode in action.

Robert


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
gwaldron (Glenn Waldron)
Appreciator


Joined: 25 Aug 2011
Posts: 196

PostPosted: Mon Apr 24, 2017 1:57 pm    Post subject:
osgEarth
Reply with quote

Latha,When using a ClipNode with osgEarth, be sure to place it where it will not be under any transforms. osgEarth's clip support assumes an absolute (world coordinates) positional state. Please refer to the osgearth_clipplane example for more information.

Glenn Waldron




On Thu, Apr 6, 2017 at 10:13 AM, Latha Rani Baddala < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi,

I am new to osgEarth,I have doubts on osg::ClipNode.I am using osgEarth2.8 version.I am not getting that how ClipNode will establishes  poistional state.And difference b/w clipnode & clip-plane.


Thank you!

Cheers,
Latha

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





_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] 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 About Shapefiles and .dbf files in os... Rambabu General 0 Tue Apr 25, 2017 4:57 am View latest post
No new posts About the parameter _lock_azim_while_... Michelle_Xie General 1 Thu Mar 02, 2017 2:08 am View latest post
No new posts How to merge osgocean and osgearth Rambabu General 2 Wed Dec 07, 2016 12:43 pm View latest post
No new posts osgEarth bhanu406 General 1 Tue Dec 06, 2016 4:40 am View latest post
No new posts osgEarth bhanu406 General 1 Mon Dec 05, 2016 10:57 am 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