[osg-users] osg::TextureCubeMap and HDR

2010-01-08 Thread Peter Wraae Marino
e = new osg::Texture2D( osgDB::readImageFile("vinesunset.hdr") ); texture->setInternalFormat( GL_RGB16F_ARB ); texture->setResizeNonPowerOfTwoHint(false); texture->setImage( pImage ); can anyone spot what I'm missing? -- Regard

Re: [osg-users] osg::TextureCubeMap and HDR

2010-01-12 Thread Peter Wraae Marino
sg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing l

Re: [osg-users] osg::TextureCubeMap and HDR

2010-01-12 Thread Peter Wraae Marino
. Apparently the rescalling the texturecubemap uses can't handle textures with floats. is this correct? Peter Wraae Marino On Fri, Jan 8, 2010 at 2:22 PM, Peter Wraae Marino wrote: > Hi osgUsers, > > I've been doing some testing on HDR with a backdrop with a .hdr image > us

Re: [osg-users] osg::TextureCubeMap and HDR

2010-01-12 Thread Peter Wraae Marino
Hi Robert, yes.. just completed the test now.. and using squared hdr textures does work. regards, Peter Wraae Marino On Tue, Jan 12, 2010 at 10:06 AM, Robert Osfield wrote: > Hi Peter, > > The scaling is done with glu and it probably doesn't support the all > new float fo

Re: [osg-users] osg::TextureCubeMap and HDR

2010-01-12 Thread Peter Wraae Marino
texture2D has by default not to make mipmaps and texturecubemap by default makes them??? which makes things a little confusing. hope this helps, Peter Wraae Marino On Tue, Jan 12, 2010 at 11:07 AM, Peter Wraae Marino wrote: > Hi Robert, > > yes.. just completed the test now.. and using sq

Re: [osg-users] glow

2010-02-22 Thread Peter Wraae Marino
Hi Nick, there are many types of glows? I have created this god ray postfilter effect, you can see it here: http://www.youtube.com/watch?v=GFwhqxZz6qg is this what you are looking for? Peter Wraae Marino On Thu, Feb 11, 2010 at 9:55 AM, Trajce Nikolov wrote: > Hi Community, > has

Re: [osg-users] glow

2010-02-22 Thread Peter Wraae Marino
Hi Nick, there are many types of glows? I have created this god ray postfilter effect, you can see it here: http://www.youtube.com/watch?v=GFwhqxZz6qg is this what you are looking for? Peter Wraae Marino On Thu, Feb 11, 2010 at 9:55 AM, Trajce Nikolov wrote: > Hi Community, > > h

[osg-users] texture to file

2009-08-25 Thread Peter Wraae Marino
Hi osgUsers, I have a question about texture to file. Currently I have render to texture (RTT) and would like to save this texture to a file. Is there a straight forward method of doing this? anyone? -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site

Re: [osg-users] texture to file

2009-08-25 Thread Peter Wraae Marino
;<_filename<<"`"<< std::endl; > > } > > 2009/8/25 Peter Wraae Marino >> >> Hi osgUsers, >> >> I have a question about texture to file. Currently I have render to >> texture (RTT) and would like to save this textur

Re: [osg-users] texture to file

2009-08-26 Thread Peter Wraae Marino
;attach(osg::Camera::COLOR_BUFFER, image); > > Rafa. > > > > On Tue, Aug 25, 2009 at 12:22 PM, Peter Wraae Marino wrote: >> Hi Maxim , >> >> I believe the readPixels is reading from the framebuffer and not the >> texture (or am I mistaken??) >> remember

Re: [osg-users] texture to file

2009-08-27 Thread Peter Wraae Marino
allocateImage(tex_width, tex_height, 1, GL_RGBA, GL_UNSIGNED_BYTE); >> >> // attach the image so its copied on each frame. >> camera->attach(osg::Camera::COLOR_BUFFER, image); >> >> Rafa. >> >> >> >> On Tue, Aug 25, 2009 at 12:22 PM, Peter Wraae Mari

