Re: [osg-users] Building Virtual Planet Builder (0.9.12) on multiple computers

2012-05-02 Thread Sean K
Thanks for all the responses.

But the only way that I could get rid of the problem is to re-run the
cmake again.

Otherwise the vs2010 project is hosed.

And I could only get the osgdem (release) version compiled and linked
successfully -- with some tweaking in VS2010.

The osgdemd (debug) version still crashed  -- to be looked at a later time.



On Wed, May 2, 2012 at 11:09 AM, Martin Naylor
 wrote:
> Hi,
> I know it sounds daft!
> But you have tried a clean of the build from VS2010, also make sure you
> delete the cache from the CMake menu before rerunning cmake.
> I would checkout a fresh copy and see if that builds as well against your
> libs etc...
> If that still fails then a repair on VS2010, I have had to this once on
> mine. VS 2008 is still good though, which I tend to still use.
> Quickly glancing through the log it says it cannot open a cmd prompt? I
> suspect its a hardcoded path or something in the project file/s.
> Hope it helps a little.
>
> Cheers
>
> Martin
>
>
> ___
> 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


Re: [osg-users] [build] osgText library

2012-05-02 Thread Chris Hanson
>
> error C2039: 'setNodeMask' : is not a member of 'osgText::Text'
>
>
My mistake. Do setNodeMask on tankLabelGeode. osgText class is not derived
from the Node class, but the Geode is.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] osgText library

2012-05-02 Thread David Fernandes
I have tried that and when building the error message is 


error C2039: 'setNodeMask' : is not a member of 'osgText::Text' 


Why is this happening ?

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





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


Re: [osg-users] First OSG application on Ipad

2012-05-02 Thread Raymond de Vries

Hi Stephan, Thomas,

I would like to follow your procedure to build a set of iOS libs and I 
am following your instructions in this mail and on the new website 
(which is progressing nicely btw, congrats!). I have some questions 
though...


In this mail, you mention that cmake nightly build should be usable. In 
the mean time 2.8.8 is out there so I guess that one should be usable, 
as also mentioned on the osg iOS page.


Now when I try to use cmake 2.8.8 by running 'cmake-gui .' from within 
the osg svn folder, it doesn't find xcode. Do I need to configure xcode 
somehow in order to find it?


About your github mirror, I am not sure what the status is, or how I 
should be able to use it. Browsing your mirror, the date of the files is 
not up-to-date. Could you please explain it a bit more?


Thanks a lot!
Raymond



On 4/21/12 11:40 AM, Stephan Huber wrote:

Hi Wojciech,

Am 20.04.12 17:28, schrieb Wojciech Lewandowski:


We want to port an OSG program to Ipad. This was once written on Windows.
We already gathered some experience on OSG/GLES when porting it to Android.
And now its time for IOS. We are completely fresh on IOS Mac programming,
though. So fresh, we don't even own a Mac for development station, yet. In
preparation for the task I was looking on OSG site and mailing list for
some guidance. My overall impression is not too rosy, though. I've found
posts that CMake does not work with XCode and XCode project has a separate
manually maintained repo. Since I am a such a newbie on the topic I can't
figure out how severe the whole picture is and how easy or messy attempt
could be. So I decided to just start a small poll and ask these few
questions directly:

CMake and XCode:

XCode is now distributed via the mac app store, the app resides in the
app-folder, and not as in previous versions in a dedicated folder called
"/Developer" Older versions of Cmake required that xcode lives in
/Developer. This broke project generation for xcode. Fortunately the
nightly builds available at cmake.org include a bug fix, so cmake is
working again for os x and ios.

CMake generated project files vs hand-maintained xcode-project files on
github (https://github.com/stmh/osg/tree/iphone


cmake:
+ project files for most of the plugins
- generated project files work either for the simulator or for the
device (you'll need two xcode project files for sim and device)
- no working example app

hand-maintained xcode-project-files via github branch:
+ project can compile libs for device and lib
+ project can be embedded in other xcode-project and xcode can resolve
all dependencies automatically.
+ working examples
- only a handful plugins are supported




- Is IOS/OSG environment mature enough to attempt a more advanced
application than test samples ?

I think it's stable enough to do serious work. AFAIK there are some apps
in the wild from Thomas Hogarth and I published a small app two weeks ago.


- For larger app would you recommend XCode or command line Cmake build ?

AFAIK It's necessary to use xcode for building an ipad app (codesigning
for example), but you can compile your xcode project from the
commandline using xcodebuild, which works good enough. I'd recommend xcode.


- I have read that XCode can be quite unresponsive with OSG project on Mac
mini. Could you recommend some minimal HW configuration to handle the
environment and allow for comfortable work ?

yes, that's true, xcode need a lot of cycles to open and munge the
osg-project files, you can avoid this by compiling the osg libs and
-plugins with xcodebuild via the command line; and, you'll do this only
once to get a set of libs you can use for your further development tasks.

So, basically you compile your osg libs and plugins once, set up your
project and use the libs from there. Working on your own project with
xcode is fast and flawless, so no worry about that. (linking will take
its time though)

A recent mac with plenty of RAM (xcode tends to use all available RAM it
can get) and a lot of cores :) will suffice. I think an midsized
quadcore iMac would be a good start. I do most of my development with a
two year old MacBookPro with 8GB RAM and a 256GB SSD and on a four year
old quad core Mac Pro.


- Can OSG/GLES program be tested on IPAD emulator on Mac ? We could not do
it with Android (last week version of Android SDK  supposedly changes that)
?

If you compile osg for simulator and device, and adjust the project
settings accordingly then you can test your app on the simulator and on
the device. In my experience the simulator is slower than the actual
device and you'll notice some artefacts/errors when rendering opengl es
from within the simulator.

