Re: [osg-users] Step by step addDrawable and visualize current scene graph

2021-03-23 Thread Paul Jurczak
Thank you, Nathan. It solves my problem. On Tuesday, March 23, 2021 at 12:14:59 PM UTC-6 nmiel...@gmail.com wrote: > Paul, > > Looking at the OSG Viewer.cpp code, the run() function contains this code: > if (!getCameraManipulator() && getCamera()

[osg-users] Step by step addDrawable and visualize current scene graph

2021-03-21 Thread 'Paul Jurczak' via OpenSceneGraph Users
I'm just starting with OSG. I would like this (or similar) code: int main() { osgViewer::Viewer viewer; osg::Geode* geode = new osg::Geode(); viewer.setSceneData(geode); geode->addDrawable(new osg::ShapeDrawable(new osg::Sphere(osg::Vec3(0, 0, 0), 1)));

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Paul Leopard
I was using 3.14. I have switched to 3.15 today and the build system now works I will test OSG-3.6.5 on Windows and Ubuntu and report back Thanks, Paul On Wed, Jan 15, 2020 at 7:46 AM Voerman, L. wrote: > Hi Robert, > All seems fine to me, using > windows 10 Enterprise 1909

Re: [osg-users] OpenSceneGraph-3.6.5 release candidate 1 tagged, please test

2020-01-15 Thread Paul Leopard
My comment was made with regard to 3.6.5, I am unable to build 3.6.5. I was just describing the procedure and noting that it was the same procedure I've used successfully for building 3.6.4. On Wed, Jan 15, 2020 at 2:52 AM Robert Osfield wrote: > Hi Paul, > > On Tuesday, 14 January 2

Re: [osg-users] Any OSGEdit like apps around?

2019-10-10 Thread Paul Leopard
Hi, Well I tried the demo and like it but I can’t afford the $2000 sticker price. Any other ideas? I’m looking for a scene graph editor, not really concerned with modeling capabilities Thank you! Cheers, Paul things are more like they are now than they have ever

Re: [osg-users] Any OSGEdit like apps around?

2019-10-10 Thread Paul Leopard
Hi, Thank you! I will try it. Cheers, Paul things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76818#76818

Re: [osg-users] Orient a node to face another

2019-10-09 Thread Paul Leopard
Hi, Sorry for the delay ... That worked perfectly Thank you! Cheers, Paul things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76814#76814

[osg-users] Any OSGEdit like apps around?

2019-10-08 Thread Paul Leopard
Thank you! Cheers, Paul things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76805#76805 ___ osg-users mailing

[osg-users] Any OSGEdit like apps around?

2019-10-08 Thread Paul Leopard
Thank you! Cheers, Paul things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76804#76804 ___ osg-users mailing

[osg-users] Orient a node to face another

2019-10-02 Thread Paul Leopard
gt;setRotation( rotation ); What would be the best approach for the calculations in GetRotation(...) using OSG functions? I can work out the math on my own but I'd like to know if there are any cool OSG utilities to do this. Thank you! Cheers, Paul things are more lik

[osg-users] Virtual Planet Builder: increase resolution on level 0

2018-10-17 Thread paul
parameters. Would I have to look in osgTerrain? Best regards, Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] New glTexStorage code is disrupting FBO initialization

2018-08-21 Thread Paul Levy
Robert, Seems to be working now. Yesterday I submitted a PR to change GL_RGBA16F and GL_RGBA32F to GL_RGBA16F_ARB and GL_RGBA32F_ARB, but you only changed GL_RGBA32F. Both are undefined on Windows so I re-submitted a PR to get the Windows build building again. Thanks -- Paul Levy : Pelican

Re: [osg-users] New glTexStorage code is disrupting FBO initialization

2018-08-10 Thread Paul Levy
, COLOR_BUFFER0 has worked in the past prior to texture storage. Thank you -- Paul Levy : Pelican Mapping On Fri, Aug 10, 2018 at 3:16 PM Julien Valentin wrote: > I debugged osgprerender > It was the unsized texture format: > changing GL_RGBA to GL_RGBA8 > i'll patch the example &g