Re: [osg-users] texture to file

2009-08-27 Thread Peter Wraae Marino
write the file to? How are you attaching the > image to your camera? i.e. where are the luminance values coming from? > > jp > > Peter Wraae Marino wrote: >> >> Hi osgUsers, >> >> I'm still battling with the luminance texture to file. >> The proble

[osg-users] Trees, Grass and Shadows

2009-11-23 Thread Peter Wraae Marino
-2xQO0 regards, Peter Wraae Marino -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ 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 archieve "antialiasing" in osg 2.4?

2008-05-30 Thread Peter Wraae Marino
omething when you try to call setNumMultiSamples after window initialization (if that is the problem). regards, Peter Wraae Marino http://osghelp.com On Fri, May 30, 2008 at 3:05 AM, Leeten <[EMAIL PROTECTED]> wrote: > > Hi, all > > I'm using OSG 2.4 and I can't find

Re: [osg-users] object shaking

2008-06-02 Thread Peter Wraae Marino
others can > spot the right way for you to do this. > > Robert. > > On Mon, Jun 2, 2008 at 9:47 AM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi users, > > > > I have a problem with my scene shaking. I have simplied the problem to > the > > code

Re: [osg-users] object shaking

2008-06-02 Thread Peter Wraae Marino
this kinda baffles me. any suggestions why? regards, Peter On Mon, Jun 2, 2008 at 12:40 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Peter, > > On Mon, Jun 2, 2008 at 10:52 AM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Also I understand why this wo

[osg-users] object shaking

2008-06-02 Thread Peter Wraae Marino
sformed to that position. You will notice when the application starts it shakes. (why?) You will also notice when panning the camera the scene shakes (why?) anyone?, Peter Wraae Marino #include #include #include class CMyCallback : public osg::NodeCallback { public: void operator()( osg::

Re: [osg-users] object shaking

2008-06-02 Thread Peter Wraae Marino
know that the camera is the same position that it'll > be rendered with, as this might well be the source of your jitter. > > Robert. > > On Mon, Jun 2, 2008 at 10:05 AM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > Ok.. I tried to make the e

[osg-users] timer callback

2008-06-05 Thread Peter Wraae Marino
Hi users, ok.. this might be a silly question,, but here goes. does osg have any form of a timer-callback or do I have to create it myself using an update callback? regards, Peter ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lis

[osg-users] plugin for ttf

2008-06-05 Thread Peter Wraae Marino
nyone know what could cause this problem? Peter Wraae Marino http://osghelp.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] plugin for ttf

2008-06-05 Thread Peter Wraae Marino
osgPlugins-2.4.0\ osgdb_freetyped.dll DynamicLibrary::failed loading "osgPlugins-2.4.0/osgdb_freetyped.dll" It seems that it actually does find it but fails loading it... i have tried to rebuild it and still it fails? anyone .. any ideas what is going on here? Peter Wraae Marino http://o

Re: [osg-users] Unable to find plugin

2008-06-05 Thread Peter Wraae Marino
Hi, I just got into this thread now.. I too am having problems with the .ttf format. As I can understand.. the fix is too make sure to have service pack 1 installed for developer studio. I'm using express 2008 and there doesn't seem to be any service pack for it, it actually seems like the 2008 ve

Re: [osg-users] Unable to find plugin

2008-06-05 Thread Peter Wraae Marino
On Thu, Jun 5, 2008 at 10:15 PM, Jason Daly <[EMAIL PROTECTED]> wrote: > Peter Wraae Marino wrote: > >> Hi, >> I just got into this thread now.. I too am having problems with the .ttf >> format. >> As I can understand.. the fix is too make sure to have servi

Re: [osg-users] Unable to find plugin

