[osg-users] Thoughts on Vulkan

2015-03-15 Thread Preet
Hey all, Now that the Khronos group has announced Vulkan/SPIR-V, are there any plans to integrate it into OSG as an alternative back end? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi

Re: [osg-users] osg+osm

2013-09-17 Thread Preet
On Tue, Sep 17, 2013 at 11:09 AM, Айдар Ильдарович e...@inbox.ru wrote: Hello! I use OpenSceneGraph 3.0.1 in my research. Please, help me, how to use and to load files of OpenStreetMap (extension o5m, pbf, osm) in osgviewer. You can't do this directly. The files have to be opened and parsed

Re: [osg-users] Trouble loading OSG plugins

2013-09-10 Thread Preet
, my phone is proof. 2013/9/10 Preet prismatic.proj...@gmail.com m to create an osgPlugins directory where OSG ends up being deployed in the application package so I just want OSG to load plugins from the directory where the rest of the shared objects live on Android: /data/app-lib

[osg-users] Possible bug with OpenSceneGraph for OpenGL ES 2

2013-09-10 Thread Preet
OSG_GLES2_AVAILABLE, but there might be a better place to address this. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Trouble loading OSG plugins

2013-09-10 Thread Preet
? I ran across this problem when using OSG for another platform as well and worked around it using a few tricks but Android is much less tolerant in this regard. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Trouble loading OSG plugins

2013-09-10 Thread Preet
. Do you have a public repo where you are testing this out? I suspect you're setting up a build similar to the static one where CMakeLists will do most of the magic. My build notes are here (still have to add some stuff, but its mostly complete: https://github.com/preet/scratch/wiki/OpenSceneGraph

[osg-users] Android build fails with osg from git

2013-09-05 Thread Preet
Hiya, I think some of the recent code wrt osgPresentation is causing the Android build to fail. Here's my cmake config call: cmake \ -DOSG_BUILD_PLATFORM_ANDROID=ON \ -DANDROID_NDK=/home/preet/Dev/env/sys/android-ndk-r8e \ -DCMAKE_INSTALL_PREFIX=/home/preet/Dev/env/android/osg-git-debug

Re: [osg-users] Android build fails with osg from git

2013-09-05 Thread Preet
Hmm. Even with the osgPresentation issue fixed, I'm unable to build the libs I get hundreds of errors like: /home/preet/Dev/env/sys/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld

Re: [osg-users] Solving forum.openscenegraph.org problems

2013-07-31 Thread Preet
questions on StackOverflow so one can get an idea of how that kind of site would look. Regarding user registration - I never really understood the point of having your full name being a mandatory thing for the forum sign up. Is it a courtesy thing? Is it to prevent spam? Preet On Wed, Jul 31, 2013

Re: [osg-users] OpenSceneGraph transformation precision

2013-07-31 Thread Preet
It looks like a common precision issue in OpenGL -- you can't directly pass planetary scale values since you're limited to floats. To get around this, parent your Geodes with a Transform node as you did in your second example. See this mailing list thread for more info:

Re: [osg-users] Text with transparent background

2013-07-31 Thread Preet
Is blending enabled in the scene graph? ie rootNode-getOrCreateStateSet()-setMode(GL_BLEND,osg::StateAttribute::ON); On Fri, Jul 19, 2013 at 3:05 AM, Xiangfei Cui sophist...@gmail.com wrote: Hi, There are two osg::Drawables. One is a filled red polygon, the other is a white Text on the

Re: [osg-users] load many and big bmp image into textures

2013-07-31 Thread Preet
1. If you use osg::ref_ptr for your Texture2D objects, they should be cleaned up when you remove any references to them (ie just remove the geode(s) the texture is attached to or any other references to the texture) 2. bad_alloc usually means you're running out of memory. On Fri, Jul 26, 2013

[osg-users] How do I build OpenSceneGraph as a shared lib without sonames?

2013-06-23 Thread Preet
Hi, I'm building for a platform where I can't use sym links when packaging an application and soname versioning complicates the deploy process. Is there a way to tell osg/cmake that I don't want to build versioned libraries with sonames? Preet ___ osg

