Re: [osg-users] [ANN] 3rdParty Package for VS 2008 SP1 updated

2011-03-14 Thread Torben Dannhauer
Hi J-S, thanks for your feedback. If have to confess that yesterday evening I only compiled and added, I have not yet tested all new functions. At least the compile process with OSG works well in 32 and 64 bit. Regarding the 32 / 64 bit issue with libjpeg and libpng: I can't understand why

[osg-users] Texture minification and shaders

2011-03-14 Thread Grahame Bowland
Hi everyone I'm using GLSL shaders with OpenSceneGraph for some scientific visualisation. I've got sample values in a n*m floating point texture, and a colour lookup table in a 1-D texture. I'm sticking those textures on a osg::TexturedQuadGeometry like this:

Re: [osg-users] Texture minification and shaders

2011-03-14 Thread J.P. Delport
Hi, you can try explicitly setting the texture filter, e.g. OutTex-setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR); OutTex-setFilter(osg::Texture2D::MAG_FILTER, osg::Texture2D::LINEAR); and leave out any mipmap settings. ... On 14/03/11 08:56, Grahame Bowland wrote: Hi

Re: [osg-users] Texture minification and shaders

2011-03-14 Thread Sergey Polischuk
Hi, Grahame I'm not sure if i get it right, but seems like you need to change texture filtering modes on each texture (to nearest i suppose) or you can use texelFetch function in shaders instead of texture*, it overrides texture filtering rules and returns exactly value stored in specified

Re: [osg-users] Texture minification and shaders

2011-03-14 Thread Grahame Bowland
Hi, On Mon, 2011-03-14 at 09:44 +0200, J.P. Delport wrote: Hi, you can try explicitly setting the texture filter, e.g. OutTex-setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR); OutTex-setFilter(osg::Texture2D::MAG_FILTER, osg::Texture2D::LINEAR); and leave out any mipmap

Re: [osg-users] Texture minification and shaders

2011-03-14 Thread J.P. Delport
Hi, On 14/03/11 12:27, Grahame Bowland wrote: Hi, On Mon, 2011-03-14 at 09:44 +0200, J.P. Delport wrote: Hi, you can try explicitly setting the texture filter, e.g. OutTex-setFilter(osg::Texture2D::MIN_FILTER, osg::Texture2D::LINEAR); OutTex-setFilter(osg::Texture2D::MAG_FILTER,

[osg-users] Question about camera 2d

2011-03-14 Thread daniele argiolas
My setup now is: Code: viewer = new osgViewer::Viewer(); shadowedScene = new osgShadow::ShadowedScene(); scene2d = new osg::Group(); root = new osg::Group(); viewer-setUpViewOnSingleScreen(0); windowManager = new osgWidget::WindowManager(viewer,width,height, MASK_2D); osg::Camera* camera =

Re: [osg-users] Weird problem with osgText::Text3D

2011-03-14 Thread Johannes Scholz
Thanks a lot! Cheers, Johannes -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37598#37598 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [ANN] 3rdParty Package for VS 2008 SP1 updated

2011-03-14 Thread Jean-Sébastien Guay
Hi Torben, To NVTT: I did not simple pack the binary version of NVTT, because I don't know about the license. As the source code is MIT licensed, I rebuild it in Release mode for 32 and 64 bit. For the packaging and usage in OSG there was no obvious requirement for libjpg or libjep. After my

Re: [osg-users] Forked osgIntrospection to cppintrospection

2011-03-14 Thread Alexandre Quessy
Hello Wang Rui, I assume you wanted to reply to all, so I CC the mailing list. 2011/3/13 Wang Rui wangra...@gmail.com: 2011/3/13 Alexandre Quessy alexan...@quessy.net: I renamed it because we thought its namespace would clash with older OSG versions. Is it really the case? If so, should we

[osg-users] osgPPU related questions

2011-03-14 Thread Sergey Polischuk
Hi all, When i used osgppu i've experienced several frames delay (1 to 3 frames, not sure if this delay is persistent or it shows up from time to time, threading mode is singlethreaded) between content of input textures and units output, f.e. first several rendering frames can output some

[osg-users] requestRedraw bug during ON_DEMAND rendering

2011-03-14 Thread PC John
Hi all, I am using osgViewer::Viewer in ON_DEMAND RunFrameScheme, e.g. there is no continual re-rendering and 100% CPU loading, but the scene is rendered only when really needed. Bug: The window is not repainted when obscured by another window and re-shown again. I was trying to fix the

[osg-users] [osgPlugins] FLTK in OSG

2011-03-14 Thread Josue Hernandez
Hi everybody, ok, this is the cuestion: i try to make a slider in osg, someone toldme taht this could be be easy with fltk. i can make the lib of this and i can run a little proyect that show a window with label, but i dont know how make it work in OSG any help would be appreciated ...

Re: [osg-users] [ANN] 3rdParty Package for VS 2008 SP1 updated

2011-03-14 Thread Robert Osfield
Hi J-S, On Mon, Mar 14, 2011 at 1:12 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: I have no idea but there was some discussion about this when it was introduced - I guess it must be a flag in osgconv to be able to compress textures using nvtt instead of the older way

Re: [osg-users] requestRedraw bug during ON_DEMAND rendering

2011-03-14 Thread Robert Osfield
Hi John, Interesting problem you've unconvered. Responding to windowing redraw events is something it should do, but alas it wasn't something I thought about nor tested on writing the feature. I'm rather rusty on the topic so if you have looked into the code and come up with a possible

Re: [osg-users] osgPPU related questions

2011-03-14 Thread Sergey Polischuk
Ignore pbo part, didnt know it used for external processing, and i dont use it. 14.03.2011, 17:56, Sergey Polischuk pol...@yandex.ru: Hi all, When i used osgppu i've experienced several frames delay (1 to 3 frames, not sure if this delay is persistent or it shows up from time to time,

Re: [osg-users] osgVolume volume rendering ?

2011-03-14 Thread Naimul Khan
Hi Robert, Thanks for your quick reply, good to know it can be done with osgVolume. I will explain the problem I am facing in detail now: 1. I have tried to load some dicom images (provided by a doctor here) with the following command: osgvolume --images *.dcm The images load without any

Re: [osg-users] osgVolume volume rendering ?

2011-03-14 Thread Naimul Khan
This is the link to the tutorial from where I downloaded the color transfer functions: http://dlfresources.pbworks.com/w/page/17954901/How-to-:-build-a-volume (couldn't post links before 2 posts, so posting the link separately). -- Read this topic online here: