Re: [osg-users] [build] Building OSG 3.6.4 in Win64 TDM GNU.

2019-07-29 Thread Sam Brkopac
Zachary1234 wrote: > Not quite, unfortunately, it seems. I can't install linux at this time. > > I was wondering if someone over there has a file tree of libraries that > exists on a Windows 64 bit filesystem? I figure that OSG was programmed and > tested on Windows, and that hoefully

Re: [osg-users] Geode and Drawable Classes

2019-07-29 Thread Sam Brkopac
Hi Catalin, oso::Geode has been deprecated. Replace it with osg::Group. Thanks, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76532#76532 ___ osg-users mailing list osg-users

Re: [osg-users] Image capture in memory

2019-04-16 Thread sam
https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgposter/osgposter.cpp On Tue, Apr 16, 2019 at 12:22 PM Catalin Flower wrote: > Hi, > > What is the canonical way to capture an image of a view to memory with > different resolutions? > > Thank you! > > -- >

[osg-users] osgAnimation depth of Skeleton update

2019-04-08 Thread Sam Brkopac
/sbrkopac/2ea619b90573c4cb25af639589c31e2d It's possible my understanding of osgAnimation is incorrect. Any insight would be greatly appreciated. Thanks, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75799#75799

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

2019-01-31 Thread Sam Brkopac
Hi Rodrigo, The Camera::setViewMatrixLookAt function is equivalent to the gluLookAt. You can find more documentation on the inner workings here (https://stackoverflow.com/questions/21830340/understanding-glmlookat). If you don't set a camera manipulator prior to viewer.run() and move the

Re: [osg-users] Loading osgt from string / Compile resources into binary

2019-01-21 Thread Sam Brkopac
Hi Michael, The portable way is to define a byte array. See this stackoverflow for more detail: https://stackoverflow.com/questions/7288279/how-to-embed-a-file-into-an-executable Sent from my iPhone > On Jan 21, 2019, at 4:02 AM, Michael Maurus wrote: > > Hi guys, > > is it possible to

Re: [osg-users] setViewMatrixAsLookAt not working to set the initial camera position

2019-01-07 Thread sam
After you set the home position try: viewer.getCameraManipulator()->home(1); Sorry I'm not right in front of my computer right now. On Mon, Jan 7, 2019 at 7:26 PM Rodrigo Dias wrote: > Hi Sam, > > By "home" I think you mean > > > Code: > viewer.getCameraM

Re: [osg-users] setViewMatrixAsLookAt not working to set the initial camera position

2019-01-07 Thread sam
Hey Rodrigo, You have to set the home position of your camera manipulator and make a call to home(1). You can force the delta time with a 1. Sam On Mon, Jan 7, 2019 at 6:48 PM Rodrigo Dias wrote: > Hi, > > I'm able to change the camera's position with TrackballManipulator. > Howev

Re: [osg-users] Working with osg::Text on animation

2018-12-20 Thread Sam Brkopac
Use event handlers, node masks or a switch. Sent from my iPhone > On Dec 20, 2018, at 5:28 PM, Diego Mancilla wrote: > > Hello ravi, > > Thank you for your your answer. > > What you suggest can be accomplish by the use a visitor or a callback?: Lets > say that I want to change show/hide the

Re: [osg-users] DirectX Texture Stage Sets to OSG

2018-12-05 Thread sam
questions or feedback, I'd love to hear it. Thanks, Sam On Wed, Dec 5, 2018 at 3:16 AM michael kapelko wrote: > Hi. > > It would be good to know what that format is all about, never seen it > before. > > > On Tue, 4 Dec 2018 at 23:46, sam wrote: > > > > Hi All, &g

[osg-users] DirectX Texture Stage Sets to OSG

2018-12-04 Thread sam
to do the mapping? Or will it be parse -> set settings -> and then parse. Ideas are welcome. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Extension ' is not supported

2018-11-09 Thread Sam Brkopac
Just for clarity, it wasn't causing me any issues. Thanks for looking into it, Robert. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75180#75180 ___ osg-users mailing list

[osg-users] Extension '' is not supported

2018-11-08 Thread Sam Brkopac
::NotifySeverity::INFO); osgViewer::Viewer viewer; viewer.setUpViewInWindow(50, 50, 640, 480, 0); viewer.setCameraManipulator(new osgGA::MultiTouchTrackballManipulator); return viewer.run(); } Thanks, Sam -- Read this topic online here: http://forum.openscenegraph.org

