Hi Jeffrey,
In the 2.x series of the OSG there is an osgfadetext example that uses
a ClusterCullingCallback to cull the text when its on the far side of
the earth, and disables depth test when its on the front side - this
sounds similar to your needs.
Robert.
On 10/16/07, Jeffrey M Short [EMAIL
Hi and thanks for the tip about where to look for code for the
projectionOffset. I now have a slave camera with the expected projection
offset next to the master camera.
One thing that I found out was that the slave camera is drawn one frame
after the master. Both cameras are drawn to the same
Hi Will,
The quaternion multiplication order has to be consistent with the rest
of the OSG i.e.
v' = v * M;
Now what is standard for other libraries, or even other communities is
an issue, but since libraries and communities all use their own
standards there is now way for the OSG to be
Hi Karl,
The master and slave cameras will be drawn in the same frame.
If you see a difference then it must be down to the propagation of the
settings from the master to the slave being out of sync. I don't know
how you set the master, perhaps you are setting it after the sync
point. The
Ah, thanks a lot :-)
Of course that was the reason! Thats also explains why it worked with
different contexts.
Thanks Karl
On 10/17/07, Robert Osfield [EMAIL PROTECTED] wrote:
Hi Karl,
The master and slave cameras will be drawn in the same frame.
If you see a difference then it must be
Hi all:
I have compiled osg without example under devcpp(4.9.9.2) successfully,and
get all dlls.(I downloaded the plugin's dlls and changed them to .a)
but,i compiled the osgtext example and when run it, error popped that it
can't find freetype6.dll (why need it?), but
Hi,
I'm trying to do some conversions between OpenSceneGraph and Java using JNI.
One of them, Matrix2jobject, must be able to read the elements of
osg::Matrix for copy pourposes. osg::Matrix API doesn't provide methods for
reading elements of an osg::Matrix instance, and the atribute
Hi,
El Wednesday 17 October 2007 12:06:18 王韬 escribió:
I have compiled osg without example under devcpp(4.9.9.2)
successfully,and get all dlls.(I downloaded the plugin's dlls and changed
them to .a)
You shouldn't have to rename any dll. Mingw gcc, the compiler that devcpp
uses, is
Hi Robert -- If the hidden flag bit is set in an OpenFlight Face or Mesh
record, the OpenFlight plugin handles this by setting the Geode NodeMask to
zero. Not sure why this would cause a merge geometry optimization to crash,
but maybe you've got some ideas on that?
-Paul
-Original
Hi Robert,
Not sure what you mean by directly. I have set it up as command line
argument in VS2005. I have also tried osgviewerMFC with the same results.
I have reduced the OpenFlight model down to about 6 polys that still
produces the same crash, so what’s the best way of making it
Hi Mark,
A six poly file would be ideal to test against, just post it as an
attachment to an osg-users email if the file is small.
Just to be precise, does:
osgviewer myfile.flt
Fail?
Robert.
On 10/17/07, Mark Hurry [EMAIL PROTECTED] wrote:
Hi Robert,
Not sure what you mean by
Not sure why this would cause a merge geometry
optimization to crash, but maybe you've got some ideas on that?
No ideas I'm afraid.
It'd also be interesting to see if the following fails:
1. Load the FLT file, but specify the preserveFace option, which causes
the FLT loader to not run the
Fuat ULUBATLI wrote on Wednesday, October 17, 2007 6:54 AM:
hi all,
i want to set the x,y,z of 3D objects as double since float is not
sufficient for me due to large position values. how can i do this?
thanks in advance...
fuat
OpenGL generally does not support double precision, so the
Hi all,
Generalizing my 3 pass logic on a group of models, it seems I don't get the
expected result.
Let me ask a question. In the following case :
am I correct if I assume the rendering order will be A1-A2-...-An-B-A1(with B
context)-A2(with B context)-...-An(with B context)-C-A1(with C
Hi Panagiotis
I attach a osgviewer based example of use of multisample
You can switch on/off multisample with the key 'm'
Cheers
David
2007/10/14, Panagiotis Papadakos [EMAIL PROTECTED]:
Hi David
On Tue, 9 Oct 2007, David Callu wrote:
Hi Panagiotis
2007/10/6, Panagiotis Papadakos
Hello,
I am using osg to render a scene, and osgCal to display some character
models.
When I try to use osg::Fog in the scene, everything works fine except
for characters rendered by osgCal: They seem to get fogged only when
very far (lod?) but they aren't fogged at all when they are near.
Hi David. Thanks for your time and the example.
I have the same problem with your example as I have with my own code.
Running ./a.out --samples 4 saved_model.osg, uses anti-aliasing when the
application starts although SwitchMultisampleHandler disables it in
constructor. Pressing 2 times 'm'
Hello Swen,
in the last few days i've figured out, that i have a bug in my multipass
soluiton.
For this bug, i've actually no idea how i could solve the problem
The problem occurs with the execution of the passes. Each pass holds an
osg::StateSet
where the Shaders and textures are bound for
Sorry Robert, this is still unclear. Is there one option or two you are
suggesting is possible?
1) A viewer setup as embedded using a pbuffer context with a
normal camera
2) A viewer setup as embedded using pbuffer context and an FBO
camera
Obviously I'd like to use an FBO, less
Ok I have a not really clean fix but this work.
I will investigate more on this issue.
Keep you informed
David
2007/10/17, Panagiotis Papadakos [EMAIL PROTECTED]:
Hi David. Thanks for your time and the example.
I have the same problem with your example as I have with my own code.
Running
oups forget the file ...
2007/10/17, David Callu [EMAIL PROTECTED]:
Ok I have a not really clean fix but this work.
I will investigate more on this issue.
Keep you informed
David
2007/10/17, Panagiotis Papadakos [EMAIL PROTECTED]:
Hi David. Thanks for your time and the example.
Nice. thank you.
That was EXACTLY it.Setting the camera's to have colormasks
all true did the trick.
I would never have found it...
ml
On Oct 17, 2007, at 1:21 AM, Robert Osfield wrote:
Hi Mike,
With 2.x could you try:
osgprerender cow.osg --stereo HORZONTAL_SPLIT
And
Hello
First off I'm using OSG 1.0.
I am deriving a class from osg::Drawable::CullCallback. I'm overloading
the cull function [virtual bool cull(osg::NodeVisitor* nv, osg::Drawable*
drawable, osg::State*) const]. I am trying to get the eye location in
World Coordinates. It seems as though
Poirier, Guillaume wrote:
Hello !
Sorry if this was already discussed... I checked on the gmane archive
and could
not find anything on the topic :(
Is the osgviewerQT supposed to work with the StatsHandler ? Most
viewer examples
use it except osgviewerQT.cpp. When I do
ViewerQT*
Hi Robert/Paul
In answer to various questions
Yes osgviewer flight1_0.flt (see attachment) causes the crash. The file is
only 6 polygons. If I reduce the number of polys or change the structure,
then the results become unpredicatble, sometimes working other times not. It
seems to be the
25 matches
Mail list logo