[osg-users] RTT and Shaders using vertex attribute aliasing

2018-03-16 Thread Paul Pocock
Hi all, I have a simple RTT setup. works great but when I setup OSG to turn on the vertex attribute aliasing and allow OSG to provide gl_ inputs via the osg_ prefix my shader breaks. No errors. Can't even get a red colour on my test quad. Can anyone see what I'm doing wrong? Can I still use

Re: [osg-users] In need of osgOcean resources, they are missing from Google Code

2018-01-18 Thread Paul Leopard
kcbale wrote: > Hi Paul, > > > I wrote the library, I recently had a similar request so I added those files > to git and a contributor was kind enough to update the cmake files to point > to them. If you have any problems drop me an email at () and I’ll do my best > t

Re: [osg-users] In need of osgOcean resources, they are missing from Google Code

2018-01-18 Thread Paul Leopard
I managed to find it, here's the URL if anyone else has issues ... https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/osgocean/osgOcean-Resources-1.0.1.rar[/url] things are more like they are now than they have ever been before

[osg-users] In need of osgOcean resources, they are missing from Google Code

2018-01-18 Thread Paul Leopard
this resource archive and would be so kind as to share it with me? Maybe someone has a valid link to this resource archive online? Thank you! Paul things are more like they are now than they have ever been before -- Read this topic online here: http

Re: [osg-users] SetAttribute / RemoveAttribute Question

2017-11-28 Thread Paul Bigeon
tried to compile my application in debug x64 mode but couldn't make it work, so I'm a bit short in terms of error reporting ... but i'll try to come up with a debug version Again, thanks for all your work Robert ! Paul -- Read this topic online here: http://forum.openscenegraph.org

[osg-users] SetAttribute / RemoveAttribute Question

2017-11-28 Thread Paul Bigeon
y ? Thank you for your interest in my question, Have a good day, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72479#72479 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://

Re: [osg-users] Correct way to modify scene graph [SEC=UNCLASSIFIED]

2017-11-08 Thread Paul Pocock
Hi Russell, I suppose setting the threading model to SingleThreaded is not an option, maybe set Root Node to DYNAMIC variance? I can't remember the actual call. good luck, On 09/11/17 14:49, Thamm, Russell wrote: *UNCLASSIFIED* Hi I am in the process of porting an MFC application from

Re: [osg-users] [osgPlugins] OSG Movie Export

2017-09-05 Thread Paul Leopard
Thanks Robert things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71627#71627 ___ osg-users mailing list

Re: [osg-users] [osgPlugins] OSG Movie Export

2017-09-05 Thread Paul Leopard
Old thread but still a good question. I'd like to know this myself things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71624#71624

Re: [osg-users] setAttribute / Material issue

2017-08-21 Thread Paul Bigeon
Hi Robert, I managed to get rid of this color problem by effectively going through all my nodes and checking for osg::Geometry color array. Thanks for the help, have a great day ! Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p

Re: [osg-users] setAttribute / Material issue

2017-08-17 Thread Paul Bigeon
e_stateset->setAttribute(new osg::ref_ptr< osg::Material >(), osg::StateAttribute::ON); Or do I have to check for setcolorArray and setsecondaryColorArray of all my nodes ? Again, thank you for your intereset in my case. Cheers, Paul[/code] -- Read this topi

[osg-users] setAttribute / Material issue

2017-08-17 Thread Paul Bigeon
in this request, and my apologies if my english is bad. Cheers, Paul[/img] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71425#71425 Attachments: http://forum.openscenegraph.org//files/osg_material_issue_4_150.png http://forum.openscenegraph.

Re: [osg-users] How to texture map Box/Sphere/Cone/Capsule/Cylinder

2017-08-08 Thread Paul Leopard
Ok thanks for the response Regards, P things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71385#71385 ___

