Hi Tat,
Thanks for the tip, I recompiled for only target 'i386' and the compile link
worked for Qt 4.6.3 now.
I believe there are still some issues with the Qt examples, there are a number
of warnings and errors in the terminal (osgQtBrowser, osgviewerQtContext,
osgQtWidgets,
A couple more comments:
It's probably a good idea to use 'i386' compiles from now on (perhaps this
should be the default for all Intel architecture machines, as Apple has not sold
PPC machines for over 4 years now).
I've used Qt under Windows and it appears to be quite stable with the OSG
Hi J-S,
Thanks for the information, and your work is very much appreciated.
The Qt integration with Delta3D 2.3.0 under Windows is incredibly stable, so
perhaps this should be something to have a look at (I speak from experience on
using this package with Qt). Delta3D uses OpenSceneGraph for its
I've tried compiling the SVN version of OSG 2.9.9 on both Mac OS 10.5 and 10.6,
and it appears that there is an issue with Qt 4.6.3. There are a number of
errors during linking.
For now, a workaround for the build is to go back to an earlier version of Qt,
it appears that version 4.5.2 compiles
For all interested parties, I have my solution posted on the Internet at the
following URL (it's for OSG2.6):
http://www.geocities.com/andrlet/ive_plugin_fix.zip
Basically all that needs to be modified are IVE loader/save files
DataInputStream.cpp and DataOutputStream.cpp
Only the first
Steven Saunderson osgfo...@... writes:
Can you change your scene (or whatever generates the .osg files) so it uses
the same texture multiple times
instead of multiple textures that just happen to contain the same image file
?
Unfortunately, no, I cannot put all of the data into a single
Hello everyone!
I've been using 'osgconv' to make native ive binary versions of osg ascii
files. However, if a texture is used more than once, it is resaved each time it
is used. For your reference, I've created a sample file called 'billboards.zip'
which you can download from the following URL:
Hello everyone!
I've been using 'osgconv' to make native .ive binary versions of .osg ascii
files (with either the --compressed-dxt1 or --compressed-arb options in OSG2.4).
However, when I have a texture that is used more than once in the geometry, then
it appears that the IVE file will RESAVE
Hello Rahul,
I also gave osgCal2 (I believe 0.3.1) a try with both OSG2.0 and OSG2.4 - and I
wasn't successful with either release. I just got crashes (under VisualStudio8,
didn't try it for Mac). If you do manage to sort it out, please do let me know.
However, I do have character animation
In OSG2.2 I'd like to find the 'real' x,y location of the mouse cursor. If my
window is 640x480, then the value for x should be between 0 and 639, while y
should be from 0 to 479. I need the x,y values in this form so that it can be
injected into CEGUI correctly.
The GUIEventAdapter has protected
Hello Donald,
I actually tried something along the lines of what you wrote:
int my_x = (int) ( ((ea.getX() + 1.0) / 2.0) * 640.0 );
int my_y = 480 - (int)(((ea.getY() + 1.0) / 2.0) * 480.0);
Your lines basically do the same thing (except flip the y axis). However, my
problem is that the
Jeremy Moles [EMAIL PROTECTED] writes:
Again, I never get the normalized values in osgWidget (and haven't since
I began writing it). This has to have something to do with the kind of
camera the event appears within, as looking through the code I see that
the event{X,Y} values are calculated
I found a workaround to my problems, my thanks to Jeremy for pointing a few
things out.
If I make the following setting:
camera-setAllowEventFocus(false);
Then in Viewer::eventTraversal() this will avoid setCameraWithFocus(camera);
code.
As to the reasoning of why there is separate
Hello Sergey,
I just wanted to let you know that CEGUI5.0 does indeed work with the following
line of code before the realize:
viewer-setThreadingModel(osgViewer::Viewer::SingleThreaded);
viewer-realize();
This will get the CEGUI rendering properly.
I've been working on
14 matches
Mail list logo