I have a set of universal libs of osg which work for the device and for
the simulator. If there's any interest I can share them online. (Built
from the handmaintained xcode-project via github)

The hard part with osg + ios is to get a set of working libs for
simulator and device. If you have your libs and

Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Robert Osfield
Hi Jordi,

On 2 May 2012 19:03, Jordi Torres  wrote:
> About the migration status I have setup a new migration tasks page in the
> website. The idea is that authors are able to modify this page and autoasign
> tasks. Then a publisher review the changes and apply them if appropiated.
> Publishers and admins should have set the priority of each item before, and
> remove those items which won't be migrated.

Migration page looks good.  I'll have a deeper look at the list
tomorrow.  I'm guessing I should tackle the support and downloads
pages as priority.

Unfortunately I'll be away next week in Montreal so won't be able to
work on the website, in the evening's if I'm able I'll try to keep up
with emails.  The rest of this week I'll be wrapping up my prep for
the trip so won't have too much time either, but I'll be around able
to put some time in.

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


Re: [osg-users] Monitoring time elapsed

2012-05-02 Thread Robert Osfield
Hi Utkarsh,

viewer.getViewerFrameStamp()->getReferenceTime();

Robert.

On 2 May 2012 17:27, Utkarsh Patankar  wrote:
> Hi,
>
> In an OSG application, is there any way to find out how much time has elapsed 
> since osgviewer started running? I don't want to use any external time based 
> functions.
>
> Thank you!
>
> Cheers,
> Utkarsh
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47508#47508
>
>
>
>
>
> ___
> 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


Re: [osg-users] osgText measurement

2012-05-02 Thread Robert Osfield
Hi James,

You should be able to go directly to the Font to get the Glyph's
directly.  osgText::Text itself will use the Glyph values to position
and size it's quads for rendering.  osgText supports Kerning so this
affects the position of text characters as well.

Robert.

On 2 May 2012 17:13, James Turner  wrote:
> Hi,
>
> I'm trying to port some existing code to use osgText instead of a previous 
> font-rendering library, and hitting up against the osgText API. In 
> particular, I'm struggling to measure text without setting it on a 
> osgText::Text instance.
>
> I guess this is because the font-size and pixel size (and even transformation 
> matrix?) must be known to compute a size, but the code I'm coming from 
> frequently does things like:
>
> double width = widthOfString("lorum ipsum etc");
> // or indeed, height of the string
>
> if (width > blah) {
>        ... take some action
> } else {
>        ... take some radically different action
> }
>
> The problem is if start setting line-wrapping or a maximum width on the 
> osgText::Text, it seems as if the computed bounding box is going to respect 
> those values. I think I need a way to measure the glyph bounds as if line 
> wrapping / maximum sizes were ignored. (Without saving / resetting / 
> restoring them)
>
> (There's also the issue of needed to create the text-node to perform the 
> measurement at all, but I guess I can't escape that)
>
> Am I missing some API features, or is this simply not possible?
>
> BTW, all this text will be drawn with no scaling / rotation, in screen-space, 
> with orthographic projection. I realise osgText can't assume that in the 
> general case, of course. So, for example, if I could abuse the Font API to 
> measure glyph bounds, that might work quite well for me.
>
> James
>
>
>
> ___
> 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


Re: [osg-users] Building Virtual Planet Builder (0.9.12) on multiple computers

2012-05-02 Thread Martin Naylor
Hi,
I know it sounds daft! 
But you have tried a clean of the build from VS2010, also make sure you
delete the cache from the CMake menu before rerunning cmake.
I would checkout a fresh copy and see if that builds as well against your
libs etc...
If that still fails then a repair on VS2010, I have had to this once on
mine. VS 2008 is still good though, which I tend to still use.
Quickly glancing through the log it says it cannot open a cmd prompt? I
suspect its a hardcoded path or something in the project file/s.
Hope it helps a little.

Cheers

Martin


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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Jordi Torres
Hi Torben, Thomas, Robert et al,


> > @ Jordi: Would it be worthwhile to add a page where you list the
> installed joomla modules/techniques to allow related projects like osgEarth
> or osgVisual ;) to move to the new website style?
> >
>

Once we know what to do with these projects (In my opinion they should be
under the non existent menu item Community->projects and erase the item
derived software), certanily we need to have an author's guide and
publisher's guide. I will include it in my to do huge list :P. We could add
a new menu only visible for registered users with these guides.

About the migration status I have setup a new migration
taskspage in
the website. The idea is that authors are able to modify this page
and autoasign tasks. Then a publisher review the changes and apply them if
appropiated. Publishers and admins should have set the priority of each
item before, and remove those items which won't be migrated.

Thoughts?

-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgCompute] END_BRACKET

2012-05-02 Thread Martin Naylor
Hi,
There was a fix for this applied to Virtual Planer Builder just yesterday.
I am assuming of course you are building osgcompute against VPB.

Cheers

Martin


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Conan Doyle
Sent: 25 April 2012 13:04
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] [osgCompute] END_BRACKET

Hi,

Trying to build osgCompute... It has built fine every time I have tried, except 
for now on my new machine My brain just isn't working right now so this is 
probably an easy fix, but I cant' see it... The error I am getting is: 

In function ‘bool writeResources(osgDB::OutputStream&, const 
osgCuda::Computation&)’:
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:31: error: 
‘BEGIN_BRACKET’ is not a member of ‘osgDB’
path/to/SOURCES/osgCompute/src/osgCudaSerializer/Computation.cpp:52: error: 
‘END_BRACKET’ is not a member of ‘osgDB’



Thank you!

Cheers,
Conan

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





___
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] Building Virtual Planet Builder (0.9.12) on multiple computers

