Hi,
I'm a new in using OpenSceneGraph, so if this problem was already
solved, please send me the link. But I didn't find anything that could
help me from the archive.
My problem is the following:
I would like to:
1- initialize the texture 0
2- modify the texture 1 by using the data from
Hi Ku,
well, you will only see one side of the face at a time - front or back. So
to not go very complex, you can add cull callback where based on the face
normal you change the texture and the uvs. I think this can work
-Nick
On Mon, Aug 2, 2010 at 1:18 PM, Ku Krapox kukra...@gmail.com wrote:
Hi,
start with osggameoflife, it has a simple ping-pong example.
jp
On 03/08/10 12:30, Honnet Vincent wrote:
Hi,
I'm a new in using OpenSceneGraph, so if this problem was already
solved, please send me the link. But I didn't find anything that could
help me from the archive.
My problem is
Hi,
is there meanwhile a sort of standard way of integration osg views as qt
widgets in a way that allows to handle them like normal widgets on the qt side
?
Thank you!
Cheers,
Jan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30486#30486
Hi all,
i'm a newbie of OSG and quite a newbie on Linux. I've to create a small project
for my studies using OsgBullet. Reading about it i've seen that it depends on
OpenSceneGraph, OsgWorks and Bullet. I installed OpenSceneGraph using apt-get,
and then i tryed to build install OsgWorks by
Hi,
I'm trying to add some particle effects in my project. I took the spaceship
model shipped with osg, when I load it in a viewer it works fine. When I load
the same model in my project, the hull of the ship appears, but not the
particle effect.
I'm using SDL as a window, and my code is
Paul Pocock wrote:
Hi,
Are there any caveats to be mindful of when trying to implement
instancing using VBO's?
I'm using a static tri stored in a VBO - however I'm facing massive
bottlenecks in the frag shader - with obvious fillrate
issues dragging my frames down drastically. and I can't see
Hi,
I see a threading issue when capturing current attributes in cull phase.
My code placed in my derived ShadowTechnique::cull():
void MyShadowVolume::cull( osgUtil::CullVisitor cv )
{
ref_ptr StateSet currentState = new StateSet;
cv.getState()-captureCurrentState( *currentState );
For precise, i add the result of make command:
Code:
Scanning dependencies of target osgwTools
[ 3%] Building CXX object
src/osgwTools/CMakeFiles/osgwTools.dir/AbsoluteModelTransform.cpp.o
In file included from
I'd suggest discussing this on the osgWorks Google Group. But it appears to be
the case that your osgWorks makefiles are, for some reason, unable to find your
OSG installation. Without information on how you've configured the osgWorks
CMake, or where you've installed OSG, it'll be difficult to
Hi,
I had some serious problems getting a hardware-skinned model texured because
the skinning-shader overwrites the statesete of the model. With that all loaded
textures and other material-stuff were deleted.
So here's a tiny diff, that makes use of the existing stateset:
Code:
Index:
On Tue, 2010-08-03 at 12:30 +0200, Honnet Vincent wrote:
Hi,
I'm a new in using OpenSceneGraph, so if this problem was already
solved, please send me the link. But I didn't find anything that could
help me from the archive.
My problem is the following:
I would like to:
1- initialize
Hi,
Oh, i can't get a VBO from a loaded file...I need an example, how to directly
access the arrays. Kinda stuck trying
now i'm trying like that:
blahblahblag[0] =
(float*)temp-asGeode()-getDrawable(0)-asGeometry()-getVertexAttribArray(0)-getDataPointer();
and it crashes osg.
it may seem
Hi,
I don't think its allowed to call captureCurrentState in Cull stage. I am
not certain about this, but would expect that captureCurrentState would read
OpenGL state and update osg::State accordingly. If this is the case then it
does require valid OpenGL context, which is only guaranteed
Hi Marc,
yeah, I know that problem it happens sometimes when your message contains for
example code structures. The parser parsing that code sometimes get irritated
and think that you want to post links. Unfortunately I cannot provide a
solution for this now.
Cheers,
Art
--
Hi,
i m working with 3-D point data. After displaying the point data on osg screen,
i need to retrieve the 3-D co-ordinates of the point on mouse click. Till now,
i am able to retrieve
x, y co-ordinates of mouse click.
After getting x, y, i tried with PolyTopeIntersector... but this code is not
Hi,
I'm using the new native osg binary format (osgb), and I have noticed that
compared to the old binary native ive format external files are not converted.
Is this something that will be/is supposed to work?
At present when loading a openflight terrain tile any building models is not
Scenomics LLC is excited to announce the release of ScenomePlatform. Designed
for companies that develop OpenGL-based and OpenSceneGraph-based graphics
applications for entertainment, visualization, and geographic information
services, ScenomePlatform's infrastructure enables developers to
Alright, so just wanted to post the code for the overrides I did, just in case
anyone stumbles upon this forum entry and wants to see precisely what I did.
It's a bit different than the example that Wojtek posted in this thread (as
referenced above):
The best overview comes from examples/osgQtWidgets/osgQtWidgets.cpp...
//We would need to document the following somewhere in order to guide people on
//what they need to use...
//
//--
//There are two angles to consider.
//
//1. If someone wants a
Thanks for the reply Paul, Turns out my billboarding calculations in the
vertex shader were screwing everything up. Works fine now.
Regards
On 08/03/2010 11:32 PM, Paul Martz wrote:
Paul Pocock wrote:
Hi,
Are there any caveats to be mindful of when trying to implement
instancing using
Hi Morten,
The osgb format is still in its early time so it may not support all the
functionalities required by various developers. But it is always appreciated
if somebody could provide suggestions and code to improve this new native
format. It depends on wrappers of the
22 matches
Mail list logo