[osg-users] How to texture map Box/Sphere/Cone/Capsule/Cylinder

2017-08-07 Thread Paul Leopard
Trying to map a simple, uniform texture onto an osg::Shape instance and not finding a way to get a hold on the underlying osg::Geometry so I can call setTexCoordArray(...) on it ... How would I do so? example code : osg::ref_ptr rShape = new osg::Sphere( center, radius ); osg::ref_ptr

Re: [osg-users] Creating a glowing sun in scene

2017-02-22 Thread Suraj Paul
Hi All, As i had posted previously, I could obtain the following results attached in the screen short in my attempt to create a glowing sun in the scene. I am also attaching the source code. As I am taking the baby-steps in doing shaders programming in OSG, i am having a really bad time. My

[osg-users] Blurred scenes for camera in motion

2017-02-09 Thread Suraj Paul
Hi everybody, I am trying to to simulate a scene that can be used to stimulate a stationary camera to feel as if the camera is under motion. (The camera is used to detect height from terrain surface and its velocity from the images it captures.) I know the values of focal length of camera, FOV,

Re: [osg-users] updating the webpages

2017-01-18 Thread Paul McIntosh
Thanks - now registered. Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69998#69998 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

[osg-users] updating the webpages

2017-01-17 Thread Paul McIntosh
sg.git (fetch) > origin :[your-github-account]/OpenSceneGraph.git (push) > Cheers, Paul[/code][/url] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69985#69985 ___ osg-users mailing li

Re: [osg-users] osgQt and osg (CMake)

2017-01-16 Thread Paul McIntosh
CMakelists.txt? I am having a go at fixing up the readme to focus only on osgQT and testing it out on Windows. Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69978#69978 ___ osg-users m

Re: [osg-users] Visualizing a light cone in scene

2017-01-15 Thread Suraj Paul
Hi David, Thanks for the tips on my problem. Yes, i am trying to use (at present) light cone to show in my scene what its highlighting. But it fails to show the cone light beam emanating from the aircraft. As u suggested, i tried with transparent cone. But The problem is i am not able to

Re: [osg-users] Visualizing a light cone in scene

2017-01-15 Thread Suraj Paul
Hi David, Thanks for the tips on my problem. Yes, i am trying to use (at present) light cone to show in my scene what its highlighting. But it fails to show the cone light beam emanating from the aircraft. As u suggested, i tried with transparent cone. But The problem is i am not able to

Re: [osg-users] Visualizing a light cone in scene

2017-01-15 Thread Suraj Paul
Hi Ekaterina, Thanks for the clue. I am at present doing the round trace in a brute force way: I am retaining the rendered base circle of cone in each of the position of the aircraft. Next when the aircraft moves to next position, i again draw the new base circle, while i translate the cone i

Re: [osg-users] Visualizing a light cone in scene

2017-01-12 Thread Suraj Paul
Hi, Any suggestions or clues ? ... Cheers, Suraj -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69963#69963 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Visualizing a light cone in scene

2017-01-10 Thread Suraj Paul
Hi all, I am trying to visualize in openscenegraph a scene where there is a moving aircraft and a 'searchlight' attached to it. I am given the orientation of searchlight w.r.t aircraft in terms of angle between the vertical axes of searchlight beam and that of aircraft. Also the positions of

Re: [osg-users] calculating area of the 3d model.

2016-11-19 Thread Paul McIntosh
-Labs/tree/master/VespaCFD/CalculateFrontalArea Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69451#69451 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] osgQT - Windows 10 pthread.h - not found

2016-11-16 Thread Paul McIntosh
cs\Windows\OpenSceneGraphVersionInfo.rc(2): error RC2127: version WORDs separated by commas expected Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69411#69411 ___ osg-users ma

[osg-users] osgQT - Windows 10 pthread.h - not found