2012-05-02 Thread Sean K
My boss gave me his visual studio 2010 project for vpb.

He and I have the same file directory structure for where we put our
GDAL 1.6.0, OpenSceneGraph-3.0.1, and the vpb0.9.12.

Just using this Visual Studio project files for vpb, it gave me this
build error.   I tried to build ALL_BUILD but it failed on ZERO_CHECK
and the same error repeats in other dependent projects (I really need
osgdem to build successfully).

(I turned up the build details so that I can try to figure out what is
going on)

I also opened up the Microsoft.CppCommons.target and looked at line
151 and try to understand what is going wrong.

But I am still stumped.

I tried to re-run the CMake.   That kind of solved it -- but the
osgdemd.exe crashed immediately before doing anything -- I added a
printf as the first statement in the main().It does not even get
there.   (the OSG binaries like osgviewerd.exe and others seem to
work.)

Any ideas?

(I removed some lines below that were too sensitive -- like company
name and my full name)
1>-- Build started: Project: ZERO_CHECK, Configuration: Debug Win32 --
1>Build started 5/2/2012 10:17:59 AM.
1>Environment at start of build:
1>MSBuildExtensionsPath32 = C:\Program Files (x86)\MSBuild
1>MSBuildExtensionsPath64 = C:\Program Files\MSBuild
1>MSBuildExtensionsPath = C:\Program Files (x86)\MSBuild
1>ALLUSERSPROFILE = C:\ProgramData
1>ANT_HOME = C:\DEV\BIN\apache-ant-1.8.2
1>CommonProgramFiles = C:\Program Files (x86)\Common Files
1>CommonProgramW6432 = C:\Program Files\Common Files
1>ComSpec = C:\Windows\system32\cmd.exe
1>EICDDrive = D:\
1>FP_NO_HOST_CHECK = NO
1>GEOINFO_HOME = C:\DEV\BIN\Geoinformatica
1>HOMEDRIVE = H:
1>HOMEPATH = \
1>JAVA_HOME = C:\DEV\BIN\Java\jdk1.6.0_32
1>NUMBER_OF_PROCESSORS = 4
1>OS = Windows_NT
1>Path = C:\Program Files (x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Intel\DMIX;C:\DEV\BIN\apache-ant-1.8.2\bin;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\DEV\BIN\apache-maven-3.0.3\bin;C:\DEV\BIN\Java\jdk1.6.0_32\bin;C:\DEV\BIN\Java\jdk1.6.0_32\jre\bin;C:\MinGW\bin;c:\Program
Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program
Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft
SQL 
Server\100\DTS\Binn\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files\TortoiseSVN\bin;C:\DEV\BIN\Geoinformatica\bin;C:\Projects\vpb0.9.12\build\bin\Debug\run\bin;C:\Projects\vpb0.9.12\build\bin\Debug\run\lib;C:\Projects\vpb0.9.12\build\bin\Debug\run
1>PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
1>PROCESSOR_ARCHITECTURE = x86
1>PROCESSOR_ARCHITEW6432 = AMD64
1>PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
1>PROCESSOR_LEVEL = 6
1>PROCESSOR_REVISION = 2505
1>ProgramData = C:\ProgramData
1>ProgramFiles = C:\Program Files (x86)
1>ProgramW6432 = C:\Program Files
1>PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
1>PUBLIC = C:\Users\Public
1>SESSIONNAME = Console
1>SystemDrive = C:
1>SystemRoot = C:\Windows
1>VS100COMNTOOLS = c:\Program Files (x86)\Microsoft Visual Studio
10.0\Common7\Tools\
1>windir = C:\Windows
1>
1>Building with tools version "4.0".
1>Target "_CheckForInvalidConfigurationAndPlatform: (TargetId:2)" in
file "c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets"
from project "C:\Projects\vpb0.9.12\build\ZERO_CHECK.vcxproj" (entry
point):
1>Task "Error" skipped, due to false condition; (
'$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' ==
'true' ).
1>Task "Warning" skipped, due to false condition; (
'$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' ==
'true' ).
1>Using "Message" task from assembly "Microsoft.Build.Tasks.v4.0,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>Task "Message" (TaskId:2)
1>  Configuration=Debug (TaskId:2)
1>Done executing task "Message". (TaskId:2)
1>Task "Message" (TaskId:3)
1>  Platform=Win32 (TaskId:3)
1>Done executing task "Message". (TaskId:3)
1>Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and
!HasTrailingSlash('$(OutDir)')) was evaluated as
('C:\Projects\vpb0.9.12\build\Debug\' != '' and
!HasTrailingSlash('C:\Projects\vpb0.9.12\build\Debug\')).
1>Task "Error" skipped, due to false condition;
('$(BaseIntermediateOutputPath)' != '' and
!HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as
('obj\' != '' and !HasTrailingSlash('obj\')).
1>Task "Error" skipped, due to false condition;
('$(IntermediateOutputPath)' != '' and
!HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as
('Win32\Debug\ZERO_CHECK\' != '' and
!HasTrailingSlash('Win32\Debug\ZERO_CHECK\')).
1>Done building target "_CheckForInvalidConfigurationAndPlatform" in
project "ZERO_CHECK.vcxproj".: (TargetId:2)
1>Target "_DetermineManagedStateFromCL: (TargetId:3)" in file
"C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets" from
proj

Re: [osg-users] [osgCompute] END_BRACKET

2012-05-02 Thread Conan Doyle
I was using 3.0.1, w/osgCompute 1.1, but I switched to the latest greatest 
osgCompute from svn and now I am compiling fine.  Thanks for the feedback.


jens.svt wrote:
> Hi sholmes,
> 
> What version of OSG do you use?
> 2.9.9 and above should work.
> 
> 
> Cheers,
> Jens


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





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


Re: [osg-users] [osgCompute] osgCompute / osgCuda Postfilter

2012-05-02 Thread Conan Doyle
I was successfull in using the GLRGBA32F as well as the GL_LUMINANCE_ALPHA32F.  
Thanks for the feedback.  osgCompute is a very interesting project... Would 
like to see across the board support for multithreaded mode though... Is that 
in the works?


jens.svt wrote:
> Hi sholmes,
> 
> I use GL_RGBA32F in my projects.
> However, CUDA had problems to map
> GL_RGBA16F in earlier versions.  
> Maybe you should try to run this internal GL format 
> with our RTT-example first.
> 
> Cheers,
> Jens


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





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


[osg-users] Monitoring time elapsed

2012-05-02 Thread Utkarsh Patankar
Hi,

In an OSG application, is there any way to find out how much time has elapsed 
since osgviewer started running? I don't want to use any external time based 
functions.

Thank you!

Cheers,
Utkarsh

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





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


Re: [osg-users] Can not read some osg examples?

2012-05-02 Thread Jason Daly

On 05/02/2012 07:38 AM, Helen Wang wrote:

Thank you for your reply.
I have set OSG_FILE_PATH environment variable and checked the graphic card 
driver.

does it mean that the only sultion is to change a better graphic card?

My current graphic card is quite poor, but since my models is quite simple, my 
model is working ok


Yes, the functions that are mentioned are part of OpenGL 1.5 or later.  
If your graphics card doesn't support those, it's either very, very old 
or very, very incapable.


You can spend less than $50 to get a card that is several generations 
better.  If you are going to be working with OSG, I'd highly recommend it.


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


[osg-users] osgText measurement

2012-05-02 Thread James Turner
Hi,

I'm trying to port some existing code to use osgText instead of a previous 
font-rendering library, and hitting up against the osgText API. In particular, 
I'm struggling to measure text without setting it on a osgText::Text instance.

I guess this is because the font-size and pixel size (and even transformation 
matrix?) must be known to compute a size, but the code I'm coming from 
frequently does things like:

double width = widthOfString("lorum ipsum etc");
// or indeed, height of the string 

if (width > blah) {
... take some action
} else {
... take some radically different action
}

The problem is if start setting line-wrapping or a maximum width on the 
osgText::Text, it seems as if the computed bounding box is going to respect 
those values. I think I need a way to measure the glyph bounds as if line 
wrapping / maximum sizes were ignored. (Without saving / resetting / restoring 
them)

(There's also the issue of needed to create the text-node to perform the 
measurement at all, but I guess I can't escape that)

Am I missing some API features, or is this simply not possible?

BTW, all this text will be drawn with no scaling / rotation, in screen-space, 
with orthographic projection. I realise osgText can't assume that in the 
general case, of course. So, for example, if I could abuse the Font API to 
measure glyph bounds, that might work quite well for me.

James



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


[osg-users] Camera help

2012-05-02 Thread Braden Edmunds
Hi all,

I am new to osg and 3d graphics in general and I need a little advice on how to 
adjust the camera based on a matrix. I need a camera that will always be 
focused at (0,0,0), but has the capabilities to rotate around the origin so 
that it moves in a circular motion.

This is my code so far:

Code:

osgGA::TrackballManipulator *tman = new osgGA::TrackballManipulator();
tman->setVerticalAxisFixed(true);
osg::Vec3 eye(10, 10, 0);
osg::Vec3 center(0, 0, 0);
osg::Vec3 up(0, 0, 1);
tman->setHomePosition(eye, center, up);




I'm using Qt to embed this window, so on repaint I have:

Code:

void OSGWidget::paintEvent(QPaintEvent* eve)
{
osg::Matrixd matrix = this->getCameraManipulator()->getMatrix();
//manipulating the matrix
this->getCameraManipulator()->setByMatrix(matrix);
frame();
}




I assume that I need to multiply my camera manipulators matrix by another one, 
but I'm not sure what the right matrix is. Any help is appreciated!

Thanks.

Braden

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





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


Re: [osg-users] [build] osgText library

2012-05-02 Thread Chris Hanson
>
> To delete the same text I've tried the following code but it's not working
> for me:
> osg::ClearNode* clearNode = new osg::ClearNode;
> clearNode->addChild(tankLabelGeode);
>

  I'm not sure where you got the idea to use clearNode. Go read the
documentation of what it does. It's not what you need.


How can I hide the nodemask ?
>

  Set the node's nodemask to 0:

tankLabel->setNodeMask(0);

To turn it back on, set it to non-zero:

tankLabel->setNodeMask(~0);



>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47503#47503
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] osgText library

2012-05-02 Thread David Fernandes
I used the following code to paint the text in the scene when the mark is 
detected:

osgText::Text* tankLabel = new osgText::Text();
osg::Geode* tankLabelGeode = new osg::Geode();
tankLabel->setCharacterSize(20);
tankLabel->setFont("../arial.ttf");
tankLabel->setText("text that i want to show");
tankLabel->setAxisAlignment(osgText::Text::SCREEN);
tankLabel->setDrawMode(osgText::Text::TEXT |
osgText::Text::ALIGNMENT | 
osgText::Text::BOUNDINGBOX);


tankLabel->setAlignment(osgText::Text::CENTER_TOP);
tankLabel->setPosition( osg::Vec3(-40,-80,-590) );
tankLabel->setColor(osg::Vec4(1.0f, 1.0f, 1.0f, 1.0f));
tankLabelGeode->addDrawable(tankLabel);
OSG::GetRootNode()->addChild(tankLabelGeode);  


To delete the same text I've tried the following code but it's not working for 
me:

osg::ClearNode* clearNode = new osg::ClearNode;
clearNode->addChild(tankLabelGeode);


How can I hide the nodemask ?

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





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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Robert Osfield
Hi Torben,

On 2 May 2012 12:10, Torben Dannhauer  wrote:
> @Robert : how do we process with related projects like VirtualPlanetBuilder?

I haven't made any specific plans for VPB and other projects under
osgforge.org, most are currently dormant/orphaned save for VPB.   The
currently hosted projects are:

  http://www.openscenegraph.org/projects/

osg
osgDotNet
osgEphemeris
osgTutorial
Present3D
Producer
VirtualPlanetBuilder

Present3D is now part of the core OSG and has it's own user
documentation hosted by the digitallearningfoundation.org (DLF).
Producer/osgProducer/osgEphemeris wraps up a mirror from five years
ago when we moved across to OSG-2.0, AndesEngineering still has the
official head of Producer and osgEphemeris so shouldn't be a need to
port it over.  osgTutorial never ended up populated with anything so
can be dropped.

This leaves osgDotNet and VPB as needing new homes.  I am not
responsible for osgDotNet and know nothing about it's currently status
and activity, but it's rarely talked about on osg-users mailing
list/forum so I suspect it's largely dormant these days.  Users of
osgDotNet really need to set up and decide what they want to do with
it.

For VPB I think something similar to what we have for the new OSG
website would be appropriate, or perhaps just have a segment of new
OSG website dedicated to VPB.  I'm open to suggestions.

> @ Jordi: Would it be worthwhile to add a page where you list the installed 
> joomla modules/techniques to allow related projects like osgEarth or 
> osgVisual ;) to move to the new website style?
>
> @ all : I host a Joomla installation for my rowing club, but I must admit I 
> have no further knowledge how to use it.
>  I need a basic knowlege set to contribute to the migration process, I would 
> like to help with VPB and the VS 2008 related stuff.

VPB website is tiny compared to the OSG one so shouldn't take too much
to port over.

> Currently I have my head down on my PhD and osgVisuals new distortion 
> framework (will hopefully migrate to core OSG once it is finished), so my 
> time is a little bit limited. Therfore I need some brief resources, I have 
> (unfortunately) no time to dive into a 50 pages document. :/

I'd suggest concentrating on your PhD unless you have some spare time
in which you feel able to help out.  Perhaps just having a couple of
pages on the new OSG website for VPB would be a first step we needn't
perfect everything right away.

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


Re: [osg-users] [osgCompute] osgCompute / osgCuda Postfilter

2012-05-02 Thread Jens Orthmann
Hi sholmes,

I use GL_RGBA32F in my projects.
However, CUDA had problems to map
GL_RGBA16F in earlier versions.  
Maybe you should try to run this internal GL format 
with our RTT-example first.

Cheers,
Jens

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





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


Re: [osg-users] [osgCompute] END_BRACKET

2012-05-02 Thread Jens Orthmann
Hi sholmes,

What version of OSG do you use?
2.9.9 and above should work.


Cheers,
Jens

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





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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Thomas Hogarth
Hi Guys

@Jordi, thanks for the list of pages, wow that is quite a bit to move.

I'm fine with you assigning me a bunch of content to port over, if we limit it 
to say 5-10 pages at a time, so I don't fall too far behind.

Could we perhaps use a google doc with all page titles added with current 
status of porting etc?

Cheers
Tom

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





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


[osg-users] Intermittent crashes in osgTerrrain::Terrain::traverse(...) [SingleThreaded]

2012-05-02 Thread John Vidar Larring

Hi all,

We currently have an crash situation that we unfortunately cannot 
consistently reproduce, but when it happens it always occurs in 
osgTerrain::Terrain::traverse(osg::NodeVisitor&)  (see below for stack 
trace). The terrain is a "standard", but fairly large osgTerrain 
database built with VPB. The osg version is 3.0.1 and the application 
runs osg in SingleThreaded mode.


I haven't checked for changes in trunk yet, but has anyone else seen a 
similar stack trace lately?


Best regards,
John


Warning: deleting still referenced object 0x7fdfdcafdd60 of type 
'PN3osg10ReferencedE'

 the final reference count was 1, memory corruption possible.
*** glibc detected *** metacast: corrupted double-linked list: 
0x7fdfdcafde80 ***

=== Backtrace: =
/lib64/libc.so.6[0x3a51275296]
/lib64/libc.so.6[0x3a51277f44]
/usr/local/borealis/lib64/libosgTerrain.so.80(_ZN10osgTerrain7Terrain8traverseERN3osg11NodeVisitorE+0x212)[0x7fe0020f9a52] 

/usr/local/borealis/lib64/libosgTerrain.so.80(_ZN10osgTerrain7Terrain6acceptERN3osg11NodeVisitorE+0x7a)[0x7fe0020fae4a] 

/usr/local/borealis/lib64/libosg.so.80(_ZN3osg5Group8traverseERNS_11NodeVisitorE+0x33)[0x7fe00330ca93] 

/usr/local/borealis/lib64/libosg.so.80(_ZN3osg25PositionAttitudeTransform6acceptERNS_11NodeVisitorE+0x5c)[0x7fe00336398c] 

/usr/local/borealis/lib64/libosg.so.80(_ZN3osg5Group8traverseERNS_11NodeVisitorE+0x33)[0x7fe00330ca93] 

/usr/local/borealis/lib64/libosg.so.80(_ZN3osg5Group6acceptERNS_11NodeVisitorE+0x59)[0x7fe00330e819] 

/usr/local/borealis/lib64/libosgViewer.so.80(_ZN9osgViewer6Viewer15updateTraversalEv+0xc5)[0x7fe001858f75] 

/usr/local/borealis/lib64/libosgViewer.so.80(_ZN9osgViewer10ViewerBase5frameEd+0x32)[0x7fe0018614f2] 

/usr/local/borealis/lib64/libme_geoquad.so.1(_ZN2Me9OsgFacade6renderERbdd+0xf88)[0x7fe005ae7618] 



--
This email was Anti Virus checked by Astaro Security Gateway. 
http://www.astaro.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Can not read some osg examples?

2012-05-02 Thread Helen Wang
Thank you for your reply. 
I have set OSG_FILE_PATH environment variable and checked the graphic card 
driver. 

does it mean that the only sultion is to change a better graphic card?

My current graphic card is quite poor, but since my models is quite simple, my 
model is working ok


rcyboom wrote:
> 1. set OSG_FILE_PATH environment variable pointing to your OSG data files 
> directory,eg:
> OSG_FILE_PATH = D:\OSG\OpenSceneGraph-Data-3.0.0
> 2. Update your graphic card driver or change a new graphic card  to support 
> more OpenGL feature.
> 
> 
> 
> 
> 
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 

___
osg-users mailing list

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

 --
Post generated by Mail2Forum[/quote]

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





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


Re: [osg-users] how can i get selected line??

2012-05-02 Thread Robert Osfield
Hi Adam,

On 29 April 2012 11:23, Adham Alendar  wrote:
> I have a geometry with multiple line strips each line strip is primitive set, 
> i use polytobe intersector for picking certain line, the intersector will get 
> me the geometry and the primitive index of selected line ,how can i get the 
> selected line?..even if i give the intersector dimension mask of DimOne so it 
> only handle line the returned primitive doesn't give me clue what line is 
> picked??

The osgUtil::Intersectors use a primitive functor access the geometry
in Drawables in a generic way that doesn't provide all the details of
the original osg::Geometry primitive data so isn't in a place to
pinpoint which PrimitiveSet that the hit occurs.  Due to this one has
to infer which PrimitiveSet and indices by stepping through the
osg::Geometry's PrimitiveSet's and counting the individual primitives
within them till you get a match.  You'll be able to use the vertex
indicies provided by the intersection data to do the matching as well,
but would still have to use the same iterative approach of stepping
through the PrimitiveSet.

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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Torben Dannhauer
Hi all,

sorry for being offlist, I was is Barcelona for 6 days :)

@Robert : how do we process with related projects like VirtualPlanetBuilder?
@ Jordi: Would it be worthwhile to add a page where you list the installed 
joomla modules/techniques to allow related projects like osgEarth or osgVisual 
;) to move to the new website style?

@ all : I host a Joomla installation for my rowing club, but I must admit I 
have no further knowledge how to use it. 
 I need a basic knowlege set to contribute to the migration process, I would 
like to help with VPB and the VS 2008 related stuff.

Currently I have my head down on my PhD and osgVisuals new distortion framework 
(will hopefully migrate to core OSG once it is finished), so my time is a 
little bit limited. Therfore I need some brief resources, I have 
(unfortunately) no time to dive into a 50 pages document. :/

Thank you!

Cheers,
Torben

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





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


[osg-users] [ANN] Looking for forum moderators and administrators

2012-05-02 Thread Art Tevs
Dear OSG-Community,

I am posting this thread in order to find suitable persons to be moderator 
and/or an administrator of the official OSG forum. What we need and expect for 
specific tasks:

Moderator (3-5 positions):
- check if new users  do respect to our forum rules (i.e. name convention)
- check and approve posts of new users (check for spam, ban usernames, kindly 
ask users to change names, etc.)
- check for double posts and merge them together (it happens sometimes that 
threads are get separated and need to be merged again)
- Usually it takes up-to max 30 minutes a day to moderate a forum. In best 
case, when there are more moderators, this time decreases of course


Administrator (1-2 position):
- important You must have already be seen in our community, so that we really 
know what expect from you. Or somebody of long term member can bail for you.
- You must have experience with PHP and Unix environment.
- You will get full access to forum's source code (on my servers) in order to 
hunt for bugs. Yeah, there are still bugs which need to be solved



I hope to find somebody who can take over this tasks. Moderators are currently 
more important than an administrator. However due to the move of OSG webpage to 
the new system and a wish to combine all the subsystems (svn, joomla, forum, 
mailing list) into one, it would be great to have somebody who can make this 
happen :) 

Payment: No payment at all ladies and gentlemens, you do this for the sake of 
our community :)

Contact: Please post your applications directly here to this thread. In this 
case we can learn you already before assigning you such a responsible position. 
If you want to stay anonym, then write me a PM (or better email) and I will try 
to discuss with senior community members  about your application.

 
Best regards
Art

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





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


Re: [osg-users] Can not read some osg examples?

2012-05-02 Thread rcyboom
1. set OSG_FILE_PATH environment variable pointing to your OSG data files 
directory,eg:
OSG_FILE_PATH = D:\OSG\OpenSceneGraph-Data-3.0.0
2. Update your graphic card driver or change a new graphic card  to support 
more OpenGL feature.
At 2012-05-01 22:44:49,"Helen Wang"  wrote:
>Hi,
>
>I am newbie to OSG. Pls kindly help me. 
>
>I am trying to open some OSG examples using the osgviewer. I can view some of 
>them but failed to view several models like Avatar.osg, bignathan.osg et. 
>
>The following is the reported error message when I open Avatar.osg:
> 
>
>..
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group 
>Bac
>k.004_R.002
>RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
>uniq groups 33 for arm_l
>Error: glGenBuffers not supported by OpenGL driver
>Error: glBindBuffer not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBindBuffer not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>Error: glBufferData not supported by OpenGL driver
>//
>
>My platform is Window 7 64bit/OSG3.0. I also tried to use Osgviewer-MFC in 
>VS2010 and it reported access violation reading error. 
>
>
>
>Thank you!
>
>Cheers,
>Helen
>
>--
>Read this topic online here:
>http://forum.openscenegraph.org/viewtopic.php?p=47461#47461
>
>
>
>
>
>___
>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


Re: [osg-users] Can not read some osg examples?

2012-05-02 Thread Helen Wang
I tried on another computer and can display these examples although there are 
some errors. 

Is this because of the  poor graphic card in my computer?

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





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


[osg-users] what's the mean of HTML section when the configure OSG source.

2012-05-02 Thread rcyboom
when I using CMake to configure the OSG source,If I enabled the option of 
BUILD_DOCUMENTATION,CMake show this options: 
HTML_HELP_COMPILER
HTML_HELP_INCLUDE_PATH
HTML_HELP_LIBRARY
I don't know what means of that,can you help me.

My system has installed:
doxygen-1.8.0
graphviz-2.28.0
MS HTML Workshop

I had complied OSG succeeded using MSYS/MINGW +Qt +Cmake except for OSG 
document.
thanks!
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] how can i get selected line??

2012-05-02 Thread Adham Alendar
Hi,

I have a geometry with multiple line strips each line strip is primitive set, i 
use polytobe intersector for picking certain line, the intersector will get me 
the geometry and the primitive index of selected line ,how can i get the 
selected line?..even if i give the intersector dimension mask of DimOne so it 
only handle line the returned primitive doesn't give me clue what line is 
picked??

Thank you!

Cheers,
adam

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





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


[osg-users] Can not read some osg examples?

2012-05-02 Thread Helen Wang
Hi,

I am newbie to OSG. Pls kindly help me. 

I am trying to open some OSG examples using the osgviewer. I can view some of 
them but failed to view several models like Avatar.osg, bignathan.osg et. 

The following is the reported error message when I open Avatar.osg:
 

..
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
RigTransformSoftware Bone Back.004_R.002 not found, skip the influence group Bac
k.004_R.002
RigTransformSoftware Bone arm_r not found, skip the influence group arm_r
uniq groups 33 for arm_l
Error: glGenBuffers not supported by OpenGL driver
Error: glBindBuffer not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBindBuffer not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
Error: glBufferData not supported by OpenGL driver
//

My platform is Window 7 64bit/OSG3.0. I also tried to use Osgviewer-MFC in 
VS2010 and it reported access violation reading error. 



Thank you!

Cheers,
Helen

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





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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Robert Osfield
Hi Jordi,

On 2 May 2012 10:50, Jordi Torres  wrote:
> Ok, maybe I was a little enthusiastic about going on. Anyway filling some
> more sections will give us a better idea of how things will look.

Personally I'm pretty chuffed with the new website and Joomla so far,
and have no doubts that it'll serve us better than Tracs.  I have
really have few doubts all-round about the tech side actually, it's
more the process of getting things transferred safely is now the
daunting bit.


> Take a look to http://www.openscenegraph.org/projects/osg/wiki/TitleIndex .

Perfect - exactly what I was hoping for.

> Not all the sections have to be migrated, but here we have an idea of the
> amount of work. If you want I can make a migration section in the new web
> and add a table with links to the old server and the status of each section
> (None /In progress/ Completed ).

It would be great if you could do this.  Having a column in the table
for priority and who it'll be assigned to would help with managing the
translation.

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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Jordi Torres
Hi Robert,

2012/5/2 Robert Osfield 

> Hi Jordi, Thomas et. al,
>
> I think it would be worth us getting the main root elements of the
> website up and working fully and any the main extensions to Joomla
> installed that we'll need they do a wider call for feedback on how
> well it's working on different browsers/platforms and how different
> users are happy with things.  If things look good then we can start
> the full migration over.
>
>
Ok, maybe I was a little enthusiastic about going on. Anyway filling some
more sections will give us a better idea of how things will look.




> How to manage the full migration is a big question, both from a
> personnel level and the process involved.  I would suggest we have
> editors/publishers that review the web pages as they go in, and have
> various people with support for writing articles - I would guess there
> would be an overlap here.  We'd need to have different people
> responsible for different elements, and working list of pages that
> need to copied over from the original site, and what pages we have
> copied across that need further work.
>

Is it possible to get Tracs to list all the pages and their hierarchy?

 I'm thinking that if we could list then all we can publish a page
> with table of the pages and that status of moving it across.  I also
> wonder if we could leave breadcrumbs directly on new and original
> website that provide the appropriate links between the two pages and
> the status so that when others come along they can see how things are
> progressing.  Perhaps a little text at the top of each page would be
> appropriate.
>

Thoughts?
>

Take a look to http://www.openscenegraph.org/projects/osg/wiki/TitleIndex .
Not all the sections have to be migrated, but here we have an idea of the
amount of work. If you want I can make a migration section in the new web
and add a table with links to the old server and the status of each section
(None /In progress/ Completed ).

ok?

Cheers.



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



-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Robert Osfield
Hi Jordi, Thomas et. al,

I think it would be worth us getting the main root elements of the
website up and working fully and any the main extensions to Joomla
installed that we'll need they do a wider call for feedback on how
well it's working on different browsers/platforms and how different
users are happy with things.  If things look good then we can start
the full migration over.

How to manage the full migration is a big question, both from a
personnel level and the process involved.  I would suggest we have
editors/publishers that review the web pages as they go in, and have
various people with support for writing articles - I would guess there
would be an overlap here.  We'd need to have different people
responsible for different elements, and working list of pages that
need to copied over from the original site, and what pages we have
copied across that need further work.

Is it possible to get Tracs to list all the pages and their hierarchy?
 I'm thinking that if we could list then all we can publish a page
with table of the pages and that status of moving it across.  I also
wonder if we could leave breadcrumbs directly on new and original
website that provide the appropriate links between the two pages and
the status so that when others come along they can see how things are
progressing.  Perhaps a little text at the top of each page would be
appropriate.

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


Re: [osg-users] ParticleSystesm's particles do not appear in front of skybox

2012-05-02 Thread Robert Osfield
Hi Dan,

What it sounds like is that the particles are being drawn without
depth write and then the skybox is being rendering afterwards and
simply overwriting the particles that are rendered in the transparent
bin.  A simple fix for this would be to rendering the skybox first or
in between the opaque and transparent bins.  How are you controlling
the rendering order of the skybox?

Robert.


On 2 May 2012 03:49, dan marshal  wrote:
> Hi,
>
> I have implemented a very simple skybox with a basic flight sim model 
> airplane.  All was working fine.  I have a ParticleSystem that looks like an 
> afterburner exhaust working fine.
>
> However, the particles from the particlesystem cannot be seen when the skybox 
> is in the background.  If another model or my airplane is behind the 
> particles they appear fine.  If there is another object behind the particles 
> they appear; if the skybox is behind the particles I cannot see them.
>
> Any suggestions, I am stuck...
>
> Thank you very much
>> Cheers,
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47478#47478
>
>
>
>
>
> ___
> 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


Re: [osg-users] "Robert Osfield" , Building new website, assistance appreciated!

2012-05-02 Thread Jordi Torres
Hi Diane,

2012/4/30 Diane Potter 

> Hi Jordi,
>
> Joomla an Drupal are difficult from the admin side of things. Wordpress on
> the inside looks like Microsoft Word, it has bold, italics, underlined etc.
>  WP is THE most commonly used software to build websites today and it has a
> massive community where you can get free "apps" to make your website do
> whatever it wants. Checkout wordpress.org and look for a tab called
> plugins- you'll see.
>
>
I know WP quite enough. But I have to say to you that Joomla or Drupal have
a large community behind them, and a very large amount of plugins and "free
apps" like you say. I feel you don't know even Joomla or Drupal, because
editors (with bolds and italics or underlined) are common in both
platforms. Joomla is not ridicously hard, maybe WP is ridicously simple.
Anyway I am of the opinion that each framework has a niche to use it. And I
feel Joomla is a good choice for the OSG website.


> I just built this site using WP: quickhandle.com
> My site is on WP: springboarddesigns.com
>
> I looked at your link, I know there isn't anything being done there that
> can't be done in WP.  I just hate to see you being held hostage to an
> expensive web designer the rest of the time for every little change you
> want to make. Most of my clients go in and make small edits themselves
> because it's easy and saves them money.
>
>
I can say the same to you, there isn't anything being done there that can't
be done in Joomla or Drupal. In the other side we don't have any web
designer, this is a opensource community too, and we are'n doing this for
money  :) .



