[osg-users] Edit 3D (osgt) model to add DOFTransform and perform "node" rotation

2020-04-15 Thread OpenSceneGraph Users
First off, I hope everyone is staying sane and healthy during this pandemic. I’m working with a collection of 3D models that have come from a variety of different source but are now all in osgb format. For several of the models I’d like to grab a “node” and apply rotation. As I’m

Re: [osg-users] LineSegmentIntersector

2020-04-15 Thread OpenSceneGraph Users
In my case its Perspective. I was able to work around the problem by using a PolyTope intersector with a 1x1 rectangle. That worked perfectly. On Tuesday, April 14, 2020 at 11:56:24 PM UTC-7, OpenSceneGraph Users wrote: > > Hi Andrew, > > When you say you have a isometric view, to be clear,

Re: [osg-users] Error about LODs for an 11 layer paged database

2020-04-15 Thread OpenSceneGraph Users
Apologies for the delay on this my build command is set PATH=C:\VirtualPlanetBuilder\windows\vpbWinBuild;%PATH% set VPB_MAXIMUM_NUM_OPEN_DATASET=512 mkdir Charts vpbmaster --levels 0 1 -t "Reprojected_files/Chart1" --levels 2 2 -t "Reprojected_files/Chart2" --levels 3 3 -t

Re: [osg-users] Correct way to modify Image used in a Texture2D (and have the Texture2D re-upload)

2020-04-15 Thread OpenSceneGraph Users
Calling dirty() on the image should be sufficient as the Texture2D will check the modifiedCount on each time the texture is applied. It's how we've implemented things like video textures and has been working for a long time. It "should" work. Put a check point or debug notice into the

[osg-users] Correct way to modify Image used in a Texture2D (and have the Texture2D re-upload)

2020-04-15 Thread OpenSceneGraph Users
I'm trying to figure out the correct way to notify Texture2D that I've modified the raw bytes of its underlying Image (previous set via setImage) I'm modifying the image data using image->data(), and then calling image->dirty() once modifications are complete. I can see this changes the

Re: [osg-users] LineSegmentIntersector

2020-04-15 Thread OpenSceneGraph Users
Hi Andrew, When you say you have a isometric view, to be clear, you mean you have an orthographic projection of the scene? The OSG itself support orthographic projection via the osg::Camera's ProjectionMatrix, the intersection. It can only account for this if the IntersectionVisitor knows about