2016-11-16 Thread Paul McIntosh
anyone worked around this issue yet? Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69410#69410 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.

Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-11-16 Thread Paul McIntosh
thanks for the reply - I will give it a go with the geenral list and use osgQT in the subject line to make it easy to see. Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69409#69409

Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-11-15 Thread Paul McIntosh
Hi Robert, Should osgQT have it's own section in the forums? I keep coming back to this thread for updates while I am trying to get it to work myself on Windows 10. I am eager to contribute but it is bit hard not having an area to post and answer osgQT related issues. Cheers, Paul

Re: [osg-users] How to validate the value of height Above Terrain

2016-11-11 Thread Suraj Paul
Hi Sebastian, Thanks for the link. ... Thank you! Cheers, Suraj -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69323#69323 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How to validate the value of height Above Terrain

2016-11-11 Thread Suraj Paul
Hi, I checked it out. I am missing DTED data for the terrain! Any sources where i can get any terrain model and its corressponding DTED data? ... Thank you! Cheers, Suraj -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69320#69320

Re: [osg-users] How to validate the value of height Above Terrain

2016-11-10 Thread Suraj Paul
Hi, Thanks Sebastian for the hint...i will try it out. ... Thank you! Cheers, Suraj -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69317#69317 ___ osg-users mailing list

[osg-users] How to validate the value of height Above Terrain

2016-11-09 Thread Suraj Paul
Hi, I am trying to find out the height above a terrain (HAT). Currently im reading terrain DEM in .ive format and using getHeightAboveTerrain() i m computing the HAT for given point (lat/lon and its altitude is available). I wish to check the output of my programme is correct by validating

Re: [osg-users] Issue with shadow

2016-09-27 Thread Suraj Paul
Hi marchingcubes , I tried with softshadow technique. It has reduced the flickering of the shadow and made the shadow of the moving node on the terrian moe well defined. Increasing the 'textureSize' from 1024 to 8192 helped me. However, the flickering of the surface of the moving node is

Re: [osg-users] Creating a flame of rocket

2016-09-26 Thread Suraj Paul
Hi Jannik, Here's my code i am using the create the particle system and emitter. I am creating two particle systems--one for each exhaust of the rocket.:-- int main() { osg::ref_ptr mt = new osg::MatrixTransform; osg::ref_ptr mt_2 = new osg::MatrixTransform; osg::ref_ptr trans= new

[osg-users] Creating a flame of rocket

2016-09-25 Thread Suraj Paul
Hi all, I am trying to create a exhaust flame of a moving rocket similar to one shown in attached image 1. I need only the exhaust plume of the rocket. The rocket is moving [b]fast[/b]. To do so, I used osgParticles to make the particle system as shown below in code: sg::ref_ptr ps =new

Re: [osg-users] Mapping world cordinates to screen cordinates

2016-09-25 Thread Suraj Paul
Hi, After trying a lot, I could understand the behavior of Screen cordinate computation using the above code. SSC are computed whether or not the node is within the camera view. Its just that the camera doesnt know if the node its luking at is still within the FoV or not. Wevneed to check if

[osg-users] Camera Eye psotion in scenes with large terrain

2016-09-23 Thread Suraj Paul
Hi all, I have a scene with large terrain where a node starts moving from a given arbitrary location on the terrain. As the starting location of the node is known, i set the camera's target to look as the node's starting position. My problem is I want to set the initial camera eye to get a

Re: [osg-users] Creating a glowing sun in scene

2016-09-23 Thread Suraj Paul
Hi David, Thanks for the clues to achieve the effect i needed. I have already attempted textured quad, with transparency on it. But it gives, as u said, a cheap look. Being new to multi-pass rendering with blur filter and read the link you shared. Any example on how to get started with this

Re: [osg-users] Issue with shadow

2016-09-21 Thread Suraj Paul
Hi marchingcubes, Thanks a lot for your reply. Being unaware of the shortcoming of the 'shadowmap' of OSG for large terrain, I was struggling with shadow. the link u shared is really useful one and exactly addresses my problem. However, i am yet to include these few-found techniques of the

[osg-users] Mapping world cordinates to screen cordinates

