Re: [osg-users] OSGViewer & examples Problem

2016-03-06 Thread Simon Jackson
Hi, Well I I think I posted prematurely, I deleted everything and started from scratch and it is working ok now. I either messed up something in the cmake config or it didn't like SDL2, those are the only differences. Thanks anyway, Simon -- Read this topic online here: http

[osg-users] OSGViewer & examples Problem

2016-03-06 Thread Simon Jackson
The file is successfully exported, however when I try and view it with the viewer all I get is a purple background. If I press s for the statistics info, it just shows white blocks so something it quite broken with my build. Does anyone have any idea of what could be wrong? Tha

Re: [osg-users] Oculus+OSG

2015-02-08 Thread simon
not take advantage of Oculus' optimized code and/or timewarping. Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] left/right alternating stereo

2015-01-20 Thread simon
, Simon. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Half Side-by-side

2014-12-01 Thread simon
stretching problem. http://trac.openscenegraph.org/projects/osg//wiki/Support/UserGuides/StereoSettings Depending on your GFX card you might be able to set quad-buffer and do the left/right split at the GFX card. Simon ___ osg-users mailing list osg-users

Re: [osg-users] [ANN] Who wants: Multi screen, Head tracked, Immersive Quad-Buffered Stereo using only native OSG for Octave (CAVE) environments?

2014-11-20 Thread simon
headsets in the same simulation). Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenSceneGraph Oculus Rift integration

2014-08-25 Thread Simon Wood
with the SDK is disappointing, hopefully they will remedy this sooner, rather than later. Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Updating HUD with 'setDrawCallback()' - detect current camera?

2014-07-24 Thread simon
you can detect the current camera from the osg::RenderInfo passed to the callback. There is a renderInfo.getCurrentCamera() method Sorry I'm slow to reply, weekend camping got in the way of code development ;-) Your suggestion works great, thanks, Simon -- #ifdef OCULUS_RIFT

[osg-users] Self built 3.2.1 3x slower than repo's 3.2.0

2014-07-24 Thread simon
compiled): 80+ in normal, 20-30 in Rift OSG 3.2.0 (repo): 270+ in normal, 60 in Rift -- Is there something (obvious) that I'm missing? On 64bit Xubuntu 14.04LTS. Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Self built 3.2.1 3x slower than repo's 3.2.0

2014-07-24 Thread simon
cmake . -DCMAKE_BUILD_TYPE=Release $@ Robert/Alberto, Yep, you are correct. Using this cmake flag let my self-built OSG run at same (fast) speed as repo's OSG. Thanks, Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] Updating HUD with 'setDrawCallback()' - detect current camera?

2014-07-16 Thread simon
and '102' in right, which would freak out the user. Q. Is it possible to sense/detect the current camera from within the callback? Our code is based around osgoculusviewer (1). Cheers, Simon 1. https://github.com/bjornblissing/osgoculusviewer

Re: [osg-users] osg 3.2.0 on WQXVGA

2014-06-27 Thread Simon Hammett
I hit this recently and it's due to a rather peculiar assumption by MS: http://msdn.microsoft.com/en-us/magazine/dn574798.aspx Basically they've gone and broken every DPI aware program by assuming that every program without the appropriate manifest setting is wrong. Scroll done a bit and check

Re: [osg-users] Bit OT: building OSG on Windows 8?