Re: [osg-users] Crash when using LineSegmentIntersector

2018-08-04 Thread Sam Brkopac
e scene graph from within a NodeVisitor. Understood. Is there a best practice I can align myself with? Should I be handling that all in the plugin loader and potentially use something like osg::Switch to turn them on and off? Thanks, Sam -- Read this topic online here: http://forum.

Re: [osg-users] Crash when using LineSegmentIntersector

2018-08-03 Thread Sam Brkopac
from the plugin? I guess what I'm asking is why is it odd to have a geode attached to a geode. Thanks, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74463#74463 ___ osg-users mailing list osg-users

[osg-users] Crash when using LineSegmentIntersector

2018-08-02 Thread Sam Brkopac
drawable. Please note that I do see the proper geometry drawing when the visitor is applied. https://gist.github.com/sbrkopac/45b4e9d7d35a979e7e0dd7eebbd2a061 Thanks, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74459#74459

Re: [osg-users] How to speed up rendering in this case.

2018-07-30 Thread Sam Brkopac
Jinh Are they 1000 unique meshes? You might want to look into the osgdrawinstanced example. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=74431#74431 ___ osg-users mailing list

[osg-users] CameraManipulator init

2018-07-30 Thread Sam Brkopac
mean? Provide examples. */ virtual void init(const GUIEventAdapter& ,GUIActionAdapter&) {} Does anybody have the update documentation or perhaps some notes on when / how the init function is being called? Thanks, Sam[/code] -- Read this topic online he

Re: [osg-users] How to track down memory leaks?

2018-07-11 Thread Sam Brkopac
Not really sure what you mean by memory leaks. If you don't want the cache to cache any objects then disable it. This will have the trade off of having to parse / upload a node every time you remove it and then re-add it. -- Read this topic online here:

Re: [osg-users] Visualizing triangle data

2018-06-14 Thread Sam Brkopac
Hi Robert, It seems to work okay. I wasn't sure how to do it in my original post and that is what I came up with. I haven't tried this on a large scale map consisting of around ~1700 of the nodes. I'll post back if there are any performance issues. Thanks, Sam -- Read

Re: [osg-users] Visualizing triangle data

2018-06-14 Thread Sam Brkopac
ibute::OVERRIDE | osg::StateAttribute::ON); geode->getOrCreateStateSet()->setAttributeAndModes(polyMode, osg::StateAttribute::OVERRIDE | osg::StateAttribute::ON); flags->addChild(geode); } } If you have any feedback on the methodology, I'd love to hear it. T

[osg-users] Visualizing triangle data

2018-06-13 Thread sam
is rendered to view the flags. Solid colored triangles would be preferable. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Announcement: VulkanSceneGraph and SceneGraphTestBed!

2018-06-05 Thread sam
Hi Robert, Regarding SceneGraphTestBed are we looking to have a library to help facilitate testing? What is the current vision for the test repository. Thanks, Sam On Tue, Jun 5, 2018 at 1:35 AM Robert Osfield wrote: > Hi Julien, > > On 4 June 2018 at 18:03, Julien Valentin > wro

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread sam
If you're generating the cmake file through the cmake application then it should be generated in your build folder. If you are using cmake on the command line then you will need to pass cmake -G "Visual Studio XX" to the command line, where XX is your Visual Studio version. On Sun, Jun 3, 2018 at