2016-09-18 Thread Suraj Paul
Hi, I am trying to find out what is the screen cordinates corresponding to the world cordinates of a moving node. I read the post: http://forum.openscenegraph.org/viewtopic.php?t=2292 and referred to OSG beginners guide also. So, I did the following:- //set viewport of viewer for screensize

[osg-users] Creating a glowing sun in secene

2016-09-17 Thread Suraj Paul
Hi, I am trying to render a scene from outer space where i need to create a sun glowing at a certain position in space. I could create the sphere but unable to create a glowing effect--a bright sphere with emitting light beyond its boundary. Its something similar to the attached image. I

[osg-users] Issue with shadow

2016-09-15 Thread Suraj Paul
Hi All, I have a scene in which a node is [b]moving over a terrain[/b] at a certain height. I also have a light source in the scene. The node correctly casts shadow on the terrain. Also the parts of node like its limbs/appendages show shadow on the central body of the node as expected.

Re: [osg-users] Feedback/guidance sought on move of osgQt out into it's own project/repository

2016-09-13 Thread Paul McIntosh
ect which combines Qt5/OSG. Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68597#68597 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/lis

Re: [osg-users] Problems with assumeSizedInternalFormat

2016-09-08 Thread Paul Zimmons
ath in texture.cpp which assigns the format for mipmaps to the internal format. However, the assumeSizedInternalFormat function is still wonky and can return the wrong format since multiple formats can match the criteria it is using to search. Cheers, Paul -- Read this topic

[osg-users] Problems with assumeSizedInternalFormat

2016-09-03 Thread Paul Zimmons
is not quite adequate, so I am interested in thoughts about how to fix this issue. Thank you! Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68506#68506 ___ osg-users mailing list

Re: [osg-users] Detecting if a node is within viewfrustum

2016-08-28 Thread Suraj Paul
Hi Robert, Thanks for throwing light in the issue. I will explore OsgUtil::PolytopeIntersector. I am particularly interested in detecting if a particular node is within the view frustum. My purpose is to move the camera manually to contain the node within the view only when it moves out of

Re: [osg-users] Detecting if a node is within viewfrustum

2016-08-28 Thread Suraj Paul
Hi Julien, Thanx for reply. I would be better if there is a simpler way out. If i could just detect when a given node is not inside the viewfrustum, then i could adjust the camera view matrix, something like:- osgGA::OrbitManipulator* orbit = dynamic_cast( view->

[osg-users] Detecting if a node is within viewfrustum

2016-08-26 Thread Suraj Paul
Hi evrybody, I am new to Openscene graph and need a help/guidance. I wish to [b]find which of the sides of view frustum[/b]- left, right, top, bottom near or far- a moving node is crossing. How to find this in Openscene graph? I need it so that, i can translate the camera in the approriate

Re: [osg-users] Windows 8.1 DPI-aware scaling: Problem and solution

2016-05-17 Thread Paul McIntosh
and CMakeMainifest.txt to the OSG based dir and appended it to CMakeLists.txt cat CMakeMainifest.txt >> CMakeLists.txt > If you are amending manifests to DLL-files you will need to change the #1 to > #2 in the CMAKE example above. I only see #1 is the code incomplete? Cheers,

Re: [osg-users] Dumb Screen Resolution Question

2016-04-19 Thread Paul McIntosh
files with MSVC tools. Manifest files named as sources of .exe and .dll targets will be merged with linker-generated manifests and embedded in the binary." I'll test this out and see if it is something that can be included easily. Cheers, Paul -- Read this topic online

[osg-users] Dumb Screen Resolution Question

2016-04-12 Thread Paul McIntosh
10/Visual Studio 2015 (or a missing dependency)? Thank you! Cheers, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66791#66791 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Billboarding 3D models loaded from a file

2016-03-29 Thread Paul Leopard
Works perfectly, thanks! things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66654#66654 ___ osg-users mailing

Re: [osg-users] Billboarding 3D models loaded from a file

2016-03-28 Thread Paul Leopard
Just for info ... I've used the following to gain access to drawables within a 3D model : Code: struct GeodeInfo { GeodeInfo() : m_drawable( 0 ) {} std::string m_geodeName; osg::Drawable* m_drawable; }; // end struct GeodeInfo struct

[osg-users] Billboarding 3D models loaded from a file

2016-03-28 Thread Paul Leopard
with osg::readNodeFile(...)? 2) Can I make a deep copy of it then pass it to osg::Billboard? 3) Am I just being crazy? Is there a better way to do this? Thank you! Cheers, Paul things are more like they are now than they have ever been before -- Read