2013-11-24 Thread Simon Hammett
cmake tries to figure out the compiler (don't have the details here). I will look in the direction you pointed out. Thanks, Raymond Sent from my iPad On Nov 23, 2013, at 23:55, Simon Hammett s.d.hamm...@googlemail.com wrote: The only time I've had problems with mt.exe and access denied

Re: [osg-users] Bit OT: building OSG on Windows 8?

2013-11-23 Thread Simon Hammett
The only time I've had problems with mt.exe and access denied is when for some reason it runs the tool mt.exe too early. When this happens the linker still has the target .exe or .dll open as it links and therefore mt.exe will obviously fail. But I can't tell you why it happens or give you a fix.

Re: [osg-users] MatrixTransforms and MatrixD

2013-09-23 Thread Voelcker, Simon
'? Greets, Simon PS: All of this is targeting iOS. Just in case this is important. Von: osg-users-boun...@lists.openscenegraph.org [osg-users-boun...@lists.openscenegraph.org] im Auftrag von Robert Osfield [robert.osfi...@gmail.com] Gesendet: Montag, 16

[osg-users] MatrixTransforms and MatrixD

2013-09-16 Thread Voelcker, Simon
precision here (internally), and if so, how can I force it to use double precision? I know I could multiply my matrices directly and use a single MatrixTransform node, but I want to avoid this since it breaks my architecture. Thanks in advance, Simon

Re: [osg-users] API changelog for OSG3

2013-01-25 Thread Simon Hammett
I'd wait until the next stable release before going with 3. There's several bugs in the 2.9.x/ 3 releases that have been resolved. Such as incorrect text rendering, buggy slow path rendering and some sort of GL resource handling bug that was causing reuse of invalid display lists. These have all

Re: [osg-users] [build] [solved][OSX Lion] [trunk] ZeroConf folder missing

2012-12-26 Thread Simon Lemaitre
? Cheers, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51429#51429 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

[osg-users] [3rdparty] How to creat a simple rugby ball model in osg

2012-07-04 Thread simon
much. Thank you! Cheers, simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48653#48653 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi

Re: [osg-users] Does OSG have INI config file reader?

2012-07-01 Thread Simon Hammett
Well there's osgDB::XmlParser if you can live with xml. http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/include/osgDB/XmlParser On 1 July 2012 04:55, michael kapelko korn...@gmail.com wrote: Well, my intention is not bring any additional dependency apart from OSG

Re: [osg-users] Does OSG have INI config file reader?

2012-06-30 Thread Simon Hammett
You could use Boost.PropertyTree http://www.boost.org/doc/libs/1_50_0/doc/html/boost_propertytree/parsers.html#boost_propertytree.parsers.ini_parser Then you can use ini files or chose a better format. On 30 June 2012 17:18, michael kapelko korn...@gmail.com wrote: Well, I don't want to use

Re: [osg-users] Caching images

2012-06-29 Thread simon
Hi, I know Thank you! Cheers, simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48589#48589 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

[osg-users] The problem of loading a model in osg

2012-06-29 Thread simon
: Microsoft C++ exception: std::bad_alloc at memory location 0x0012f5c4.. The enviroment is :windows 7+VS2008+osg 2.99 Thank you! Cheers, simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48590#48590

Re: [osg-users] OSG 3.0.1 crash in glDrawElements() under Windows Remote Desktop

2012-05-31 Thread Simon Hammett
On 31 May 2012 17:17, Andrew Cunningham andr...@mac.com wrote: When running a Windows OSG 3.0.1 application under Windows Remote Desktop the OpenGL driver defaults to the (ancient) software MS OpenGL GDI renderer v1.1. Unfortunately, I need to make the basics of our app work under RDC. I am

Re: [osg-users] [osgPlugins] VRML plugin - file url

2012-04-29 Thread Simon Santoso
Hi, I am not managing to create a node .wrl file. Meaning this code return NULL instead of a node. Code: osg::ref_ptrosg::Node test(osgDB::readNodeFile(/Users/Simon/Desktop/ProjetInvir/projet.wrl)); So I tried to install Coin3D framework prior to compile OSG to read such file

Re: [osg-users] OsgParticle variables causing objects to disappear

2011-10-05 Thread Simon White
Not to worry, I redesigned the min and max values to give a better looking fire, and now the problem has gone. Still don't know what caused it though, gonna worry about that in the future D: Simon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

Re: [osg-users] OsgParticle variables causing objects to disappear

2011-10-05 Thread Simon White
Thanks for the input guys. I can't replicate the bug because I replaced the code with working code, but I'll be sure to come back to this thread if it happens again! Andy, I'm afraid I'm working on Windows with an ATI card (Mobility Radeon 3650 to be exact), and I'm not using osg::Point at

[osg-users] OsgParticle variables causing objects to disappear

2011-10-03 Thread Simon White
as a last resort before posting here. Does anybody have any ideas? Thanks in advance, Simon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43165#43165 ___ osg-users mailing list osg-users

Re: [osg-users] Deriving from osgParticle::Interpolator - abstract class trouble

2011-09-15 Thread Simon White
Thanks Tony. I'm using osg 2.8.5, but this still fixed my problem :D Ta very much! Simon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42791#42791 ___ osg-users mailing list osg-users

[osg-users] Deriving from osgParticle::Interpolator - abstract class trouble

2011-09-14 Thread Simon White
have been that I wasn't making the overridden function const, but that didn't solve anything either. Does anyone have any experience with this? Thanks, Simon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42759#42759

Re: [osg-users] Get window resolution?

2011-09-13 Thread Simon White
Thanks Robert, that does make things slightly easier! Simon. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42713#42713 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] Get window resolution?

2011-09-12 Thread Simon White
::WindowingSystemInterface::getScreenResolution() but this function requires I give it a 'screen identifier', which I don't know how to get. Any ideas? Thanks, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42641#42641

Re: [osg-users] Get window resolution?

2011-09-12 Thread Simon White
viewer.realize() need to be called first in order for the context settings to be available to the viewer? Thanks again, Simon.[/code] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42650#42650 ___ osg

Re: [osg-users] Get window resolution?

2011-09-12 Thread Simon White
OK, calling viewer.realize() beforehand seems to have worked. I was worried that would mess something up in the scenegraph, as i am now setting up the scenegraph after calling viewer.realize(). All seems ok :) thanks, Simon. -- Read this topic online here: http