Re: [osg-users] [build] CMake can not find include files

2018-06-03 Thread sam
Hi Peter, Not sure how you're attempting to compile OSG but I'd recommend you'd do the following: [image: osg1.png] ​ >From here I would hit Configure and then Generate. Open up the ALL_BUILD project and right-click OpenThreads and hit build. This will ensure all the dependencies are in place.

Re: [osg-users] 'fatal error C1128: number of sections exceeded object file format limit' under MSVC2015

2018-04-19 Thread sam
/library/ms173499.aspx Looks like most of the projects now force it on in CMAKE. Thanks, Sam On Thu, Apr 19, 2018 at 1:14 PM, Robert Osfield <robert.osfi...@gmail.com> wrote: > Hi Jason, > > On 18 April 2018 at 20:59, Jason Beverage <jasonbever...@gmail.com> wrote: > &g

Re: [osg-users] converting node coordinates

2017-06-22 Thread sam
> >> I manipulate my scene with a Mouse Manipulator (Trackball), hence the >> view is refreshed and I can see my nodes, but if I zoom in they disappear >> >> 2017-06-22 18:23 GMT+01:00 Sam Brkopac <brko...@gmail.com>: >> >>> Hi Bruno, >>>

[osg-users] Displaying Geode Bounding Box

2017-03-08 Thread sam
Hi All, Is there a simple way to display the bounding box of Geode or Geometry? Or will I have to write up something to do it? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

Re: [osg-users] Thoughts on Vulkan

2017-02-13 Thread sam
Hi Guys, Sorry to hijack this thread a little bit. What would you guys consider the best source of information for Vulkan? Primarily focusing on the fundamentals. Thanks, Sam On Mon, Feb 13, 2017 at 5:43 AM, Robert Osfield <robert.osfi...@gmail.com> wrote: > On 13 February 2017

[osg-users] Having problems running the osgViewerWX example (GLExtensions returning as null)

2016-11-24 Thread Sam Hudson
Hi, I'm trying to get the osgViewerWX example to work. I am using wxWidgets 3.1.0 and OSG 3.4.0. Everything has been compiled under VS2015 for x86. When I first attempted to compile the example there were two errors, the signatures for two functions had changed. One was easy to fix

Re: [osg-users] OSG 3.4 + FFmpeg

2016-11-17 Thread sam
Hi Gianni, Does 3.0.2 still have the deprecated functions that are used in OSG 3.4? I check against 2.8.6 and I don't get any unidentified function errors. I will try 3.0.2 and give an update. Thanks, Sam On Wed, Nov 16, 2016 at 11:51 PM, Gianni Ambrosio <g.ambrosio+...@gmail.com> wrote:

[osg-users] OSG 3.4 + FFmpeg

2016-11-16 Thread sam
Hi Guys, What was the version of FFmpeg that OSG 3.4 was developed against? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Disabling plugins via CMake

2016-11-08 Thread sam
Hi Alberto, No. I was hoping to avoid hacking the CMakeFiles up. I will give this a try. Thanks! On Tue, Nov 8, 2016 at 5:07 AM, Alberto Luaces <alua...@udc.es> wrote: > sam writes: > > > Hi All, > > > > Is there a simple way to disable the plugin project files fr

[osg-users] Disabling plugins via CMake

2016-11-07 Thread sam
Hi All, Is there a simple way to disable the plugin project files from being generated via CMake? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Left handed scene

2016-08-08 Thread Sam Brkopac
If you need to rotate your entire scene you can add a single transform to the root node and do the rotation. Then can treat that transform as the new root node. > On Aug 2, 2016, at 10:27, Antoine Rennuit wrote: > > Hi all, > > > My problem is solved my I flip my

[osg-users] [osgPlugins] Collada in VS2013