Re: [osg-users] How do I build OpenSceneGraph as a shared lib without sonames?

2013-06-23 Thread Preet
Easy fix; In the main CMakeLists.txt simply change # We want to build SONAMES shared librariess SET(OPENSCENEGRAPH_SONAMES TRUE) -- change to false SET(OPENTHREADS_SONAMES TRUE) --- change to false Would be cool to have a cmake option that controls this though

[osg-users] Using osg::Camera without a view

2013-06-15 Thread Preet
that needs the object to belong to a viewer / have a proper view/context/etc setup? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] qmlosg (QtQuick + osg integration)

2013-06-01 Thread Preet
-textureinthread.html And here's my attempt [copy of the method used in the docs but with an osg embedded viewer and *no* context switching -- I just reset some specific state] https://github.com/preet/scratch/tree/master/qt5/qquickfboviewport ___ osg-users mailing

Re: [osg-users] How can I check which objects are frustum culled?

2013-03-21 Thread Preet
Is it possible to get a list of nodes that *do* pass the cull test then (outside of the obvious 'look at whats rendered')? Preet On Thu, Mar 21, 2013 at 5:02 AM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Preet, The OSG cull traversal doesn't track the objects that are culled, only

Re: [osg-users] How can I check which objects are frustum culled?

2013-03-21 Thread Preet
Hi Robert, Or... just use the Stats feature that does just this. Have a look at the src/osgViewer/StatsHandler.cpp to see how the Stats collection can be enabled and used. Thanks for the quick reply, this worked great. I'm just posting a small snippet in case anyone else searches the list

[osg-users] How can I check which objects are frustum culled?

2013-03-20 Thread Preet
? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] problem of rendering overlaped models.

2013-02-16 Thread Preet
When you say weird what do you mean? If you have polygons that are positioned/aligned very closely to one another you might be seeing z-fighting (http://www.zeuscmd.com/tutorials/opengl/15-PolygonOffset.php). In that case you can tell OpenSceneGraph to use polygon offset on one of the models.

[osg-users] Mipmapping a dynamic texture

2013-02-02 Thread Preet
to explicitly tell OSG to do this (if so, how?) Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Creating a billboard shader for OpenGL ES 2

2013-01-20 Thread Preet
/delay? * Or, has anyone created a better shader that can do billboarding for batched geometry (and if so, could they maybe share how)? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

[osg-users] Why am I getting this bleed through effect when moving my camera around?

2013-01-19 Thread Preet
, the effect isn't visible. Does anyone have any ideas as to what the issue is here? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Why am I getting this bleed through effect when moving my camera around?

2013-01-19 Thread Preet
Nevermind -- it turns out my idea of a 'substantial' amount of distance wasn't enough. On Sun, Jan 20, 2013 at 12:42 AM, Preet prismatic.proj...@gmail.com wrote: I have two geometries close together -- one is an osgText object and the other is just a simple set of planar triangles laying flat

Re: [osg-users] Does OSG support ES2.0?

2013-01-09 Thread Preet
Hi Paul, On Tue, Jan 8, 2013 at 8:20 AM, Paul Heraty heratyp...@eircom.net wrote: Hi Preet, Do you have a copy of the shaders in that code that you can share please: shaders/NoShading_vert.glsl shaders/NoShading_frag.glsl They are in the same repo: https://github.com/preet/scratch/tree

Re: [osg-users] Does OSG support ES2.0?

2013-01-04 Thread Preet
To follow up on Jorge's reply: Here's an example of how you can use shaders for osgText: https://github.com/preet/scratch/blob/master/openscenegraph/osg_text_geometry/main_old.cpp If you're still having issues, increase the OSG debugging output: (osg::setDebugNotify(...)) and osgViewer

[osg-users] How can I call a vector method on a generic array type?

2012-12-27 Thread Preet
Hi, I'm trying to call std::vector functions on generic array objects. So I'd like to be able to get an osg::Array and call something like size() or clear() on it, but I'm not sure how I can do this without casting it to one of the 'proper' array types. Is this possible? Preet

Re: [osg-users] Fitting my world into the viewport

2012-12-24 Thread Preet
any need to adjust the camera's projection directly. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Render multiple osgText nodes with the same drawcall

2012-12-22 Thread Preet
suggested above, I looked up glyph texture coordinates for a bunch of characters without manually adding any glyphs and it 'just worked'. Do I never need to do anything to ensure the glyphs I need are in the texture or is this taken care of implicitly? Regards, Preet

[osg-users] What can I do to improve rendering performance for a bunch of billboarded nodes?

2012-12-20 Thread Preet
can do to improve rendering performance in this scenario? This is on a mobile device (OpenGL ES 2) and I get a fair bit of slow down as the number of objects increases. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] osg plugin path naming issue?

