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/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] updating the webpages

2017-01-17 Thread Paul McIntosh
Hi,

Just wondering what the protocol is for updating the webpages? Do you give out 
a login or do we just post it here?

I want to fix up the missing newlines that are making the git commands hard to 
read here:
http://www.openscenegraph.org/index.php/download-section/code-repositories/31-git-mirror

e.g.
Lines like this...


Code:
~/OpenSceneGraph (master)$ git remote -v origin :[your-github-account]/osg.git 
(fetch) origin :[your-github-account]/OpenSceneGraph.git (push)



Should look like this...


> ~/OpenSceneGraph (master)$ git remote -v 
> origin :[your-github-account]/osg.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 list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2017-01-16 Thread Paul McIntosh

Trajce Nikolov NICK wrote:
> Hi Robert,
> 
> what I tried to say and it fixed it was to call INCLUDE( FindOpenSceneGraph ) 
> in the main CMakeLists.txt and use the OSG_INCLUDE_DIRS and OSG_LIBRARIES in 
> the project CMakeLists.txt
> 
> 


Trajce could you post the new 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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2016-11-19 Thread Paul McIntosh
Hi Uma,

You might want to also look at VTK/ParaView which has some features but event 
then it is a non-trivial task.

A while ago I needed to calculate the frontal area and it turned out easier to 
just render it and pixel count. The issues were due to how select works. As the 
GPU is optimising the rendering, it is not drawing all the triangles, if you 
then select and calculate on that select you will not get the correct answer.

You may be able to do a variation with slicing and pixel counting (in either 
VTK or OSG) - my random nodes/coda here:

https://github.com/internetscooter/Vespa-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://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2016-11-16 Thread Paul McIntosh
Here is a hacked solution, I am not sure if threads are even needed, there 
seems to be a few hangovers from the original osg CMakeLists...


Code:
# This should set CMAKE_USE_WIN32_THREADS_INIT = 1 if the CMAKE_SYSTEM = 
"Windows"...
#   FIND_PACKAGE(Threads)
# However it doesn't even though we are Windows...
message("CMAKE_SYSTEM_NAME: ${CMAKE_SYSTEM_NAME}")
# and tries to find pthread.h...
# So we will just do it ourselves...
IF(CMAKE_SYSTEM MATCHES "Windows")
  SET(CMAKE_USE_WIN32_THREADS_INIT 1)
ENDIF(CMAKE_SYSTEM MATCHES "Windows")
# and viola we have done what FIND_PACKAGE(Threads) failed to do...
message("CMAKE_USE_WIN32_THREADS_INIT: ${CMAKE_USE_WIN32_THREADS_INIT}")



Should FIND_PACKAGE(Threads) not be there at all?

I also get an error with Find3rdPartyDependencies but gather that is not needed 
either?


Code:

# 3rd Party Dependency Stuff
# paulmc IF(WIN32)
# paulmcINCLUDE(Find3rdPartyDependencies)
# paulmc ENDIF()




I am now at the point of building but getting...


Code:
C:\Users\internetscooter\xyaz\osgQt\build\PlatformSpecifics\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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2016-11-16 Thread Paul McIntosh
Hi All,