2016-07-18 Thread Sam Jones
to anything useful. It could just be that I've done something else wrong somewhere else, but I was wondering if any of you had any pointers on Collada with OSG in VS2013. Thank you! Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68163#68163

Re: [osg-users] Odd Text Distortion (Which Does Not Appear to Be Due to the 3.2 Bugfix)

2016-07-13 Thread Sam Jones
axis, the further offset it turned out along its shorter axis. Thank you guys for the suggestions! Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68127#68127 ___ osg-users mailing list osg

Re: [osg-users] Odd Text Distortion (Which Does Not Appear to Be Due to the 3.2 Bugfix)

2016-06-30 Thread Sam Jones
Hi, I have been having an issue with the display of text for a few days now (where the correct font is not used), while updating a project from pre-3.0 OSG to the latest version. I know about this bug fix from 3.2 where, now, creating a camera and assigning it to the viewer without

[osg-users] Disabling plugins via CMake

2016-04-19 Thread sam
Hi All, Is there a simple way to disable the plugins from building in OSG? I'd like to be able to just build the OSGCore without having to uncheck the boxes in visual studio. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Draw Instanced

2016-04-18 Thread sam
gt; limitations. > > Glenn Waldron > > On Fri, Apr 15, 2016 at 6:09 PM, sam <brko...@gmail.com> wrote: > >> Would there be a big performance difference between using a TextureBuffer >> Object and a UniformBuffer object? >> >> Thanks, Sam >> >> On

Re: [osg-users] Draw Instanced

2016-04-15 Thread sam
Would there be a big performance difference between using a TextureBuffer Object and a UniformBuffer object? Thanks, Sam On Fri, Apr 15, 2016 at 1:15 PM, sam <brko...@gmail.com> wrote: > Doh! Thanks, Glenn. Unfortunately I still have some holes in the map but > its starting to look

Re: [osg-users] Draw Instanced

2016-04-15 Thread sam
Doh! Thanks, Glenn. Unfortunately I still have some holes in the map but its starting to look considerably better. I will definitely looking to using a TextureBuffer. On Fri, Apr 15, 2016 at 12:50 PM, Glenn Waldron <gwald...@gmail.com> wrote: > Sam, > I think you are not calling se

[osg-users] Draw Instanced

2016-04-15 Thread sam
Any insight or help would be greatly appreciated. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] [build] Linker errors when building with OSG_USE_QT

2016-01-19 Thread Sam Hecht
dget const *)" (?createTraits@GraphicsWindowQt@osgQt@@SAPAUTraits@GraphicsContext@osg@@PBVQGLWidget@@@Z) Any help is greatly appreciated. Thank you! Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66043#66043 _

[osg-users] Multiple meshes with different animations

2016-01-06 Thread sam
using DEEP_COPY_ALL - this feels incorrect. Ultimately I'd like to be able to share the geometry across all the meshes in the scene but still have them animate independently. Is there an example that can point me in the right direction? Thanks, Sam

Re: [osg-users] Issue with texturing label

2015-11-07 Thread sam
Hi Robert, The issue was with our image loader and not with the GUI itself. Once we managed to track that down the fix was pretty straight forward. Thanks. On Mon, Oct 26, 2015 at 1:02 PM, Robert Osfield <robert.osfi...@gmail.com> wrote: > Hi Sam, > > On 26 October 2015 at 1

[osg-users] OSGWidget and Multiple Textures

2015-11-07 Thread sam
Hi All, We are looking to do multi-texturing on OSG Widgets. For example we have a button with a left texture, a center texture, and a middle texture. What is the best way to go about applying all 3 to the button? Thanks, Sam ___ osg-users mailing list

Re: [osg-users] Issue with texturing label

2015-10-26 Thread sam
Hi Robert, What is the best way to send a small example through the mailing list? Pastebin? Inline? I'm not very familiar with how the mailing lists formats. Thanks, Sam On Mon, Oct 26, 2015 at 4:25 AM, Robert Osfield <robert.osfi...@gmail.com> wrote: > Hi Sam, > > > It's

