Re: [osg-users] Problem with .3ds files.

2008-01-10 Thread Alberto Luaces
El Thursday 10 January 2008 07:26:43 Omkaranathan escribió: Is there any tool available to transfer the per-vertex material colour to OpenGL colour(instead of default white) while converting to any of the OSG supported formats? Or is there any other way by which I can overcome this? I don't

Re: [osg-users] Texture mipmapping parameters (Request)

2008-01-10 Thread Robert Osfield
Hi Art, I have considered implemented Texture LOD controls in the OSG before, but haven't actually had a direct need for them, so following the extreme programming principle of only implemented what you need I have left this one till there was a concrete need... looks like the time has come :-)

Re: [osg-users] osgVolume example bug?

2008-01-10 Thread Robert Osfield
Hi, I'm the author of the osgvolume example. Its just a quick prototype/proof of concept, and one I haven't touched in the last year or two so its a bit cold. The visual errors on the frame region you've observed aren't ones I've seen before, but then I've never played with a volume dataset

Re: [osg-users] Texture mipmapping parameters (Request)

2008-01-10 Thread Art Tevs
Hi Robert. Currently I am also overloaded. I was asked to help out with the upcoming Siggraph paper deadline to create an animation (of course with osg again ;-) ) I thought also in that direction, either to implement this as additional feature in the Texture class or as some extra

[osg-users] Getting the current frame number of an animation

2008-01-10 Thread Bart Kevelham
Hi all, I have created an animation at 25fps and I'm succesfully loading and playing the animation inside openscenegraph in loop mode. (Set up everything correctly with animation paths and the appropriate callbacks) I want to add some functionality to my program that requires the frame number of

Re: [osg-users] Getting the current frame number of an animation

2008-01-10 Thread Robert Osfield
Hi Bart, You can get the frame number form the osg::FrameStamp, you'll find this attached to the NodeVisitor that is traversing and calling the callbacks etc. Or just get it from the viewer. Robert. On Jan 10, 2008 9:55 AM, Bart Kevelham [EMAIL PROTECTED] wrote: Hi all, I have created an

Re: [osg-users] Texture mipmapping parameters (Request)

2008-01-10 Thread Robert Osfield
Hi Art, On Jan 10, 2008 9:16 AM, Art Tevs [EMAIL PROTECTED] wrote: Currently I am also overloaded. I was asked to help out with the upcoming Siggraph paper deadline to create an animation (of course with osg again ;-) ) I'd guess 90%+ of the community are overworked... just the life of a

Re: [osg-users] Getting the current frame number of an animation

2008-01-10 Thread Bart Kevelham
Hi Robert, Wouldn't that just give me the number of displayed frames by the viewer? So something I could use for a framerate counter for example? Bart. On 10/01/2008, Robert Osfield [EMAIL PROTECTED] wrote: Hi Bart, You can get the frame number form the osg::FrameStamp, you'll find this

Re: [osg-users] INT32 redeifinition with Win32 and VS8 binarypackage

