Hi,
As you know, .osg file does not include the texture, but refers to it.
Search file paths within the .osg file, and then make sure the paths are not
relative and that they are available during the load time (you can edit the
.osg and give full paths after exportation) and then I suggest you
Hi,
I'm trying to use images (.png or .gif) with transparency. Images charge
normally but I can't see the background.
Does anyone have any suggestions?
Thank you!
Cheers,
Wagner
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17862#17862
Hi Wagner,
Probably you need to enable Blending.
myNodeWithTheTexture-getOrCreateStateSet()-setMode(GL_BLEND,osg::StateAttribute::ON);
Rafa.
On Mon, Oct 5, 2009 at 1:21 AM, Wagner Dias wagnerld...@gmail.com wrote:
Hi,
I'm trying to use images (.png or .gif) with transparency. Images charge
Hi Fredrick,
On Sun, Oct 4, 2009 at 7:52 PM, Fredrik Hemström fre...@foi.se wrote:
1) How do I change/resize the osgViewer window-size in from my application?
You use GraphicsWindow::setWindowRectangle(x,y,width,height). Have a
look at the WindowSizeHandler implementation found in
I use RTT to post texture for a terrain which under a CoordinateSystemNode. I
am not sure whether the CoordinateSystemNode affect the RTT, since the RTT
camera doesn't under that CoordinateSystemNode but the root node of scene data.
Regards,
abe.
Hi all,
I also need to query the height of the ocean. Based on Dimitrios posted
code, I modified it to do a bi-linear interpolation. Below is the code I
would like to share. Should there be general interest in height query of
the ocean, then it would be good to put this or similar code in the
Hi Gopal,
After consulting with J-S I've got a few more suggestions for you,
Typing bt or backtrace' after the seg fault in the gdb prompt would
shed a few more clues..
and..if you run the command:
export OSG_NOTIFY_LEVEL=DEBUG
osgviewer cow.osg output.txt 21
and send the file to me, I will
Hi Jean-Claude,
Thanks for code snippet, this does seem to be a popular bit of functionality
so I'll go through it and work out the best way to integrate it.
To avoid these windows header conflicts, would it be possible to change
Not a problem I'll make those changes to the trunk today.
HI Abe Zhi,
The CoordinateSystemNode is just passive node that provides coordinate
system information for nodes/callbacks/user code that needs this
information, it doesn't do anything actively itself, so will not
effect how RTT will work, it will be just like having a group node
above your
Hi,
I have used OpenSceneGraph 2.2.x for quite some time and have now
upgraded to 2.8.2.
I found that picking shape Drawables has become very very unprecise.
This can be reproduced with the osgpick-example. The drawable is still
picked even if the mouse is miles away. This error did not occur
Hi kim,
this i have got typing bt in gdb and i am using
00:02.0 VGA compatible controller: Intel Corporation 945G/GZ Express Integrated
Graphics Controller (rev 02) graphics card.
[r...@localhost bin]# gdb ./oceanExample
GNU gdb Red Hat Linux (6.3.0.0-1.96rh)
Copyright 2004
Hi Andreas,
Thanks for the test file. I can confirm the bug at my end. My guess
it's a bug in the geometry code for the cylinder in
ShapeDrawable::accept(PrimtiveFunctor). I'm not in a position to
dive in a fix this bug right away. Can yourself or someone else help
out?
Robert.
On Mon, Oct
Hi,
no I do not us osg::DIsplaySetting.
but as I didn't have the file osgViewer/StataHanler in the instalation of osg
and do not manage to instal it.
I delete the EventHandler, do you think that it could be the reason why when I
use
m_G = new osgViewer::GraphicsWindow;
m_G-
Hi there,
I am using a PagedLOD data generated by osgdem. there is a requirement that
after a new file is loaded, i must post RTT texture for that node. so i write a
UpdateCallback and hooked it on the root node.In that UpdateCallback, i use a
NodeVisitor to collect a list of node which are
Hi Nemo,
I ask DisplaySetting configuration because of some system hardware not
support more multisampling and sometimes viewer open up in full screen. Your
suspect about stateHandler does not cause this problem. But you should check
your m_hWnd. It should be right handler for your CView. Because
Robert Osfield schrieb:
Hi Andreas,
Thanks for the test file. I can confirm the bug at my end. My guess
it's a bug in the geometry code for the cylinder in
ShapeDrawable::accept(PrimtiveFunctor). I'm not in a position to
dive in a fix this bug right away. Can yourself or someone else
Hi,
I try to generate a big (750 GB) database with VPB 0.9.10 OSG 2.8.2 under
kubuntu 8.04 (32 bit).
Unfortunately it seems to be too big, even Linux crashes (windows crashed even
in quite small databases, therefor I use only Linux for Database generation).
The crash it self is a failure of
Jean-Claude Monnin jc_mon...@emailplus.org wrote:
Hi all,
I also need to query the height of the ocean. Based on Dimitrios posted
code, I modified it to do a bi-linear interpolation. Below is the code I
would like to share. Should there be general interest in height query of
the ocean, then
Hi Michael,
GMan wrote:
So on to the next hurdle... It seems that the post process example only works
for a single render
I'm looking into the cause right now but maybe this is something obvious for
you guys.
additionally, you need to call unmap onto srcArray after you have called
Robert Osfield schrieb:
Hi Andreas,
Thanks for the test file. I can confirm the bug at my end. My guess
it's a bug in the geometry code for the cylinder in
ShapeDrawable::accept(PrimtiveFunctor). I'm not in a position to
dive in a fix this bug right away. Can yourself or someone else
Hi Gopal,
00:02.0 VGA compatible controller: Intel Corporation 945G/GZ Express Integrated
Graphics Controller (rev 02) graphics card.
Yeah, that isn't going to work with osgOcean in its current form. We
could possibly check for a set of extensions we know we need
Russell Morris russell.co...@gmail.com wrote:
I'm having issues exporting textured objects to .osg with blender.
Generally when I export and view them with osgviewer or osganimationviewer
i don't get the total image as a texture, I just end up with a color as
the texture. If I try to
Hi Torben,
To work out what is causing the failures have a look at the logs/*.log
and the task/*.task files for the build, look for warnings and error
messages. The status line in the .task file should say completed when
the task has been successfully completed, and pending if it's still in
the
Hi all,
Normally the texture set in the material should be exported correctly.
If you have an issue with that can you give a sample scene to test then
i will check to fix it
Cheers,
Cedric
--
+33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
http://www.plopbyte.net
On Mon,
Thanks for the fix Andreas, I've now merged it with svn/trunk. Cheers, Robert.
On Mon, Oct 5, 2009 at 1:34 PM, Andreas Goebel a-goe...@gmx.de wrote:
Robert Osfield schrieb:
Hi Andreas,
Thanks for the test file. I can confirm the bug at my end. My guess
it's a bug in the geometry code for
Hi Robert,
checking 7 log files and 7 task files manually is a lot of work ;)
my syslog told my that osgdem crashed multiple, sometimes caused bei libxbc and
sometimes by gdal. I'll try got get any more detailed error message.
what was your biggest successfvul rendered database?
Hi all,
Is it possible to redefine rotation axis of RotateCylinderDragger ?
It seems to only want to rotate around Z axis of object space.. but i need
to have a rotation around Y axis due to object geometry construction.
Another question, i saw that there will be a nice osgManipulator
Hi Christian,
On Mon, Oct 5, 2009 at 3:12 PM, Christian Buchner
christian.buch...@gmail.com wrote:
By the way, how many months (years) out is any officially supported
Multi Touch feature in OSG? Have there been any Multi-Touch
contributions into OSG accepted so far?
I have no plans for
Hi Torben,
On Mon, Oct 5, 2009 at 3:27 PM, Torben Dannhauer
z...@saguaro-fight-club.de wrote:
checking 7 log files and 7 task files manually is a lot of work ;)
my syslog told my that osgdem crashed multiple, sometimes caused bei libxbc
and sometimes by gdal. I'll try got get any more
Hi Harold,
Is it possible to redefine rotation axis of RotateCylinderDragger ?
It seems to only want to rotate around Z axis of object space.. but i
need to have a rotation around Y axis due to object geometry construction.
I bet you can place a MatrixTransform with a 90 degree rotation
By the way, how many months (years) out is any officially supported
Multi Touch feature in OSG? Have there been any Multi-Touch
contributions into OSG accepted so far?
Well, anything that's in the trunk (and not in some third party
contrib folder) can be considered official. Of course then it
On Mon, Oct 5, 2009 at 3:53 PM, Jean-Sébastien Guay
jean-sebastien.g...@cm-labs.com wrote:
Another question, i saw that there will be a nice osgManipulator
refactoring in osg 2.10. Is there any schedule for 2.10 release ?
I'll let Robert answer this, I don't know.
I know about as much as JS
Simon Loic schrieb:
Hi christian,
I'm glad to hear feedback on this manipulator. The problem you mention about
the home position is exactly those I have to face right now. Ideally the
camera should fall down to the terrain. Anyway I can send you the osg
example I set up so far (with the bug)
Hi Robert,
i've restartet the build process to get the error messages.
For example:
The logfile of the task contains:
Code:
0.011: Adding terrainTile
0.339: DataSet::_run() 0 0
3.161: started DataSet::createDestination(13)
3.236: Time for after_reproject
Hi All,
I'm delighted to announce that as of today I'm now working on porting
the OpenSceneGraph to work on OpenGL ES 2.0 ;-)
I'll be working on this through this month, and likely into November
to tie up all the loose ends, and get the work integrated into
svn/trunk and then into a stable
Hi Torben,
If you can isolate a specifc task that fails you should be able to
re-run that osgdem task on it own using the command line options list
in the task file. If running osgdem crashes then the next step would
be to build the OSG + VPB as a debug and then run osgdemd in gdb or
another
I am trying to apply a transform to a particle system like this:
_transform = new osg::MatrixTransform;
_transform-setMatrix(osg::Matrix::rotate(fromDir, toDir));
_geode = new osg::Geode;
_geode-addDrawable(particleSystem.get());
_transform-addChild(_geode.get());
Greetings, all.
I've been a lightweight user of OSG for some time now, and have a fair
understanding on how the basic components fit together. There's
something I'm missing, though, in my current quest.
I'm adding XML persistence to my OSG objects. In general, I wrap OSG
objects in my
Hi Robert,
executing the taskfiles manually works without crash.
If I would write a script which analyses all taskfiles regarding their pending
status, and execute that taskfile if it's status is pending - would it result
in a usable database?
Because osgdem itselfs works properly I assume
Hi Bill,
What version of osg are you using?
Tom Jolley
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Poirier,
Guillaume
Sent: Monday, October 05, 2009 11:18 AM
To: OpenSceneGraph Users
Hi Torben,
Have a look at how much memory each individual task is requiring as it
runs, it's memory use will grow through to when it builds the last
level into the quad tree/pyramid that it's handling. It could be that
one task takes up lots of memory, but runs fine, but run multiple
osgdem in a
If i had read the specs earlier i would probably also remember the section you
mentioned.
Are there any other possible issues regarding this problem?
Wojciech Lewandowski wrote:
Hi Johannes,
My apologies, I must have misinterpreted this pragraph of the spec:
Otherwise i'm really stuck
Yes sorry I should have mentioned that... I am using 2.8.2.
cheers !
bill
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jolley,
Thomas P
Sent: October-05-09 12:42 PM
To:
Hi Robert,
my diskdrive is mounted with default settings, which includes async.
vpbmaster calls up to 250 Mb, seems to be OK.
The usage of an osgdem call is not pssible, because ALL osgdem calls fails, so
no one lives long enought to get his memory consumption.
re-running vpbmaster with the
Hi Torben,
On Mon, Oct 5, 2009 at 6:18 PM, Torben Dannhauer
z...@saguaro-fight-club.de wrote:
my diskdrive is mounted with default settings, which includes async.
I can't recall the exact settings off the top of my head (it's a year
since I last looked into the specific topic of NFS), so you'll
Hello,
I am interested in determining the capabilities of OpenSceneGraph for
displaying dynamically deformable objects, such as in interactive surgery
simulation in conjunction with real-time haptic and visual rendering. Does
your software support this kind of scene?
Thanks for your kind
Hi Nemo,
Nemo Ulysse wrote:
I already work on this example but the 3d model is open in full screen and I
don’t manage to change that.
Are you saying the example program is doing what you want, except you
don't want the view to be maximized? If you click on the restore button,
do you get
Michel Audette schrieb:
Hello,
I am interested in determining the capabilities of OpenSceneGraph for
displaying dynamically deformable objects, such as in interactive surgery
simulation in conjunction with real-time haptic and visual rendering. Does
your software support this kind of scene?
So I built this as 32-bit on snow leopard and I still get a segfault when
attempting to get a node name from an osg::Node.
Any other ideas? :)
Thanks for the help!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17916#17916
Hi,
I have a problem to load a model by using this code:
// load model
osg::Node* pLoadedModel = osgDB::readNodeFile(
C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj );
if(!pLoadedModel)
{
std::cout Error: Couldn't find model! std::endl;
}
Hi,
I have a problem to load an image to a texture by using this code.
// create drawable geometry object
osg::Geometry* pGeo = new osg::Geometry;
// add 4 vertices creating a quad
osg::Vec3Array* pVerts = new osg::Vec3Array;
pVerts-push_back( osg::Vec3( 0, 0, 0 ) );
Giering Joseph wrote on Saturday, October 03, 2009 9:26 AM:
I have a problem to load a model by using this code:
// load model
osg::Node* pLoadedModel = osgDB::readNodeFile(
C:\Programme\ADTF\2.1.1\lib\OpenSceneGraph-2.6.1\bin\tour.obj );
if(!pLoadedModel) {
std::cout
Hi Joseph,
osg::Node* pLoadedModel =
osgDB::readNodeFile(C:\\Programme\\ADTF\\2.1.1\\lib\\OpenSceneGraph-2.6
.1\\bin\\tour.obj );
I think using forward slashes instead (which don't need to be escaped)
would work as well.
Yep, and keeps visual clutter to a minimum:
osg::Node* pLoadedModel
Hello Joseph,
The image can't be found by readNodeFile. Where needs the image-file to be
stored? Must I compile the jpeg-plugin? How can I compile this plugin?
See the answers to your similar thread where you tried to load an obj
file. Please don't post questions twice (these are the same
On 2009-10-05, Rainer Müller rai...@macports.org wrote:
On 2009-10-05 03:33 , Randolph Fritz wrote:
Is there any way I can get MacPorts to build debug versions of the OSG
libraries? Or does it already do so and me not knowing?
No, MacPorts does use -O2 in CFLAGS by default.
OK, thanks.
--
Hello:
I have a terrain with two layers of texture, the first one is from
bluemarble and the other is a landsat image of much higher resolution.
I first tested the multitexturecontrol example with just one landsat
image and it works fine: from a distance it shows only the bluemarble
layer. When I
Does anyone have an example of this? I'm developing a C++ class that
I'm importing via Boost.python. I can't figure out what arguments to
pass, what methods to call, or when to call them. yet I know people
have done this. Anyone?
--
Randolph Fritz
design machine group, architecture
Hey guys,
Thanks for the responses. Once I added UV mapping everything worked fine.
However I guess I'm unclear as to how to repeat an image over the surface of an
object with UV mapping. I will keep playing with it to see what I come up with.
Thanks again, you guys rock!
-Russ
Hi Rafa,
I finaly solved the problem setting the background color of box to
setColor(0.0f, 1.0f, 0.0f, 0.3f)
Thanks for help.
Cheers,
Wagner
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17931#17931
59 matches
Mail list logo