[osg-users] Issue with texturing label

2015-10-25 Thread sam
color based on what is below it. I have tried to turn off blending and change the blend function but no luck thus far. Any help would be greatly appreciated. Here is the original texture image: [image: Displaying b_gui_cmn_button5_center_up.png] Thanks, Sam

[osg-users] osgWidget and Canvas

2015-10-05 Thread sam
Hi All, When dealing with the osgWidget is it only intended to have one canvas? So when I create my window manager and other components is safe to also create the canvas? I guess some clarify of the canvas is what I'm after. Thanks, Sam ___ osg-users

Re: [osg-users] ffmpeg library version expected for OSG 3.2.3

2015-09-09 Thread sam
Hi Robert, I'm attempting to use the latest git build of ffmpeg ( http://ffmpeg.zeranoe.com/builds/). I am going to try with 2.5.2 next. Would it be possible to get ffmpeg added to the dependencies package for OSG? I'll let you know how it goes. Thanks, Sam On Wed, Sep 9, 2015 at 7:45 AM

Re: [osg-users] ffmpeg library version expected for OSG 3.2.3

2015-09-09 Thread sam
Using ffmpeg 2.5.2 cleans up the compilation issues. I used a precompiled version of ffmpeg which was compiled with a prior version of VS so I do get a SAFESH warning. On Wed, Sep 9, 2015 at 9:26 AM, sam <brko...@gmail.com> wrote: > Hi Robert, > > I'm attempting to use the l

[osg-users] ffmpeg library version expected for OSG 3.2.3

2015-09-08 Thread sam
What version of ffmpeg is required to use the plugin for OSG 3.2.3? When trying to use the latest build of ffmpeg; I get some undeclared identifier errors which seem to be caused by deprecation of some functions within ffmpeg. Thanks, Sam ___ osg-users

[osg-users] Visual Studio 2013 and OSG Header Files

2015-09-04 Thread sam
Hey All, This isn't directly related to OSG but hopefully someone has the quick fix for this. How do I get visual studio intellisense to pick up the OSG header files and treat them as hpp files. Currently they are just treated as plain text. Thanks, Sam

Re: [osg-users] Visual Studio 2013 and OSG Header Files

2015-09-04 Thread Sam Brkopac
Thank you, Chris. > On Sep 4, 2015, at 13:50, Chris Hanson <xe...@alphapixel.com> wrote: > > http://trac.openscenegraph.org/projects/osg//wiki/Support/FAQ#WhatcanIdotomakemyeditorrecognizeOSGheadersasCfiles > >> On Fri, Sep 4, 2015 at 2:47 PM, sam <brko...@g

Re: [osg-users] Adding custom updater to the Viewer

2015-08-30 Thread sam
So I should keep it out of the viewer then? I guess I'm still a little unclear on how to integrate the rest of the systems so they get updated every frame. On Sun, Aug 30, 2015 at 7:50 PM, Tony Vasile ming...@gmail.com wrote: Hi Sam You probably don't want all you networking code in the same

[osg-users] Adding custom updater to the Viewer

2015-08-28 Thread sam
this override? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Animating Textures

2015-08-27 Thread sam
. Thanks, Sam On Thu, Aug 27, 2015 at 12:48 AM, Voerman, L. l.voer...@rug.nl wrote: Hi Sam, I once solved this with an sequence of textureMatices, (example attached). Wat solution did you find? Regards, Laurens. On Thu, Aug 27, 2015 at 12:12 AM, sam brko...@gmail.com wrote: Nevermind! As always

Re: [osg-users] Animating Textures

2015-08-26 Thread sam
Nevermind! As always, simply searching OSG popped up what I needed. Thanks! On Wed, Aug 26, 2015 at 3:10 PM, sam brko...@gmail.com wrote: I can appreciate your stance on going to shaders, and I completely agree. I'd like to quickly prototype this up and swapping to shaders will, unfortunately