2012-12-13 Thread Preet
). Is this a bug or did I do something weird when building OSG? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OSG and Qt GLdouble typedef conflicts with OpenGL ES2

2012-12-13 Thread Preet
to change up order of includes everywhere in my application. Since both OSG and Qt have to check whether or not GLdouble is defined by the GL implementation, I think its safe to do this [and it seems to be working fine]. Regards, Preet On Wed, Dec 12, 2012 at 3:51 AM, Robert Osfield robert.osfi

[osg-users] Render multiple osgText nodes with the same drawcall

2012-12-13 Thread Preet
any advice. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] OSG and Qt GLdouble typedef conflicts with OpenGL ES2

2012-12-11 Thread Preet
this? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Rendering sets of objects in layers/passes

2012-12-08 Thread Preet
... but this doesn't do what I want. I'd appreciate any advice. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-06 Thread Preet
! Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-05 Thread Preet
until I move the camera out far enough as I described previously. Something happens at that causes the geometry to disappear unless I disable culling altogether. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-05 Thread Preet
On Sat, Oct 6, 2012 at 1:02 AM, Preet prismatic.proj...@gmail.com wrote: Sergey's suggestion (invalidating the geometry's bounds with a custom compute bounds callback) sort of worked, but led into another issue. If I zoom out far enough, the Earth surface geometry disappears. Specifically

[osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-04 Thread Preet
to 'ignore' in this respect, but I still want the node to be rendered. Is there anyway I can do this? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-04 Thread Preet
On Thu, Oct 4, 2012 at 3:52 PM, Chris Hanson xe...@alphapixel.com wrote: On Thu, Oct 4, 2012 at 12:48 PM, Preet prismatic.proj...@gmail.com wrote: By default some of the parameters of a camera are computed based on the contents of a scene (like the near and far plane). Camera manipulators

Re: [osg-users] How can I get the viewer's camera to 'ignore' a node's geometry?

2012-10-04 Thread Preet
On Thu, Oct 4, 2012 at 5:37 PM, Chris Hanson xe...@alphapixel.com wrote: I wanted to avoid specifying the near/far planes manually since the behaviour without the Earth surface geometry is perfect as is. I don't care about the overhead of drawing the surface geometry since its so simple, and

Re: [osg-users] Manually updating a camera instead of using a manipulator

2012-10-01 Thread Preet
; } Sorry for the spam Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Window Event Queue not being fully processed?

2012-09-10 Thread Preet
tried setting the viewer's runFrameScheme to ON_DEMAND, but this didn't make a difference. To be clear, I manually call the viewer's frame() method after each mouse event. I'd appreciate any advice. Regards, Preet ___ osg-users mailing list osg-users

Re: [osg-users] Using osgText with GraphicsWindowEmbedded and Qt causes problems

2012-07-09 Thread Preet
Hi Robert, On Mon, Jul 9, 2012 at 9:01 AM, Robert Osfield robert.osfi...@gmail.com wrote: HI Preet, You'll need to rest OpenGL into consistent state when moving between Qt and the OSG. I don't know anything about QGLFrameBufferObject so can't comment on what state it'll be managing

Re: [osg-users] Bug in revision 13092

