No dice. I just end up with a second matrix offset to offset the first matrix
offset. This works fine for a simple viewer, say osgviewer, but when loaded by
our software it still doesn't show up. I'm wondering if the way OSG performs
its matrix multiplication has something to do with it.
Hi Joshua,
From the nature of questions - it's a bit odd to talk about removing a
nodes built in offset as it's kinda meaningless in the general concept of
scene graph - there really isn't any built in offset, objects are just
placed where the modelling tools place them, I think it might be
Well, here are the objects in question. My cube and a crossing arm. If you
display them both using OSGViewer you end up with the crossing arm inside a
black box (I didn't set the flag to keep the texture from scaling). I'm not
sure how the program I'm working with translates and rotates the
Hi Joshua,
The two models are very different in coordinate sizes, it's kinda bizarre
that you are expecting them to somehow to automagically do what you want.
The issue is nothing to do with model offsets but you understanding of how
you application and how scene graphs work. We can't simply fix
As noted from the last reply from robertosfield:
I may not be asking the correct question. Unfortunately, if that is the case,
I don't know what the right question is.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53783#53783
Hi Joshua,
On 24 April 2013 14:48, Joshua Cook countryartis...@gmail.com wrote:
I may not be asking the correct question. Unfortunately, if that is the
case, I don't know what the right question is.
If you don't know then how are we supposed to guess what you do know and
what gaps to fill
So it turns out that I have been asking the wrong question.
It is true that I'm new to scene graphs and all the nuances that go along with
them. However, I do understand enough about the to know that if you have two
objects whose local coordinate center is 0,0,0 then they should be
Ok, so I have a set of IVE files and each one of them has some sort built in
offset. For example: a cube with a center of X, Y, Z. I really would love to
be able to save these off as an IVE with a center of 0, 0, 0.
My Google-Fu is weak today, master, and I humbly request assistance with this
You could translate them with the .trans pseudoloader:
osgconv infile.ive.(-x,-y,-z).trans outfile.ive
I'm not sure that's the right syntax for the .trans pseudoloader, but you
can check the source code in src/osgPlugins/trans.
On Mon, Apr 22, 2013 at 12:00 PM, Joshua Cook
Paul Martz wrote:
You could translate them with the .trans pseudoloader:osgconv
infile.ive.(-x,-y,-z).trans outfile.ive
I'm not sure that's the right syntax for the .trans pseudoloader, but you can
check the source code in src/osgPlugins/trans.
On Mon, Apr 22, 2013 at 12:00 PM,
10 matches
Mail list logo