[osg-users] Animating Textures

2015-08-26 Thread sam
of is manipulating the UV coordinates in an update callback. Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Animating Textures

2015-08-26 Thread sam
to the state set itself? Thanks, Sam On Wed, Aug 26, 2015 at 3:04 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: As always I'd suggest shaders, as fixed function pipeline has been deprecated 10 years ago ;-) You could use the osg_SimulationTime uniform to modify the uv-coordinates

Re: [osg-users] Visual Studio Community 2015 Build Issues

2015-08-02 Thread sam
Hi Robert, I successfully compiled OSG-3.4 RC 8 with Visual Studio 2015. I'll be sure to report let you know if I find any issues with the build. Thanks! On Sun, Aug 2, 2015 at 12:16 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Sam, Fixes these compile errors and warnings

[osg-users] Visual Studio Community 2015 Build Issues

2015-08-01 Thread sam
== Is this an OSG issue or Visual Studio 2015? Thanks, Sam ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] 2d Rectangle to 3d position

2015-07-27 Thread sam
Hi All, I have a gui that I'm trying to convert over to the osgWidget system and I'm having an issue with understanding exactly how this will work. My 2d elements are stored as: rect = left, top, right, bottom rect = 0,449,640,480; How would I go about converting the above into the proper 3d

[osg-users] Non-clamped texture coordinates

2015-07-11 Thread sam
Hi All, I seem to be having an issue with texturing a mesh. The file format is not my own and its pretty obscure. I've gotten the format to load in a few other engines, but I'm struggling with the texturing in OSG. I've noticed the texture coords on the mesh don't clamp to [0,1]. Could this be

Re: [osg-users] Approaching regions with many nodes

2015-07-06 Thread sam
Hi Sebastian, Is this approach still valid with lots of little nodes that have no LOD detail against them? Or should I just tell my brain that the LOD part of the node isn't really applicable for what I'm doing and continue with your advice? Thanks, Sam On Mon, Jul 6, 2015 at 8:14 AM

[osg-users] QT + OSG Performance Issues

2015-07-02 Thread sam
When running the example osgViewerQt there is some serious lag / performance issues. Is there something I have to tweak or change in order to get a smooth QT + OSG integration? I'm running QT 5.4.1 and OSG 3.2.1. Thanks. ___ osg-users mailing list

[osg-users] Approaching regions with many nodes

2015-06-29 Thread sam
Hi All, I'm attempting to formulate the best way to stream in nodes that make up regions. These regions normally consist of anywhere between 4,000 to 6,000 nodes and end getting stitched together. My question is: Is the PagedLOD node what I want to use? I'm a little confused as to how the paging

[osg-users] File loading and reading

2015-06-26 Thread sam
When it comes to OSG, is there a reader type class that will handle all the endianness of a file for you? Or is it up to the responsibility of the programmer creating the plugin to do the data reading? ___ osg-users mailing list

[osg-users] Trouble with transitioning to OSG

2015-06-24 Thread sam
Hi All, I have a snippet of code that I am trying to reproduce using OSG, it was originally written in pretty raw gl with glm. You can view it here: http://pastebin.com/PYphHLYE I currently have the following snippet and the geometry references are all over the place. If somebody could take a

Re: [osg-users] Trouble with transitioning to OSG

2015-06-24 Thread sam
: SHA1 On 25/06/15 00:13, sam wrote: Ah, I see. Throwing the parent matrix at the end of the multiplication puts the debug data in the correct place! Thanks, Jan. Only other issue is the model is coming in on its side compared to the basic viewer camera. OSG uses z-up convention, likely

Re: [osg-users] Trouble with transitioning to OSG

2015-06-24 Thread sam
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/06/15 22:50, sam wrote: Hi All, I have a snippet of code that I am trying to reproduce using OSG, it was originally written in pretty raw gl with glm. You can view it here: http://pastebin.com/PYphHLYE I currently have the following