> Google WP tutorials and see for yourself how friendly the inside is. For
> example, if you want to create a new page for your website its:  Pages:
>  Edit or Add New. I mean it's pretty straight forward right?
>

I think some web designers feel if they can use more complicated software
> they get a longer ROI from a client because the client will NEVER figure
> out how to use it and I just don't care for that line of thought.
>
>
This is a coders community, so maybe you are not talking with completely
dummies at all. I am wondering if you have anything to do with this
community or you are simply spamming this list. If this is not true sorry
for being impolite.

Cheers.


> Hope this helps.
> ...
>
> Thank you!
>
> Cheers,
> Diane
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47422#47422
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgWidget performances

2012-05-02 Thread Vincent Bourdier

Hi Robert,

Thanks for you help too.
I'm very late on my osg posts but the mask were a good improvement, 
sufficient for now.

But I'll keep in mind your suggestion for the future implementation.

Thanks again everyone !

Regards,
Vincent.


Le 18/04/2012 10:13, Robert Osfield a écrit :

Hi Vincent,

On 18 April 2012 08:55, Vincent Bourdier  wrote:

The masks was a good idea, and there is a little bit improvement but not
enough in my case...
I'm still trying to make some improvement using them, but without the
expected success.

So if you have any other idea... please share it !

I'm not that familiar with osgWidget but change WindowManager.cpp to
use a local IntersectionVisitor to traversal just the osgWidget
subgraph rather than the whole scene graph this way the performance
won't vary with the main scene graph.

Robert.

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


Re: [osg-users] Building new website, assistance appreciated!

2012-05-02 Thread Jordi Torres
Hi Tom,

2012/5/1 Thomas Hogarth 

> Hi Jordi,
>
> Yes openscenegraph.org is working for me again,
>
> What a dummy, of course I could get the svn url from my existing repos.
> I'll try get some more content added this week now I can do the practical
> side as I go along.
>
> I'm happy with joomla, seems pretty simple to me.
>
> Once i get my IOS pages done, do you want me to start moving existing
> things over?
>
>
It would be nice! Go ahead, if you need anything from me, don't hesitate to
ask. If you are going for some specific section say it in order to not
overlap tasks.



> If we are happy with breaking getting start down into a start page with
> -"Get the trunk" info
> -Then link to platform specific info for CMake/Project creating
>
> I can move over existing windows and OSX info and confirm it's correct, I
> have a little experience with linux, but I tend to use the CMake GUI and
> I'm not sure how common that is on linux distros.
>

I can move Linux specific stuff, don't worry about that.


>
> From what i've seen of the new template I think it's good and we need to
> start populating it.
>
>
I agree, there are a lot of info to migrate so we need to get started.

Thanks Tom.


> Cheers
> Tom
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=47468#47468
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org