Hi Brad,
A solution for serialziers to call static functions at the end of
reading/writing is to use a user serializer. The
serialziers/osgManipulator/Draggers.cpp uses a DefaultGeometry serializer to
run setupDefaultGeometry() once the reading process is finished, and this
can also be applied to
On Fri, Jun 25, 2010 at 12:25 AM, Wojciech Lewandowski
lewandow...@ai.com.pl wrote:
Hi Guys,
We all seem to agree that the topic actually consists from two subtopics:
ShaderGeneration and ShaderComposition. Shader generation would be mostly
used to emulate Fixed Pipeline and replace GL
Hi Wojtek,
I don't really see a strong separation between emulation of the fixed
function pipeline and shader composition. My current view is that
we'll have StateAttribute's that provide batches of uniforms, any
shaders that are required, and guidance on how into inject support for
them into
Hi Andre,
On 25/06/10 1:06 , Andre Simoes wrote:
I've made a main osg::Group with an osg::NodeCallback attached to call
some stuff each update.
inside my osg::NodeCallback i have:
void
MyCallback::
operator()( osg::Node* node, osg::NodeVisitor* nv)
{
Frame *frame = (Frame*)node;
Another question.
Now the axes works fine in the left bottom corner but if I resize the viewer
window (I use QT embedding the viewer inside) the cross axes object is deformed
accordingly. How can I prevent that? I mean, I agree to resize the axes but in
a homogeneous way for every axis.
Hello everybody,
Is there something in osg that can manipulate(zoom/pan/rotate) an
orthographically projected view? like trackBallManipulator does for a
perspective projection..
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I just looked over last night's email and realized what I wrote is about as
clear as mud.
The problem is this: when the build options are read from disk by the
readOptionalLayerSet method in BuildOptionsIO a leading empty string is
retrieved from the stream resulting in an optional layer
Hi,
as I mentioned somewhere else, we are also thinking about a shader composition
concept.
After some consideration we came to the conclusion, that shader linking is
probably the most time-effective approach.
So we would go with Wojtek and use his VirtualProgram - extending and
implementing
Hi,
I want to know if there is a simple way from converting composite viewer
(having multiple views) to multiple windows each having a single view
Thank you
nikhil
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29410#29410
Tom Pearce wrote:
Ricky,
Based on the code you posted, you're taking a screenshot every frame - and
from the same position, no less. You're creating the same matrix each time,
and thus setting the view matrix to be identical each frame. Then you're
doing file I/O that is the exact
Hi Robert,
robertosfield wrote:
Hi Ricky,
On Tue, Jun 22, 2010 at 3:54 AM, Ricky Flintoff wrote:
Thank you very very much for your suggestion! I actually ran into another
problem with the code. I tend to get segmentation faults. My idea was to
take multiple pictures as I changed
Hi Robert,
As Mourad still reported, there is an issue in the build
CMake Error in src/osg/CMakeLists.txt:
Cannot find source file ShaderComposer.cpp. Tried extensions .c .C .c++
.cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
regards.
adrian
-- Forwarded message
Hello,
I've found a reliable crash in my application which seems to be caused by
the collada loader. It seems like the collada loader can only be called in
one thread. Attempting to load a model in second thread
will immediately crash my application.
I looked into this and it seems to be a
On Jun 25, 2010, at 6:42 AM, Mathias Fröhlich wrote:
With that proposal - espcially the StateAttribute::compose call working
directly on the osg::State - I conclude that we need to relink during draw:
* we will probably loose state sorting for the shader combinations
* shaders need to be at
Hi,
I am actually trying to find another way to create a screenshot since using the
osgscreencapture (pbuffer) doesnt work properly.
I tried to do a simple DrawCallBack where I will call readPixels and write the
image on the disk, the viewer is setupInWindo of the size 1024x1024 , and so
the
15 matches
Mail list logo