2012-07-09 Thread Preet
Did you call realize() on your viewer? ie... myViewer-realize(); On Fri, Jul 6, 2012 at 7:40 AM, Łukasz Lucek lukasz.lu...@gmail.com wrote: Hi, I think that I have found a bug in revision 13092. I'm using osg as part of qt application, so i create an osgViewer::GraphicsWindowEmbedded like

Re: [osg-users] [vpb] Texture parameters for Android?

2012-07-07 Thread Preet
On Sat, Jul 7, 2012 at 10:54 AM, Massimo Tarantini subbi...@yahoo.it wrote: Hello, i have compiled OSG and VPB for Android, and i'm using Necessitas on an Archos 80G9. All the stuff works (well, the touch events are lost...) but i can't see the texture. I have tryied some combinations for

Re: [osg-users] Saving and restoring GL state with OpenSceneGraph

2012-07-06 Thread Preet
Hi Frank, Thanks for the reply! I'll try setting up something similar in my application. On Fri, Jul 6, 2012 at 3:52 PM, Frank Kane fk...@sundog-soft.com wrote: From what I've read, captureCurrentState just returns the current state attributes in OSG - it's not actually capturing the current

[osg-users] Saving and restoring GL state with OpenSceneGraph

2012-07-05 Thread Preet
if I modified the scene Does that seem reasonable? Any advice/input would be appreciated. Thanks Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] osgText not working with programmable pipeline?

2012-07-04 Thread Preet
, ignoring operation. I'd appreciate any advice. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgText not working with programmable pipeline?

2012-07-04 Thread Preet
uniform sampler2D GlyphTexture; void main() { gl_FragColor = VertexColor * texture2D(GlyphTexture,TexCoord0).; } Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Issue adding transparency to a simple model

2012-07-04 Thread Preet
Thanks Paul and Sergey I'll try both methods. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Using osgText with GraphicsWindowEmbedded and Qt causes problems

2012-07-04 Thread Preet
any suggestions as to how I can force Qt and OSG to play nice? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Issue adding transparency to a simple model

2012-07-03 Thread Preet
Hi. I have a simple model I wanted to apply transparency to. I load the model data into a geometry node, and set my scene up. To get a transparent effect, I apply an alpha value to gl_FragColor in my fragment shader. The shaders are trivial: Vertex: void main() { gl_Position =

Re: [osg-users] Issue adding transparency to a simple model

2012-07-03 Thread Preet
On Tue, Jul 3, 2012 at 4:45 PM, Paul Martz pma...@skew-matrix.com wrote: What are you doing to ensure that the triangles are rendered in back-to-front order? -Paul Nothing! How can I preprocess the data to achieve that? ___ osg-users mailing list

[osg-users] Issue using TrackballManipulator with GraphicsWindowEmbedded

2012-07-01 Thread Preet
on the graphic window's event queue But they didn't have any effect. Am I just missing something obvious? Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Issue using TrackballManipulator with GraphicsWindowEmbedded

2012-07-01 Thread Preet
Ah, forgot to call viewer-realize() Sorry for the spam :) Preet On Sun, Jul 1, 2012 at 4:42 PM, Preet prismatic.proj...@gmail.com wrote: Hey all. I'm having some trouble using TrackballManipulator with GraphicsWindowEmbedded. The two main problems are: * I have to pass normalized x,y

Re: [osg-users] Problems using shader attributes

2012-06-30 Thread Preet
- small edit: the correctly rendered scene with straight opengl: http://i.imgur.com/gLLdM.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Building a slimmed down static version of OSG

2012-06-22 Thread Preet
here. Preet On Thu, Jun 21, 2012 at 11:13 PM, David Smith mo...@mokon.net wrote: Hi Preet, Did you make any progress on this? I'm getting a similar error and I am stumped. I have a fedora 16 32bit machine with osg 3.0.1 where my code compiles fine and then I have a fedora 17 64bit

Re: [osg-users] 139.com Spam

2012-06-07 Thread Preet
me three... gmail does a decent job of filtering it out once you mark it as spam though On Thu, Jun 7, 2012 at 4:49 PM, Jordi Torres jtorresfa...@gmail.com wrote: Me too. El 07/06/2012 21:43, rocco martino martinoro...@gmail.com escribió: Idem 2012/6/7 Kim Bale kcb...@googlemail.com Is