Re: [osg-users] [forum] TIFF loader: Error reding/decoding file . Does OSG support TIFF ( single strip 32 float ) ?

2016-02-05 Thread Paul PURNELLE
t; osgviewer.exe: No data loaded > > C:\work\libs\openSceneGraph\OpenSceneGraph-3.4.0\build\bin>osgviewer.exe > --image "C:\tmp\wcs.tiff" > osgviewer.exe: No data loaded > > C:\work\libs\openSceneGraph\OpenSceneGraph-3.4.0\build\bin>ls c:\tmp\wcs.tiff

[osg-users] [forum] osgviewer using one full core

2016-02-05 Thread Paul PURNELLE
le for a long time or window is reduced. Switch Threading model does not help. My CPU is a core at 2.8GHz, is this the expected behavior ? Thanks, Paul[/quote] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic

Re: [osg-users] Float 32 bit texture map

2016-01-21 Thread Paul Leopard
The GL_RGB32F_ARB was a dangler ... I tried all sorts of options for that parameter. GL_LUMINANCE16F_ARB doesn't work things are more like they are now than they have ever been before -- Read this topic online here:

[osg-users] Float 32 bit texture map

2016-01-20 Thread Paul Leopard
with the image, then maps that texture onto a quad. Thank you! Cheers, Paul Code: #include "sgp_core/TArrayAlgo.h" #include #include #include // Imply namespaces using namespace sgp_core; using namespace std; // Scene graph root and HUD osg::ref_ptr SceneGraph = new osg::Group(); /*

[osg-users] OSG version for Node-derivation of Drawable?

2015-12-12 Thread Paul Martz
Hi all -- A while back, OSG changed so that Geode derives from Group and Drawable derives from Node. Can someone tell me the first OSG version number that contained this change? I have some code in osgWorks that I need to conditionally compile based on this version number. Thanks. -Paul

Re: [osg-users] [3rdparty] Chromium Embedded Framework (CEF3) integration

2015-10-13 Thread Paul
I've been able to make some advances in including CEF into OSG.. https://github.com/aquawicket/DigitalKnob/tree/master/Libs/DigitalKnob/DKCef References to any of the DK library wrapped around it should be easy to understand and replace if needed. Speaking of.. My library is open source and

Re: [osg-users] [3rdparty] Chromium Embedded Framework (CEF3) integration

2015-10-06 Thread Paul
10/6/2015 Cef is working wonderfully with OSG. I am working on my own library, but some of this code shows how I used the resources above to make it work. It may help. ;) https://github.com/aquawicket/DigitalKnob/tree/master/Libs/DigitalKnob/DKCef Thanks OSG :) -- Read this

[osg-users] [3rdparty] Chromium Embedded Framework (CEF3) integration

2015-09-18 Thread Paul
I'm attempting to create a minimal example of CEF3 integrated into OpenSceneGraph (OSG) I was able to find a couple resources online to get an idea of where to start. OSGEarth-Cef https://github.com/pelicanmapping/osgearth-cef This example looks promising, although it rely's heavily on OSGEarth

Re: [osg-users] [osgPlugins] osgDB::readImageFile() chooses ffmpeg over libpng