2008-06-05 Thread Peter Wraae Marino
Hi Jean, I download freetype and built an express2008 verison of it... and it works... thx Any chance we could get a 2008 (express,professional) dep package soon? Peter On Thu, Jun 5, 2008 at 10:35 PM, Jean-Sébastien Guay < [EMAIL PROTECTED]> wrote: > Hello Peter, > > I'm using express 2008 an

[osg-users] Multithreading and Qt

2008-06-09 Thread Peter Wraae Marino
ed to make GUI calls in Qt on the main thread. Is anyone working on a solution, so that one can have the benefits of multithreading inside Qt windows? Osg version 2.4, Qt version 4.4.0, Windows Vista. Sincerely, Peter Wraae Marino & Michael Bach ___

Re: [osg-users] node following the camera

2008-06-11 Thread Peter Wraae Marino
HI, i think what you want is: osg::MatrixTransform* mtrans = new osg::MatrixTransform; mtrans->setReferenceFrame( osg::Transform::ABSOLUTE_RF ); mtrans->setMatrix( osg::Matrix::identity() ); mtrans->addChild( pGeode ); osg::Projection* pProj = new osg::Projection(); osg::Matrixd m_mOrtho =

[osg-users] osg Node kits

2008-06-12 Thread Peter Wraae Marino
Hi users, I'm trying to understand the concept of a node kit, but the documentation is very limited: http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/NodeKit I believe that the osgFX is a node kit? what is it that defines a node kit? and how does one use them? perhaps someone

Re: [osg-users] osg Node kits

2008-06-12 Thread Peter Wraae Marino
-Paul > > > -- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Peter Wraae > Marino > *Sent:* Thursday, June 12, 2008 12:36 PM > *To:* osg-users@lists.openscenegraph.org > *Subject:* [osg-users] osg Node kits > >

Re: [osg-users] Problem loading plugins

2008-06-13 Thread Peter Wraae Marino
Hi Gael, A couple of things.. i can see it's a dll so I'm assuming windows. 1. Have you compiled the plugins? see if they actually do exist. 2. Have you set your environment variables so osg can find the plugins? regards Peter Wraae Marino http://osghelp.com On Fri, Jun 13, 2008 a

Re: [osg-users] Artefacts in transparent objects

2008-06-17 Thread Peter Wraae Marino
add sphereGeode->getOrCreateStateSet()->setMode( GL_CULL_FACE, osg::StateAttribute::ON ); peter On Tue, Jun 17, 2008 at 1:24 PM, Juan Casanueva <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am having some problems with transparent objects. They have some > artefacts (slices) depending on the v

[osg-users] fog

2008-06-22 Thread Peter Wraae Marino
Attribute( pFog, osg::StateAttribute::ON ); pGeode->getOrCreateStateSet()->setMode( GL_FOG, osg::StateAttribute::ON ); return pGeode; } regards, Peter Wraae Marino http://osghelp.com ___ osg-users mailing list osg-users@lists.openscenegraph.or

[osg-users] lod and txp

2008-06-23 Thread Peter Wraae Marino
Hi users, In our application we are using txp file format from terravista. We have a problem when zooming with the camera and level of details. Zooming in our application is done by changing the field of view and the problem is that the level of details used by txp is dependent on distance fro

Re: [osg-users] lod and txp

2008-06-23 Thread Peter Wraae Marino
rs Camera's LODScale as you > do the zoom i.e. > > viewer.getCamera()->setLODScale(scale); // scale = 1.0 is default > > Robert > > On Mon, Jun 23, 2008 at 8:12 AM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi users, > > > > In our applicati

Re: [osg-users] lod and txp

2008-06-23 Thread Peter Wraae Marino
r code, especially > given tiny snippets of code out of context and I am *busy*. > > Robert. > > On Mon, Jun 23, 2008 at 12:54 PM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi Robert, > > > > it indeed does work but when I try using it on a ca

Re: [osg-users] [osg-submissions] API configurations in aseparateConfig include file

