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

2012-12-26 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
This thread of discussion may help you... http://forum.openscenegraph.org/viewtopic.php?t=11461 Also, since you are new to the OSG, I would suggest that you look closely at the provided examples to obtain an understanding on how the OSG classes are used in the applications. Looking at the OSG

Re: [osg-users] Projective multitexturing save/export

2012-12-26 Thread Mateo Gasparovic
Hi, I've made projecting textures on the STL model. To project textures I've used the OpenGL vertex and fragment sheders as in examle on Jotschi's Blog: ProjectiveTextureExample OpenSceneGraph. I'm interested if is it possible to save the textured model that is displayed in the window (viewer)

Re: [osg-users] Mask projective texture

2012-12-26 Thread Mateo Gasparovic
Hi, I am beginner in the OpenSceneGraph in OpenGL. I have made a program for Projecting textures using fragment and vertex shaders. The problem is that texture is projected throughout the object. I have an idea to deal with this by using shadows (depth) map. The position of light source is

[osg-users] Mask projective texture

2012-12-26 Thread Mateo Gasparovic
Hi, I am beginner in the OpenSceneGraph in OpenGL. I have made a program for Projecting textures using fragment and vertex shaders. The problem is that texture is projected throughout the object. I have an idea to deal with this by using shadows (depth) map. The position of light source is

[osg-users] File formats

2012-12-26 Thread Shashank Karkare
Hi, Can I open solid works or similar design files like PRO/E or CAD/CAM files using OSG? I wanted to convert them into the format that would be readable by mobile or into 3-D models Thank you! Cheers, Shashank -- Read this topic online here:

Re: [osg-users] [build] osgAndroidExampleGLES1 not loading model ( Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..) )

2012-12-26 Thread Sameer Ababneh
Greetings, i have attached some osg model that has no textures and its not that heavy, well when loading it using the sample osgAndroidExampleGLES1, the logCat logs that the model was sucessfully loaded and then each frame it logs : Code: Warning: detected OpenGL error 'invalid enumerant' at

[osg-users] osg::Smoothingvisitor and opengles2.0

2012-12-26 Thread raphael cano
Hi, After a quick look on the osgUtil::Smoothingvisitor class, it seems to be that it uses the normal openGL pipeline, i.e. the nomals are pushed into the drawable with setNormalArray. Is there a possibility to use this functionnality with attribute, in order to make it compatible with

[osg-users] how to delete the reference pointers

2012-12-26 Thread Rishabh Gupta
Hi all, I am opening a new window(inherited from CWnd) from the main view window. In this new window I am displaying the data, bt if i close this window and again open it(while the view window was not closed), it still contains the data,which i was displaying earlier,though i have assigned

[osg-users] [build] Can't setup OSG Wizard for VS 2009

2012-12-26 Thread Joe Smith
Hi, I have compiled the source on Windows 7 using MSVC 2009 However, I can't figure out how to get the OSG Wizard working. Can someone help me Thank you! Areal :O -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51659#51659

[osg-users] [forum] Understanding osg Image packing

2012-12-26 Thread Claus Steuer
Hi, i try to understand the packing parameter of osg::Image::allocateImage. My current understanding is that packing specifies the alignment of each pixel row in memory like the GL_PACK_ALIGNMENT parameter in OpenGL does. That means if i have a packing of 2 and an image width of 3 with 3 bytes

[osg-users] osgAnimation

2012-12-26 Thread Bhaskar Bhattacharya
Hi all, I'm having a tough time trying to use osgAnimation. Essentially I have an animation however the primitives in every frame keep changing. I have no issues showing it on the fly frame by frame i.e. just showing it via osgViewer::Viewer however I want to save the animation in a .ive/.osg

Re: [osg-users] [osgCompute] Experiences with osgCompute

2012-12-26 Thread zeeshan zeeshan
Thanks for sharing... :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51628#51628 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] Android Compile Errors with 3rd Party library

2012-12-26 Thread Tisham Dhar
Hi, Did you manage to make any progress on QCAR + OSG integration. I am using QCAR currently with Unity. It will be interesting to test it with OSG as well. Cheers, Tisham -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51618#51618

Re: [osg-users] [build] [solved][OSX Lion] [trunk] ZeroConf folder missing