2008-01-10 Thread Wojciech Lewandowski
Hi, Philip, FYI: All integral types in Win64 are the same size as they were in Win32. Only ptr types got promoted to 64 bit. See this article: http://blogs.msdn.com/oldnewthing/archive/2005/01/31/363790.aspx Cheers, Wojtek Lewandowski - Original Message - From: Philip Taylor [EMAIL

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Christophe Lombardo
Hi I have a msvc8 version of vpb 0.9.3. I found some straight forward equivalents for most of the posix functions, but I had to make rather rude stuff for others. I did not test this part (tasks and machines), but the project compiles and run fine on one single computer. I don't know whether

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
Hi JCL, I am just merging changes than JS submitted yesterday evening, I'm not merging all the suggested changes, rather merging the uncontroversial ones first, making other alternative ammendments for others. These changes are now checked in. A number of items are outstanding, such as the

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Christophe Lombardo
ok, fine for me. jcl This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses.

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 11:13 AM, Jean-Christophe Lombardo [EMAIL PROTECTED] wrote: ok, fine for me. The changes are now all checked in. Could you do an svn update on OSG and VPB and let me know how you get on. Also could you review the src/vpb/FileUtils.cpp file to see if the windows equivalents of

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Bonjour Jean-Christophe, I don't know whether this can be useful or not, nor how I can contribute. Let me know. Hehe, I would have liked to know this yesterday :-) I sent to osg-submissions the changed files to make VPB from SVN compile cleanly on Windows yesterday. We'll see if they make

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hi Robert, A number of items are outstanding, such as the Windows versions of posix functions. JS has created a Utils file for these, I'm about to just start reviewing these. I'll follow JS's lead in collecting all these functions into one place, but I'll probably not follow the naming

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Christophe Lombardo
I still have 2 slight modifications to suggest on windows side: * in vpb/FileUtils I had to add a #include fcntl.h to define the O_RDWR flag with no leading _ * in vpb/FileUtils.cpp I think that vpb::sync() could be defined as void vpb::sync() { (void) _flushall(); } Jean-Sébastien, I'm

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hello Robert, Fingers crossed this should now mean VPB is ported back to windows, at least for basic osgdem functionality. Yep, seems so. osgdem still running... I probably should have chosen a smaller dataset as a first test. :-) Once I've completed some more work on VPB I'll do a write

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hello jcl, * in vpb/FileUtils I had to add a #include fcntl.h to define the O_RDWR flag with no leading _ Already done in the second batch of modifications (it was already in the #else, so we just moved it out of the #ifdef). * in vpb/FileUtils.cpp I think that vpb::sync() could be

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 1:45 PM, Robert Osfield [EMAIL PROTECTED] wrote: The changes are now all checked in. Could you do an svn update on OSG and VPB and let me know how you get on. I've just received, merged and submitted to SVN further update from J-S that tweak the changes I checked in earlier, so

[osg-users] bug in osgManipulator example

2008-01-10 Thread Scene Maker
There is a bug in the osgManipulator example file osgmanipulator.cpp. On line 192 a local variable is created. osgUtil::LineSegmentIntersector::Intersections intersections; A member variable keeps a pointer to this variable _pointer.addIntersection(hitr-nodePath, hitr-getLocalIntersectPoint());

[osg-users] boost serialization

2008-01-10 Thread Emmanuel Roche
Hi every one, I'm just wondering if any one as never think about using Boost serialization framework to write/read OSG files ? I'm working on this question, and until now I'm rather amazed: - Sure, on one side you need to have a Boost dependency somewhere, - And I haven't done any performance

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 3:16 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Yep, seems so. osgdem still running... I probably should have chosen a smaller dataset as a first test. :-) If its a dataset with DEM's try adding --terrain to the command line, it builds much, much faster using

Re: [osg-users] boost serialization

2008-01-10 Thread Robert Osfield
Hi Manu, In recent VPB work I have actually experimented with this approach, its not full blown like in boost codes, but it's a step along the way, and certainly much cleaner than the existing .osg and .ive codes. BTW, have you considered automatically generating the .cpp file using

Re: [osg-users] osgShadow::ShadowMap not reacting to changes

2008-01-10 Thread Jean-Sébastien Guay
Hello Andreas, have you run the project with OSG_NOTIFY_LEVEL=debug? There you can see, if your shader-program is faulty. Thanks for the tip, we're making progress here. When running my program with OSG_NOTIFY_LEVEL=DEBUG, I can see that the shader is never even compiled! If I do the same

Re: [osg-users] VPB in SVN

2008-01-10 Thread Paul Martz
I just wanted to thank all involved for the work on this. Bob and I wanted to use SVN head of VPB for the upcoming terrain training January 24, but aborted that idea and went back to 0.9.1 when we encountered the Windows issues. I was reluctant to bite off porting it with so much to do between

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 3:15 PM, Jean-Christophe Lombardo [EMAIL PROTECTED] wrote: I still have 2 slight modifications to suggest on windows side: * in vpb/FileUtils I had to add a #include fcntl.h to define the O_RDWR flag with no leading _ Already checked in. * in vpb/FileUtils.cpp I think that

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hi Robert, The --terrain functionality is very early days though (checked in yesterday) so there are still a few loose ends, but its certainly enough to have a first pass look. Cool, I'll try that out. Yep, you can use multiple cores, and multiple machines, or multiple cores on one

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hi Paul, Bob and I wanted to use SVN head of VPB for the upcoming terrain training January 24, but aborted that idea and went back to 0.9.1 when we encountered the Windows issues. I was reluctant to bite off porting it with so much to do between now and the course. That was actually my

