wang
Topic Author
Posts: 2
Joined: 16 Mar 2018, 03:31

OSG intergrate current Noesis

01 Apr 2018, 03:59

I want to know whether OSG can intergrate current version Noesis or not.I get sample code from github.But it is too old. So if Osg can intergrate current version Noesis,who can provide new code to intergrate Osg.thanks.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OSG intergrate current Noesis

01 Apr 2018, 04:55

Latest version of NoesisGUI is not compatible with OSG bindings. This is really low priority for us. But we will be glad to help and accept pull requests to our GitHub repository. Thanks!
 
Mrkol
Posts: 7
Joined: 23 Mar 2018, 15:07

Re: OSG intergrate current Noesis

02 Apr 2018, 19:25

I feel like my question is related so I'll post it here rather than create a new thread. Is it possible to make something analogous to qt's gl widget and render OSG's output into it? I am planning to use the noesis app framework and create several OSG "views" inside of the app, to be more specific.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OSG intergrate current Noesis

03 Apr 2018, 08:33

Yes, it can be done. Probably the fastest way (although not the more efficient) is by doing a render to texture and then using that texture in noesis.
 
Mrkol
Posts: 7
Joined: 23 Mar 2018, 15:07

Re: OSG intergrate current Noesis

03 Apr 2018, 08:48

What about more performant options? Can some kind of low-level pixel buffer stored on the GPU be used? Are there any examples of similar things that I could look at?
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: OSG intergrate current Noesis

04 Apr 2018, 12:28

I don't think PBO are going to be more efficient. At the end, you need to transfer to a texture for displaying with NoesisGUI. But I am not sure about your approach. You should try all alternatives and profile them.

It should be straightforward starting from any of the integration samples and creating a custom texture from a native handle to insert into the tree.

Who is online

Users browsing this forum: No registered users and 1 guest