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 

Exporting OpenFlight from OSG and DDS textures

Goto page Previous  1, 2
 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Wed Nov 23, 2016 11:37 am    Post subject:
Reply with quote

Hi,separate osg sky source code is available or we have to extract from osgearth ?

...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Wed Nov 23, 2016 1:15 pm    Post subject:
Reply with quote

Hi,i am not getting silverling sky in osgearth,can anyone explain with examples

...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10852

PostPosted: Wed Nov 23, 2016 1:32 pm    Post subject:
Exporting OpenFlight from OSG and DDS textures
Reply with quote

On 23 November 2016 at 13:15, Rambabu Repaka <> wrote:
Quote:
Hi,i am not getting silverling sky in osgearth,can anyone explain with examples

SilveLiining is proprietary SDK:

http://sundog-soft.com/features/real-time-3d-clouds/


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Thu Nov 24, 2016 9:24 am    Post subject:
Reply with quote

Hi,In osg 3.2.3 (*_oceanSurface->getCullCallback())(_oceanSurface.get(), &nv); is working but in osg 3.4.0 error is showing

Error 2 error C2064: term does not evaluate to a function taking 2 arguments D:\osgocean-master1\osgocean-master\src\osgOcean\OceanScene.cpp 884 1 osgOcean

How can i solve this ?

in osg 3.2.3 getcullcallback() is in nodecallback
in osg 3.4.0 getcullcallback() is in callback


...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10852

PostPosted: Thu Nov 24, 2016 10:05 am    Post subject:
Exporting OpenFlight from OSG and DDS textures
Reply with quote

On 24 November 2016 at 09:25, Rambabu Repaka <> wrote:
Quote:
Hi,In osg 3.2.3 (*_oceanSurface->getCullCallback())(_oceanSurface.get(), &nv); is working but in osg 3.4.0 error is showing

Error 2 error C2064: term does not evaluate to a function taking 2 arguments D:\osgocean-master1\osgocean-master\src\osgOcean\OceanScene.cpp 884 1 osgOcean

How can i solve this ?

in osg 3.2.3 getcullcallback() is in nodecallback
in osg 3.4.0 getcullcallback() is in callback

You will need to adjust the problem code to use a dynamic_cast<> to
osg::NodeCallback, or change the problem code to call the
osg::Callback::run(..) method. The parameter mean and order is
identical between the two types of callback. The osg::Callback is
more flexible, which is it's reason for use in OSG-3.4 and beyond.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Thu Nov 24, 2016 10:35 am    Post subject:
Reply with quote

Hi,

dynamic_cast<osg::nodecallback * > (*_oceanSurface->getCullCallback()) (_oceanSurface.get(), &nv);

still showing error .How can i do ?

...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10852

PostPosted: Thu Nov 24, 2016 10:44 am    Post subject:
Exporting OpenFlight from OSG and DDS textures
Reply with quote

On 24 November 2016 at 10:35, Rambabu Repaka <> wrote:
Quote:
Hi,

dynamic_cast<osg::nodecallback * > (*_oceanSurface->getCullCallback()) (_oceanSurface.get(), &nv);

still showing error .How can i do ?

This isn't an OSG or osgEarth question.

You need to learn C++ or put in a bit more effort before firing off
trivial questions to the community.

You need to fix this problem yourself, you have to keep developing
your skills as a programmer.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Thu Nov 24, 2016 12:15 pm    Post subject:
Reply with quote

Hi,What is the equivalent function for std::max in osg 3.4.0
deltaMax = std::max(deltaMax, delta);
showing error not a member of std.

...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
SMesserschmidt (Sebastian Messerschmidt)
Forum Moderator


Joined: 10 Sep 2013
Posts: 720

PostPosted: Thu Nov 24, 2016 12:37 pm    Post subject:
Exporting OpenFlight from OSG and DDS textures
Reply with quote

Hi,

Again, this is not an OSG-related question. You should really train your
C++ skills before moving on to advanced topics.

Quote:
Hi,What is the equivalent function for std::max in osg 3.4.0
deltaMax = std::max(deltaMax, delta);
showing error not a member of std.

Without context (compiler, code, version ) it is impossible to help you.
std::max is defined in <algorithm>, so chances a missing include cuases
the error are high. You could have gotten this information by using a
search machine of your choice btw.

This hive-mind is supposed to help with more OSG-related stuff... so
please try harder to solve the C++/programming problems before asking
them here.

Cheers
Sebastian

Quote:

...

Thank you!

Cheers,
Rambabu

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









------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Rambabu
User


Joined: 10 Nov 2016
Posts: 97

PostPosted: Fri Nov 25, 2016 11:25 am    Post subject:
Reply with quote

Hi,In main function camera coordinates are osg::Vec3initialCameraPosition(0.0, 0.0, 20.0);
How i can change the camera view continuously along with the model movement.
...

Thank you!

Cheers,
Rambabu
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 10852

PostPosted: Fri Nov 25, 2016 5:41 pm    Post subject:
Exporting OpenFlight from OSG and DDS textures
Reply with quote

HI Rambabu,

If you want to ask a question about a new topic start a new thread,
don't keep asking unrelated questions on existing threads.

Also actually try doing some research on your own account, there are
plenty of examples, books, doxygen docs, the answers to your questions
are all there, you just need to put the time into exploring things.

Robert.

On 25 November 2016 at 11:25, Rambabu Repaka <> wrote:
Quote:
Hi,In main function camera coordinates are osg::Vec3initialCameraPosition(0.0, 0.0, 20.0);
How i can change the camera view continuously along with the model movement.
...

Thank you!

Cheers,
Rambabu

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








------------------
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 -> Plugins [osgPlugins] All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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 Bug in 3.4.0 when exporting .osgx file? wernerM General 3 Tue Mar 21, 2017 1:18 pm View latest post
No new posts Simulating Light Lobes with Projected... Trajce Nikolov NICK General 3 Thu Aug 11, 2016 9:57 pm View latest post
No new posts Bindless Textures d_a_heitbrink General 2 Fri Jul 15, 2016 2:21 pm View latest post
No new posts OpenFlight-plugin texture effect id SMesserschmidt Submission 4 Mon Jun 06, 2016 12:17 pm View latest post
No new posts OpenFlight-plugin with extended attri... SMesserschmidt Submission 1 Mon Jun 06, 2016 12:10 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