Re: [osg-users] OSG website unresponsive

2012-01-02 Thread Tolga Yilmaz
Hi,
i see the osg web site down at least once a week for one day. I' am in 
Ankara/TURKEY if it matters. Isn't there a permanent solution to this issue or 
how many times i see the web site crashed again when i need to view. my browser 
tries to connect for a few minutes and i get error like this:

Code:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/trac/web/api.py", line 339, in 
send_error
'text/html')
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 684, in 
render_template
data = self.populate_data(req, data)
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 592, in 
populate_data
d['chrome'].update(req.chrome)
  File "/usr/lib/python2.5/site-packages/trac/web/api.py", line 168, in 
__getattr__
value = self.callbacks[name](self)
  File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 460, in 
prepare_request
for category, name, text in contributor.get_navigation_items(req):
  File 
"/usr/lib/python2.5/site-packages/trac/versioncontrol/web_ui/browser.py", line 
295, in get_navigation_items
if 'BROWSER_VIEW' in req.perm:
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 523, in 
has_permission
return self._has_permission(action, resource)
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 537, in 
_has_permission
check_permission(action, perm.username, resource, perm)
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 424, in 
check_permission
perm)
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 282, in 
check_permission
get_user_permissions(username)
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 357, in 
get_user_permissions
for perm in self.store.get_user_permissions(username):
  File "/usr/lib/python2.5/site-packages/trac/perm.py", line 173, in 
get_user_permissions
db = self.env.get_db_cnx()
  File "/usr/lib/python2.5/site-packages/trac/env.py", line 257, in get_db_cnx
return DatabaseManager(self).get_connection()
  File "/usr/lib/python2.5/site-packages/trac/db/api.py", line 76, in 
get_connection
return self._cnx_pool.get_cnx(self.timeout or None)
  File "/usr/lib/python2.5/site-packages/trac/db/pool.py", line 109, in get_cnx
% timeout)
TimeoutError: Unable to get database connection within 20 seconds




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





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


[osg-users] Website unresponsive

2012-01-02 Thread Chris 'Xenon' Hanson

  From USA.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
"There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG on OpenGL 3: Example code and cookbook

2012-01-02 Thread Chris 'Xenon' Hanson
On 1/2/2012 2:37 AM, Alexandre Amalric wrote:
> Did you benchmark performance improvements with GL3 enabled ?

  I'd be surprised if there was much difference. I would guess for a modern 
GPU, GL2 vs
GL3 is purely a matter of semantics.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
"There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Newbie Questions re: Camera control (I think)

2012-01-02 Thread Matthew Runo
Hi,

I found the CameraControl wiki page, but it has a warning that it's out of 
date.. and I don't know how to update it to the osgViewer class because I can't 
get to the documentation (that, and I'm reasonably new to C++).

- Given a point in 3d space with World Coordinates (eg, Latitude, Longitude, 
Altitude), how can I position the viewer at that point? I'm thinking that I 
need to create a matrix with my points in it, and then call 
camera.setViewMatrix(..). Is that correct? How do I convert my world 
coordinates into coordinates that will work in the camera?

- Once I'm at that point, do I use camera.setProjectionMatrix to control where 
I'm looking? For example, say I want to look due North at lat 26, long -119, 
altitude 52.  

- Given a set of rotations that should happen to the camera (roll 3 degrees 
right, pitch 4 degrees up, etc), are those best handled by looking at the 
examples from osgGA::FirstPersonManipulator and going from there by building up 
a Matrix to use somewhere to rotate the camera's view?

As of right now I've been tinkering with the code for the various 
implementations of the osgGA::FirstPersonManipulator and learning quite a bit - 
I just wanted to get these questions in my mind cleared up. I'm sorry that 
they're so basic =\

Thank you very much for your help, and for this community full of knowledge!

Thank you again,
Matthew

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





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


Re: [osg-users] OSG on OpenGL 3: Example code and cookbook

2012-01-02 Thread Alexandre Amalric
Hi Paul,

Did you benchmark performance improvements with GL3 enabled ?

Can you approximately quantify the FPS gain for example ?

Kind regards.

2011/12/31 Paul Martz 

> Happy New Year, everyone --
>
> Attached is source code that demonstrates OSG rendering using an OpenGL
> 3.x context. At the bottom of the source is a comment block describing how
> to build OSG for OpenGL 3.x.
>
> I hope this is helpful.
>
> --
>  -Paul Martz  Skew Matrix Software
>   http://www.skew-matrix.com/
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Alexandre AMALRIC   Ingénieur R&D
===
PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
http://www.pixxim.fr
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Kinect(OpenNI) / Blender - Character / Animation

2012-01-02 Thread Cedric Pinson
Hi,
The best would be to improve the osgexporter to support skinning correctly for 
blender 2.60. The repository is on github, 
https://github.com/cedricpinson/osgexport


Cedric Pinson
Provide OpenGL, WebGL services
+33 659 598 614 - 
http://cedricpinson.com - http://osgjs.org - http://showwebgl.com

On Jan 2, 2012, at 12:41 PM, Benjamin Gehmlich wrote:

> Hi at all and a happy new year.
> 
> I want to animate a character in OSG with the Kinect(OpenNI).
> 
> My idear was to create an character in Blender(2.59 / 2.6...) with a skeleton.
> But I am not sure how can I export this. I cant install the osgexporter.
> In an other topic from me ("Problems with setInfluenceMap to RigGeometry") I 
> used a little python script. 
> 
> This writes bonename, pointinex and weight in an txt file.
> Then I export the mesh as an OBJ-File.
> But I think this isn't a good way.
> 
> Have anybody a better idear?
> 
> Thank you!
> 
> Cheers,
> Benjamin
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=44519#44519
> 
> 
> 
> 
> 
> ___
> 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] [3rdparty] is there an osgEarth tutorial?

2012-01-02 Thread Tolga Yilmaz
Hi,
Is there any tutorial about osgEarth? i especialy need a node track manipulator 
but any tutorial will be appreciated..

... 


Thank you!

Cheers,
Tolga

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





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


[osg-users] Kinect(OpenNI) / Blender - Character / Animation

2012-01-02 Thread Benjamin Gehmlich
Hi at all and a happy new year.

I want to animate a character in OSG with the Kinect(OpenNI).

My idear was to create an character in Blender(2.59 / 2.6...) with a skeleton.
But I am not sure how can I export this. I cant install the osgexporter.
In an other topic from me ("Problems with setInfluenceMap to RigGeometry") I 
used a little python script. 

This writes bonename, pointinex and weight in an txt file.
Then I export the mesh as an OBJ-File.
But I think this isn't a good way.

Have anybody a better idear?

Thank you!

Cheers,
Benjamin

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





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


Re: [osg-users] simple window manager to reopen a window

2012-01-02 Thread Andrey Ibe
another update:

now i got rid of the error by setting the start tick timer of the viewer to be 
equal to the timer on the existing main scene view this way

Code:
osg::Timer_t timer = _sceneView->getStartTick();
_viewer->realize();
_viewer->setStartTick(timer);


i can even omit the command with ON_DEMAND from my previous post.

however, the occasional problem with closing whole application by closing the 
secondary window described in my previous post  persists.

thanks ahead for any tips.

Andrey

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





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