Re: [osg-users] Rendering to a texture only

2007-10-15 Thread J.P. Delport
Hi, wrt question 1: you could look at Mesa (www.mesa3d.org) and use their OSMesa (off-screen) library. It is a software-only (obviously slow compared to hardware) OpenGL 2.1 implementation and works well with OSG. This will allow you to render to main memory in the PC. jp Williams Steven-ASW0

Re: [osg-users] About some parameters in osgdem.

2007-10-15 Thread christophe loustaunau
Hello, You could find all the options of osgdem in osgdem.cpp : -v : Set the vertical multiplier Christophe. 2007/10/16, 方之 <[EMAIL PROTECTED]>: > > > Hello all : > What's the meaning about parameters -v in osgdem? > like this -l 8 -v 0.1 -o puget.ive -a pegout.osga >

[osg-users] About some parameters in osgdem.

2007-10-15 Thread 方之
Hello all : What's the meaning about parameters -v in osgdem? like this -l 8 -v 0.1 -o puget.ive -a pegout.osga thank you ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.or

[osg-users] Linking Error

2007-10-15 Thread care
If there is a Kaspersky in your program,close it and compile again.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] osgText - shimmer...wavy

2007-10-15 Thread sherman wilcox
I'm using osgText with the character size mode of OBJECT_COORDS_WITH_MAXIMUM_SCREEN_SIZE_CAPPED_BY_FONT_HEIGHT. The text is position on an ellipsoid model with ECEF coordinates. When the text is smaller than the maximum font height I notice that the text is somewhat wavy when I zoom in and out. Sor

Re: [osg-users] Writting to files

2007-10-15 Thread Ulrich Hertlein
Quoting James Dickson <[EMAIL PROTECTED]>: > I have been trying to write to various file formats, and whilst I am able to > read from different formats, writing doesn't seem to be possible for some > formats. Only a few file formats actually support writing at all. These include: ac dae ive obj os

Re: [osg-users] Performance Windows (Visual Studio) compared to MAC OS/X

2007-10-15 Thread sherman wilcox
Ummmthis looks suspicious. Same hardware yet different times on the Windows platform? What about checked iterators under 2005? Are you disabling those? Checked iterators: http://msdn2.microsoft.com/en-us/library/aa985965(VS.80).aspx With checked iterators, you'd need to disable them for the O

Re: [osg-users] Did anyone compile osg 2.2 with MINGW?

2007-10-15 Thread Michele Bosi
Just to add my 2 cents: apparently I didn't have any problems to compile the txp plugin with osg 2.2 under mingw (Current). I am using the DOS shell to compile it and not MSYS (even though it would be nice but cmake is unable to generate makefiles for msys, or I didn't configure something properly.

Re: [osg-users] Did anyone compile osg 2.2 with MINGW?

2007-10-15 Thread Antoine Hue
Robert Osfield wrote: > Hi Antoine, > > On 10/13/07, Antoine Hue <[EMAIL PROTECTED]> wrote: > >> Under 2.2, I get a compiling error of the TXP plugin. Compiler is not >> able to find includes because: >> - 1- local includes are written as #include <> and not #include "" >> -2- compiler does not

[osg-users] hello

2007-10-15 Thread 刘石锦
Hello osg-users, hello,I am learning osg. Best regards, 2007-10-16 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Writting to files

2007-10-15 Thread James Dickson
Hi, I have been trying to write to various file formats, and whilst I am able to read from different formats, writing doesn't seem to be possible for some formats. I just wondered if anybody knew if any of the plugins that supported a file type that could be viewed in 3dsmax had the writing part

Re: [osg-users] Texture Memory Runtime Cleanliness

2007-10-15 Thread Argentieri, John-P63223
Looks like the object whose stateset has the texture as an attribute must be destroyed in order to release the texture? Maybe creating a new stateset and setting it on the object will have the same effect. Regardless, it looks like my issue has been resolved. You guys make a great product. Joh

Re: [osg-users] OpenGL.org says ... OSG does...

2007-10-15 Thread Paul Martz
(Maybe I missed a discussion leading up to this post...?) Interesting. I wonder why the OpenGL man pages recommend this without any qualification. Certainly the order is not a strict OpenGL requirement. I don't think it would be a performance issue either. Weird. Paul Martz Skew Matrix Software

[osg-users] Rendering to a texture only

2007-10-15 Thread Williams Steven-ASW036
I'd like to render to a texture only, not to the screen. The computer (PC or unix) may not have a graphics card. Is this possible with OSG, or even OpenGL in general? - If so, how do I render once my scene and texture camera is setup, assuming I cannot use viewer's setSceneData/realize/frame cal

[osg-users] gentoo packages