Re: [osg-users] INT32 redefinition with Win32 and VS8binary package

2008-01-10 Thread Somerville, Andrew
Hi J-S, I'm running VS8/2005 on XP. The warning shows the conflict with the VS8 sdk file: microsoft visual studio 8\vc\platformsdk\include\basetsd.h I'm guessing the problem might only show up in certain situations. It is possible that the jmorecfg.h and the basetsd.h file are only included

[osg-users] About virtualplanetbuilder

2008-01-10 Thread GuiYe
Hello,I want to ask two questions: 1. Where I can get the last version of virtualplanetbuilder? I found that the URL: svn checkout http://www.openscenegraph.org/svn/VirtualPlanetBuilder/tags/VirtualPlanetBuilder-0.9.1 VirtualPlanetBuilder svn checkout

Re: [osg-users] About virtualplanetbuilder

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 4:15 PM, GuiYe [EMAIL PROTECTED] wrote: Hello,I want to ask two questions: 1. Where I can get the last version of virtualplanetbuilder? I found that the URL: svn checkout http://www.openscenegraph.org/svn/VirtualPlanetBuilder/tags/VirtualPlanetBuilder-0.9.1

Re: [osg-users] INT32 redefinition with Win32 and VS8binary package

2008-01-10 Thread Jean-Sébastien Guay
Hello Andrew, I'm guessing the problem might only show up in certain situations. It is possible that the jmorecfg.h and the basetsd.h file are only included together in certain development situations (and perhaps not, for example, when compiling OSG itself) That's probably the case,

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hello Robert, If its a dataset with DEM's try adding --terrain to the command line If that gives me a file which doesn't display anything (when given to osgviewer) does that mean that --terrain didn't work, or does it mean that the dataset didn't have DEMs? I *think* I'm using geotiffs

Re: [osg-users] About virtualplanetbuilder

2008-01-10 Thread Jean-Sébastien Guay
Hello GuiYe At the same time , I want to know the last version of virtualplanetbuilder is 0.93? The last known-working version is 0.9.1, and the current SVN is 0.9.3 (which was updated to compile on Windows yesterday and today, but is not really tested). If you want to help testing,

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hello Robert, --terrain should work fine with imagery only databases, not seeing something suggests problems somewhere, but where? How knows with so little info to go on. Does the generated database run without if you don't use the --terrain option? Sorry for the little info, don't really

Re: [osg-users] osgVolume example bug?

2008-01-10 Thread Gerrick Bivins
Hi,If you are referring to the slices that you see, this is a typical artifact in volume rendering applications due to under-sampling (low number of polygon slices). A simple solution (not efficient though) is to increase the number of slices until the artifact goes away (usually

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 4:47 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Hello Robert, If its a dataset with DEM's try adding --terrain to the command line If that gives me a file which doesn't display anything (when given to osgviewer) does that mean that --terrain didn't work, or does it

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Christophe Lombardo
Jean-Sébastien Guay wrote: Is there any reference to the various formats that osgdem can use? I could wait until Paul and Bob's course, but I'm curious :-) As far as I understand, osgdem relies on gdal to read dem texture files. So osgdem supported formats are gdal ones and GEOTiff is

Re: [osg-users] INT32 redeifinition with Win32 and VS8binary package

2008-01-10 Thread Mike Weiblen
-Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: Wednesday, January 09, 2008 6:19 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] INT32 redeifinition with Win32 and VS8binary package ... To

Re: [osg-users] polytopeIntersector

2008-01-10 Thread Daniel Moos
Hi Gianluca You say you wish to get the nearest intersection with the PolytopeIntersector... I think the mistake is here: osg::NodePath nodePath = /*picker-getFirstIntersection()*/closestIntersection.nodePath; If you want to have the nearest intersection, you must get the first intersection

[osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
Hi Robert -- The bin mode parameter of setRenderBinDetails doesn't appear to be clearly documented. Looking into it, it's somewhat confusing. I'm hoping you can tell me what affect one should expect when setting one of INHERIT_RENDERBIN_DETAILS (default), USE_RENDERBIN_DETAILS, or

Re: [osg-users] New osgPPU NodeKit (RTT, multipass postprocessing), take a look!

2008-01-10 Thread Markus Hein
Hi Art, Cool, I am glad to hear that the library also runs on another machines. my Hardware at home is not the best for testing this (AGP8x, 7600GS) , but soon I will try get a new system with 2x 8800GT and a mainboard with 750i SLI Chipset. Today I can only render 512x512, else the

Re: [osg-users] VPB in SVN

2008-01-10 Thread Robert Osfield
On Jan 10, 2008 5:27 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: Sorry for the little info, don't really know what to give. The osgdem without --terrain just finished, it worked and looks great. Running with --terrain ran a lot faster, but I can't see anything in osgviewer with the

Re: [osg-users] polytopeIntersector

2008-01-10 Thread Robert Osfield
HI Gianluca, In the 2.3.x dev release and SVN of the OSG there are improvements to the PolytopeIntersector that might help you so it'd be worth trying out over using 2.2 Robert. On Jan 10, 2008 5:46 PM, Gianluca Natale [EMAIL PROTECTED] wrote: Hi all! I'm trying to use a

Re: [osg-users] VPB in SVN

2008-01-10 Thread Jean-Sébastien Guay
Hello Robert, Any chance you could make available the data and osgdem commndline you've used? I've put the data at http://whitestar02.webhop.org/files/OSG/NED_59396523.zip It's about 24MB. I'll remove it once you've gotten it... It comes from http://seamless.usgs.gov/, as instructed

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Martz wrote: | Hi Robert -- The bin mode parameter of setRenderBinDetails doesn't appear to | be clearly documented. Looking into it, it's somewhat confusing. I'm hoping | you can tell me what affect one should expect when setting one of |

[osg-users] Intersection using C#

2008-01-10 Thread Ke Li
Hi all, I'm using C# to implement picking in OSG for my project. I created a OsgUtil.PolytopeIntersector object (picker) in my pick method and registered it to a OsgUtil.IntersectionVisitor. The picker seems to work when I called OsgUtil.PolytopeIntersector.Intersection intersection =

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
Stare hard at CullVisitor::pushStateSet :) Been there. :-) But with the info you've provided, perhaps a second stare is in order. Thanks. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Blue Marble example

2008-01-10 Thread Michael W. Hall
I am looking at the Blue Marble example that come with the source. I have a question about the createWorld function. The first line of the function they are getting a readerwriter. They make a call to getReaderWriterForExtension(gdal). What is this extension and how do you know what extensions

Re: [osg-users] New osgPPU NodeKit (RTT, multipass postprocessing), take a look!

2008-01-10 Thread Art Tevs
Hi Markus, my Hardware at home is not the best for testing this (AGP8x, 7600GS) , but soon I will try get a new system with 2x 8800GT and a mainboard with 750i SLI Chipset. Today I can only render 512x512, else the framerate is going down under 10 Hz. It should run much faster on a

[osg-users] SKYBOX ?

2008-01-10 Thread ümit uzun
Hi All; I want to skybox for surround my terrain! How can I do ? Which way is the easiest? And is there any example? I have try to make a skybox looked at the osgtexture2D.cpp . Is it good way to do or not? _ Windows Live

Re: [osg-users] SKYBOX ?

2008-01-10 Thread Jean-Sébastien Guay
Hello ümit, I want to skybox for surround my terrain! How can I do ? Which way is the easiest? And is there any example? I don't believe there is any example of this in OSG right now. This has come up a few times recently on the list. Here is some code I developed to create a skybox out

Re: [osg-users] About virtualplanetbuilder (Robert Osfield)

2008-01-10 Thread GuiYe
Hello,Rebert! Thanking for your answering! When can I use the virtualplanetbuilder 0.93 in windows? I hope that you can give us a detailed document about how to use the virtualplanetbuilder 0.93 when the virtualplanetbuilder 0,93 is release.Waiting for your good news!

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
Thanks, Tim -- Now that I've had a closer look, let me regurgitate what you said. Tell me if it seems I'm missing something. CullVisitor encounters a Node, and it's StateSet bin mode is: - INHERIT: The CullVisitor does not change the current RenderBin, and continues traversal. - Not INHERIT

[osg-users] OSG Training

2008-01-10 Thread Paul Martz
Hi all -- Just another reminder about the upcoming OSG Training courses in Washington DC, Jan 22-24. You can register online here: http://www.skew-matrix.com/training.asp If your company would like to pay using a PO, we can accommodate that. Please contact me directly. Thanks, Paul Martz 303