I am trying to get the new osgQT (https://github.com/openscenegraph/osgQt) 
building but I am having trouble with threading on Windows


Code:
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE  
Found OpenGL: opengl32  
CMake Error at CMakeLists.txt:452 (INCLUDE):
  include could not find load file:

Find3rdPartyDependencies


Configuring incomplete, errors occurred!



I tried adding the CMAKE_USE_WIN32_THREADS_INIT directive that is used 
elsewhere in osg with no luck..


Code:
# Okay, here's the problem: On some platforms, linking against OpenThreads
# is not enough and explicit linking to the underlying thread library
# is also required (e.g. FreeBSD). But OpenThreads may be built with different
# backends (Pthreads, Sproc, Windows) so we don't know what the underlying
# thread library is because some platforms support multiple backends (e.g.
# IRIX supports Sproc and Pthreads). Linking all libraries won't work
# because the libraries may be incompatible.
# So the current solution is to attempt best guess linking and exempt certain
# cases. With IRIX, we're going to hope explicit linking to the underlying
# library is not necessary. We currently don't case for pthreads on Windows
# which might be an issue on things like Cygwin. This may need to be fixed.

# I added this
IF(CMAKE_SYSTEM MATCHES "Windows")
  SET(CMAKE_USE_WIN32_THREADS_INIT 1)
ENDIF(CMAKE_SYSTEM MATCHES "Windows")

FIND_PACKAGE(Threads)



Has 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.org/listinfo.cgi/osg-users-openscenegraph.org


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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69367#69367





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2016-09-13 Thread Paul McIntosh

Mathieu wrote:
> 
> Anyone out there wanting to chip in ?
> 


I can help - my time is very limited though. At the very least I can feedback 
on the documentation, setup and use.

I have past experience with Qt/OSG/Delta3D and am currently reviving all that 
knowledge on a personal project 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/listinfo.cgi/osg-users-openscenegraph.org


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

2016-05-17 Thread Paul McIntosh
Hi Björn,

Thanks for the info but sorry I am having trouble getting this to work (CMake 
3.4.0)...


Code:
CMake Error at CMakeLists.txt:1353 (ADD_CUSTOM_COMMAND):
  add_custom_command Wrong syntax.  A TARGET or OUTPUT must be specified.



I copied dpiawarescaleing.manifest 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,

Paul[/code]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67126#67126





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Dumb Screen Resolution Question

2016-04-19 Thread Paul McIntosh
Hi Björn,

Thanks for the reply, gee I have been away a while! Your post was from 2011, 
and this has not been included in the source?

I'm keen to contribute back to OSG so I did a bit more investigation and CMake 
now supports since 3.4...

"CMake learned to honor *.manifest source 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 here:
http://forum.openscenegraph.org/viewtopic.php?p=66883#66883





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Dumb Screen Resolution Question

2016-04-12 Thread Paul McIntosh
Hi All,

I am getting back into OSG after a long absence - I am now on a Windows 10 
Surface Pro 4/Visual Studio 2015 and fighting changes in these as well as 
trying to work out why I can't get screen resolution to work properly. It 
always comes up about twice the size it should (centre screen is bottom/right 
corner). I don't recall ever having an issue, so I am wondering it I am doing 
something dumb...

I can get the size to change by directly setting the viewer size in code, but I 
have a whole bunch of projects I want to test, so I need it to work globally 
rather than edit every example.

If I set OSG_SCREEN_WIDTH and OSG_SCREEN_HEIGHT I can see these being read and 
the DisplaySettings _screen variables being set to the values but this does not 
result in the size changing? If I also set the the starting default sizes, this 
has no effect.

Is there something up with Windows 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://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2009-06-23 Thread Paul McIntosh
Would there be enough interest in an osgViewerActiveX? I have made a control 
which can be dropped into managed forms. This is for a particular purpose, 
however if there is enough interest I don't mind redoing it in a generic form 
and have it added as a osg project list (and maintaining it).

If you just want to hack my code as-is then I can email you the code (let me 
know paul dot mcintosh at internetscooter dot com).

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com


  ---Original Message---
  From: buidinhba5 buidinh...@gmail.com
  Subject: Re: [osg-users] Windows forms and c#
  Sent: 24 Jun '09 13:14
  
  Hi All
  
  I have download osgNETDemo.rar from
  http://www.april1985.com/2008/02/19/osgnetdemo/#more-322
  
  Download link : http://www.april1985.com/?dl_id=7
  
  I Use OSG 2.8.1 , and in VSProj , in project I add /Lib and /include of  OSG
  2.8.1
  
  In VS 2005
  
  In debug mode I compile success but  when I run it get error ; The
  application failed to initialize properly (0xc015002). Click on OK to
  terminate the application
  
  I Think this version OSG is newer and not compatible  in this Project , who
  can show me version Compatible or how to fix this problem . Thank ^^
  
    
  
  I also read about FAQ:
  
  
  http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSG
  viewerina.NETcontrol
  
  
  
    I make another project but when I only add library  in stdafx.h
  not use it, it take many time to compile !^! I don't know why K
  
  //TODO: reference additional headers your program requires here
  
  #include osg/Geode
  
  #include osg/Node
  
  #include osg/Geometry
  
  #include osg/MatrixTransform
  
  #include osg/PolygonMode
  
  
  
  #include osgViewer/Viewer
  
  #include osgGA/TrackballManipulator
  
  
  
  #include osgViewer/ViewerEventHandlers
  
  #include osgGA/StateSetManipulator
  
  
  
  #include osgDB/ReadFile
  
  #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: 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-users-openscenegraph.org/2008-
  February/007430.html
  
  You can integrate this into a Visual Studio solution with a C# project.
  
  
  
  Kind regards,
  
  
  Ruben
  
  
  
    _  
  
  From: osg-users-boun...@lists.openscenegraph.org on behalf of buidinhba5
  Sent: Mon 6/22/2009 6:35 AM
  To: 'OpenSceneGraph Users'
  Subject: Re: [osg-users] Windows forms and c#
  
  Hi Jason Beverage
  You can give more information use c++/cli to make a managed control ,some
  example or link to learn
  I have seach in Google and not see more about how to use c++/cli, it seem to
  be not have more example and turtorial can you give some help
  
  Thanks,
  Ba.
  
  
   -Original Message-
   From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-
   boun...@lists.openscenegraph.org] On Behalf Of Jason Beverage
   Sent: Sunday, June 21, 2009 12:16 AM
   To: OpenSceneGraph Users
   Subject: [osg-users] Windows forms and c#
  
   Hi all,
  
   This is a reply to the poster that asked about using OSG and c# and
   mentioned me :)
  
   Back when I first wrote that message I was using Tao and osgdotnet in
   some testing. These days the absolute best way to use osg with c# IMO
   is to use c++/cli to make a managed control and just use osg from
   native c++. You have full access to osg with no need to write
   wrappers.  Osgdotnet seems to have been abandoned anyway and hasn't
   been updated in quite some time.
  
   Thanks!
  
   Jason
  
  
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
  This e-mail and its contents are subject to the DISCLAIMER at
  http://www.tno.nl/disclaimer/email.html
  
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] sticky question - where is the info on how to build a plugin