Re: [osg-users] OpenSceneGraph on the Playbook

2012-06-06 Thread Preet
: Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenSceneGraph on the Playbook

2012-06-06 Thread Preet
to your own osg libs): https://github.com/canurabus/scratch-blackberry/tree/master/template_osg Regards, Preet -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2

Re: [osg-users] OpenSceneGraph on the Playbook

2012-06-05 Thread Preet
of the camera, etc. osg output: http://pastie.org/4034304 source (same as above, just using shaders now) http://pastie.org/4034318 Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

[osg-users] OpenSceneGraph on the Playbook

2012-06-04 Thread Preet
and renders as expected using OpenGL on my desktop. Could anyone suggest something to get this working? Preet glVersion=2, isGlslSupported=YES, glslLanguageVersion=1.016 State::convertShaderSourceToOsgBuiltIns() ++Before Converted source void main() { gl_Position = ftransform

Re: [osg-users] Enabling notifications from within program?

2012-06-01 Thread Preet
)        {                m_out message;        } private:        std::ofstream m_out; }; osg::setNotifyHandler(new NH); Cheers, Sergey. 31.05.2012, 22:25, Preet prismatic.proj...@gmail.com: Hi Robert, That's what I'm currently doing (ie using stack traces to try and figure stuff out), but I

[osg-users] Enabling notifications from within program?

2012-05-31 Thread Preet
directory and since Notify.cpp dumps to both of those it seems like I should be seeing something, but I'm not. However, I do get statements like std::cout Hello std::endl outputted as expected when used in my application (just not from osg). Am I missing something obvious? Preet

[osg-users] Explanation of macros in staticviewer example?

2012-05-31 Thread Preet
with USE_OSGPLUGIN corresponding to plugins. I'm not sure what the other two are for. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Building a slimmed down static version of OSG

2012-05-31 Thread Preet
far: I can deploy an app with osg to the PlayBook but it instantly crashes. Right now I'm basically sifting through core dumps and seeing what else I can do to try and get it to work. Preet On Thu, May 31, 2012 at 12:07 PM, Thomas Hogarth thomas.hoga...@gmail.com wrote: Hi Preet Not too sure

Re: [osg-users] Enabling notifications from within program?

2012-05-31 Thread Preet
. On Thu, May 31, 2012 at 4:57 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Preet, The osg::notify system isn't related to handling of std exceptions except where some specific code might catch an exception and report the output to osg::notify.  This means that upping the notify level

Re: [osg-users] Building a slimmed down static version of OSG

2012-05-30 Thread Preet
OpenGL context I'd appreciate some help in figuring out where to go from here. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Building a slimmed down static version of OSG

2012-05-29 Thread Preet
OpenThreads symbols. The Playbook runs QNX, which has pthreads. The CMake Configure still seems to fail the OpenThreads tests (is there anything I can point CMakeLists to so it'll pass the tests?). I'd appreciate any advice. Regards, Preet On Mon, May 28, 2012 at 6:00 PM, Preet prismatic.proj

Re: [osg-users] Building a slimmed down static version of OSG

2012-05-29 Thread Preet
): undefined reference to `OpenThreads::Mutex::Mutex(OpenThreads::Mutex::MutexType)' Program.cpp:(.text+0x5160): undefined reference to `OpenThreads::Mutex::~Mutex()' On Tue, May 29, 2012 at 5:02 PM, Thomas Hogarth thomas.hoga...@gmail.com wrote: Hi Preet Good to hear you're working

[osg-users] Building a slimmed down static version of OSG

2012-05-28 Thread Preet
Hi, I'm trying to build OSG for another platform (the BlackBerry Playbook). The NDK for the Playbook includes the tool chains required to compile libs/apps for the device. It also has OpenGL ES 1.1/2.0 libs, EGL, freetype, etc. I feel like it should be possible to compile OSG for the Playbook but

Re: [osg-users] Current state of GLES2

