Hi,
I dont think there are built in methods in osg for this. But I see it doable
via shaders - this way you can do any image processing you want.
-Nick
On Thu, Mar 4, 2010 at 9:59 PM, zhenlong li wrote:
> Dear all,
>
> Is there any function to adjust the brightness or contrast of image in
> o
I think you would want to put MatrixTransform on top of the pyramid node and
update its matrix either thru updatecallback or outside your frame.
Something like this
class UpdatePyramidNodeCallback : public NodeCallback
{
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv)
{
osg::MatrixT
Hi,
I want to move a pyramid based on a defined path (X,Y,Z) of its peak and the
Roll, Pitch, Yaw.
I have the details of X, Y, Z, Roll, Pitch, Yaw coming from another c++ code
and is updated in real time.
Does anyone have any suggestions as to how to go about moving it in OSG without
the obv
I am modifying the scene, adding geometries, vertices etc and i have no control
over when a draw traversal takes place.
I am being carefull to ensure the geometry is always valid, eg. by adding
vertices first then updating the PrimitiveSet but none of these operations are
really atomic.
Is the
Hi,
I coded something to do this as a test of writing handlers
It's probably not the best solution - the keyboardhandler example describes
using a single handler with loadable functions mapped to each key.
But this does work and should get you started.
It saves the entire scene with a filename w
Hi Robert,
You were right. I upgraded to 2.6.2. and uninstall worked! Not a big
deal but it just deleted the files and left behind all the
directories.
Thanks,
-Alok
On Thu, Mar 4, 2010 at 9:49 AM, Robert Osfield wrote:
> Hi Alok,
>
> On Thu, Mar 4, 2010 at 4:21 PM, Alok Priyadarshi wrote:
>>
>
I've tried the latest source code from the svn repository and it works fine
with transparent models. Thanks!
Looking forward to trying new features like environment reflection maps and
skinning animations. Let me know if I can help.
Cheers.
Alessandro
On Thu, Mar 4, 2010 at 7:11 PM, alessandro t
Dear all,
Is there any function to adjust the brightness or contrast of image in
osgviewer?
If not, is it hard to add those functions in? Thanks!
with best wishes
Zhenlong
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.open
Hi,
LOL, I like haggis and black pudding.
On the Microsoft site this says it can cause performance issues.
Warning warning C4121: 'osgDB::PropByValSerializer' :
alignment of a member was sensitive to packing
OSG\OpenSceneGraph\include\osgDB\Serializer.
But it looks like a wi
Milton Saulo Raimundo wrote:
Hi, everybody.
I'm new in using of OSG.
I need to read a file containing a model and to explore a particular view of
this model.
I mean: when someone will click in the model, the program will jump to one room
(will show another model of the room).
Can someone hel
Hi Martin,
I think you're heading towards a topic that was last discussed around October
and November of last year. Search for Change to Optimizer OptimizationOptions.
It all boils down to coding style.
The result of the discussion was Robert wants us to wear kilts and toss the
caber while w
Hi, everybody.
I'm new in using of OSG.
I need to read a file containing a model and to explore a particular view of
this model.
I mean: when someone will click in the model, the program will jump to one room
(will show another model of the room).
Can someone help me get started?
Thank you!
Thanks Michael,
let me know if and when I can help testing any new functionality you'll add
;)
BTW shall I already find the source code that correctly handle transparency
in the svn repository?
Cheers.
Alessandro
On Thu, Mar 4, 2010 at 6:14 PM, Michael Platings wrote:
> Thanks for the testing.
Or maybe _intheritanceMask should not be unsigned, no warning if I remove
the unsigned from the header file?
Maybe I need to understand OSG better first!
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin
Naylor
Sent: 04
Hi all,
Thought I would have a go at fixing the warnings for visual 2008.
Before I go ahead, is it ok to cast items, i am thinking from a portability
sense my c++ skills are self taught so bare with me J and I am more worried
about breaking the build system J
For example:
The first warning
Hi all,
Back from vacation, glad to see progress has been made on this thread. A
few comments:
o Porting the website for MediaWiki, are there any tools that might
help this?
This page on the official MediaWiki site has one pointer:
http://www.mediawiki.org/wiki/Manual:Importing_external
Thanks for the testing. I've now added enabled blending for transparent
materials so transparency will work now.
If I have time I'll see what I can do about supporting the various texture
types...
___
osg-users mailing list
osg-users@lists.openscenegraph.
On Thu, Mar 4, 2010 at 4:27 PM, Terry Welsh wrote:
> Thanks for the reply Robert. Parsing an error message sounds a bit
> risky. A couple hours after writing that message I found another
> solution. You cannot call
>
> myshader->getPCS(context)->isCompiled();
>
> because getPCS() is protected.
Hi Alok,
On Thu, Mar 4, 2010 at 4:21 PM, Alok Priyadarshi wrote:
> osg 2.9.7
> cmake --version gives me "cmake version 2.4-patch 7"
>
>
It's pretty likely you up against a bug in cmake 2.4.7. Could you update to
CMake 2.6.x or later.
Robert.
___
osg-
Thanks for the reply Robert. Parsing an error message sounds a bit
risky. A couple hours after writing that message I found another
solution. You cannot call
myshader->getPCS(context)->isCompiled();
because getPCS() is protected. But you can call
myprogram->getPCP(context)->isLinked();
beca
osg 2.9.7
cmake --version gives me "cmake version 2.4-patch 7"
On Thu, Mar 4, 2010 at 9:19 AM, Robert Osfield wrote:
> Hi Alok,
>
> I haven't seen problems with uninstall before - I used Kubuntu for
> development, so should have a similar setup to yourself. Which version of
> the OSG and Cmake a
Hi Alok,
I haven't seen problems with uninstall before - I used Kubuntu for
development, so should have a similar setup to yourself. Which version of
the OSG and Cmake are you using on your system?
Robert.
On Thu, Mar 4, 2010 at 4:08 PM, Alok Priyadarshi wrote:
> Hi Alberto/Robert,
> Yes I t
Hi Stefan,
On Thu, Mar 4, 2010 at 2:30 PM, Stefan Eilemann wrote:
> Correct, it works now without modifications to GraphicsContext.
>
Good to hear. Thanks for the testing ;-)
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http:
Hi Alberto/Robert,
Yes I tried "sudo make uninstall" but it did not do anything just
echoed "Built target uninstall". So CMakeFiles/uninstall.dir/all is
being executed just not doing anything. I am not a linux developer so
I have a very limited understanding of makefiles. Is there anything I
can se
Okay, I got smarter. ;)
The renderer duly ignores the Horizontal eye mapping settings in Quad
Buffer, Anaglyph, Interlaced modes and only evaluates the parameter in
the HORIZONTAL_SPLIT mode. Likewise it only takes the Vertical eye
mapping setting in VERTICAL_SPLIT mode.
So basically I have to tr
Hi Robert,
On 26. Feb 2010, at 10:02, Robert Osfield wrote:
> At the end of last week I checked in a refactor of
> OpenThreads::ReentrantMutex and Mutex so that the implementation of
> recursive/reentrant mutex is left to the underlying threading library (i.e.
> pthreads) rather than using Ope
Hi
I am using OpenSceneGraph 2.8.2 with great success to display a
stereoscopic simulation on a polarized 3D display.
I had intended to allow the user to interactively edit parameters such
as eye separation and the eye mapping
(a swap eyes function). However I am having trouble making the viewer
o
Hi Jason,
We just tested on Ubuntu still pending to make it work in others
distributions.
Best Regards
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Thanks.
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Michael
Platings
Sent: Thursday, March 04, 2010 12:57 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] automatic pixel transparency adj
Thanks, I'll look into it.
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Wojciech Lewandowski
Sent: Thursday, March 04, 2010 12:42 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] automatic
Hmm... I guess I'll have to read about the full screen antialiasing
algorithm then. :-)
Thanks.
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Thursday, March 04, 2010 11:0
I tried some FBX models (exported from 3dsMax 2010) and I found out that the
FBX plugin doesn't display transparent objects correctly (they are totally
opaque in OSG 2.9.7). Another problem I experienced is with environment
reflection maps, it looks like they are ignored.
Are those features alread
Hi,
finaly I found it, the fonts lacks of ascii table, i used fontforge to
regenerate the font and all is ok now.
cheer
Le mercredi 03 mars 2010 à 18:41 +, Linares Antonin a écrit :
> Hi all,
>
> I have to draw some military symbols, i found a True type fonts of the
> NATO standard APP-6a
Hi Luigi,
>
>
> Did you used npruntime for javascript wrapping?
>>> When we started our www,virtualrome.it effort, npruntime was not
>>> available,
>>> but now it seem the right way to go.
>>>
>>>
>>>
>>
>> Leo could answer you better to this question! :).
>>
>>
> I'm waiting...
Yes we used a
Hi Donlin,
The net plugin is deprecated, and isn't even built by the OpenSceneGraph
Cmake build system. The plugin to use curl plugin that requires libcurl and
associated headers to be installed.
I have just checked svn/trunk and the net plugin is still in place so I'll
formally move it out of s
>
> If classic multisample antialiasing does not work for you, have a look at
> centroid modified in GLSL ver 1.2 and upr. See this link for example:
> http://www.opengl.org/pipeline/article/vol003_6/
>
I agree, if you're using shaders make sure you declare all your varyings
centroid. The linked a
errata: not centroid modified but centroid modifier.
Wojtek
- Original Message -
From: Wojciech Lewandowski
To: OpenSceneGraph Users
Sent: Thursday, March 04, 2010 11:41 AM
Subject: Re: [osg-users] automatic pixel transparency adjustment
Hi Guy,
If classic multisample a
Hi,all
Why :readNodeFile("http://www.aaa.com/a.ive";) not take effect?
how to use "osgviewer.exe http://www.aaa.com/a.ive";?
The osgdb_net.dll is on the right way.
Thanks
Donlin___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://li
Hi Guy,
If classic multisample antialiasing does not work for you, have a look at
centroid modified in GLSL ver 1.2 and upr. See this link for example:
http://www.opengl.org/pipeline/article/vol003_6/
Wojtek Lewandowski
- Original Message -
From: Robert Osfield
To: OpenSceneGraph
I can't claim to be a quaternion expert, but it looks like you misunderstand
how they work - converting them to XYZ angles is not nearly as simple as you
seem to be suggesting.
Here's my own code to get euler angles from a matrix. Converting it to using
an osg Matrix will be trivial.
// The return
What you're asking for sounds like this:
http://glprogramming.com/red/chapter06.html#name2
To achieve this in osg you can do
myStateSet->setAttributeAndModes(new osg::Hint(GL_POLYGON_SMOOTH_HINT,
GL_NICEST));
However, this setting may be ignored by an OpenGL implementation.
Additionally, it may lo
Hi Vincent,
Could you post the whole modified file to osg-submissions.
Thanks,
Robert.
On Thu, Mar 4, 2010 at 9:13 AM, Vincent Bourdier wrote:
> Hi Robert,
>
> This is the memory management patch, without the callback. If you are
> interested in... use it. :-)
>
> Regards,
> Vincent.
>
> Le
Hi Robert,
This is the memory management patch, without the callback. If you are
interested in... use it. :-)
Regards,
Vincent.
Le 19/02/2010 16:40, Vincent Bourdier a écrit :
Hi Robert,
osgcallback already implements a ReadFilecallback... so I don't know
if it will be useful to make an
Hi Terry,
I don't recall a method for programmability getting whether a shader has
compiled successfully, but you will out a warning output via osg::notify to
the console if there is an error with compilation or linking. If you don't
get an error then things should be fine. Up you notification l
Hi Guy,
I can't help but feel what you are asking for is full screen
anti-aliasing...
Robert.
On Thu, Mar 4, 2010 at 4:43 AM, Guy wrote:
> Hi all,
>
> I need "OpenGL"/driver/fixed-pipeline/whatever I don’t need to code, to do
> the following thing:
>
> When rasterizing an object, first never
Hi Alok,
On Wed, Mar 3, 2010 at 11:11 PM, Alok Priyadarshi wrote:
> make instclean (says invalid target, so I guess the instructions on
> http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/Make
> are outdated?)
>
Yes this path is outdated - it's for OSG-1.x, not the new CMake ba
Hi Jason and David,
On Wed, Mar 3, 2010 at 10:09 PM, Jason Daly wrote:
> Yeah, Performer wasn't written for OpenGL 2.0. OSG wasn't originally
> either, which is why it defaults to resizing all images. The resize hint
> was added for OpenGL 2.0 (actually for the ARB_texture_non_power_of_two
> e
Hi Alok,
Alok Priyadarshi writes:
> Hi,
> I have just started playing with osg on ubuntu. I was able to
> successfully build, install, and run osgviewer. I have not been able
> to uninstall though. I have tried many things without any luck:
>
> make uninstall (just says target built)
Weird. "mak
Hi Brad,
On Wed, Mar 3, 2010 at 5:54 PM, Brad Colbert wrote:
> Thanks for the quick reply. How is the fly-fishing in your parts?
>
I haven't personally fly fished since I was a teen ager, but when I
walk/cycle/run along the local river paths there are often fly fisherman out
trying to catch br
Hi,
I want to show data from matrix and want to make it editable by user.
I've got osg::Matrix f.e. mat, so i do mat.getRotate , mat.getScale,
mat.GetTrans and i have problem with getRotate.
It returns Quat and i want to convert to HPR but as far as i know this
quaternion is scaled but maybe i am
Rafa Gaitan wrote:
Hi Luigi,
On Thu, Mar 4, 2010 at 1:26 AM, Luigi Calori wrote:
Great to hear there is someone else who is going along this (tiring) path...
I had the impression that web apps was a topic with little appealing in this
community:
maybe after Google Earth plugin,O3D, Unity
51 matches
Mail list logo