2012-12-26 Thread Simon Lemaitre
Hi, Just had some troubles building the svn-trunk on Mac OS X Lion. Here's the CMake configuration I used : Code: BUILD_OSG_APPLICATIONS = OFF CMAKE_OSX_ARCHITECTURES = x86_64 OSG_WINDOWING_SYSTEM = Cocoa OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX = imageio And here's the error I got : CMake

Re: [osg-users] [vpb] error building VPB

2012-12-26 Thread Айдар
Hi, All! I don't build VPB with VS2008. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51108#51108 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Loading .ive via curl on Android

2012-12-26 Thread Tisham Dhar
Hi All, I have the GLES1 sample working with textures on a Samsung Nexus S. I was testing the following .ive via curl: data/earth_bayarea/earth.ive And I have an error uncompressing the .ive. Which plugin do I need to enable this ? I currently have curl,jpeg,png,freetype in addition to the

[osg-users] osgAnimation::Animation read and write

2012-12-26 Thread Floof Le Bo
Hi, I'm currently writing a writer plugin to ouptut osg scenes in a custom file type. The custom target file type i'm using can manage keyframe animations. So, I need to read this info from the osg::Animation class but I get lost somewhere around the Channel and TemplateChannel classes. The

[osg-users] Particle modelling per-frame quantisation

2012-12-26 Thread Lucky James
If a particle effect that emits more than one particle per frame, all the particles in a given frame have the same age. What would be the best way to change the ages of new particles over each frame, assuming a known constant frame period. -- Read this topic online here:

[osg-users] [forum] How do I remove my account?

2012-12-26 Thread Lucky James
Hello Sorry if I've missed something obvious, but how do I remove my account? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51486#51486 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Z Buffer Problems

2012-12-26 Thread Kevin Virmani
Hi, I use the QT Plugin for OSG to display some .flt files. Most of them are looking normal but some are just strange. I think it hase something to do with the Z Buffer but I'm not sure (Picture in the attachement). The model is a child of a root node and the root ist assigend to the scene. I

[osg-users] [osgCompute] Problem with postfilter/rtt setup

2012-12-26 Thread Thorsten Roth
Hi, I have a slight problem with my tries to get some post processing working with osgCompute (most recent trunk version from today). I have several textures attached to my cameras in a RTT manner, e.g. like this: Code: textures.colorTex = new osgCuda::Texture2D;

[osg-users] osgFX::outline: unable to change outline color

2012-12-26 Thread Mike Metcalf
We've been attempting to implement an osgFX::outline node for highlighting during mouse selection/hover. Our implementation works, except that the resulting outline ignores our calls to setColor() and remains black at all times. Outline line widths properly respond to calls to setWidth(). We

Re: [osg-users] [osgPlugins] FBX textures file names is UTF8

2012-12-26 Thread Alline Betts
Very fine and helpful post. I like to use 3D max. So fine. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51684#51684 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Multiple Cameras and lagging proj matrix

2012-12-26 Thread Glenn Waldron
On Wed, Dec 26, 2012 at 1:08 PM, Paul Martz pma...@skew-matrix.com wrote: Hi Glenn -- I've managed to compute the matrix I need using the clamp projection callbacks, so thanks for directing my attention there. But I've ran into problems with multithreading, and it seems like you should have

[osg-users] [osgPlugins] stl plugin and BIND_PER_PRIMITIVE

2012-12-26 Thread Michael Schanne
Hi, I have some models in my application that were provided to me in the .stl file format, that I converted into .osg format using osgconv. I was looking at the .osg file and I noticed it contained BIND_PER_PRIMITIVE for the normals. I read elsewhere on the forum that this mode should be

Re: [osg-users] osgManipulator serializers not working

2012-12-26 Thread Michael Schanne
Sorry for the thread bump, but has anybody ever gotten the osgManipulator serializers to work? They would be helpful to me in debugging my application. Thanks, Mike mschan01 wrote: Hi, I am trying to write my scene containing Draggers to an .osg file in order to debug my application.

Re: [osg-users] [build] Can't setup OSG Wizard for VS 2009

2012-12-26 Thread Chris Hanson
What do you mean by the OSG Wizard? On Thu, Dec 20, 2012 at 12:09 PM, Joe Smith deleteallus...@gmail.comwrote: Hi, I have compiled the source on Windows 7 using MSVC 2009 However, I can't figure out how to get the OSG Wizard working. Can someone help me Thank you! Areal :O