2008-06-25 Thread Peter Wraae Marino
Hi Bob, I will have to disagree with you on that point. I have worked in the computer industry for 15 years now (hitman, freedom fighters just to name a couple).. To this extent I have worked with 4 different gaming companies that all have made there own scenegraph/engine .. and I have to say that

Re: [osg-users] Warning on 64bits: cast to pointer from integer ofdifferent size

2008-06-26 Thread Peter Wraae Marino
Hi James, I always thought that "int" and "unsigned int" would be the best fit n-bit on the system? if it was an 8bit system then it would be 8bit int, if 32bit system then 32bit int or did I mis-understand something? and now that we are on the subject of 64bit.. I would like to ask a questio

[osg-users] OpenSceneGraph Help Website

2008-06-29 Thread Peter Wraae Marino
Hi users, I have tried to create some tutorials on how people can get started with OpenSceneGraph. I have open the site for registration today.. only the beginner articles are available right now. Later more advanced articles will come, but for the time being I need to get the website in usable fo

Re: [osg-users] error in tutorial "Loading Models from Files..."

2008-07-01 Thread Peter Wraae Marino
Hi Zamo, you can try this article if you like: http://osghelp.com/readarticle.php?article_id=6 it's a simplified version how to load models. and this article is a simplified version how to transform your models: http://osghelp.com/readarticle.php?article_id=7 hope this helps, Peter On Wed, Jul

Re: [osg-users] Performance hit caused by porting from VS 7.1 to VS 9

2008-07-02 Thread Peter Wraae Marino
The express editions does full optimizations,.. same compiler. The express version just doesn't have features for web, MFC and stuff like that. regards, Peter On Wed, Jul 2, 2008 at 9:33 AM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Rick, > > Do the express editions do full optimizations?

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Peter Wraae Marino
Hi Ricky, it sounds like you are using software rendering and not hardware. Why your system defaults to software I have no clue. If your project is small and you don't mind sharing.. you can zip and send it to me at [EMAIL PROTECTED] and I'll have a look at it on my machine. Peter On Wed, Jul

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Peter Wraae Marino
Hi Ricky, ok.. i think we should have asked this first. have you updated your graphic-card driver? Peter On Wed, Jul 2, 2008 at 8:37 PM, Ricky <[EMAIL PROTECTED]> wrote: > Thanks for your supports! > I'm using the OSG binaries downloaded from http://www.mew.cx/osg/. > I run this program on Wind

[osg-users] multitextureing coordinates

2008-07-09 Thread Peter Wraae Marino
Hi users, I have create simple quad using osg::Geometry and I would like to apply multitextering to it. I'm missing a way to set "glMultiTexCoord" using OpenSceneGraph. Is there a way one can set glMultiTexCoord? regards, Peter ___ osg-users mailing li

Re: [osg-users] RE : multitextureing coordinates

2008-07-09 Thread Peter Wraae Marino
in, I have achieved this in tutorial 14. > All these tutorials are available in the official webpage in the Tutorial > section. ''Yet Another Set of Beginner Tutorials' > Hope to have answered your question. > Regards, > Franclin. > > *Peter Wraae Marino <[EMAIL

Re: [osg-users] RE : multitextureing coordinates

2008-07-10 Thread Peter Wraae Marino
Hi Jason, Yes it does work.. just fine. thanks, Peter On Thu, Jul 10, 2008 at 6:05 PM, Jason Daly <[EMAIL PROTECTED]> wrote: > Peter Wraae Marino wrote: > >> Hi Franclin, >> Yea doing it using a shader is easier and more flexible, but is there a >> reason

Re: [osg-users] RE : Re: RE : multitexturing coordinates

2008-07-10 Thread Peter Wraae Marino
or them. Because by making use of shaders you are actually changing > the graphics pipeline. > Talk to you soon. > F. > > *Jason Daly <[EMAIL PROTECTED]>* a écrit : > > Peter Wraae Marino wrote: > > Hi Franclin, > > > > Yea doing it using a s

