Re: [osg-users] Open Asset Import Library

2012-06-07 Thread Smelik, R.M. (Ruben)
And 2 positive cents for Open Asset Import Library, we've successfully used it in the past to import various 3D models (.3ds, .obj, etc.). As far as I know, it does not support model exports. Kind regards, Ruben -Original Message- From: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] OSG dotNet wrapper for osg 3.1.1 version

2012-05-05 Thread Smelik, R.M. (Ruben)
Hi Vishwa, I think OSGDotNet is not maintained anymore. But it is very straightforward to include a form for OSG rendering within a C# application. You'll need to create C++/CLI project for your 3D visualisation, an example of this can be found in the attachments at the bottom of this page

Re: [osg-users] VBO Bug ?

2011-11-23 Thread Smelik, R.M. (Ruben)
Great, that is good to hear. Thanks for reporting the issue to NVidia. Kind regards, Ruben -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Wojciech Lewandowski Sent: woensdag 23 november 2011 12:52

Re: [osg-users] VBO Bug ?

2011-10-13 Thread Smelik, R.M. (Ruben)
Dear Wojtek et al., This mail reminded me of an issue I had a couple of years ago with VBO's on a particular Windows pc with a 9800GX2. I thought it was an issue of that PC, as it was quite unstable, so I didn't report the problem at that time. The solution I accidently found back then was to

Re: [osg-users] [Need Help] Entire 3d environment needs to be bump mapped.

2011-07-14 Thread Smelik, R.M. (Ruben)
Dear Zach, The older post are right. For bump-mapping, you'll need two things: a bump mapping shader and a normal map texture for each of the objects you'd like to bump map (assigned to a different texture unit than your diffuse texture, e.g. unit 1). The good thing of the scene graph

Re: [osg-users] Setting the reference location for LOD calcs for a camera

2011-07-07 Thread Smelik, R.M. (Ruben)
Hi Brad, We have done this with a custom CullVisitor that stores the eye position of the main camera and overrides the getDistanceToViewPoint to use that eye position for all LOD distance calculations. If there is an easier solution, I'd love to hear it :-) Kind regards, Ruben

Re: [osg-users] OpenSceneGraph-3.0.0-rc1 posted

2011-06-18 Thread Smelik, R.M. (Ruben)
Dear Robert, I've build OSG 3.0 rc1 on Win7 64bit using VS 2008 in Release mode, and tested it using some of the examples and my own application. Builds runs fine! Kind regards, Ruben From: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] OSG in C# environment

2011-06-15 Thread Smelik, R.M. (Ruben)
Hi Saeed, Yes, it can be done quite easily. I've been using OSG in combination with C# / WinForms for years now. The way to go is to start with the example created by Hesicong (http://www.openscenegraph.org/projects/osg/wiki/Community/LanguageWrappers, see the attached osgCppCLIDemo.rar).

Re: [osg-users] Create a simple river

2010-05-10 Thread Smelik, R.M. (Ruben)
Dear Daniele, I don't think Bruneton's research, although very impressive, is the simplest way to render a river :-) The simplest way I see is to create the OSG geometry for this river with some code. You would have to segment your curve/spline into small quad sections, use a tiling texture and

Re: [osg-users] Create a simple river

2010-05-10 Thread Smelik, R.M. (Ruben)
, Smelik, R.M. (Ruben) ruben.sme...@tno.nl wrote: Dear Daniele, I don't think Bruneton's research, although very impressive, is the simplest way to render a river :-) The simplest way I see is to create the OSG geometry for this river with some code. You would have to segment your curve

Re: [osg-users] how can i enable alpha test?

2009-10-24 Thread Smelik, R.M. (Ruben)
Hi Ren, Don't be down :-) You can enable alpha testing by creating a stateset for the Group/Geode/.. and setting the GL_APHA_TEST mode on, f.i.: geode-getOrCreateStateSet()-setMode(GL_ALPHA_TEST, osg::StateAttribute::ON); Kind regards, Ruben From:

[osg-users] [osgOcean] Member var initialization bug in Cylinder

2009-10-16 Thread Smelik, R.M. (Ruben)
Dear all, Here is a simple fix for an error in the Cylinder class of the current svn trunk version of osgOcean. Yesterday's revision 156 introduced member vars for the Cylinder (_radius, _steps, etc.) but these were not initialized in the Cylinder constructor, resulting in uninitialized vars

Re: [osg-users] [OT] Looking for a lib that adapts terrain to 3D object

2009-07-30 Thread Smelik, R.M. (Ruben)
Hi Sukender, That depends, really. If you just want to flatten terrain around building footprints and these buildings are located not too close to each other, you can flatten the heightmap within the footprint to, for instance, the average elevation (or perhaps the elevation value is given for

Re: [osg-users] Windows forms and c#

2009-06-24 Thread Smelik, R.M. (Ruben)
Of Smelik, R.M. (Ruben) Sent: Monday, June 22, 2009 1:34 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Windows forms and c# Dear Ba, Here's a working example of integrating OSG with C++/CLI and WinForms, which was made by Hesicong a year ago: http://lists.openscenegraph.org/pipermail/osg

Re: [osg-users] Windows forms and c#

2009-06-24 Thread Smelik, R.M. (Ruben)
#include osgDB/WriteFile #include Windows.h #include osgViewer\api\Win32\GraphicsWindowWin32    Thanks, Ba. From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Smelik, R.M. (Ruben) Sent

Re: [osg-users] Windows forms and c#

2009-06-22 Thread Smelik, R.M. (Ruben)
Dear Ba, Here's a working example of integrating OSG with C++/CLI and WinForms, which was made by Hesicong a year ago: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-February/007430.html You can integrate this into a Visual Studio solution with a C# project. Kind

Re: [osg-users] OSG .NET demo using C++/CLI / again

2009-04-24 Thread Smelik, R.M. (Ruben)
Hi Ernest, Good to hear that you have your program running now. I can't really guess what you did to fix it. I'm using C++/CLI with OpenSceneGraph as well (also started from Hesicong's great example) and the SEHexception that you encountered in my case was that either an OpenSceneGraph .dll