2012-04-25 Thread Preet
is not implemented. I'm on Linux Sorry for all the questions and thanks for the valuable feedback/support Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Current state of GLES2

2012-04-25 Thread Preet
a really old machine with spotty driver support (integrated ATi chipset). If it helps, I'm running Arch Linux with all the latest updates. The SDK I got was the ES 2.0 Emulation for PC (Linux) off this page: http://www.imgtec.com/powervr/insider/sdkdownloads/. Regards, Preet

Re: [osg-users] Current state of GLES2

2012-04-23 Thread Preet
to approach this and would appreciate any advice. Regards, Preet On Mon, Apr 23, 2012 at 4:51 PM, Eduardo Poyart poy...@gmail.com wrote: Very clarifying, thank you. I did experiment with ShaderGen and I even patched it to generate GLES2 code. However I'm going in a different direction. My

[osg-users] How do I fill the framebuffer with an alpha channel?

2012-04-17 Thread Preet
know how to preemptively fill the framebuffer with your desired alpha channel with osg. Can anyone provide any pointers as to how that can be done? Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] [build] How can I obtain the osgQt library?

2012-04-17 Thread Preet
Hiya, Same thing happened to me. You didn't mention which OS you were on, but if you can't find osgQt separately for your distro, you can always grab from source and compile it. Preet On Tue, Apr 17, 2012 at 3:31 AM, Mark Green hlgamead...@hotmail.com wrote: Hi, This is probably a stupid

Re: [osg-users] [build] How can I obtain the osgQt library?

2012-04-17 Thread Preet
else from the list can chime in. Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Rendering osgText::Text using osg::Material?

2012-04-13 Thread Preet
works Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Quick questions about assigning render bins

2012-04-12 Thread Preet
) respectively, and A is behind B, I should see object A through B correct? This is what some preliminary test code seems to indicate (and in that code switching from DepthSortedBin to RenderBin doesn't result in any changes). Regards, Preet ___ osg-users mailing

[osg-users] Unexpected osgText::TextBase::computeBound() behaviour

2012-04-09 Thread Preet
with respect to the text. Ignore the glitchy character glyphs -- that's an issue with the drivers on my system. screenshot: http://imgur.com/YJasY code: http://pastie.org/3754296 Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] Can I have instances (vs. clones) with different colors?

2012-04-06 Thread Preet
, I used instancing (with the same color for everything) as opposed to cloning, and the time to render the scene was cut by half (which is important in my application since I'm targeting mobile). I'd appreciate any advice! Regards, Preet ___ osg-users

[osg-users] osgUtil::Tessellator not working with double precision

2012-04-03 Thread Preet
? Regards Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Efficient usage of Tessellator

2012-03-29 Thread Preet
? Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Creating an 'outline' effect in osgText?

2012-03-22 Thread Preet
Hey all, I'm trying to create an outline effect with osgText. Here's an example of what I'm trying to accomplish: http://gimpology.com/uploads/3_8_8.png How can I get a similar effect? Regards, Preet ___ osg-users mailing list osg-users

Re: [osg-users] Creating an 'outline' effect in osgText?

2012-03-22 Thread Preet
Hey, On Thu, Mar 22, 2012 at 7:03 PM, Hamm, Brandon brandon.h...@qinetiq-na.com wrote: Preet, Take a look at the osgtext example.  There's a setBackdropType() member function of osgText::Text that you can call to set a backdrop type of osgText::Text::OUTLINE.  You can specify the color

[osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread Preet
any advice pointing me in the right direction. Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread Preet
Hi, On Fri, Mar 16, 2012 at 4:43 PM, John Kaniarz john.kani...@us.army.mil wrote: What you're trying to do is the PIMPL design pattern.  I'll leave the details to Google :) You may also want to brush up on the Factory design pattern for generating your opaque handles. In a direct answer

Re: [osg-users] Stitching together sphere geometry in OpenSceneGraph

2012-03-02 Thread Preet
Thanks, setting the texture's wrap mode to CLAMP_TO_EDGE worked perfectly! Regards, Preet On Thu, Mar 1, 2012 at 10:45 PM, Jean-Sébastien Guay jean_...@videotron.ca wrote: Hello Preet, * The issue I've run into involves where my 2D texture wraps around and meets itself on the sphere

[osg-users] Objects with (very) high mesh resolution not showing up in viewer?

2012-03-01 Thread Preet
beyond some threshold the geometry shows up again. What's going on? Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Objects with (very) high mesh resolution not showing up in viewer?

2012-03-01 Thread Preet
is where I defined the function. I'm going to Preet On Thu, Mar 1, 2012 at 7:00 AM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hi Preet, can you give us some more details on the limit you are hitting here? Also I don't see any hints how your geometry is organized? As a single

[osg-users] Stitching together sphere geometry in OpenSceneGraph

2012-03-01 Thread Preet
sense): http://i.stack.imgur.com/l9baA.png Regards, Preet ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] A few questions on GraphicsWindowEmbedded

2012-02-28 Thread Preet
). For anyone else who needs to do something similar, here's some scrap code you can use to define a QDeclarativeItem that'll show an osg view. http://pastie.org/3478592 (header) http://pastie.org/3478602 (source) Regards, Preet ___ osg-users mailing