Re: [osg-users] StartingOpenSceneGraphinVisualStudio

2008-07-11 Thread Peter Wraae Marino
cenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Drawing to Texture2D

2008-07-12 Thread Peter Wraae Marino
Hi James, I believe you have to: texture->setFilter(osg::Texture2D::MIN_FILTER,osg::Texture2D::NEAREST); texture->setFilter(osg::Texture2D::MAG_FILTER,osg::Texture2D::NEAREST); -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site On Sat, Jul 12, 2008 at 11

Re: [osg-users] multi translucent geometry

2008-07-12 Thread Peter Wraae Marino
> osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users

Re: [osg-users] 回复: Re: multi translucent g eometry

2008-07-14 Thread Peter Wraae Marino
in front of the > > planet or behind it? probably the same kind of thing going on. > > > > Regards, > > -- Rick > > > > 2008/7/13 小 杨 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: > > > > Thanks! I'll try it! > > > &g

Re: [osg-users] Plugin Problem, osgDB doesn't find plugins

2008-07-18 Thread Peter Wraae Marino
__ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> >> ___ >> osg-users mailing list >>

Re: [osg-users] osg::Light Simple Question ?

2008-07-18 Thread Peter Wraae Marino
> }* > > ------ > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.o

Re: [osg-users] text appearing flipped and backwards

2008-07-18 Thread Peter Wraae Marino
it by changing the alignment setting to > REVERSE_XZ_PLANE and switching the sign of the offset coords. However I feel > this is a slight hack and wondered if there is some other 'proper' setting? > > Many thanks, > > James > > ___

Re: [osg-users] Combining Textures

2008-07-21 Thread Peter Wraae Marino
iew.mail.yahoo.com>. > > Dem pfiffigeren Posteingang. > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGr

Re: [osg-users] Is it possible to know when the node-graph is 'dirty'?

2008-07-22 Thread Peter Wraae Marino
slivemobile.msn.com/BrowserServiceHotmail.aspx?lang=nb-NO&ocid=30032> > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino w

Re: [osg-users] Is it possible to know when the node-graph is 'dirty'?

2008-07-23 Thread Peter Wraae Marino
node-tree afterwards then I want to run my > formatting code again. > > Is there any way to know whether or not the scene-graph has been modified? > > Regards, > Viggo > > > > > -- > Windows Live Hotmail på mobilen. Ha alltid e-posten din > til

Re: [osg-users] setViewMatrixAsLookAt where is center?

2008-07-26 Thread Peter Wraae Marino
___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site __

Re: [osg-users] locking 3d text in front of camera

2008-07-26 Thread Peter Wraae Marino
ut it uses that technique as an example and it sound like it's what you need. regards, Peter Wraae Marino http://osghelp.com On Sun, Jul 27, 2008 at 2:06 AM, Joe Lyga <[EMAIL PROTECTED]> wrote: > Hi osg-users. I'm kind of new to openscenegraph and 3d programming, and >

Re: [osg-users] Perspective Camera Question

2008-08-01 Thread Peter Wraae Marino
> osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users ma

Re: [osg-users] freetype problem

2008-08-11 Thread Peter Wraae Marino
osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] osg::Material and shapes

2008-09-18 Thread Peter Wraae Marino
g::Material can be used with shapes so,.. am I missing something? Can someone shed a little light and give me a push in the right direction. -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users@l

[osg-users] osgPPU

2008-09-18 Thread Peter Wraae Marino
so do I ask questions related to osgPPU here or do I use the ticket system on the osgPPU website? -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osgPPU

2008-09-18 Thread Peter Wraae Marino
What is your > question? > > Best regards, > art > > > --- Peter Wraae Marino <[EMAIL PROTECTED]> schrieb am Do, 18.9.2008: > > > Von: Peter Wraae Marino <[EMAIL PROTECTED]> > > Betreff: [osg-users] osgPPU > > An: osg-users@lists.openscenegraph.org > &