[osg-users] Stack around the variable 'viewer' was corrupted..?

2011-09-07 Thread Simon White
(no tutorials i have seen say 'delete root')? Even if that is the case, my heap shouldn't be hitting my stack with a program as simple as this! Can anyone shed some light on the subject? Thanks, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

Re: [osg-users] Stack around the variable 'viewer' was corrupted..?

2011-09-07 Thread Simon White
Ignore me. I'm being a tit as usual. (Still has the VS2008 osg version installed from when I was trying to fix ANOTHER titting problem I had with the Wiimote API.) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42500#42500

Re: [osg-users] Boundary Representations

2011-07-02 Thread Simon Hammett
No, but you might want to look at: http://www.opencascade.org/ that's got all sorts of stuff in it. On 2 July 2011 22:36, Daniel Peraza danielper...@gmail.com wrote: Hi, I'd like to know if OSG has any class for handling Boundary Representations before writing one by myself. I'm working

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-28 Thread Simon Wenner
On 06/06/2011 10:41 AM, Torben Dannhauer wrote: Hi Simon, of course it would be a (very) dirty hack. The VPB Terrain creation is well tested, so my first guess was the problem is the data itself. Cheers, Torben Torben, you were right. After further investigations I found the real cause

Re: [osg-users] VPB and OpenStreetMap coordinates problem

2011-06-06 Thread Simon Wenner
Hi Torben, Thank you for your answer. On 06/06/2011 10:05 AM, Torben Dannhauer wrote: Hi Simon, have you checked that there is no systematic offset in your data? Maybe your procedure is right and the data is wrong... I'm not aware of any offsets in my geotiff data. But maybe the metadata

Re: [osg-users] Building DICOM plugin with DCMTK

2011-04-06 Thread Simon Su
hi not sure if this is a solution but I found dmctk to be too much for me... so I used itk instead the osgdb_dicom.so file built using itk... what is the main difference in using itk or dmctk? thanks -s On Wed, Apr 6, 2011 at 1:48 PM, Chris 'Xenon' Hanson xe...@alphapixel.comwrote:

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Simon Kolciter
Ok, no access to the whole geometry in geometry shader. However, since you can access to gl_Position of every vertex for a given primitive, can't you also access gl_Normal of these vertices? Because that would actually suffice. -- Read this topic online here:

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Simon Kolciter
Jason Daly: What if I assign a normal array to the OSG Geometry (setNormalArray) and only modify the values in geometry shader? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37851#37851 ___

[osg-users] GLSL for non-rendering operation

2011-03-22 Thread Simon Kolciter
it this way? Or are there any other ways to use HW acceleration for such operations using only OSG and GLSL? Thank you! Cheers, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37796#37796 ___ osg