Re: [osg-users] A few questions on GraphicsWindowEmbedded

2012-02-28 Thread Preet
().left(), boundingRect().top()); //... And the item would render in its own assigned space on the screen, maintaining all of its positional parent child relationships. Regards, Preet On Tue, Feb 28, 2012 at 4:54 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Preet, On 28 February

Re: [osg-users] Displaying World Coordinate Frame in Relation to Local Coordinate Frame

2012-02-18 Thread Preet
Hi Scott, It wasn't quite clear to me what you wanted represent with your rocket's second set of axes. Your WCS origin is at the center of the earth (ie, ECEF coordinates). Your rocket also has its own local geometrical axes as your screenshots show. As your rocket orbits the Earth, its ECEF

Re: [osg-users] Rendering an OpenSceneGraph scene in Qt QuickRendering an OpenSceneGraph scene in QML Rendering an OpenSceneGraph scene in QML

2012-02-18 Thread Preet
. This is where I'm totally lost though. So if I had to rephrase the problem: Assuming I had a viewport I could only paint to using native OpenGL calls, how could I render an OpenSceneGraph scene in it? Regards, Preet On Fri, Feb 17, 2012 at 4:27 AM, Philipp Moeller philipp.moel...@geometryfactory.com

[osg-users] Rendering an OpenSceneGraph scene in Qt QuickRendering an OpenSceneGraph scene in QML Rendering an OpenSceneGraph scene in QML

2012-02-16 Thread Preet
Hey all. I have an OpenSceneGraph tree I'd like to have displayed in QtQuick. I'd like the user to be able to interact with the scene where the mouse can zoom/pan/rotate the camera, just like osgViewer allows. I saw that there were a couple of examples (osgQtWidgets and osgQtBrowser), but they're

[osg-users] Unable to get osgViewerQt to work

2012-02-16 Thread Preet
Hiya, I've been trying to run the osgViewerQt example. I have osg (including osgQt) built from git. I'm able to use osgviewer without any issues. When I try to run osgViewerQt, here's the output: [preet@icarus osgviewerQt]$ ./osgViewerQt cessna.osg [xcb] Unknown request in queue while dequeuing

Re: [osg-users] Drawing poly line, jitter/vibration issue when moving camera

2012-02-14 Thread Preet
Hey Robert, Thanks for the detailed response. I had a few follow up questions. On Tue, Feb 14, 2012 at 7:39 AM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Preet, Rui was a little cryptic is his explanation so I'll expand on it further.  What you are seeing is numerical precisions

[osg-users] Drawing poly line, jitter/vibration issue when moving camera

2012-02-13 Thread Preet
Hiya, I'm trying to draw a simple poly line from a vertex array with the GL_LINE_STRIP primitive. When I view the object using osgviewer, it looks like everything is alright. Once I move the camera around with the mouse however, the lines begin to jitter, like the polyline was made of jello

  1   2   >