[osg-users] 3ds plugin scale bug?

2008-09-25 Thread Peter Wraae Marino
/Recon_LandRover.zip can anyone confirm this bug? and who maintains the 3ds plugin format for OpenSceneGraph? and sorry if this is the wrong maillist -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users

[osg-users] AutoTransform and small feature culling

2008-10-28 Thread Peter Wraae Marino
ature culled, so we would like to ask is there a reason why there isn't a flag on all nodes to enabled/disable small feature culling? -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Peter Wraae Marino
thanks, this helped. the nested makes perfect sense.. i'm on track again, once again thanks, peter On Mon, Nov 3, 2008 at 3:06 PM, Lionel Lagarde <[EMAIL PROTECTED]>wrote: > Hi Peter, > > Peter Wraae Marino wrote: > > Hi Users, > > trying to clarify some specs o

[osg-users] RenderBin understanding

2008-11-03 Thread Peter Wraae Marino
ot;RenderBin" with a value of 20 then which is used? -an .osg file can have renderbin values too? so if I load an .osg file and set it to have "RenderBin" 10 do I override the renderbin values in the file? or are they pushed relative to my given value 10? sometimes the .osg file consist of

[osg-users] composite view and cameras question

2008-11-04 Thread Peter Wraae Marino
Hi Users, when having a composite view I have two camera, one for each view. Is there an elegant way of syncing these two cameras? so they have the same fov, position, direction, and so on... -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site

Re: [osg-users] Migrating to a forum?

2008-11-04 Thread Peter Wraae Marino
wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Peter Wraae Marino wrote: > > Hi Patrick, > > > > I agree 100% > > mailing lists are old school > > forums are more structured and makes it easier to find already answered > > questions > > also

Re: [osg-users] composite view and cameras question

2008-11-04 Thread Peter Wraae Marino
g to do some testing with it tommorow. You last suggestion about copying all view setting is also something we have talked about, but again before taking that direction I wanted to hear if there was an "elegant" way instead of the more "hacked" way of doing it. regards, Peter W

Re: [osg-users] Migrating to a forum?

2008-11-04 Thread Peter Wraae Marino
gt; Robert. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site

Re: [osg-users] Migrating to a forum?

2008-11-04 Thread Peter Wraae Marino
ist > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg

[osg-users] pragma warnings disabled in headers

2008-11-07 Thread Peter Wraae Marino
shouldn't be forced to enabling them. the only reason I see for having them grouped here in the header is a convience method so osg doesn't have to disable them all places that gives these warnings? is this correct? or is there a better reason? -- Regards, Peter Wraae Mar

Re: [osg-users] GL Books

2008-11-10 Thread Peter Wraae Marino
; > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site _

[osg-users] Using slave cameras for composite rendering (part II)

2008-11-10 Thread Peter Wraae Marino
passed from the client to the host during a remote procedure call." "The binding handle is invalid." anyone know what's wrong? also an added note: if I addSlave twice and try to remove them then the application is unstable and crashes. seems to be something broken here? anyon

[osg-users] GraphicsContext

2008-11-10 Thread Peter Wraae Marino
bug, correct me if I'm wrong. -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Using slave cameras for composite rendering

2008-11-10 Thread Peter Wraae Marino
passed from the client to the host during a remote procedure call." "The binding handle is invalid." anyone know what's wrong? -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site ___ osg-users mailing list

Re: [osg-users] GraphicsContext

2008-11-11 Thread Peter Wraae Marino
> if (rhs->getRenderOrder()getRenderOrder()) return false; > --->return lhs->getRenderOrderNum()getRenderOrderNum(); > ^^^ ^^^ > } > }; > > Robert. > > > On Mon, Nov 10, 2008 at 2:16 PM, Peter Wraae Marino <[EMAIL PROTECTED]> > wrote: > > Hi users, > &g

[osg-users] setUpdateCallback fails under slave-camera