Re: [osg-users] GLSL for non-rendering operation

2011-03-22 Thread Simon Kolciter
Well, the problem is that the normal vertices are PER_VERTEX, not PER_PRIMITIVE. In Geometry shader, I only have access to the current primitive, not the whole mesh, right? I need to 1. calculate the normal vector of each face (triangle) and add it to the normal vectors of all 3 vertices 2.

Re: [osg-users] Stereoscopy in OSG

2011-03-18 Thread Simon Su
me know how it turn out. best -simon On Fri, Mar 18, 2011 at 10:41 AM, Mukund Keshav osgfo...@tevs.eu wrote: Hello Everyone, We are planning to build a virtual workbench in our project. For that, we are using LCD shutter glasses stereoscopy. The system would involve the virtual objects

Re: [osg-users] Draw Order/Culling with OpenFlight and Transparency

2011-02-23 Thread Simon Hammett
On 23 February 2011 19:37, Murray G. Gamble mgam...@connect.carleton.cawrote: Thanks for the suggestion, Chuck. I've tried this, and do not observe any appreciable improvement in rendering. I should point out that while the images I provided highlight the main rotor disc as the offending

Re: [osg-users] Real-Time geometry editing - changing positions

2010-11-01 Thread Simon Kolciter
an editor that is supposed to this real time. Btw thanks Skylark for the answer earlier Thank you! Cheers, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33281#33281 ___ osg-users mailing list osg

[osg-users] Real-Time geometry editing - changing positions

2010-10-10 Thread Simon Kolciter
object, which is drawn afterwards. Calling the setVertexArray every frame, however, brings the frame rate down dramatically, which isn't very acceptable. Is there a way to change vertices' positions in real time more effectively? Thank you! Cheers, Simon -- Read this topic

Re: [osg-users] OT: VS2010 LNK2005 problem related to ostringstream

2010-08-26 Thread Simon Hammett
On 26 August 2010 17:35, Anders Backman ande...@cs.umu.se wrote: snip CMake defaults to /MD code generation (MultiThreaded). Im using this consistently over all my libraries (just double checked to be sure). Never use that setting unless you know what you are doing. Change every project to

Re: [osg-users] OT: VS2010 LNK2005 problem related to ostringstream

2010-08-26 Thread Simon Hammett
multiple symbols sounds dangerous, and it did not resolve my problem... /A On Thu, Aug 26, 2010 at 7:26 PM, Simon Hammett s.d.hamm...@googlemail.com wrote: On 26 August 2010 17:35, Anders Backman ande...@cs.umu.se wrote: snip CMake defaults to /MD code generation (MultiThreaded). Im

[osg-users] Transparent but occluding phantom objects for AR application

2010-07-09 Thread Simon Julier
into the depth buffer only. Is that correct? If so, could anybody point me towards a suitable reference? Many thanks! Cheers, Simon ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] [forum] Sending a Private Message: How?

2010-05-25 Thread Simon Hammett
On 24 May 2010 20:57, Allen Saucier allen.sauc...@itt.com wrote: Hi everyone, I have a stupid question that I need an answer to. How do I correctly send a Private Message? I have tried to do so and all I see is the message being put into my outbox but it never makes it to my sent box.

Re: [osg-users] Intersection precision loss?

2010-03-29 Thread Simon Hammett
On 29 March 2010 20:36, Adrian Lindberg osgfo...@tevs.eu wrote: I'm doing some large terrain rendering using OSG where I put small bulletins (billboards) which I wan't to make clickable. For this I found the osgPicker example and implemented it and all worked well. However in an extension of

Re: [osg-users] World to local coordinates