[osg-users] [osgPlugins] loading .obj file from c++

2014-04-22 Thread Sam Mania
:/Users/Sam/Debby.obj); return 0; } I'm thinking this might have to do with the plugins not activated or linked somehow? I'm attaching the obj file if anyone wants to test it. I also tried to run any other .osg files that come with the distribution, but with the same error. Thanks a lot

Re: [osg-users] [osgPlugins] loading .obj file from c++

2014-04-22 Thread Sam Mania
location 0x7453C7EC. ... Thank you! Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59105#59105 Attachments: http://forum.openscenegraph.org//files/debby_182.zip ___ osg-users

Re: [osg-users] Writing to the Depth Buffer (Kinect)

2012-01-05 Thread Sam Corbett-Davies
it with internal format GL_RGB5_A1 and datatype GL_UNSIGNED_SHORT_5_5_5_1 (any other 16-bit format/datatype pair would do) and manually unpack it in the shader to get the full precision. Cheers Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44634

[osg-users] Writing to the Depth Buffer (Kinect)

2011-12-27 Thread Sam Corbett-Davies
glDrawPixels() with GL_DEPTH_COMPONENT if I was doing it in OpenGL, but how do I achieve this in OSG? I'm also open to a better way of using the Kinect to occlude geometry if anyone has any ideas. Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

[osg-users] Using the FBO to access and potentially modify pixels

2011-12-11 Thread Sam James
Hi all, I'm fairly new to osg and graphics programming in general, so please bear with me :) I am looking to retrieve the pixels from my scene after everything (except the post processing/overlay stuff) has been rendered. I need to get this every frame to perform some simple image analysis

Re: [osg-users] Visitor concept. No finalize?

2011-01-26 Thread Sam Warns
This would require the user to be aware of the fact that the Visitor has not finished its work after dtor is called. This is even more user unfriendly in my point of view. Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35988#35988

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
. This finish method could then perform the necessary removal operation (or any other). Thank you! Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35944#35944 ___ osg-users mailing list osg-users

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
); v.doTheJobActually(); So there is a discrepancy between what I would except from a visitor after it was passed to accept and what a visitor is able to do in it's apply method Greetings Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35950

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
they are not by the limitation of the apply methods Regards Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35952#35952 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
on the user. Never the less would a finalize method decrease any flexibility and power of it. (Btw: I have never experienced that handing over responsibility to the user (which is the developer at this point) produced any good results, but this is only my experience) Thanks, Sam

[osg-users] Visitor concept. No finalize?

2011-01-24 Thread Sam Warns
. This works so far but if I do not call the getter no extraction code is executed and nothing really happened. What am I doing wrong? Thank you, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35941#35941

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-11-04 Thread Huron Sam Perera
Hi Yurii, I followed your instructions and rebuilt OSG libraries. Then I rebuilt my app and tried it. It worked. Thank you! Cheers, Huron -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33476#33476

[osg-users] [build] How to use the DatabasePager

2010-11-04 Thread Huron Sam Perera
Hi, I am converting an application that uses Performer to work with OpenSceneGraph in place of Performer. In my application, the paging is done by adding a Callback using pfDBaseFunc in which all paging is performed. I looked for a similar Callback in the DatabasePager class and could not find

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-29 Thread Huron Sam Perera
Hi Robert, I am linking with OpenThreads. About the Makfile: The application that I am trying run with intersection checks from OSG has its own Makefile that I do not want to change other than adding the includes and libraries from OSG. Since, that procedure is giving me the undefined symbol

[osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Huron Sam Perera
Hi, When I run my application (on Linux Debian) which has call to do intersection tests, I get: undefined symbol: ZN11OpenThreads6AtomicmmEv when the application is trying to call addIntersector() function of the osgUtil::IntersectorGroup. In my application's Makefile I only link with

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Huron Sam Perera
Hi Robert, My debian version is 5.0.2. When I type gcc -v on my system the response is (along with bunch of other information): gcc version 4.3.2 (Debian 4.3.2-1.1). Thank you! Cheers, Huron -- Read this topic online here:

Re: [osg-users] [build] undefined symbol: _ZN11OpenThreads6AtomicmmEv

2010-10-27 Thread Huron Sam Perera
Hi Robert, The problem may be in the way I am linking with OSG libs in my Makefile. To check that I tried to create a Makefile for the osgintersection example. when I run cmake I get the following: The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for

[osg-users] Swapping ref_ptr

2010-06-30 Thread Sam Warns
::Group; foo(myGroup); // now I need myGroup to point to MatrixTransform without noticing it } Is this going to work? I have no compiler on this maschine to test right now so I am just assuming and browsing the docs. Thank you! Cheers, Sam -- Read this topic online here

Re: [osg-users] Swapping ref_ptr

2010-06-30 Thread Sam Warns
Hi, passing a ref_ptr by reference. This sounds somehow strange to me. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29517#29517 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] gDebugger see memory leaks in 14 lines of set up code when FBOs are used

2010-05-31 Thread Sam Warns
Hi, I spent the whole day chasing a weird memory leak on my GPU. The following code is part of a (not working well) FBO render solution. Code: #include osg/CameraNode #include osgViewer/ViewerEventHandlers void foo() { osg::ref_ptrosg::Camera c = new osg::Camera();

Re: [osg-users] Simple Loading Tutorial

2009-11-28 Thread Sam Gidding
Hi, Thanks Paul, just a question - where you are loading cow.osg - how do i define where this is kept? Ive just got the pdf you linked so will have a read. ... Thank you! Cheers, Sam -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20514#20514

Re: [osg-users] Simple Loading Tutorial

2009-11-28 Thread Sam Gidding
nothing, just the default blue background with no model. Ive tried different .osg and .obj files but no luck. Thanks for your help to a newbie! Sam. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20520#20520

[osg-users] Simple Loading Tutorial

2009-11-27 Thread Sam Gidding
Hi all, I've recently been trying to get my head around OSG, been trying the inbuilt examples and am not getting very far. I thought i'd check out the OSG tutorials but the site seems to have been down for the last few days now. Is there any specific example that I should be looking at just

Re: [osg-users] zbuffer issue

2009-06-15 Thread Christian Sam
Hi, thanks for all the reply like colin noted, the render problem vanished as i stripped off the offsets which caused the large coordinates and work now with localized coordinates. if i ever need to display the real coordinates in an text-insert, i can re-add the stripped offset before display

Re: [osg-users] zbuffer issue

2009-06-14 Thread Christian Sam
i forgot three things to mention: 1.) as i mentioned above, i place adjacent trees into one geometry. e.g. a geometries' vertex-array has numberOfAdjacentTrees*8 (=double quads ) entries. but i use only one primitiveSet to construct the geometry. i hope this is okay.

Re: [osg-users] zbuffer issue

2009-06-14 Thread Christian Sam
Sorry, for another posting: i just tested the original one drawable per tree implementation with such large coordinates again and noticed that it also tends to flicker, as well hidden faces were revealed also. i couldn't encounter the outer mentioned problems. thanks in advance, christian

Re: [osg-users] get the x-axis angle of a rotation

2009-06-04 Thread Christian Sam
Hi james, regarding your last post, did you mean that you also tried to extract angles from a rotation with the website's matrixToEuler or a similar approach, but you encountered problems that were depended on your current camera-orientation? i think the same happened to me: i wanted to get

Re: [osg-users] get the x-axis angle of a rotation

2009-06-04 Thread Christian Sam
Hi james, thanks for the quick reply, now everything is clear. Best regards, Christian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13531#13531 ___ osg-users mailing list

  1   2   >