2008-11-21 Thread Peter Wraae Marino
Hi Users, We have a strange error (perhaps bug).. when we have a geode that has a setUpdateCallback and that geode is a child of a slave camera then the callback is never called. This is also valid for drawables update callbacks anyone? -- Regards, Peter Wraae Marino www.osghelp.com

Re: [osg-users] Forum with Mailing list connection (Christmas Gift ; ) )

2008-12-22 Thread Peter Wraae Marino
gt; > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site _

[osg-users] near far plane

2009-02-02 Thread Peter Wraae Marino
near plane but gives us a whole new set of problems. is there a way to use the auto computed method but lock the near plane closer to the camera. I have messed around a little with the setNearFarRatio but it seems to adjust at both ends. any suggestions? -- Regards, Peter Wraae Marino

Re: [osg-users] About game source!

2009-02-09 Thread Peter Wraae Marino
sounds like you are talking about www.delta3d.org regards, Peter Wraae Marino 2009/2/9 YangXiao > Hi Everyone: > Is someone know about a opensource game code(about navy) developed use > osg? > Thanks > YangXiao. > > -- > 好玩贺卡等你发,邮箱贺卡全新上线

[osg-users] updating osg::TexMat relative to camera position

2009-03-04 Thread Peter Wraae Marino
-Draw Apparently (of course we assuming here) this is how osg is designed. Can someone tells us if we understand this correctly now? and if someone has an idea how to solve this would be much appreciated. -- Regards, Peter Wraae Marino www.osghelp.com - OpenSceneGraph support site

[osg-users] ANN: OsgHelp site now fully open

2009-03-13 Thread Peter Wraae Marino
Hi users, The www.osghelp.com is now fully open. We have removed any plans on paid subscription to the site. Please note this site has nothing to do directly with OpenSceneGraphs website. The site is create to help people to get started with simple articles about how to use OSG. The officia

Re: [osg-users] ANN: OsgHelp site now fully open

2009-03-13 Thread Peter Wraae Marino
Brian R Hill wrote: > Peter, > > I don't want to come across as being critical, but wouldn't the OSG > community be better served if your info/effort went into the OSG site? > > Brian > Hi Brian, short answer no. long answer... if it went into the osg site then it should follow the standa

[osg-users] AttributeBinding clarification needed

2009-04-22 Thread Peter Wraae Marino
. So this brought up a question we need answered: Q: When we looked at the enum values possible we found that there is a BIND_OFF, is this the default value if not specified? and does this mean that the geom will use the last binding value used from the last rendered geom? -- Regards, Peter Wraae

[osg-users] using camera for intersection

2010-06-22 Thread Peter Wraae Marino
e, regards, Peter Wraae Marino -- Bellinge Gymnasterne: http://www.bellingegymnasterne.dk Power Tumbling: http://www.powertumbling.dk OSG-Help: http://osghelp.com http://code.google.com/p/sigmaosg/ ___ osg-users mailing list osg-users@lists.openscenegrap

Re: [osg-users] using camera for intersection

2010-06-22 Thread Peter Wraae Marino
GPU which is very expensive which will totally dominate the actual > cost of the intersection. > > Robert. > > On Tue, Jun 22, 2010 at 8:30 AM, Peter Wraae Marino > wrote: > > Hi osgUsers, > > We have created huge forests using shapefiles to preprocess textures with > >

[osg-users] osgText::Text and screen

2010-07-27 Thread Peter Wraae Marino
but couldn't find anything. is there a way to solve this? I would really like to avoid having to use a osg::Matrix::ortho2D( 0, viewW, 0, viewH ), because this would mean that all my gui components would have to compensate for the viewH and reverse direction. any suggestions?,

Re: [osg-users] osgText::Text and screen

2010-07-27 Thread Peter Wraae Marino
down as > you've inverted the coordinates w.r.t OpenGL. > > Robert. > > On Tue, Jul 27, 2010 at 9:32 AM, Peter Wraae Marino > wrote: > > Hi osgUsers, > > I'm trying to create a gui and would like to have my coordinates system > 0, 0 > > at the upp