2010-03-15 Thread Simon Hammett
On 15 March 2010 20:55, David Cofer dco...@mindcreators.com wrote: I need to convert the world coordinates of a contact force into the local coordinate system for the contacted part. Is there a straighforward way to do this in OSG? I saw a similar question here (

Re: [osg-users] freetype fonts on Windows...

2010-02-23 Thread Simon Hammett
On 23 February 2010 22:23, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: All, We’re having some issues with the OSG freetype font plugin? We’re using VC++ 2008 on Windows and we’re having trouble reading ttf files. We get the message “could not find

Re: [osg-users] Tracking down 'invalid enumerant'

2010-02-23 Thread Simon Hammett
On 23 February 2010 18:00, Andrew Cunningham o...@a-cunningham.com wrote: Hi, I have to make our Windows OSG app function in a reasonable manner under Microsoft Remote Desktop, which means OpenGL 1.1.0 In general it actually works pretty well but at each window refresh, I am getting a

Re: [osg-users] freetype fonts on Windows...

2010-02-23 Thread Simon Hammett
On 23 February 2010 23:17, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC shayne.tuel...@hill.af.mil wrote: Mourad, Yes. We know the path setting is correct because we can use the other plugin dlls that reside in the folder without any problems. Thanks for the input. -Shayne FYI, my

Re: [osg-users] Camera view frustum to Polytope

2010-02-18 Thread Simon Hammett
On 18 February 2010 15:13, Sean McVey sean.r.mc...@lmco.com wrote: Hi guys, I've been trying to setup my Polytope as my cameras' frustum with no such luck. Robert has the setup changed? I'm using osg 2.8.1. Is this correct? What am I doing wrong? osg::Polytope frustum;

Re: [osg-users] OpenSceneGraph and MultiThreading

2010-02-14 Thread Simon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danny Lesnik wrote: Hi, snip Try this: class MyThread : public OpenThreads::Thread { public: MyThread(osg::Node** node) : _node(node) {} virtual ~MyThread() {} virtual void run() { *_node

[osg-users] Regression: 2.9.6, slow paths geometry w/ BIND_PER_PRIMITIVE normals breaks state set handling.

2010-02-04 Thread Simon Hammett
As per the subject. I've attached a modified version of osgViewer.cpp which shows the issue. The codes works fine in 2.8.2 2.7.1 I had a quick look at the code, but there's been way too many changes from 2.8.2 to 2.9.6 for me to find out what broke. Also state set loading when opening .osg

Re: [osg-users] Regression: 2.9.6, slow paths geometry w/ BIND_PER_PRIMITIVE normals breaks state set handling.

2010-02-04 Thread Simon Hammett
On 4 February 2010 10:19, Robert Osfield robert.osfi...@gmail.com wrote: Hi Simon, On Thu, Feb 4, 2010 at 9:58 AM, Simon Hammett s.d.hamm...@googlemail.com wrote: I've attached a modified version of osgViewer.cpp which shows the issue. The codes works fine in 2.8.2 2.7.1 I had

[osg-users] Loading a sequence of images, volume render it, and interact or manipulate it using OSG

2010-02-02 Thread Simon Su
with the volume rendering. What will be the best approach (classes to use) to do something like this with OSG? Is there also a way to convert certain feature in the volume rendered data into an isosurface? Thank you Simon ___ osg-users mailing list osg

Re: [osg-users] Vanilla GL VBOs in OSG

2010-01-26 Thread Simon Hammett
2010/1/26 Mattias Thell mattias.th...@gmail.com snip Code: extensions-glBindBuffer(GL_ARRAY_BUFFER_ARB, vbo); glEnableClientState(GL_VERTEX_ARRAY); glVertexPointer(4, GL_FLOAT, 0, 0); glDrawArrays(GL_POINTS, 0, numPrims); glDisableClientState(GL_VERTEX_ARRAY);

Re: [osg-users] 3-Axis rotation with quat PAT

2010-01-21 Thread Thomas Simon
Hi, There is my problem: I need to rotate a model on the 3 axis (X,Y and Z) I already have the angles corresponding of the rotation on the axis. I try differents methods to have a good result It doesnt follow the orientation of my Wiimote Motion plus (It s a project about manipulate a model

Re: [osg-users] 3-Axis rotation with quat PAT

2010-01-21 Thread Thomas Simon
Thanks for your interest and help The wiimotion plus gives 3 around-axis speeds which I transforme into angles the fact is that the pat keep turning around the OSG basic axis and not in the wiimote basic axis. I also think that I got a gimbal lock :( I try a makeRotate with an old X-axis (for

Re: [osg-users] Depth buffer for shadow mapping

2010-01-11 Thread Simon Hammett
2010/1/11 Dominic Stalder dominic.stal...@bluewin.ch camera-attach(Camera::COLOR_BUFFER, image.get(), 0, 0); -- camera-attach(Camera::DEPTH_BUFFER, image.get(), 0, 0); Well you are trying to attach a depth texture to the color buffer, that's not going to work. Try

Re: [osg-users] Efficiently hiding points

2010-01-08 Thread Simon Hammett
2010/1/8 J.P. Delport jpdelp...@csir.co.za Martin Beckett wrote: Jason Daly wrote: The advice about breaking up large geodes is still applicable. If you're talking about hundreds of thousands of vertices, it's probably best to represent those as multiple geodes (and group them spatially,

Re: [osg-users] How to render last with multiple cameras

2010-01-06 Thread Simon Hammett
2010/1/6 Mike Greene mgre...@hiwaay.net I have a view with two cameras - a HUD camera and a regular 3D perspective camera. I have my scene set up so that I can vary the alpha of the HUD (drawn with a polygon) so that I can see the 3D view behind at various intensities. What I would like to be

Re: [osg-users] New 3DS reader/writer is ready to test

2010-01-05 Thread Simon Armstrong
Hi Robert, This comes as a surprise. After reviewing contents of my OpenSceneGraph-2.9.6 directory including license, readme and directory layout I find your statement a little matter of fact considering the way in which this information has been disclosed. Simon -- Read

Re: [osg-users] New 3DS reader/writer is ready to test

2010-01-02 Thread Simon Armstrong
Hi, Am attempting to migrate from 2.8.2 to 2.9.6 and have some problems with new 3ds plugin due to the c++ issue. Thank you! Cheers, Simon -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=22029#22029

Re: [osg-users] New 3DS reader/writer is ready to test

2010-01-02 Thread Simon Armstrong
I am using a custom MingW based toolchain. My other problem is that the new version 3ds plugin has dependency on exceptionless LGPL code so I am not able to legally include it in my build (static commercial offering). I am now left wondering if other plugins in my build have become non

Re: [osg-users] PositionAndAttitudeTrabsform

2010-01-01 Thread Simon Hammett
2010/1/1 Gordon Tomlinson gor...@gordon-tomlinson.com Your right it does not scale the normals. So the normal are no longer correct for the model once you scale it See http://www.vis-sim.com/osg/osg_faq_1.htm#f19 That should really mention that rescale only works with uniform scaling. --

Re: [osg-users] Updating tesselator

2010-01-01 Thread Simon Hammett
2009/12/31 Martin Beckett m...@mgbeckett.com I am trying to draw a rubber band wioth the mouse around a selection I get the mouse position, convert into world coords (assumign a plan view) then add the new point to the geometry. I then call osg::Util Tessellator to build the selection into a

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-31 Thread Simon Hammett
Not really following what you are after, but one point: 2009/12/31 Ümit Uzun umituzu...@gmail.com Hi Paul, Thanks for your reply. I need only one explanation about that; psudo code Matrix matrix1= identity; matrix1-rotate( 10 degree on

Re: [osg-users] HUD-Problem

2009-12-22 Thread Simon Hammett
2009/12/22 Carl Johnson uto...@gmx.net Hi, I need to use osg for a project, so i tried to modify the example HudsAndText from osg tutorial to my original project, but this didn't work out. i saw the graphics (a triangle), but no HUD. so i went back to the roots I tried this basic

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Simon Hammett
2009/12/14 Wouter Boelen li...@wboelen.be Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully compatible with its

Re: [osg-users] Develop a scalable binary file format for native OSG scenes?

2009-12-10 Thread Simon Hammett
2009/12/10 Chris 'Xenon' Hanson xe...@alphapixel.com On 12/10/2009 10:27 AM, Robert Osfield wrote: Or... just have the binary format extension be .osgb... :-) For filesystem-management purposes, I know I'd prefer a .osgb extension. So much easier to grep and write scripts when you can

Re: [osg-users] Picking bug?

2009-12-07 Thread Simon Hammett
2009/12/4 Fred Smith osgfo...@tevs.eu Nope, it still doesn't work. Not my lucky day... Hi Fred, I've attached my modified version of LineSegmentIntersector.cpp if you want to try that. It's from 2.8.2 but it should be ok with most recent versions. If that doesn't work for you, you'll need

Re: [osg-users] Full list of dependencies

2009-12-06 Thread Simon Hammett
2009/12/6 Rizzen riz...@darkstar.co.za Hi Where can I find the full list of dependencies required for OSG 2.8 and list of configuration options for building OSG libraries? Rizzen osg itself doesn't have any dependencies, only the plugins do. You'll have to run cmake and look through that

Re: [osg-users] Triangle mesh looks like a silhouette with no surface detail.

2009-12-04 Thread Simon Hammett
2009/12/4 Ulrich Hertlein u.hertl...@sandbox.de On 4/12/09 4:42 AM, Ray Stamper wrote: through the Delta3d api, which worked well enough but was limited to 2^16 vertices. I wrote a class to make a Geode from .ply files, but they end up looking a little weird. Geometrically, they are

Re: [osg-users] Animated Models

2009-12-04 Thread Simon Hammett
2009/12/4 J.P. Delport jpdelp...@csir.co.za Hi, Paul Martz wrote: Danny Lesnik wrote: How can I create animations within OSG models (similar to cessnafire.osg sample scene).? for example, how this file was created? Look at the OSG file in a text editor and see what nodes it uses.

Re: [osg-users] Picking bug?

2009-12-04 Thread Simon Hammett
2009/12/4 J.P. Delport jpdelp...@csir.co.za Hi, have you checked what the members of the TriangleIntersection struct are? I think you must make them double too, this it where we had problems in some of our code. jp Opps, yes they need changing as well. -- http://www.ssTk.co.uk

Re: [osg-users] Picking bug?

2009-12-04 Thread Simon Hammett
2009/12/4 Fred Smith osgfo...@tevs.eu Thanks for all your answers. Hitting a little bit of a problem in my understanding of the source code. If I change TriangleIntersection to use Vec3d and not Vec3: Code: TriangleIntersection(unsigned int index, const osg::Vec3d normal, double

Re: [osg-users] Picking bug?

2009-12-03 Thread Simon Hammett
2009/12/3 Fred Smith osgfo...@tevs.eu Hi, On one occasion I don't get two intersections, only one. That's the problem. I expect two intersections. One for the first triangle, one for the second. I get only one, for the second triangle, even though I picked the left triangle. You can

Re: [osg-users] normal vectors aren't causing culling

2009-11-26 Thread Simon Hammett
2009/11/26 Jim Brooks jimbl...@gmail.com This is very basic This test-code snippet is supposed to create a simple square with a normal vector (or vectors). After rotating it around with the trackball manipulator, the square is never culled. Same behavior on OSG 2.6 and 2.8. Culling

Re: [osg-users] picture in picture...

2009-11-25 Thread Simon Hammett
Views get rendered in order added. (at least in single threaded mode) Just add your 'in picture' viewport last, where you want it. You will need to turn off clearing of the colour buffer if you want to see your main scene through the picture . And maybe call setAllowEventFocus(false); on the

Re: [osg-users] Matrix xform will scale but not translate

2009-11-15 Thread Simon Hammett
2009/11/15 Darick Barnes dbtex352...@yahoo.com Hi, For some reason I cannot translate my hexagon geode made up of a primitiveset of LINE_STRIP The scaling works but translation does not. I am modifying AdapterWidget.cpp --MDI section of the code so that I can use QT4. It is from the

Re: [osg-users] Computing Normals for Drawables

2009-11-09 Thread Simon Hammett
2009/11/9 Andrew Burnett-Thompson aburnettthomp...@googlemail.com: Hi guys, Interesting conversation on solving this problem. I'm working with James on this and he's away this week, so I thought I'd reply to keep the conversation going, and also to thank you for your input. Just to throw

Re: [osg-users] Epic releases free version of Unreal Editor

2009-11-07 Thread Simon Hammett
2009/11/7 Jan Ciger jan.ci...@gmail.com: Simon Hammett s.d.hamm...@googlemail.com wrote: I've gotten good results with exporting blender - .lwo as long as you split your model meshes up the right way, so you can run the smoothing  visitor on it. Why? There is osg exporter too. Works fine

Re: [osg-users] Epic releases free version of Unreal Editor

2009-11-07 Thread Simon Hammett
2009/11/7 Jan Ciger jan.ci...@gmail.com: Simon Hammett s.d.hamm...@googlemail.com wrote: Well .lwo was the first format I found that worked and it's binary so the models load quickly. The apps I work on, load lots of stuff outta dbs, run third party dlls black boxes etc on start up, so

Re: [osg-users] Epic releases free version of Unreal Editor

2009-11-07 Thread Simon Hammett
2009/11/7 Jan Ciger jan.ci...@gmail.com: Simon Hammett s.d.hamm...@googlemail.com wrote: which is yet another step in the process. that's making things more complicated, not less. and .lwo works rather nicely so why change? Because .osg can capture also things that are native

Re: [osg-users] Epic releases free version of Unreal Editor

2009-11-05 Thread Simon Hammett
Yeah I spent quite a bit of time playing with the UT editor way back with the release before UT 2K3 It was crap then and I doubt it's got any better. The last UT sucked nads. And actually so did the one before that. It was pretty much on a par with Valve's 'Hammer Editor' which is also a massive

Re: [osg-users] Viewer creation and frame() from different threads

2009-10-20 Thread Simon Hammett
is it OK to create a viewer in e.g. the main thread and then call frame() from a different thread? We're getting erratic results on Linux vs Windows vs Mac. So I just want to know if this use case is legal. I've done this under Linux - the osgqtbrowser example in svn/trunk has the option

Re: [osg-users] Viewer creation and frame() from different threads

2009-10-20 Thread Simon Hammett
2009/10/20 J.P. Delport jpdelp...@csir.co.za: Hi Simon, Simon Hammett wrote: I will try osgqtbrowser on Windows and see what happens. Anyone else have reports on osgqtbrowser on Windows? thanks jp Windozes is same as Mac, only the owner thread can retrieve events for windows. can

Re: [osg-users] Porting Performer code to OpenSceneGraph

2009-08-22 Thread Simon Su
Hi Jason, The good old days... :) Thank you so much for taking the time to spell it out for me. It is very helpful. Now at least I have somewhere to start. Take care now and have a great weekend. Simon From: Jason Daly jd...@ist.ucf.edu To: OpenSceneGraph

[osg-users] Porting Performer code to OpenSceneGraph

2009-08-21 Thread Simon Su
and c++ interfaces to Performer. The software package we want to port uses the c interface, as one of the required external module is in C. I am assuming this will not be an issue? Thank you much Simon ___ osg-users mailing list osg-users

Re: [osg-users] viewer.frame() rendering not complete

2009-08-12 Thread Simon Hammett
Try glFinish after frame() 2009/8/11 Rabbi Robinson longa...@gmail.com: Hi, I save it in a file. The problem is with frame(). If I call viewer.run() and hit Esc to quit the viewer the image is complete. Thank you! Cheers, Rabbi -- http://www.ssTk.co.uk

Re: [osg-users] about the bounding sphere of a geode computed by OSG

2009-08-11 Thread Simon Hammett
Calculating the perfect bounding sphere is an expensive operation. You need to calc the convex hull which is O(n log n). osg uses a fast approximation which is generally good enough. 2009/8/11 Gianluca Natale gianluca.nat...@adstorino.it: Hi All, I’m having problem computing the global bounding

[osg-users] Material editor/designer?

2009-08-11 Thread Simon Hammett
Anybody know of a osg compatible material editor/designer? Repeating the edit/compile/link/curse cycle is starting to get a little tedious. I'm sure I saw a post about one not so long ago, but I'm damned if I can find it now. tia. -- http://www.ssTk.co.uk

Re: [osg-users] Infinite Grid in OSG

2009-08-10 Thread Simon Hammett
The clipping you are seeing is probably due to osg's computation of the near and far clipping planes. You'll need to implement computeBound so osg knows about your object. Have a look in ShapeDrawable.cpp 2009/8/10 Andrew Thompson andyb1...@yahoo.co.uk: Hi Chris, Thanks for the heads up, I was

  1   2   3   >