Hello everyone,
I'm using a plugin to read OSG nodes in .gz files I developed on my own. It
works perfectly well, but now I would like to use this plugin with the
DataFilePathList handling system in osgDB and I can't get it working this
way... I tried something like:
osgDB::FilePathList
.
Robert.
On 3/27/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello everyone,
I'm using a plugin to read OSG nodes in .gz files I developed on my own.
It
works perfectly well, but now I would like to use this plugin with the
DataFilePathList handling system in osgDB and I can't get it working
paths to the file path list (as
opposed to completely overriding the path list). How would an application do
this?
-Paul
--
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Emmanuel Roche
*Sent:* Tuesday, March 27, 2007 3:53 AM
*To:* OSG Users
Hello everyone,
Currently, I'm developing a program where I have to display an Earth
model... to perform this I use :
- a big sphere shape...
- a dds texture of 4096x2048 for day time
- another similar texture of 4096x2048 for night time
- a cloud texture of ... 4096x2048 :-(
- another normal
No osgdem would not be enough : some of the textures I use can change
dynamically, how could I use them on osgdem tiles, the uv coords would
hardly correspond, no ?
regards,
Emmanuel.
2007/3/28, Serge Lages [EMAIL PROTECTED]:
On 3/28/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello
Hi RJ,
If you have some time you may also construct a direct integration of OpenAL
in OSG... it's quite easy in fact. (The only complication I faced was to
provide plugins to read various form of audio files [but .wav and .ogg are
really easy]). I can provide you some sample code if you're
When compiling with Visual Studio 2005, *.manifest files are created for
every .dll or .exe file... for some projects, this manifest file is directly
embedded in the target file itself (the dll or the exe file), yet, if I
remember well, it is the case for OSG... so you should have to put all the
Hello there,
I'm trying to build a full debug version of my application, and I'm facing a
strange problem : when linking againsthe debug version of OpenThreads on
windows, I have an error in the HandleHolder destructor (in handleholder.h)
when deleting some OpenThreads::Mutex objects.
The
hmmm... well, in fact, the same happens with the release version of
OpenThreads... I guess I have a big problem somewhere, but I don't see how
you could help :-( snif... I starting to hate multithreading... lol
Emmanuel.
-- Forwarded message --
From: Emmanuel Roche [EMAIL
Hello again,
I solve the problem for OpenThreads ( simple deletion order question :-) ),
but now I'm facing something else :
while analyzing my application with a memory analyzing software, I saw that,
deleting a RenderSurface object doesn't automatically delete an owned
VisualInfo object if
Hi there...
I think a lot of people are facing the same problem than me:
- My application is multithreaded
- I may use multiple 3D windows, with multiple views, based on a single
OSG graph (multiple threads accessing the graph to draw)
- I have a script thread performing modifications on the
,
The osgUtil::Simplifier can only simplify individual osg::Geometry, it
won't group separate geometries together and simplify them as a group.
Robert.
On 4/10/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello there,
I'm facing a really strange situation :
I've got a model I'm trying to run osgsimplifier
or maybe it has something to do with STATIC (DataVariance) objects not being
simplified ?
-- Forwarded message --
From: Emmanuel Roche [EMAIL PROTECTED]
Date: 10 avr. 2007 13:49
Subject: Re: [osg-users] OSG simplifier question...
To: osg users osg-users@openscenegraph.net
Okay
Hello !!
I'm trying to generate the tangent,binormal,normal base for a GLSL parallax
shader. I would need to provide the tangent and binormal vectors as
attribute (in GLSL grammar)... I checked OSG source : apparently I need to
use the TangentSpaceGenerator class to build the arrays, but then,
for
performance reasons. This area is a bit of an oddity in OpenGL.
Robert.
On 4/11/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello !!
I'm trying to generate the tangent,binormal,normal base for a GLSL
parallax
shader. I would need to provide the tangent and binormal vectors as
attribute (in GLSL
Hi,
I'm using the TangentSpaceGenerator on a sphere geometry (one primitiveset
in Triangle_strip), and I added a small part of the result to the end of
this mail : is it correct that some points have a null normal (0,0,0)
regards,
Emmanuel.
10:58:37: INFO: The normal is:
is undefined.
Robert.
On 4/11/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hi,
I'm using the TangentSpaceGenerator on a sphere geometry (one
primitiveset
in Triangle_strip), and I added a small part of the result to the end of
this mail : is it correct that some points have a null normal
(0,0,0
! Hence the need for the built-in attribute
variation)
cheers
-- mew
Emmanuel Roche wrote:
Okay, in this case, is someone aware of a solution to access those
attributes in GLSL anyway through their index ? I guess I'm not the
first one trying to use attributes no lol ?
I think there is one
Hi there, I'm still with my multithreading questions :-)
I'm testing two scenarios :
1) First case: (witness case)
- I create a thread 1, create a Producer::RenderSurface, but do NOT realize
it.
- In thread 1, I start an other Thread 2.
- In thread 2, I realize the previous RenderSurface, I
Okay, so this just normal, and we can't do anything about it. Thanks for the
answer Paul, I just wanted to be sure :-)
regards,
Emmanuel.
2007/4/17, Paul Martz [EMAIL PROTECTED]:
2) Second case: (problem)
- I create a thread 1, create a producer::RenderSurface and DO realize it
in this
Hello there,
I've been trying to compile the static version of OSG 1.9.4 with Cmake on
WinXP, MSVC 2003 .NET (settings Dynamic OSG and Dynamic OpenThreads to OFF
in CMake configuration) but unfortunately it's not working: as far as I can
say the preprocessor defines OSG_LIBRARY_STATIC are not
Hello there !!
I'm still trying to build the static version of OSG (on WinXP, MSVC 2003
.NET), I built the core libs, the common plugins, retrieved the mangled
names in those plugins, forced the link in the osganimate sample and tried
to start the program, I suppose the plugins libs I added are
I try to read a bit more the code sources:
the problem comes from the
static ref_ptrGraphicsContext::WindowingSystemInterface
s_WindowingSystemInterface;
not being set correctly. but where is the default value fixed for this
object ?
Manu.
2007/5/21, Emmanuel Roche [EMAIL PROTECTED
reference the
include/osgVewier/api/GraphicsWindowWin32, X11 or Carbon (which ever
is native).
This is the same issue as for the plugins that autoregister to are
loosely coupled.
Robert.
On 5/21/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello there !!
I'm still trying to build the static version
software ?
2) is it possible (and tested ?) to build static OSG libs under linux ?
Manu.
2007/5/21, Emmanuel Roche [EMAIL PROTECTED]:
Okay, thanks for the info Robert: that's the location I was looking for.
You're right, now I just have to test the same force symbol include than
for the plugins
to the
RegisterDotOsgWrapperProxy Text_Proxy object. (another thing is that the
compile doesn't complain if I omit freetype219.lib... very strange...). Do
you have any idea what's missing ?
Manu.
2007/5/21, Robert Osfield [EMAIL PROTECTED]:
On 5/21/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Youuhouuh
hmmm... well sorry :-) I've just realize that what's really missing is the
freetype plugin !!... I must have missed this one in Cmake configuration, do
not take the previous mail into account :-)
Manu.
2007/5/21, Emmanuel Roche [EMAIL PROTECTED]:
hello again Robert,
I have compiled
, Is someone else working on this static build process or am I on
my own... ? I guess I have to find out a bit more about CMake and linux
symbols anyway...
regards,
Manu.
2007/5/23, Emmanuel Roche [EMAIL PROTECTED]:
Hello !
I'm trying to build this release of OSG on linux this time.
First
It's good ! the correction you made solved the problem for osgdepthshadow
sample ! :-)
Manu.
2007/5/23, Emmanuel Roche [EMAIL PROTECTED]:
Okay, the compilation is in progress...
Now, is there a simple way to force Cmake to build static libs for the
plugins ? I really don't understand
Okay, the compilation is in progress...
Now, is there a simple way to force Cmake to build static libs for the
plugins ? I really don't understand nothing to those files lol...
Manu.
2007/5/23, Robert Osfield [EMAIL PROTECTED]:
On 5/23/07, Emmanuel Roche [EMAIL PROTECTED] wrote
for the
plugins, it seems to always be the variable 'MODULE' :-).
I keep digging... :-)
Manu.
2007/5/23, Emmanuel Roche [EMAIL PROTECTED]:
It's good ! the correction you made solved the problem for osgdepthshadow
sample ! :-)
Manu.
2007/5/23, Emmanuel Roche [EMAIL PROTECTED] :
Okay, the compilation
, Emmanuel Roche [EMAIL PROTECTED]:
Concerning the build process for the plugins I think I finally have a
clue: everything seems to come to the function ADD_LIBRARY in the CMake
files...
for the core libs, the second parameter for this function can apparently
be SHARED or STATIC depending
.
osgviewer tells me that it can't find plugins or
windowsysteminterface, but hey you've been there before.
So how did you go about fixing these?
Robert.
On 5/23/07, Robert Osfield [EMAIL PROTECTED] wrote:
Hi Manu,
On 5/23/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
And changing this 'MODULE
osgDB26RegisterDotOsgWrapperProxyD1Ev
+ 1 osgDB26RegisterDotOsgWrapperProxyC1EPN3osg6Object...) but it doesn't to
work for the moment... :-(
Manu.
2007/5/24, E. Wing [EMAIL PROTECTED]:
On 5/23/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
And changing this 'MODULE' variable tout STATIC leads
)
are osg and osgParticle
Manu.
2007/5/24, Emmanuel Roche [EMAIL PROTECTED]:
Okay, here are some news:
- under linux we can use the command 'nm' to retrieve the symbol table
from a static library:
ie: nm libosgdb_osg.a osg.symbols will write the file osg.symbols
then we can retrieve
for the moment :-)
Manu.
2007/5/24, Robert Osfield [EMAIL PROTECTED]:
Hi Many,
On 5/24/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hmmm yet it works fine for plugin with their single
RegisterReaderWriterProxy object !! :-)
-- I managed to start osgviewer with a .ive file !!! :-D
So
Hello there,
I've just noticed that osg::Viewport::getViewport() isn't defined anymore
(in OSG 1.9.4 at least) (both definition with ints and doubles are inside
a #if 0 - #endif section...) Is this normal ???
Manu.
___
osg-users mailing list
the proxy
instantiation just to simplify the source code. Could you try this
as a quick hack and let me know how you get on.
The .osg plugin and its dozens of DotOsgWrappers is more of a
challenge, but will be solvable using something similar.
Robert.
On 5/24/07, Emmanuel Roche [EMAIL
In this case, I think we should add two functions: one to register the
readerwriter and an other to unregister it... no ? (I don't see how to
provide the same functionalities than the Register..Proxy in a single
function call...)
Manu.
2007/5/24, Emmanuel Roche [EMAIL PROTECTED]:
I'm
this is the most friendly solution to all coders, no ?
With good macros this could even become something like:
DECLARE_PLUGIN(ive)
main() {
REGISTER_PLUGIN(ive)
// do what you want
UNREGISTER_PLUGIN(ive)
}
Manu.
2007/5/24, Robert Osfield [EMAIL PROTECTED]:
On 5/24/07, Emmanuel Roche [EMAIL
2007/5/24, Robert Osfield [EMAIL PROTECTED]:
You can't unload a static plugin... so why would you want to unload
the readerwriter?
On 5/24/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
In this case, I think we should add two functions: one to register the
readerwriter and an other
:-)]
So, are you planning to had this C function to all plugins now ?...
I guess the same behavior could be used internally to register the
DotOsgWrappers too... I'll test that tomorrow.
Manu.
2007/5/24, Emmanuel Roche [EMAIL PROTECTED]:
2007/5/24, Robert Osfield [EMAIL PROTECTED]:
You
,
kernel 2.6.18, and running this in VMWare workstation 5.5.3 with a WinXP
host computer.
Manu.
2007/6/1, Emmanuel Roche [EMAIL PROTECTED]:
Hi Robert !
Sorry I took so long to answer, I was absent for a few days :-). Any way,
I tried the changes you made :
- The compilation went fine
Hi Robert !
Sorry I took so long to answer, I was absent for a few days :-). Any way, I
tried the changes you made :
- The compilation went fine, osgstaticviewer was created,
- First I noticed the function graphicwindow_X11 was commented in
osgstaticviewer.cpp,
- This function also had an empty
Hi again Robert,
concerning the self registering of the X11WindowingSystemInterface: no, if I
remove the stuff I added it's not working anymore... And I don't see how it
could work ? we are just calling an empty function in this case...
how do you know the X11WindowSystemInterface was
:-(...
Manu.
2007/6/1, Robert Osfield [EMAIL PROTECTED]:
On 6/1/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hi again Robert,
concerning the self registering of the X11WindowingSystemInterface: no,
if I
remove the stuff I added it's not working anymore... And I don't see how
it
could work
Hello there,
has someone already try to limit the framerate for a given osg::Camera ?
In fact, just starting to use OSG 1.9, I would like to build a window with
multiple Camera on the same openGl context, but with different refresh
rate... is this possible ? and what would be the better
Hello again...
I just wanted to know if there is a way to start an osgViewer::Viewer with
another function than run() which is blocking, isn't it ? Or do I have to
create a thread just to call this function ?...
Manu.
___
osg-users mailing list
is to
change the frame loop such the frame dispatch happens are a controlled
time. i.e.
while (!viewer.done())
{
myWaitTillNextFrameShoudlBegin();
viewer.frame();
}
Robert.
On 6/1/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello there,
has someone already try to limit
at this
updated solution yet :-)
Manu.
2007/6/1, Robert Osfield [EMAIL PROTECTED]:
On 6/1/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
okay, and in this case, is it possible / tested to have multiple viewers
on
the same OpenGL Context ?...
You can multiple views that share the same graphics context
Hello there !!
I'm playing a bit with this new viewer and noticed a strange behavior :
under windows, when I use a default fullscreen viewer I receive all key
events normally in a GUIEventHandler I added to my Viewer, but, if I try to
build a windowed viewer, adding the following code:
{
, call realize() here and only then call run() or frame() in thread
2 ? or should I do everything in thread 2 only ?
I'm still not understanding what's happening :-)...
Manu.
2007/6/5, Emmanuel Roche [EMAIL PROTECTED]:
Hello there !!
I'm playing a bit with this new viewer and noticed
to my
viewer object (I not used to those keywords yet sorry lol...) ?
Manu.
2007/6/5, Emmanuel Roche [EMAIL PROTECTED]:
In fact I guess this is still linking to the amulti threading issue : I'm
building by viewer in a Thread n°1 (- one call to createGraphicsContext()),
then I call run() in a second
-setViewport(new osg::Viewport(0,0, traits-width,
traits-height));
}
Now I will try moving this code to thread 1... as you said it should work
:-)
Manu.
2007/6/5, Emmanuel Roche [EMAIL PROTECTED]:
Okay... I made some more tests:
1) Preparing everything in thread 1 and calling realize() here
Hello,
I've successfully bind OSG 1.2 to Java before, to integrate an OpenGL
display in a Java frame (using JOGL...)... with OSG 1.9.x the good way to do
this would be to create a class GraphicsWindowJava I guess ? Have someone
already try this ?...
By the way, what is the state of the
Hello there...
just to be sure, the GraphicsWindowEmbedded system simply consists in
drawing a window with no border on the designed area, isn't it ?... In that
case its utility is really limited I think : there is no kind of integration
with the target windowing system (can't resize, hide/show
Hello,
I'm trying to build an high definition model with osgdem but I get this
error when trying to add texture data :
ERROR 1: Unable to compute a transformation between pixel/line
and georeferenced coordinates for ../128K_BMNG/level5/tx_0_1.png.
There is no affine transformation and no GCPs.
purposes...)
Manu.
2007/6/7, Emmanuel Roche [EMAIL PROTECTED]:
Hello,
I'm trying to build an high definition model with osgdem but I get this
error when trying to add texture data :
ERROR 1: Unable to compute a transformation between pixel/line
and georeferenced coordinates for ../128K_BMNG
running the GDAL commands for re-projecting the data, I'm afraid I
can't remember them off hand. Another thing you could try is to use
GDAL to convert to a GeoTiff and add the geo ref data in.
Robert.
On 6/7/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello,
I'm trying to build an high
with gdal_translate, e.g. I have saved this command for
myself:
#fix a tiff after its been through the gimp
gdal_translate -a_srs WGS84 -a_ullr 19.1 -32.2 19.2 -32.3 infile.tif
outfile.tif
cheers
jp
Emmanuel Roche wrote:
hmmm don't you really have any idea what the commands was like ? snif
:-(
Manu
By the way, does any one knows how to do this ? (convert GeoTiff elevation
to DEM... or tell osgDem GDAL than those .tif files contains elevation
data)...
Manu.
2007/6/7, Emmanuel Roche [EMAIL PROTECTED]:
Thanks ! this seem to work great :-)
now I just have to find how to convert my
after -d :-)
but even with something like -v 1 I sess strictly no elevation :-(...
Manu.
2007/6/7, J.P. Delport [EMAIL PROTECTED]:
Hi,
are you using them after -d or -t?
jp
Emmanuel Roche wrote:
By the way, does any one knows how to do this ? (convert GeoTiff
elevation to DEM
... but when trying to use
this in osgdem I've got infinite peaks even with small -v option... I
guess there is a problem in the readen data.
Does anybody knows where I coudl find free SRTM 90m data in USGS DEM format
on the net ???
Manu.
2007/6/7, Emmanuel Roche [EMAIL PROTECTED]:
after -d
By the way, sure CEGUI is not recommendable but is there another good
possibility you would recommend to build GUIs in OSG ?
Manu.
2007/7/3, Robert Osfield [EMAIL PROTECTED]:
Hi Guy,
The osgcegui example was my abortive attempt at getting CEGUI to work
in a well that integrates well with
stuff like image rescaling, how can I (is it even possible ?) build a gl
context in my auxiliary thread with no window support at all ?
Manu.
2007/7/5, Emmanuel Roche [EMAIL PROTECTED]:
Hello there...
I've just noticed I cannot rescale my images in the conditions I want: I'm
using an auxiliary
Hello there...
I've just noticed I cannot rescale my images in the conditions I want: I'm
using an auxiliary thread to execute scripts and in this script if I try
to call scaleImage on a just loaded picture I always have an openGl error :
not enough memory... ! except that this is not acceptable
24h ??? for 40 GB ??!... how are you doing this ? you have access to a
BlueGene computer or something like that ??!! :-)... From my side I need
days or even weeks to build the blue marble data (with imagery and elevation
only !!!)... (for example on a standard laptop with 2Gb of ram, Geforce
7950
Thanks for this information !
I guess the patch you're speaking about are simple compilation issues due
to changes in osg 2.0 API, or is there an official osgLua patch somewhere ?
Manu.
2007/7/13, Ole-Morten Duesund [EMAIL PROTECTED]:
We're using osgLua at work and we're very happy with
Hmmm... sorry for this question if it is a stupid one, but I really don't
know how to proceed:
suppose I have a void pointer (void* myObject for example) and the name
describing what this pointer is (osg::Geode for example)
is there a solution to build a osgIntrospection::Value from this
In fact, what I would need is a way to access the class using the name...
(like in java)... but I'm don't think this is possible... is it ? snif.
Manu.
2007/7/13, Emmanuel Roche [EMAIL PROTECTED]:
Hmmm... sorry for this question if it is a stupid one, but I really don't
know how to proceed
(void* !!!)
as far as I know... :-(
Manu.
The only possible escape I see for me would be to generate
2007/7/13, Ole-Morten Duesund [EMAIL PROTECTED]:
Emmanuel Roche wrote:
Thanks for this information !
I guess the patch you're speaking about are simple compilation issues
due to changes in osg
Hello there !!
I'm planning to use osgLua to integrate OSG in lua scripts from now on, but
I just wanted to ask before: did any one fully experience this before ? The
author says this is an experimental project, are there any known bugs or
memory leaks issue left ? On the whole : is this a good
internal type ( T ) would still be set to const void* :-( It there
really no way to solve this ???
Manu.
2007/7/13, Emmanuel Roche [EMAIL PROTECTED]:
In fact, what I would need is a way to access the class using the
name... (like in java)... but I'm don't think this is possible
Well... I'll be waiting then... :-) I have no other choose anyway :-D
Manu.
2007/7/16, David Callu [EMAIL PROTECTED]:
Hi Emmanuel,
I don't find good way to do what you want.
osgIntrospection::Value take a variable in constructor parameter
and reflect this variable. To
) to an osgIntrospection::Value
dynamically... snif.
Manu.
2007/7/16, Ole-Morten Duesund [EMAIL PROTECTED]:
Emmanuel Roche wrote:
There is still one major problem yet (at least for me) : you cannot mix
osg object built in lua with introspection and osg objects build in Lua
without introspection... and you
Hello ! as written in the title, it seems to me that the include directory
for osgViewer is missing in windows binaries (zipped version) for
OpenSceneGraph 2.0
Manu.
___
osg-users mailing list
osg-users@openscenegraph.net
Hello !!
Concerning osgIntrospection, I'm reading everywhere that I can generate the
wrappers for my own classes, can someone tell me where I can find
information on how to do this ? (and where can i find the wrapper
generator...)
Manu.
___
osg-users
Thanks !! I finally found something :-)
Manu.
2007/7/18, Robert Osfield [EMAIL PROTECTED]:
Hi Manu,
Have search on the wiki for genwrapper.
On 7/18/07, Emmanuel Roche [EMAIL PROTECTED] wrote:
Hello !!
Concerning osgIntrospection, I'm reading everywhere that I can generate
the
wrappers
78 matches
Mail list logo