Hi,
I am having a weird problem which I hope you can help. I am running on Win2000
with a relatively old nvidia card.
1) When I run then osgtexturerectangle example and I supply a non-power-of-two
image as a command line argument, the example still runs as expected. So that
tell me that my sy
Joe Abreu wrote:
Code:
osg::Vec3d position = car.GetPosition();
osg::Quat attitude = osg::Quat( turn_angle, osg::Vec3d(0,0,1) );
osg::Vec3d movement = osg::Vec3d(0,car.CurrentSpeed(),0);
// Some way of using a Quat(or whatever) to rotate my movement vector to the
correct heading based on 'angl
Joe Abreu wrote:
Hi,
I understand the concept of matricies, Vectors and Points in 3d Space. I have
learnt this at University.
I have an issue trying to understand the concept of OpenSceneGraphs use of Quaternions
and "attitude".
I do not really get what Attitude is, I'm used to the concepts
Hi,
I understand the concept of matricies, Vectors and Points in 3d Space. I have
learnt this at University.
I have an issue trying to understand the concept of OpenSceneGraphs use of
Quaternions and "attitude".
I do not really get what Attitude is, I'm used to the concepts of
Translate,Rotat
J-S
Thanks for the information.
I will do the Luke Skywalker thing and "Use the Source" or was that force oh
well.
Bruce
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jean-Sébastien
Guay
Sent: Fr
Hi Jason, Bruce,
You should be able to get these numbers by iterating over the primitive
sets in each drawable. You'll have to count differently depending on
primitive type and primitive set type, but it's not that difficult
(there may already be a visitor in OSG that does this, I'm not sure)
Jason:
Thanks for the reply. I have looked around through Google searches on
3D model database and similar strings. I have found new models to
download and add to the collection this way but I have not found
anything more than just the name of files.
I will add bounding box to the list as
Robert,
Thanks for the tips. I definitely need to take another pass at this &
optimize it better.
As to my original issue, it turned out to be a threading issue in a .NET
UserControl. The app was somehow able to escape the problem
consistently by loading a model. I had gotten creative and
David,
One other thing. Have you looked at ARToolkit? I've not used it
myself, but I'd be surprised if they don't have some routines that will
handle this for you.
--"J"
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://list
David Goering wrote:
Hey,
Well my problem is this, I have a webcam and it looks on a table from a slant,
and gives me coordinates of an object it finds (a marker). These coordinates
are then sent to the TransformationMatrix arTransform in order for
OpenSceneGraph zu render a Model on there.
Th
Miguel Lokida wrote:
Hi,
Thank you for the answer. But is-it easy to render twice with openscenegraph ?
I am new with it and don't know how to do.
He explained how to do it in the previous message. If you didn't
understand it, it might be a good idea to play around with some of the
exam
Clay, Bruce wrote:
Some of these attributes can be defined programmatically and others
will require human assessment.
I have been able to find the number of vertices using OSG but I have
not found out how to count the polygons. Which number would be a
truer or better number to store in
Hi Iban,
I don't know enough about sandStorm and its setUp function to help you.
The last argument to setUp doesn't look correct.
Look at the scene graph that is created and see if the Geode for your
particle system is under the Xform1 node.
> From: Iban Arriola
>
> Hi,
>
> Here is the way tha
Hi Jean-Sébastien,
thanks for your reply. I knew and considered this page, I maybe should have
mentioned that.
However, deleting the CMake cache and setting up the whole thing from scratch
worked out, no idea what the problem was.
Thanks for your help!
Cheers,
Jason
Joe Abreu wrote:
I've downloaded and run the Redistributable, tried DependecyWalker.exe
OSG example debug versions are missing:
MSVCP80D.dll
MSVCR80D.dll
Do you also see MSVCP80.DLL and MSVCR80.DLL as dependent modules in the
debug version? If so, this is the configuration problem that W
Hi,
Forgot to mention that I am using Visual Studios 9 (2008) for deveoping, so
this is happening on a Windows machine.
Thanks!
Judy
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17286#17286
___
o
Hi Guy,
It's the GraphicsContext/GraphicsWindow that govern what extensions are
supported, so use a RealizeOperation and then realize your graphics context
prior to finializing set up of your scene graph. Have look at the
osgshaderterrain example to see how you could do this.
Robert.
On Wed, S
Hi,
I'm attaching a proof of concept I've hacked on just to try things out.
It's a modified osgviewerWX with multiple windows and hopefully shared
context. I'll try to get it into shape for inclusion as example later.
cmake .
make
./test cow.osg
hope it helps as a start
jp
Ragnar Hammarqvis
Hi,
if you mean you drew something in the XY plane, then you need to rotate
around Y to get the YZ. Y is common.
Some google search terms for you:
"right hand rule"
"right handed coordinate system"
I don't want to be blunt, but you will have to start understanding these
rotations/tranformati
Multiple windows.
-Ursprungligt meddelande-
Från: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] För J.P. Delport
Skickat: den 11 september 2009 14:58
Till: OpenSceneGraph Users
Ämne: Re: [osg-users] Confusion regarding multiple views showi
"Guy Volckaert" wrote:
> Is there an easier way to do this?
>
Perhaps using GLEW (http://glew.sourceforge.net/) directly to figure out the
extensions before you initialize OSG?
Regards,
Jan
signature.asc
Description: This is a digitally signed message part.
_
Hi,
single window or multiple?
jp
Ragnar Hammarqvist wrote:
Hi All
Im a bit confused on how to implement multiple views in osg.
My problem is the following.
Im limited to use wxWidget as GUI (and GL Traight)?
In my GUI I want several (one to at least eight) camera views looking on almost
th
This question may be a bit off track for OSG but it is something that I
think can be used by OSG developers.
I have collected many 3D models through the years and I am at a point
where I have lost track of everything I have so I am building a database
of the models. Since the models are mostly
Hi Akilan,
The matrix you created (rot), does rotate 90 degress around the X-axis. You
need to look at the resulting geometry position to determine if it's what you
really want.
BTW, There's a fantastic book for learning all about transforms and I think it
should be required reading for
Hey,
Well my problem is this, I have a webcam and it looks on a table from a slant,
and gives me coordinates of an object it finds (a marker). These coordinates
are then sent to the TransformationMatrix arTransform in order for
OpenSceneGraph zu render a Model on there.
The problem is, if I move
Hi,
I have drawn a geometry normal to XY-plane and I would like to transform it in
such a way that it must be normal to YZ-plane.I did rotation for 90 degree
about X-axis. Will it do what I wanted to do? The corresponding code would
seems to be ,
..
osg::Matrix
rot=osg::Matrix::rot
David Goering schrieb:
> Hey,
> I tried what you told me, here is the code:
>
> osg::Matrix rot = rot.rotate(osg::DegreesToRadians(45.0),1.0,0.0,0.0);
> osg::Matrix sca = sca.scale (1.0,1.0,1.0);
> osg::Matrix m = rot * sca;
> arTransform->setMatrix(m);
> osg::Vec3f vec = arTransform->getMatrix().
Hey,
I tried what you told me, here is the code:
osg::Matrix rot = rot.rotate(osg::DegreesToRadians(45.0),1.0,0.0,0.0);
osg::Matrix sca = sca.scale (1.0,1.0,1.0);
osg::Matrix m = rot * sca;
arTransform->setMatrix(m);
osg::Vec3f vec = arTransform->getMatrix().getTrans();
double x = vec.x();
double
Hi,
Thank you for the answer. But is-it easy to render twice with openscenegraph ?
I am new with it and don't know how to do.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17272#17272
___
osg-users
Hi All
Im a bit confused on how to implement multiple views in osg.
My problem is the following.
Im limited to use wxWidget as GUI (and GL Traight)?
In my GUI I want several (one to at least eight) camera views looking on almost
the same scene. The scene is VPT-made and is presenting a huge terr
Hi Miguel,
This is a standard issue with rendering shapes with depth buffer hardware -
if the front faces are drawn before ones at the back then the depth buffer
is written to and when it comes to drawing the back faces the depth test
rejects the fragment. Go look in online literature/books on th
Hi Todd,
I can't say for sure but it does sound like you are pushing through too many
state changes. Ideally you should have a small number of independent
StateSet, and small number of unique Materials. Rather than use Materials
for changing the material properites it's best to use vertex colour
Hi,
Here 's my problem. I have an osg::Cone (inherit from shape) and I would like
it to be transparent. I have used some example using blendFunction but the
problem is that the cone is a little transparent but some slices all along the
cone appear.
If someone know how to make it fully transpare
Hi Jason,
On Thu, Sep 10, 2009 at 7:50 PM, Jason Jerald wrote:
> One more thing in case anyone else tries to build Plugins dicom on Windows
> Vista (and likely other versions of Windows):
>
> We commented out the following line in ReaderWriterDICOM.cpp
> #define HAVE_CONFIG_H
> otherwise "osconfi
Hi Jason,
On Thu, Sep 10, 2009 at 7:45 PM, Jason Jerald wrote:
>
> Thanks for the reply Robert. I guess CMakeLists.txt overrides anything set
> within the CMake GUI.
No, CMakeLists.txt provides the defaults that are written to the
CMakeCache.txt, then ccmake/or the CMake gui override this set
Hi,
Here is the way that I did it
[code]
osg::PositionAttitudeTransform* Xform1 = new osg::PositionAttitudeTransform();
root->addChild(Xform1);
myParticleSystem= new sandStorm();
Place = osg::Vec3 (14533,7677,13);
Xform1->setPosition (osg::Vec3 (100,700,13));
myParticleSystem->setUp((osg::Gro
On 11/09/09 9:35 AM, Ulrich Hertlein wrote:
On 10/09/09 10:10 PM, Judy Hartley wrote:
seem to be having some trouble. When I try to load any of my .x files,
I get the
following message:
DirectX Loader: Error reading material list; 1 instead of 0
The parser was expecting one material but didn'
Hi,
On 10/09/09 10:10 PM, Judy Hartley wrote:
seem to be having some trouble. When I try to load any of my .x files, I get
the
following message:
DirectX Loader: Error reading material list; 1 instead of 0
The parser was expecting one material but didn't find any and is complaining
about t
38 matches
Mail list logo