2007-10-15 Thread Cedric Pinson
I added package for release 2.2 for gentoo users here http://code.google.com/p/mornifle-gentoo-package/ Cedric -- +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[EMAIL PROTECTED] http://www.plopbyte.net ___ osg-users mailing list osg-users@lists.opensc

Re: [osg-users] (no subject)

2007-10-15 Thread Paul Melis
Silvère Besse wrote: >in the daily builds : >OpenSG\Source\System\FieldContainer\OSGFieldDescription.cpp >is missing, no way to compile :( > > Looks like you posted to the mailing list of the wrong scene graph ;-) Try the one at www.opensg.org Paul __

Re: [osg-users] New binaries

2007-10-15 Thread E. Wing
I uploaded the OS X binary last week, but I have been unable to change the downloads page to reflect it. Even with the password Jose setup for me, I am not given the edit button for the downloads page. The binary is located here: http://www.openscenegraph.org/files/OpenSceneGraph-2.2.0/OpenSceneGr

[osg-users] (no subject)

2007-10-15 Thread Silvère Besse
in the daily builds : OpenSG\Source\System\FieldContainer\OSGFieldDescription.cpp is missing, no way to compile :( Regards, Silvere. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-ope

[osg-users] OpenGL.org says ... OSG does...

2007-10-15 Thread Schmidt, Richard, SDGE1
Call glColorMaterial before enabling GL_COLOR_MATERIAL. http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/ colormaterial.html osg: void Material::apply(State&) const { ... glEnable(GL_COLOR_MATERIAL); glColorMaterial(GL_FRONT_AND_BACK,(GLenum

[osg-users] Texture Memory Runtime Cleanliness

2007-10-15 Thread Argentieri, John-P63223
Folks, I really need to resolve this issue. I am using multiple windows, created not by realize(), but by our application, similar to if I were to use GraphicsWindowEmbedded. Each window has a context that shares with a dummy context. These contexts are managed by a class I wrote that makes OpenGL

Re: [osg-users] New binaries

2007-10-15 Thread Robert Osfield
On 10/10/07, Mike Weiblen <[EMAIL PROTECTED]> wrote: > Yes, I've tried unsuccessfully to edit the downloads page, but it has a > separate password for security. > Hopefully someone cool enough can add links to the available binaries. Jose should be able to provide you with a password. Once I catc

Re: [osg-users] Debian packages for OSG 2.2 uploaded

2007-10-15 Thread Robert Osfield
Hi Cryil, Thanks to Loic and yourself for getting the 2.2 binaries up. W.r.t build fix, could you post a fix to the osg-submissions list so I have I can get this integrated in the SVN version and part of the future 2.2.1 release. Cheers, Robert. On 10/10/07, Cyril Brulebois <[EMAIL PROTECTED]>

Re: [osg-users] Slave cameras in a view

2007-10-15 Thread Robert Osfield
Hi Karl, Have a look at the osgwindows example, or the View::setUpViewAcrossScreens() source code in src/osgViewer/Viewer.cpp. On 10/10/07, Karl Heijdenberg <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to add two cameras to one View in compositeViewer. > The first camera is added as a master c

Re: [osg-users] Bad representation with the osgViewer::View SKY_LIGHT

2007-10-15 Thread Robert Osfield
You can control the ambient light via the View(er).getLight() object. Or just control things via a osg::LightSource placed in your scene. See osglight example. On 10/10/07, Tobias Münch <[EMAIL PROTECTED]> wrote: > I have a problem with the lighting mode in OSG 2.0. > > The SKY_LIGHT of the old o

Re: [osg-users] osgPick does not using stereo for HMD or VERTICAL_SPLIT

2007-10-15 Thread Robert Osfield
Hi Panagiotis, This is a problem with the stereo being done a such a low level inside SceneView, something that the picking code is totally unware of. I guess one might be able to autodetect this a provide a work around. The best solution will come when all stereo is implementated at a high leve

Re: [osg-users] isImageTranslucent

2007-10-15 Thread Robert Osfield
On 10/8/07, DC Fennell <[EMAIL PROTECTED]> wrote: > Is there anything planned on making Image::isImageTranslucent work for > compressed textures? Nothing planned at present. Feel free to chip in an implementation. ___ osg-users mailing list osg-users@li

[osg-users] Back from a trip, but still just in lurk mode

2007-10-15 Thread Robert Osfield
Hi All, I'm just back from a week away with little internet access. I remain busy on dev work so I'll largely stay in the shadows this week, I'll pop occasionally and slowly try and catch up with email backlog but will in general continue to keep my head low and get on with work here. Thanks to

Re: [osg-users] Did anyone compile osg 2.2 with MINGW?

2007-10-15 Thread Robert Osfield
Hi Antoine, On 10/13/07, Antoine Hue <[EMAIL PROTECTED]> wrote: > Under 2.2, I get a compiling error of the TXP plugin. Compiler is not > able to find includes because: > - 1- local includes are written as #include <> and not #include "" > -2- compiler does not like -I/src/osgPlugins/txp/. =>

Re: [osg-users] Window resize

2007-10-15 Thread Stephan Maximilian Huber
Johan Johnsson schrieb: > Platform: Mindows OS > > > // Fill the traits structure and get the GraphicsContext for the MAIN > window > osg::ref_ptr traits = new > osg::GraphicsContext::Traits; > traits->screenNum = 0; > traits->doubleBuffer = true; > traits->sharedContext = 0; > trai

Re: [osg-users] Window resize

2007-10-15 Thread Johan Johnsson
Platform: Mindows OS // Fill the traits structure and get the GraphicsContext for the MAIN window osg::ref_ptr traits = new osg::GraphicsContext::Traits; traits->screenNum = 0; traits->doubleBuffer = true; traits->sharedContext = 0; traits->windowDecoration = true; traits->width

Re: [osg-users] Window resize

2007-10-15 Thread David Callu
Hi Johan, HI Adrian Can you give more info on your platform? Can you develop why now the dimension is locked? Which method did you use ? David 2007/10/15, Johan Johnsson < [EMAIL PROTECTED]>: > > On Mon, 15 Oct 2007 11:40:53 +0200, Adrian Egli < [EMAIL PROTECTED]> wrote: > > think y

Re: [osg-users] How to view .ive file on Web(use IE)? (xyc508)

2007-10-15 Thread Miao
hello, osgax project looks frozon. Maybe you have to port it by yourself. - Original Message - From: xyc508 To: OpenSceneGraph Users Sent: Monday, October 15, 2007 6:48 PM Subject: Re: [osg-users] How to view .ive file on Web(use IE)? (xyc508) Hhello, The current osgax s

[osg-users] how to find out which CameraMainpulator was used when having multiple views and manipulators

2007-10-15 Thread Tobias Münch
Hello to all osg-users I have an application with several parallel views on one scene. Each view has it's own CameraManipulator (UfoManipulator). When one view is changed through user interaction by the manipulator, it should also have an effect on the other views. For realizing this, I need a fee

Re: [osg-users] Level of Detail

2007-10-15 Thread Carlos Zoido
Hi, I think maybe you get some useful ideas from this link: http://www.vterrain.org/LOD/Implementations/ One fast way of doing it is to segment your complex geometry in parts but you have to take care with joints, in that link you'll find some information about that. Regards, Carlos. On 10/

Re: [osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
How can I describe my problem? I have a model loaded. This model i simplify with the OSG::Simplifier Now I want to display the nearer Triangles of the Model from the original Model and the triangles with a higher distance from the simplified model. To do this, i want to use a LOD::Node. Am Monta

Re: [osg-users] Level of Detail

2007-10-15 Thread wangmiao
I have no idea what exactly you want, maybe you can give a little more detail of your problem. - Original Message - From: "Daniel Moos" <[EMAIL PROTECTED]> To: "OpenSceneGraph Users" Sent: Monday, October 15, 2007 5:12 PM Subject: Re: [osg-users] Level of Detail > Thanks for your fast

[osg-users] Problem with DrawPixels

2007-10-15 Thread adorn
Hi, I have a smal problem using DrawPixels. I wrote a smal client server application. The client uses Image->readPixel to get the pixel data from the memory. Than the client sends this pixel data to the server. The server receives the pixel data and has to display it like OpenGL glDrawPixel. If

Re: [osg-users] Window resize

2007-10-15 Thread Johan Johnsson
On Mon, 15 Oct 2007 11:40:53 +0200, Adrian Egli <[EMAIL PROTECTED]> wrote: think you got me wrong , i dont want to change the dimensions that the window initializes to, i want to make the window to be resizeable during the exekvation, because now the dimension is locked, i cant rezise it. >

Re: [osg-users] How to view .ive file on Web(use IE)? (xyc508)

2007-10-15 Thread xyc508
Hhello, The current osgax support osg 0.9.6 only, is there the osgax support osg 2.0? 在2007-10-15,"Adrian Egli" <[EMAIL PROTECTED]> 写道: Sorry, the plugin produce a reboot on my machine, i guess there is a problem on multithreaded env. /adegli 2007/10/15, Miao <[EMAIL PROTECTED] >:hello,Michae

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
Look into the source code, who it's done there. 2007/10/15, Adrian Egli <[EMAIL PROTECTED]>: > > UNIX/OSX/LINUX > export OSG_WINDOW=50 50 200 50 > > Windows > set OSG_WINDOW=100 100 512 512 > > 2007/10/15, Johan Johnsson <[EMAIL PROTECTED] >: > > > > When the process runs in windowed mode, it is n

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
UNIX/OSX/LINUX export OSG_WINDOW=50 50 200 50 Windows set OSG_WINDOW=100 100 512 512 2007/10/15, Johan Johnsson <[EMAIL PROTECTED]>: > > When the process runs in windowed mode, it is not possible to modify the > size of the window. > It should be possible to resize the window by standard MS Windo

Re: [osg-users] picking/selecting invisible objects

2007-10-15 Thread Michele Bosi
Ciao Alessandro, I did something very similar to what you are saying activating backface culling for both front and back faces this way the overhead on the graphic card should be minimal, even less than activating the alpha blending to zero: osg::CullFace* cull= new osg::CullFace(osg::CullFace::FR

[osg-users] Window resize

2007-10-15 Thread Johan Johnsson
When the process runs in windowed mode, it is not possible to modify the size of the window. It should be possible to resize the window by standard MS Windows conventions. why does this occur and how can i fix this irritating problem? has it something to do with the traits struct? -- Mr. Joh

Re: [osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
Thanks for your fast answer! It works very well! But... I have an other question about LOD-Nodes. I can use a LOD to display a Model with a specified distance. To calculate the distance the bounding-box of the model is used. So i can set a complete model visible or invisible. Give it a way to ca

Re: [osg-users] Doc ref_ptr

2007-10-15 Thread christophe loustaunau
Thanks Mike, that's it. Since I have post, I have found the article I was looking for. And I have put this link in the OSG wiki with some others articles written by Don Burns. If someone need it, it's here : http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase Thanks. Christophe

Re: [osg-users] Doc ref_ptr

2007-10-15 Thread Mike Connell
Hi Christophe, I don't know the current link, but you can read the article here: http://web.archive.org/web/20060504013641/http://dburns.dhs.org/OSG/Articles/RefPointers/RefPointers.html /Mike christophe loustaunau wrote: /Hi all ! I search for the article that/ Don Burns wrote about ref poi

Re: [osg-users] How to view .ive file on Web(use IE)? (xyc508)

2007-10-15 Thread Adrian Egli
Sorry, the plugin produce a reboot on my machine, i guess there is a problem on multithreaded env. /adegli 2007/10/15, Miao <[EMAIL PROTECTED]>: > > hello, > > MichaelGronager > make > a ActiveX wrapper control . > http:

Re: [osg-users] Performance Windows (Visual Studio) compared to MAC OS/X

2007-10-15 Thread Adrian Egli
Yes, Paul: equals is the image output. ... and the kd-tree should be equal, i summed up for each node the depth and also for the leaves. everything is equal. /but the perf not ... i working with float for all values. i don't understand why it's not at all equal the nbr of tests. but the performa

Re: [osg-users] Level of Detail

2007-10-15 Thread wangmiao
The Lod node is used to manage a series of model node, you can attech models to it.But it will not simplify models for you. You need osgUtil::Simplifier to do it.Here is a simple example. osgUtil::Simplifier sm; sm.setDoTriStrip(false); sm.setMaximumError(FLT_MAX); sm.setMaxi

Re: [osg-users] Performance Windows (Visual Studio) compared to MAC OS/X

2007-10-15 Thread Paul Melis
Adrian Egli wrote: > Hi all, > > same code, allways default project settings, release, same CPU/RAM/... > windows native and os/x native dual boot > > what you think about this results are equal, but computing time With "results" I assume you mean the image output? As the number of

Re: [osg-users] Level of Detail

2007-10-15 Thread Alberto Luaces
El Monday 15 October 2007 09:00:13 Daniel Moos escribió: > Hello Everybody. > > This User-Group is great... Thanks to all! > > I have a question about LOD (Level of Detail). I have a complex model to > load. The performance isn't good enough with such a complex model. > I want an LOD-Node in my pro

Re: [osg-users] OpenThreads doc?

2007-10-15 Thread Alberto Luaces
Ben, you can easily get the doxygen docs going to the OpenThread's "docs" directory and running doxygen doxyfile I can also email the result to you, if you are having trouble. Alberto El Monday 15 October 2007 03:33:34 Ben Discoe escribió: > I posted this message 6 weeks ago, no response... d

[osg-users] Performance Windows (Visual Studio) compared to MAC OS/X

2007-10-15 Thread Adrian Egli
Hi all, same code, allways default project settings, release, same CPU/RAM/... windows native and os/x native dual boot what you think about this results are equal, but computing time MAC OS/X XCode **

[osg-users] Level of Detail

2007-10-15 Thread Daniel Moos
Hello Everybody. This User-Group is great... Thanks to all! I have a question about LOD (Level of Detail). I have a complex model to load. The performance isn't good enough with such a complex model. I want an LOD-Node in my program to display this complex model. Give it a way to simplify a mod