Re: [osg-users] osgText::Text and screen

2010-07-27 Thread Peter Wraae Marino
Hi Robert, yep.. did that .. .did a -1 scaling on the y-axis... works like a charm now. thanks, Peter On Tue, Jul 27, 2010 at 1:43 PM, Robert Osfield wrote: > Hi Peter, > > Try flipping the view matrix. > > Robert. > > On Tue, Jul 27, 2010 at 11:31 AM, Peter Wraae Ma

[osg-users] depthbuffer question

2010-09-21 Thread Peter Wraae Marino
the box.. which should result with a value of 0 can someone explain to me what I'm doing wrong? regards, Peter Wraae Marino -- Bellinge Gymnasterne: http://www.bellingegymnasterne.dk Power Tumbling: http://www.powertumbling.dk OSG-Help: http://osghelp.com Personal Site: http://www.marino

Re: [osg-users] depthbuffer question

2010-09-21 Thread Peter Wraae Marino
wrote: > Hi Peter, > > On 21/09/10 21:52 , Peter Wraae Marino wrote: > > I've been trying to read some values from the DepthBuffer and I don't > seem to get what I > > would expect. Here is a cut down version of my code (should be able to > run): > >... >

[osg-users] [forum] bug in ShapeDrawable.cpp

2011-11-11 Thread Peter Wraae Marino
Hi, void PrimitiveShapeVisitor::createCylinderBody(unsigned int numSegments, float radius, float height, const osg::Matrix& matrix) has a bug.. it doesn't transform the last two points: // do last point by hand to ensure no round off errors. _functor.vertex(osg::Vec3(r,0.0f,topz));

[osg-users] kdTree and sphere intersection

2011-11-16 Thread Peter Wraae Marino
Hi, I have create a sphereintersector which works fine, but goes through all triangles on the geometry. I would like to use the kdTree to help me to do a sphere - triangle intersection tests on as few triangles as possible. Is this possible? When I look at the kdTree object it looks like it is

[osg-users] [ANN] osgHelp website online

2012-12-19 Thread Peter Wraae Marino
Hello dear OSG-community, finally got around putting the osgHelp site back online. see it here: http://osghelp.com/ Best regards, Peter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51631#51631 __

[osg-users] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino
Hi, Where can I find information about which Qt version is working with osg 3.0.1? Thank you! Cheers, Peter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52964#52964 ___ osg-users mailing list osg

Re: [osg-users] Qt version for osg 3.0.1

2013-03-06 Thread Peter Wraae Marino
robertson1 wrote: > Hi, > > I've had no problems using Qt4.8 with 3.0.1, (Qt 5 wont work with it though). > > Cheers, > > jamie thanks.. I know that that Qt4.8 works... but my question was where can I see what version works with what I tried to use Qt5 and run into a bunch of problems..

[osg-users] [build] wrong libraries used in debug version for QT

2013-03-06 Thread Peter Wraae Marino
Hi, fyi: The osgviewerQt debug build is using release version of QT, which results in failure when you start the application. I change the libraries to debug and all looks well. info: OS: Windows 7 OSG: 3.0.1 Thank you! Cheers, Peter -- Read this topic online here: http://

[osg-users] particles

2013-03-14 Thread Peter Wraae Marino
Hi, Is there a way to create particles from particles position? let me explain... I would like to create an explosion with debris. The way I would create it is one particle system shooting particles that represent debris and another particle system creating smoke as the debris is flying (at th

Re: [osg-users] particles

2013-03-18 Thread Peter Wraae Marino
Hi hybr, smoke trails isn't what I want. It extrudes the particles. right now I have create a simple particle system of my own which throws out particles like an explosion and I create 5-10 osg particle systems and set the placer's for these. This works,.. but is kinda heavy duty way of doing

  1   2   >