2009-02-18 Thread Paul McIntosh
First post in the plugin forum :)

Is there any document explaining how to build a plug-in? I have a bunch of code 
that I want to group together and release as a plugin osgDiagram. It would be 
good to have this info as a sticky note in the forum.

Cheers,

Paul

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=7003#7003





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Node Kits for Charts Graph

2008-12-03 Thread Paul McIntosh
I've been toying with the idea of osgDiagram. I have created my own Edge node 
which links two geodes to create dynamic graphs. I definitely see scope for 
graphing capabilities in OSG and would be happy to contribute.

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com

  ---Original Message---
  From: Brent Fulgham [EMAIL PROTECTED]
  Subject: Re: [osg-users] Node Kits for Charts  Graph
  Sent: 04 Dec '08 11:43
  
  Simon,
  
  I just started lurking here, in the hopes of doing something similar.
  If something doesn't exist yet, perhaps we could discuss how to make
  this work?
  
  -Brent
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] 3D Graphs - edges?

2008-11-01 Thread Paul McIntosh
All,

I am wondering if anyone has tried to implement a graph edge? i.e. a
connection (such as a line) between geodes to make a 3D graph, where
the connection derives its properties from the geodes it connects. 

I need to implement such a connector myself, I'm thinking of making it
an actual osg node type (extended either osg::Geode or osg:Group) and
hopefully it will be good enough to include in OSG. OpenSG has a
NodeGraph::Edge (though I haven't looked at it in detail) so I am
guessing other OpenSceneGraph users may want one too and someone may
have even started...

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Subtle manipulation (without setupDefaultGeometry)

2008-10-20 Thread Paul McIntosh
All,

I am trying to recreate an interface where the user clicks on items in
a scene and moves them about. An example of what I am recreating
(originally in X3D) is in the video:
http://www.youtube.com/watch?v=gcgQajTXVrA

I've got the same thing working with OSG with the osgmanipulators
however these manipulators (seem to?) rely on setupDefaultGeometry()
to create handles. I would rather have the original subtle approach,
where the object itself acts as the handle and the scene is not
cluttered with other objects.

Is there an easy way to do this or will I have to create my own
specialised dragger?

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OSG developers Australia? Melbourne?

2008-07-15 Thread Paul McIntosh
All,

Seeking OSG developers Australia to participate in developer study...

I am undertaking a PhD in UML based 3D Software Visualisation at RMIT,
Melbourne, Australia. As part of that I wish to investigate 3D
software visualisation for use by OpenSceneGraph developers.  

My methodology is user centred, which means I need to first do a user
task study to document how things are currently done, the issues
developers have and whether (in theory) 3D software visualisation
could help. 

If there are any OSG developers in Melbourne, Australia (or close
1000Km), that don't mind someone bugging them for a few hours while
they work, please drop me an email (paul dot mcintosh at
internetscooter dot com). Note: UML usage is not required and all
levels of experience from student to professional is sort.

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] writeNodeFile in the osgdotnet wrappers

2008-05-21 Thread Paul McIntosh
I am trying to use writeNodeFile in the osgdotnet wrappers but it
appears not to be implemented. I found the following post that
suggests that it could have been updated or at least looked into. Is
it still an issue? Is there are quick hack that I can do to get it
working?

http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.or
g/2007-August/000960.html

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Any UML tool used for OSG development?

2008-05-03 Thread Paul McIntosh
Hi OSG Developers,

I am researching 3D software visualisation through extensions to UML
(Unified Modelling Language). I am very interested in using
OpenSceneGraph as it is OO and it handles text very well.

I am also interested because it would make an interesting candidate
for testing some visualisation concepts (i.e. visualising the OSG code
in OSG), due to it's users having 3D experience. 

I have seen some UML diagrams of OSG and I am wondering if a UML tool
is currently used in development or documentation? If so what tool and
is the model available?

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org