I generate a texture as follows:
osg::Texture2D * map ()
{
int width = 38, height = 40;
osg::Texture2D * map = new osg::Texture2D;
map - setTextureSize (width, height);
map - setFilter
Hi,
for an RGBA texture you would need data to be of size width*height*4.
Also, not sure what your magic 4 is in image - setImage. Put GL_RGBA
instead of 4.
Try:
image - setImage (width, height, 1,
GL_RGBA,
Thank you Stephan,
I've tried by executing getWindowingSystemInterface() before opening
the settings window but unfortunately it didn't help.
On the other hand, I tried to call the viewer's realize() method
BEFORE opening the settings window and now it has focus, can be moved
and it works as
Thank you Stephan,
I've tried by executing getWindowingSystemInterface() before opening
the settings window but unfortunately it didn't help.
On the other hand, I tried to call the viewer's realize() method
BEFORE opening the settings window and now it has focus, can be moved
and it works as
Hi Robert and OSG community,
my first post here :)
OSG 3.0 RC2 in Release mode was built fine here on Debian Testing
x86_64, using g++ 4.6. I just got lots of warnings like
warning: variable ‘xyz’ set but not used [-Wunused-but-set-variable].
(This type of warning is new in gcc 4.6)
I ran
Hi John,
There is rather too little detail about the performance you are
seeing, how many text items you have, how many you are change per
frame, whether you've compiled with debug and are profiling this, what
platform you are working with, what you hardware is, what happens to
your update, cull
Hi Stephan,
On Wed, Jun 22, 2011 at 8:57 AM, Stephan Wenglorz
stephan.maku...@gmx.net wrote:
my first post here :)
Welcome and thanks for pitching in with testing the release ;-)
OSG 3.0 RC2 in Release mode was built fine here on Debian Testing x86_64,
using g++ 4.6. I just got lots of
I finally managed to solve the issue: I called setUpViewAcrossAllScreens()
before opening the settings window.
What does setUpViewAcrossAllScreens do?
Cheers.
Alessandro
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40735#40735
Hi Tamer,
Thanks for spotting this regression. The bug came about due to me
tightening up the event traversal so that it only handles events
uptill the viewer.advance(), which prevents events having negative
times w.r.t the frame event. Unfortunately this fix meant that no
events were being
Hi Tamer et. al,
On Wed, Jun 22, 2011 at 10:10 AM, Robert Osfield
robert.osfi...@gmail.com wrote:
I have changed the cutoff time for events for the case of
--run-on-demand so it behaves the way it used to.
Forgot to mention that this fix is now checked into svn/trunk and the
OSG-3.0 branch.
Hi, JP,
thanks you for your answer.
I have made as you wrote and have received - the same solid texture color. Only
has changed color of a texture: from dark lila to dark grey.
thank you,
sergey
--
Read this topic online here:
Hi Ryan,
I've used the latest rev of cppcheck in their git repository but don't
get a fraction of the warnigns that you do. I've addressed the ones
that I can fix and these were checked in for the rc2, two of the
warnings can't be fixed as the leak warnings it suggested are
associated with an
Hello Robert,
On 22.06.2011 10:28, Robert Osfield wrote:
Hi Stephan,
On Wed, Jun 22, 2011 at 8:57 AM, Stephan Wenglorz
stephan.maku...@gmx.net wrote:
my first post here :)
Welcome and thanks for pitching in with testing the release ;-)
Thank you!
OSG 3.0 RC2 in Release mode was built
Hi Stephan,
On Wed, Jun 22, 2011 at 11:00 AM, Stephan Wenglorz
stephan.maku...@gmx.net wrote:
I agree, as you said these warnings seem to be no problem, just some
superfluous variables, so I would ignore them for now rather than risk to
break something so close to the release.
I've done a
Hi,
On 22/06/11 11:29, Sergey Alekseev wrote:
Hi, JP,
thanks you for your answer.
I have made as you wrote and have received - the same solid texture color. Only
has changed color of a texture: from dark lila to dark grey.
how are you applying the texture to geometry? Are your texture
Hi Robert,
Ok, I have yesterday tested fvwm with the viewer changes. This works so far.
On Tuesday 21 June 2011, Robert Osfield wrote:
When users attempt to do things is awkward ways, especially when grampling
with lower level facilities, it's a warning sign to me that the OSG is make
the
Hi Mathias,
2011/6/22 Mathias Fröhlich m.froehl...@science-computing.de:
Ok, I have yesterday tested fvwm with the viewer changes. This works so far.
Thanks for the testing. Looks like the viewer changes for fullscreen
toggling are good to go.
One modification to the OSG that I have
Sorry abou this unsavoury spam getting through - it looks to be a case
of a guinuine osg-user that has their mail account compromised by the
spammers. I've unsubscribed the problem account and notified the
account holder.
___
osg-users mailing list
Hi,
I want to let my user pick individual vertices on a model. I used the osgPick
example code to get the picking of an object working great, but when I tried to
use the code to pick the vertex it is not really working correctly, and I am
not sure what I am doing wrong. Here is the code I am
Hi Ryan,
NodeVisitor's subclasses are meant to only override the methods they
need to. It's what makes the convinient and powerful.
The documented problems which the warning issue relate to aren't
relevent to NodeVisitor usage. This compiler warning issue is in
practice just a distraction that
HI David,
When the ray intersects a triangle it provides the three vertex
indices and the associated ratios are the baricentric coordinates
that you can use to compute the interoplate vertex, colour, tex coord
etc. There isn't an sorting of the indices to report the nearest.
Robert.
On Wed,
Hi All,
I have just tagged 3.0.0 release candidate 3, you can grab the source from:
source package :
http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.0.0-rc3.zip
svn tag: svn co
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.0-rc3
Hi,
I'm trying to see a simple quad with a video (AVI) texture applied. The video
is played correctly by osgmovie but if I use osgviewer to open the FBX model
(that uses the AVI) when execution is over osgviewer crashes.
I'm using OSG 3.0.0 rc1 and the FBX was created from 3dsMax using the FBX
On Wed, Jun 22, 2011 at 11:29 AM, Robert Osfield
robert.osfi...@gmail.comwrote:
Hi Ryan,
NodeVisitor's subclasses are meant to only override the methods they
need to. It's what makes the convinient and powerful.
Yes, of course - for some time I was confused on how a visitor could be
Thanks Alessandro
It's called Alien Attack, it's actually been made for a client AppToyz to go
with there AppBlaster gun attachment for iphones. It should actually
be released in the next week or so. I'll give you a shout when it is.
Tom
PS
It's also free!
On 21 June 2011 21:19, Alessandro
Hi Ryan,
On Wed, Jun 22, 2011 at 6:35 PM, Ryan Pavlik rpav...@iastate.edu wrote:
Yes, of course - for some time I was confused on how a visitor could be
implemented _without_ triggering this warning.
You can''t implement a vistor pattern without triggering the warning. Since the
vistor pattern
HI Alessandro,
Could run a debug build and get a stack trace from the crash and then
post this stack trace, it should give us a bit more of ideal of what
might be at fault.
Also what movie plugin are you attempting to use to play the movie?
Robert.
On Wed, Jun 22, 2011 at 6:32 PM, Alessandro
Hi Robert,
unfortunately I will not be able to try it before friday, anyway the
video plugin that I use is QuickTime (the OS is Windows 7 x64, OSG is
built for 32 bit and we tried with a couple of different AVIs on two
PCs).
Hope this helps a little.
Alessandro
On Wednesday, June 22, 2011,
Hi Allessandro,
I've copied a .avi file I have to the name video1.avi so that the .osg
and .FBX files both load the file, and by using -e ffmpeg on the
command line I'm able to osgviewer to load the avi file just fine. I
don't get any crashes, but I also don't get any played movie as to
play them
Hi Robert,
http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG3.0
On this page, in the new features list, you mentioned user data... I
think you meant the new generalized metadata system, so I changed that
bullet point to better show this. After all, OSG has had user data for
HI Alessandro,
On Wed, Jun 22, 2011 at 8:00 PM, Alessandro Terenzi a.tere...@gmail.com wrote:
unfortunately I will not be able to try it before friday, anyway the
video plugin that I use is QuickTime (the OS is Windows 7 x64, OSG is
built for 32 bit and we tried with a couple of different AVIs
Thank you Robert for your answers, I'll try the ffmpeg plugins as soon
as I'll be back to work, only one note: I've already tried the
directshow plugin but, as you can see from a couple of mails of mine,
without success...so far I could not find a solution for using that
plugin and this is the
Hi,
I found another problem with invisible text today. In TextBase.cpp
there is this chunk of code at line 290:
// provide a fallback in cases where no bounding box has
been been setup so far
if (_characterSizeMode!=OBJECT_COORDS || _autoRotateToScreen)
{
Hi all,
I gave 3.0.0-rc3 a check out here and found a few problems. These are
quite possibly due to the atypical setup here, particularly the farily
old version of Qt installed and possibly other factors.
system:x86_64 SuSE 11.01
graphics: NVIDIA Quadro FX 1800 270.41.19
gcc: 4.3.1
Qt:
No ideas floating around out there??
:(
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40772#40772
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi Robert,
VPB doesn't compile with MinGW because of some errors in the FileUtils
headers and source. I'd like to send my changes to osg-submissions
soon.
Wang Rui
2011/6/21 Robert Osfield robert.osfi...@gmail.com:
Hi All,
OpenSceneGraph-3.0.0 release seems to be going smoothly so it looks
36 matches
Mail list logo