Re: [osg-users] WxWidgets Examples?

2019-01-30 Thread Zachary1234
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:

Re: [osg-users] WxWidgets Examples?

2019-01-30 Thread Robert Osfield
On Tue, 29 Jan 2019 at 23:06, Zachary1234 wrote: > 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)

Re: [osg-users] Question about security of shader developments

2019-01-30 Thread Robert Osfield
Hi Werner, You can compile shaders into source, the osgText, osgVolume and osgParticle NodeKits all have local shaders directories i.e src/osgText/shaders. The .cpp files found in these shaders directory are generated from shaders found in OpenSceneGraph-Data/shaders, and converted to ,cpp's

[osg-users] Question about security of shader developments

2019-01-30 Thread Werner Modenbach
Dear Robert, dear community, I use OSG since many years now with great success. But being honest I usually just use the osg api and direct gl calls are very rare in our code. That's the reason why I ask people with more gl experience here. I'm working in a commercial environment. Unfortunately we

Re: [osg-users] WxWidgets Examples?

2019-01-30 Thread michael kapelko
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: > > I have gone through that example file, and have not found it > very helpful or

[osg-users] [3rdparty] How to change camera's yaw and pitch, and move front, back and sideways according to that?

2019-01-30 Thread Rodrigo Dias
I want to change the camera direction with the mouse, and position with the keyboard. I've found an example on how to change the position, but still couldn't find anything explaining how to change the direction (and not sure if the position will change correctly when the direction changes). All

Re: [osg-users] WxWidgets Examples?

2019-01-30 Thread Zachary1234
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? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75568#75568

Re: [osg-users] Two basic OSG use Questions.

2019-01-30 Thread michael kapelko
Hi. I personally think you should describe the final goal you want to achieve with OSG and WX, and then it'll be a lot easier for us to help you. As for texture mapping, you should assign osg::StateSet to your osg::Shape (or its parent osg::Node) and then use that osg::StateSet data in your