2015-06-05 Thread Paul
I'm working on this today.. And I've noticed.. it's not just .png files. If I use osgdb_ffmpeg, it takes over ALL images. I'm attempting to walk through the call stack.. Code: starting here... Registry.cpp - line 992 ReadImageFunctor(const std::string filename, const Options*

Re: [osg-users] [osgPlugins] osgDB::readImageFile() chooses ffmpeg over libpng

2015-06-05 Thread Paul
My fix for this: Upon inspection of ReaderWriterPNG.cpp line - 371 Code: virtual ReadResult readImage(const std::string file, const osgDB::ReaderWriter::Options* options) const { std::string ext = osgDB::getLowerCaseFileExtension(file); if (!acceptsExtension(ext)) return

[osg-users] [osgPlugins] osgDB::readImageFile() chooses ffmpeg over libpng

2015-05-10 Thread Paul
OSG-3.3.7 both plugins osgdb_png and osgdb_ffmpeg loaded. osgDB::readImageFile(image.png) chooses ffmpeg over libpng to load .png image files. I checked ReaderWriterFFmpeg.cpp, and it does not add the .png extention. How do I give libpng priority on .png files. Thanks :) --

[osg-users] Flipping images of an GIF osg::ImageStream

2015-03-01 Thread Paul
Using the ReaderWriterGIF.cpp plugin, I'm able to load and play animated GIF images. However, I need to flip the images vertically. I can only flip the first frame. Code: osg::ref_ptrosg::Image img = osgDB::readImageFile(image.gif); osg::ImageStream* imagestream =

Re: [osg-users] is osgEphemeris incompatible with osgShadow?

2014-10-14 Thread Paul Martz
The official osgEphemeris repo is now on Google Code: https://code.google.com/p/osgephemeris/ Please submit any changes as an issue and attach a patch. Thanks. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http

[osg-users] [build] Debug build apps crash at startup

2014-09-22 Thread Paul Leopard
Any ideas? Thanks, Paul [/code][/quote] things are more like they are now than they have ever been before -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61112#61112 ___ osg

[osg-users] CompositeViewer / Viewport / problems with events

2014-09-09 Thread Paul
I'm using the CompositeViewer to create a window of a scene. I then add a viewport of another scene on top. I'm having problems with events. If I created the the viewport window first, mouse events work for both, but keyboard events only only work for the mainwindow. Code:

Re: [osg-users] OpenGL NG: thoughts?

2014-08-12 Thread Paul Martz
://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] transforming a directional vector into eye-space

2014-08-11 Thread Paul Martz
The OpenGL spec and GLSL both use post-multiply notation. OSG uses pre-multiply notation. The two produce identical results because they do the same thing internally. -Paul On Mon, Aug 11, 2014 at 3:06 PM, Bram Vaessen bram.vaes...@gmail.com wrote: thanks I noticed I had to use the (vec3

Re: [osg-users] Pulling texture(s) off an object after each rendered frame and put them in an osg::Texture*...

2014-08-07 Thread Paul Martz
://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Pulling texture(s) off an object after each rendered frame and put them in an osg::Texture*...

2014-08-07 Thread Paul Martz
RTT to create/modify a set of textures... actually a osg::TextureCubeMap I am taking this TextureCubeMap and projecting it onto an object. After I project the CubeMap onto the object I want peel this texture, or surface of the object, off as a single texture. On 2014-08-07 08:49, Paul Martz

Re: [osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-28 Thread Paul
I just tried OSG versions 3.3.2 and the Trunk version.. I get the same error for all versions. Linking CXX executable Test.exe C:\osg-master\win32\mingw\lib\libosgDB.a(Registry.obj):Registry .cpp:(.text+0x186e): undefined reference to `osgGetVersion'

[osg-users] [build] Linking Errors with OSG-3.3.0 and MSYS

2014-07-23 Thread Paul
I can build OSG with MinGW/MSys. I get link errors when trying to compile an app against it though. Any ideas? C:\Apps\Test\win32\mingwmake Linking CXX executable ..\bin\Test.exe C:\Libs\OpenSceneGraph-3.3.0\win32\mingw\lib\libosgDB.a(Registry.obj ):Registry.cpp:(.text+0x186e): undefined

Re: [osg-users] Hole in extrusion

2014-07-23 Thread Paul Martz
This seems like the age-old you can't draw a flat-shaded cube with 8 vertices dilemma. Don't you need to repeat the same xyz vertex possibly multiple times? So that you can have a different normal at the same vertex, depending on which face you're rendering. -Paul On Wed, Jul 23, 2014 at 8

[osg-users] OSG app without Console window?

2014-06-28 Thread Paul
On windows, my OSG apps always have a console window. I've looked everywhere but haven't figured out how to turn it off. I want the app to run and only show the viewer window. Thanks in advance ;) -- Read this topic online here:

Re: [osg-users] BUG: osgGA::GUIEventAdapter returns wrong mouse ranges on android

2014-06-16 Thread Paul
I can confirm this issue. For android I use setUpViewerAsEmbeddedInWindow(0, 0, width, height) and then setMouseInputRange(0, 0, width, height). I then send the input via getEventQueue()-mouseButtonPress(x, y, button); The input coordinates from android seem to be correct at this point,

Re: [osg-users] How to cancel transparency ?

2014-05-30 Thread Paul Martz
from UserData. -Paul On Fri, May 30, 2014 at 5:08 AM, sunpeng blueva...@gmail.com wrote: I use following code to set transparency: osg::StateSet* state = root-getOrCreateStateSet(); state-setMode(GL_LIGHTING,osg::StateAttribute::OFF|osg::StateAttribute::PROTECTED); state-setMode

[osg-users] Question on CullVisitor::getRenderStage()

2014-05-23 Thread Paul Martz
. -- -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenScenegGraph-3.2.1 release candidate 3 tagged, please test in prep for 3.2.1 release

2014-05-22 Thread Paul Martz
It looks like the osg::Geometry changes (deriving from osg::Node) are not on the 3.2 branch, just on trunk. Is that correct? -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Lookup texture coordinate issue

2014-05-17 Thread Paul Pocock
It's sorted.My tex coordinate generation was wrong.. :P On 17/05/14 09:50, Paul Pocock wrote: Hi, I have a 4x4 float texture containing positions ranging from 0 ..10. I have a lookup float texture a 64x64x64 packed as a 2D texture 64x4096 containing some vectors in each texel. the 64x64x64

[osg-users] Lookup texture coordinate issue

2014-05-16 Thread Paul Pocock
Hi, I have a 4x4 float texture containing positions ranging from 0 ..10. I have a lookup float texture a 64x64x64 packed as a 2D texture 64x4096 containing some vectors in each texel. the 64x64x64 is packed into a 64x4096 2d image: data[y * height + z+0] = value; data[y * height + z+1] =

Re: [osg-users] Obsolete osg-users archive search index?

2014-05-01 Thread Paul Martz
FYI, osg-users posts have been reflected to a Google Group for at least the past six years, so you should just be able to search using Google. The group is here: http://groups.google.com/forum/#!forum/osg-users I hope people find this helpful. -Paul

[osg-users] New LUA plugin fails to link

2014-04-29 Thread Paul Martz
Hi Robert -- There is a new plugin, LUA, which fails to link on Windows when building current trunk. It looks like multiply defined symbols. I'm building for GLCORE, but that's probably irrelevant. I'm using the default setting for the LUA local source CMake variable. Here's the output:

Re: [osg-users] New scheme for configuring the OSG for building against different versions of the OpenGL/OpenGL ES

2014-04-25 Thread Paul Martz
On Fri, Apr 25, 2014 at 2:25 AM, Robert Osfield robert.osfi...@gmail.comwrote: Now things are compiling OK for you, could you let me know which bits if any of the original post you now want merged. Thanks, Robert. I re-posted this to osg-submissions, in the original thread. -Paul

  1   2   3   4   5   6   7   8   9   10   >