Good morning,
On Tuesday 04 March 2008 16:13, Robert Osfield wrote:
It a matter of expediency and history, reusing the CullSettings class
in various roles rather than creating different classes that store the
same parameters. The history comes down to how the OSG has evolved
with new
On Tue, Mar 4, 2008 at 8:04 PM, Day, Michael A. AMRDEC/SimTech
[EMAIL PROTECTED] wrote:
Howdy,
I searched the mailing lists, FAQs, Wikis, etc. and could not find
anything on this.
When OSG load .obj files, the material name appears to get lost from the
state set. I noticed someone had
On Wed, Mar 5, 2008 at 3:13 AM, Tran Thanh Hiep [EMAIL PROTECTED] wrote:
hi all ,in my project i create a button as CButton of mfc. i have a problem
in function mousein and mouseout when i change state of object button
program break down
The OSG has nothing really to do with widgets in 3rd
Hi Mathias,
The inheritance of state, transforms and cull settings should all be
down top down, so the highest objects in the OSG world being the
view(er) then the view's Camera's, then the scene graph below them -
this is public face of the scene graph. The rendering traversal is
just a back
Hi Tran ,
Please note that you must change the state of an object in a protected (
i.e. update ) portion of your OSG code .
Maybe MFC has nothing to do with your problem.
Regards
Rémy
Tran Thanh Hiep a écrit :
hi all ,in my project i create a button as CButton of mfc. i have a
problem in
The point is that it is not obvious to me how you convert the rotation
information from the 3Dconnexion driver into an osg rotation...
Dieter Pfeffer a écrit :
Hi
I don' t use a MatrixManipulator but would like to set the camera
viewmatrix:
viewer.getCamera()-setViewMatrix (vMatrix *
hi Robert Osfield and rdeslignes
I create my button with an 3d object. it is a child of camrea node, when i
click this button and i want change state of it. but when and change state of
node with nodevisitor program break and down
R�my Deslignes [EMAIL PROTECTED] wrote: Hi Tran ,
Please
I have used the 3dconnexion cityfly example (function: SbMotionEvent) -
one try:
eye_to_world matrix as vMatrix
or:
MatrixToHpr (rot, eye_to_world) //(extracting the rotation from the matrix)
but this is not really osg; my idea was whether s.o. has implemented it in
osg and could give me a
Hi!
why getGeometry doesn't it work?
during the execution it launches an exception.
my code is:
osgTerrain::GeometryTechnique* geometryTechnique = new
osgTerrain::GeometryTechnique();
terrainNode-setTerrainTechnique(geometryTechnique);
osg::Vec3d center=
Hi Robert!
I don't want to know how this file is made,
on the contrary where I can find it to perform the example osgterrain.cpp
passing the file in commandline, as the same example requires.
Thanks Aurora
Robert Osfield ha scritto:
On Tue, Mar 4, 2008 at 3:43 PM, aurora restivo [EMAIL
hi all,
i'm working on model-paging in flightgear. it works fine so far, but i had to
introduce some quirks to get around the limited hooks in PagedLOD and
DatabasePager.
so i'd like to propose a few changes to PagedLOD and DatabasePager APIs.
1. DatabasePager:
requestNodeFile (const
On Wed, Mar 5, 2008 at 11:44 AM, aurora restivo [EMAIL PROTECTED] wrote:
I don't want to know how this file is made,
on the contrary where I can find it to perform the example osgterrain.cpp
passing the file in commandline, as the same example requires.
There isn't an public example file
Hi Till,
You could you explain the motivation behind these changes, i.e. what
problem do they solve that is currently limiting your work? It may
well be another solution to the problems you are solving, or it may be
that are refactor elsewhere or in a differnt form is more appropriate,
but
hi robert,
in flightgear we have xml-files that describe models. the code that reads
these files needs options passed in:
osg::Node * sgLoad3DModel( const string fg_root, const string path,
SGPropertyNode *prop_root, double sim_time_sec, osg::Node *(*load_panel)
(SGPropertyNode *), SGModelData
Hi Robert,
On Wednesday 05 March 2008 10:35, Robert Osfield wrote:
The inheritance of state, transforms and cull settings should all be
down top down, so the highest objects in the OSG world being the
view(er) then the view's Camera's, then the scene graph below them -
this is public face of
Hi folks,
just some thoughts about texture attributes (or all
other attributes in general):
If we first setup a texture attribute on a StateSet,
lets say for the texture unit 0.
After some time we remove this attribute and assign it
to texture unit 1.
This would end up in the texture bounded
HI Art,
OpenGL doesn't have a concept of unbinding attributes, and neither
does the OSG. OpenGL has the concept of enabling and disabling via
mode, and the OSG maps this via StateSet::setMode(..) and
setTexureMode(uint unit,...); My guess is that you are looking for :
Hi All,
I think I can now shed some more light on this problem, and perhaps I have
found a potential bug.
In the last update to this issue I had tracked the problem down to something to
do with osgSim not wanting to load as a dependency of osgDB_ive.dll - and
osgDB_flt.dll. On further
Hi Robert,
yes this is one of the solutions, however I am
wondering why this is not done automagically by the
removeAttribute method?
However I also found what I have also looked for. If I
just add an empty texture to the stateset
(stateset-setTextureAttribute(X, new
osg::Texture2D());
this will
Hello Robert,
Robert Osfield wrote:
This suggests that display being used is the incorrect one for the
thread you are doing it from. This is something
osgViewer::GraphicsWindowX11 should manage internally though, so this
is a bug that needs to be better solved than it is now. A proper fix
will
Hi Till,
To summerise (just to double check I know where you coming form):
1) You have your own loaded that requires more information that can
be encoded into a std::string via the filename.
2) This extra information is per Node rather so can't use the
osgDB::Registry one, but must be
On Wed, Mar 5, 2008 at 12:34 PM, Mathias Fröhlich
[EMAIL PROTECTED] wrote:
But the View does not have CullSettings itself.
Sorry, trying to do a quick reply without doing background research.
So, which one is currently the View's 'master setting' before the cull
visitor
will hit the
Hi Neil,
Which version of the OSG are you working with? I have just checked
the SVN version of the CmakeLists.txt for ive and OpenFlight plugins
and both correctly list osgSim as part of the list of dependencies.
Unless the build system isn't working this should ensure that the libs
are linked
On Wed, Mar 5, 2008 at 12:48 PM, Art Tevs [EMAIL PROTECTED] wrote:
Hi Robert,
yes this is one of the solutions, however I am
wondering why this is not done automagically by the
removeAttribute method?
Because removeAttribute removes an attribute not any modes.
However I also found
On Wednesday 05 March 2008 13:51, Robert Osfield wrote:
The closest you could get is to have a a osg::Referenced* pointer
passed as an extra parameter into DatabaseRequestHandler, and have
this pointer dynamically cast to a ReaderWriter::Option*. One could
possible pass the PagedLOD's
On Wed, Mar 5, 2008 at 1:13 PM, Mathias Fröhlich
[EMAIL PROTECTED] wrote:
On Wednesday 05 March 2008 13:51, Robert Osfield wrote:
The closest you could get is to have a a osg::Referenced* pointer
passed as an extra parameter into DatabaseRequestHandler, and have
this pointer dynamically
On Wednesday 05 March 2008 14:20, Robert Osfield wrote:
This Group* pointer passed in by requestNode will be the PagedLOD in
Thanks!
So, Till should you take this one?
Greetings
Mathias
--
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070
hi mathias,
On Wednesday 05 March 2008, Mathias Fröhlich wrote:
On Wednesday 05 March 2008 14:20, Robert Osfield wrote:
This Group* pointer passed in by requestNode will be the PagedLOD in
well. i'd really like to avoid replacing the DatabasePager in osgviewer, since
the one that is there by
On Wednesday 05 March 2008, Robert Osfield wrote:
Hi Till,
To summerise (just to double check I know where you coming form):
1) You have your own loaded that requires more information that can
be encoded into a std::string via the filename.
yes
2) This extra information is per Node
On Wednesday 05 March 2008 14:52, till busch wrote:
well. i'd really like to avoid replacing the DatabasePager in osgviewer,
since the one that is there by default already provides all i need.
and unless i overlooked something obvious, i'd need to do just that.
Hmm,
I have overlooked
hi,
as tim moore told me (off-list), we already have a subclass of DatabasePager
in flightgear. so i took the solution to reimplement requestNodeFile() there,
with a dynamic_cast from osg::Group to SGPagedLOD.
nonetheless i still think that a function in PagedLOD would be nice...
the issue
* Gino van den Bergen -- Wednesday 05 March 2008:
1) Full DOS paths are now correctly opened by OpenVRML. A URL containing
a DOS path should be file:///C:data/blah rather than file://C:data/blah.
AFAIK the first is right and the second is wrong. I don't know how
the C: is handled (as a dir or
On Wed, Mar 5, 2008 at 4:47 PM, till busch [EMAIL PROTECTED] wrote:
hi,
as tim moore told me (off-list), we already have a subclass of DatabasePager
in flightgear. so i took the solution to reimplement requestNodeFile() there,
with a dynamic_cast from osg::Group to SGPagedLOD.
Hi,
I get a flickering problem on windows xp when I display a full screen window
with a smaller viewport and without window decoration. The rendering inside the
viewport is ok, but the rest of the screen is flickering and I can see my
desktop as the background. I don't have this problem when
Hello Franz,
AFAIK the first is right and the second is wrong. I don't know how
the C: is handled (as a dir or as a prefix to the first dir name),
but apart from that the syntax is supposed to look like this:
file://hostname/C:data/blah ... whereby a localhost can be left away:
Hi Robert,
thanks for coming back to me.
I think you're correct. I think this is an issue within MS and ActiveX
controls. It does appear that that the LoadLibrary has issues resolving
dependencies of libraries that are being loaded, when issued from within an
ActiveX control.
Obviously this
* Jean-Sébastien Guay -- Wednesday 05 March 2008:
Can you quote some documentation for that?
RFC2396
Just type the lines in the address field of a standards compliant
web browser (which probably rules out MSIE; try Firefox :-) with
a file path that exists on your machine.line with a file path
Hi Franz,
try Firefox :-)
I do, daily :-) as you saw further down in my message.
Sorry about this whole thread, I guess I was remembering my conversation
with Jan wrong. Gino, could you add a comment saying that the URI needs
to comply to RFC2396 along with your change?
Thanks,
J-S
--
On Wed, Mar 5, 2008 at 5:21 PM, [EMAIL PROTECTED] wrote:
Obviously this isn't one for OSG as you can only use the call that is
available - LoadLibrary. Having now got to a point where I can fix the issue
with a relatively small alteration to the ActiveX control, I'm not too
concerned.
I've attached a screenshot of some text rendered in a very standard way
using osgText:
text-setFont(std::string(fonts/monospace.ttf));
text-setCharacterSize(size);
text-setFontResolution(size, size);
text-setText(label);
text-setColor(osg::Vec4(1.0f, 1.0f,
I'd like to add another bit of info to this thread; attached are two
screenshots (good.png bad.png) rendered using almost identical code:
good.png (sharp, crisp)
text-setFontResolution(...)
41 matches
Mail list logo