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 

WxWidgets Examples?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Zachary1234
User


Joined: 20 Nov 2018
Posts: 49

PostPosted: Tue Jan 29, 2019 10:10 am    Post subject:
WxWidgets Examples?
Reply with quote

I have been reading 'OpenScene Graph 3.0: Beginner's Guide'.
It mentions that OSG comes with WxWidgets integration support.

The source code example for this that comes with the source code
for 3.6 OSG is not particularly helpful. Can someone please reply
with a source code example in C++ of how I can combine the output,
from an OSG Camera node or equivalent object I presume, onto something
like a wxPanel?
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12348

PostPosted: Wed Jan 30, 2019 8:52 am    Post subject:
WxWidgets Examples?
Reply with quote

On Tue, 29 Jan 2019 at 23:06, Zachary1234 <> wrote:
Quote:
The latest version of OSG apparently comes with some source code examples explaining how to draw to the screen and integrate with WxWidgets. Can someone tell me were that example file is,
and where the WxWidgets source code example(s) resides?

I provide a link directly to the example this week already, simply
OpenSceneGraph/examples/osgviewerWX.

Robert.


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


Joined: 20 Nov 2018
Posts: 49

PostPosted: Wed Jan 30, 2019 9:33 am    Post subject:
Reply with quote

I have gone through that example file, and have not found it
very helpful or explanatory. Is there anyone
else who might reply with a more direct fragment of code,
for example, including OSG Camera code and a wxPanel?
Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 309

PostPosted: Wed Jan 30, 2019 3:22 pm    Post subject:
WxWidgets Examples?
Reply with quote

You might have a better luck in understanding how OSG works with WX by
first trying osgQt examples. I know this takes longer, but at least
osgQt is known to work.

On Wed, 30 Jan 2019 at 12:32, Zachary1234 <> wrote:
Quote:

I have gone through that example file, and have not found it
very helpful or explanatory. Is there anyone
else who might reply with a more direct fragment of code,
for example, including OSG Camera code and a wxPanel?

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








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


Joined: 20 Nov 2018
Posts: 49

PostPosted: Thu Jan 31, 2019 2:55 am    Post subject:
Reply with quote

I'm just after the way to draw the view of a Camera to a wxPanel.
In source code terms, how I can combine the output from an OSG Camera object onto a wxPanel?
Back to top
View user's profile Send private message
Zachary1234
User


Joined: 20 Nov 2018
Posts: 49

PostPosted: Tue Feb 05, 2019 1:30 am    Post subject:
Reply with quote

Quote:
I'm just after the way to draw the view of a Camera to a wxPanel.
In source code terms, how I can combine the output from an OSG Camera object onto a wxPanel?


-Is there someone who can address my question here?
Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 309

PostPosted: Tue Feb 05, 2019 10:33 am    Post subject:
WxWidgets Examples?
Reply with quote

Why don't you try to do it yourself instead of wasting 4 days? Nobody
is going to help if you don't want to help yourself.

On Tue, 5 Feb 2019 at 04:36, Zachary1234 <> wrote:
Quote:


Quote:
I'm just after the way to draw the view of a Camera to a wxPanel.
In source code terms, how I can combine the output from an OSG Camera object onto a wxPanel?


-Is there someone who can address my question here?

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








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


Joined: 20 Nov 2018
Posts: 49

PostPosted: Wed Feb 06, 2019 2:51 am    Post subject:
Reply with quote

I have been attempting to do so, which is my issue.

Is there someone there who would be able to field me
with a source code example, although, here?
Back to top
View user's profile Send private message
kornerr
Appreciator


Joined: 01 Oct 2013
Posts: 309

PostPosted: Wed Feb 06, 2019 11:07 am    Post subject:
WxWidgets Examples?
Reply with quote

A better approach is to share your Git/Mercurial repository with us
and ask questions like 'I did X on line Y, but Z is not doing W". Then
there's a chance someone here can help.

On Wed, 6 Feb 2019 at 06:01, Zachary1234 <> wrote:
Quote:

I have been attempting to do so, which is my issue.

Is there someone there who would be able to field me
with a source code example, although, here?

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








------------------
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 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 To run this Examples osgdeferred , w... mirro General 1 Wed Oct 16, 2019 1:44 am View latest post
No new posts Question about idle event handling in... ollydbg General 0 Thu Oct 03, 2019 9:41 am View latest post
No new posts Question about linking OSG 3D content... Zachary1234 General 0 Mon Mar 25, 2019 6:14 am View latest post
No new posts OSG and wxWidgets? Zachary1234 General 1 Fri Dec 28, 2018 1:16 am View latest post
No new posts Cross-platform examples for Linux, ma... kornerr Announcement [ANN] 6 Tue Aug 14, 2018 10:51 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