Re: [osg-users] osgviewerwx for wxWidgets 2.9.0+

2010-02-16 Thread R Fritz
OSGCanvas subclasses wxGLCanvas. Would the OSGCanvas constructor perhaps be the place to look? On 2010-02-16 08:04:23 -0800, Rizzen said: Hi, I really need up with making osgviewerWX work with up coming 3.0 release (currently 2.9.1) in first half of 2010. I am completely confused on where

Re: [osg-users] Two rotations on an object?

2010-02-15 Thread R Fritz
1. Put your sun at the origin of world co-ordinates. 2. Put the planet at the origin. Make its axis of rotation the z axis. 3. Use a rotate transform to rotate it around its axis. (You've got this part.) 4. Translate the planet along the x axis, to its orbital radius. 5. Use a rotation around the

[osg-users] Bug? Example install location

2009-07-01 Thread R Fritz
I'm not sure where these are supposed to go, but I'm pretty sure that /usr/share is for architecture-independent files, which the example binaries are not. Perhaps $(CMAKE_INSTALL_PREFIX)/lib/osg? Randolph ___ osg-users mailing list

Re: [osg-users] Macintosh: best build practices

2009-06-30 Thread R Fritz
Thanks! Randolph, still waiting for cmake to support frameworks... On Jun 29, 2009, at 11:11 PM, Robert Osfield wrote: Hi Randolf, On Tue, Jun 30, 2009 at 1:45 AM, R Fritzrfr...@u.washington.edu wrote: Since there's no 2.8.1 Mac binaries yet, I need to build from source. What do people

[osg-users] Macintosh: best build practices

2009-06-29 Thread R Fritz
Since there's no 2.8.1 Mac binaries yet, I need to build from source. What do people recommend for build practices in the Mac OS X environment? Randolph Fritz design machine group architecture department university of washington rfr...@u.washington.edu

Re: [osg-users] OSG debugging tips

2009-04-20 Thread R Fritz
Surely these are FAQs? Randolph On Apr 18, 2009, at 10:48 AM, Paul Martz wrote: Hi all -- It seems like there has been a rash of help me debug my code-type questions lately, so I thought I'd post a short list of debugging techniques and other aids to help people out. I hope people find

Re: [osg-users] OpenGL 3.1 at GDC

2009-04-01 Thread R Fritz
Robert Osfield, Paul Martz, Shayne Tuller, thanks for your responses to a newbie question. Randolph ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenGL 3.1 at GDC

2009-03-30 Thread R Fritz
On Mar 30, 2009, at 1:07 AM, Robert Osfield wrote: On Mon, Mar 30, 2009 at 6:03 AM, R Fritz rfr...@u.washington.edu wrote: I guess I'm not too surprised. There seems to be an overall lack of expertise in 3D graphics. Lots of people practice it without adequate training or education. Ever

Re: [osg-users] OpenGL 3.1 at GDC

2009-03-29 Thread R Fritz
I don't think the OSG is ready for an all out marketing assult on the games market. There are soft targets that will be the easy sell - these are the ones to court first, leave the hard core Windows centric games companies till much later. The desktop market share is changing with

Re: [osg-users] OpenGL 3.1 at GDC

2009-03-29 Thread R Fritz
I guess I'm not too surprised. There seems to be an overall lack of expertise in 3D graphics. Lots of people practice it without adequate training or education. Ever look at a GL capture of SketchUp? It's utter crap, glBegin/glEnd all the way. Would fixing the OpenGL problems of SketchUp

Re: [osg-users] osgswig: iterating over a vertex array

2009-02-26 Thread R Fritz
Thanks for the response. I'll try tackling it with ctypes, then. Not an elegant solution, but I think I can get it to work. Randolph On Feb 25, 2009, at 11:35 PM, Gerwin de Haan wrote: Hi Randolph, this is a typical problem of (python) wrappers; the getVertexArray returns a general

Re: [osg-users] osgswig: updating wx_viewer.py

2009-01-26 Thread R Fritz
By the way, thanks--this works very well. Randolph On Jan 20, 2009, at 10:58 PM, Gerwin de Haan wrote: Randolph, I suggest you take a look at the code in the other wx example: osgviewerWX.py btw, I updated the examples slightly according to your findings in

Re: [osg-users] ANN: osgSWIG/Py available

2009-01-15 Thread R Fritz
osgswig only works with Windows Python 2.6--if pygtk works in that environment, try it there. There's a lot of apps, btw, that doesn't work with Windows Python 2.6, because VS 2008 is needed to build plugins for it--there is no numpy, for instance. Beware. Randolph On Jan 14, 2009, at

[osg-users] OSG Python integration, take 2

2009-01-09 Thread R Fritz
I need to invoke OSG from Python code. I can't get osgswig working adequately in my environment, and I don't have time to chase the problems. So, time to write some C++. I have a Macintosh Leopard environment and a Windows XP environment. I can use either, but I prefer the Mac. I want

Re: [osg-users] Building the Collada plugin

2008-12-20 Thread R Fritz
On Dec 20, 2008, at 2:24 AM, Roger James wrote: I build against https://collada-dom.svn.sourceforge.net/svnroot/collada-dom/tags/2.1/dom , that works fine for me. There is a lot of work by various people going on in the Collada plugin at the moment which is not quite ready for prime time. I

[osg-users] Building the Collada plugin

2008-12-17 Thread R Fritz
OSG 2.6.1, VS 2008. So far I've downloaded COLLADA_1.4.1_DOM_1.3.0.zip, built it, and got a slew of errors trying to build the plugin. (Collada DOM 2.2, which looks like it might be downward compatible, uses a different library structure, and I've no idea which files are still needed.)

Re: [osg-users] Is it time that we have a OpenSceneGraph/src/3rdPartyPlugins directory?

2008-12-10 Thread R Fritz
Some open-source projects do this via a foundation, but they also usually have corporate, academic, or government angels who are major contributors. So Mozilla has Google, Apache has IBM and Sun, and so- on. OpenGL, though not open source, has the Khronos Group, which seems to be

[osg-users] SketchUp export to OSG?

2008-12-10 Thread R Fritz
3DS and OBJ formats seem the most plausible channel, short of writing an actual SketchUp OSG exporter (which is plausible, but I'd like to do some tests first.) Anyone tried this? What worked for you? Did textures go across? Randolph ___

Re: [osg-users] SketchUp export to OSG?

2008-12-10 Thread R Fritz
D'oh! Yes, it does. I'll try an export and see what happens. Thanks. Randolph On Dec 10, 2008, at 8:16 AM, Robert Osfield wrote: HI Randolf, Soes SketchUp not support Collada? Robert. On Wed, Dec 10, 2008 at 4:07 PM, R Fritz [EMAIL PROTECTED] wrote: 3DS and OBJ formats seem the most

Re: [osg-users] MAC

2008-12-09 Thread R Fritz
In the most recent version of Xcode tools, the 10.4 version of libcurl is 7.13.1 and the 10.5 version is 7.16.3. I believe that OSG by default builds against the 10.4 SDK. Does that help? [/Developer/SDKs/MacOSX10.4u.sdk] $ usr/bin/curl-config --features --libs --version SSL IPv6 libz

Re: [osg-users] osgviewerWX vs. osgPython 2.2.0

2008-12-03 Thread R Fritz
Great! Will be waiting... Randolph On Dec 3, 2008, at 12:55 PM, Hartmut Seichter wrote: Hi Randolph, seems that was missed out from wrapping ... I guess we have a 2.6.x release next week out - please be patient :) Hartmut -- Dr. Hartmut Seichter PhD (HKU), Dipl.-Ing. (BUW)

[osg-users] osgswig and wxPython

2008-11-30 Thread R Fritz
I've the beginnings of a simple light-fixture modeling component in wxPython and I am trying to use osgswig (2.2.0.1 version) as a base. I've started out by copying the file loading example which uses osgUtil.SceneView(). The code successfully loads the geometry of a lighting fixture

Re: [osg-users] osgswig confusion

2008-11-26 Thread R Fritz
On Nov 26, 2008, at 1:48 AM, Hartmut Seichter wrote: I am not entirely sure if this is a good idea. osgSWIG should be compiled against an installed release version of the OSG - on Mac you also need to take care of proper r-paths as multiple versions of a library could potentially

Re: [osg-users] osgswig manifest blues

2008-11-26 Thread R Fritz
Oh-ho! Yes, that's it. I think we've got a copy of VS 2003 around; I'll take a look. Randolph On Nov 26, 2008, at 2:00 AM, Hartmut Seichter wrote: Mhh, I was just wondering if you are trying to compile osgSWIG / Python with Visual Studio 2005 against a Python 2.5 version? If so -

Re: [osg-users] osgswig: the bigobj problem rears its head again

2008-11-26 Thread R Fritz
Sigh. But this is not yet a working fix--we don't know how to get code compiled with VS 2005 to work with Python 2.5. I wonder if Python 2.6 would solve the problem. Randolph On Nov 26, 2008, at 1:42 AM, Hartmut Seichter wrote: I have a student working on this problem - to add the flag

Re: [osg-users] osgswig: the bigobj problem rears its head again

2008-11-26 Thread R Fritz
us know. be prepared to wait though as the compile time is quite long. hope it helps Luigi R Fritz ha scritto: Sigh. But this is not yet a working fix--we don't know how to get code compiled with VS 2005 to work with Python 2.5. I wonder if Python 2.6 would solve the problem. Randolph

Re: [osg-users] Packaging granularity + platform specific scripts

2008-11-26 Thread R Fritz
The remaining problem is: What about Windows? Even the package term doesn't exist! And I currently don't have much ideas (sorry). What *nix calls packages, Windows calls installers. Since XP at least--I think since Windows 2000--there has been some kind of package management on Windows.

Re: [osg-users] Packaging granularity + platform specific scripts

2008-11-25 Thread R Fritz
Different platforms use different levels of granularity. Mac OS bundles libraries into frameworks, which can themselves be placed in application bundles, or installed for systemwide use. This is a very coarse level of granularity. I think OSG would probably best fits what Apple calls

Re: [osg-users] osgswig confusion

2008-11-24 Thread R Fritz
Gerwin, thanks for answering. OSG 2.6.1, locally compiled (of course), but otherwise unmodified. Randolph On Nov 24, 2008, at 5:45 AM, Gerwin de Haan wrote: Hi Randolph, which osg version are you using? Gerwin ___ osg-users mailing list

Re: [osg-users] osgswig confusion

2008-11-24 Thread R Fritz
Thanks for responding so quickly. I saw you picked up my patches in issue 18--thanks. But still no joy on 15. I attached my latest results to the issue there, but the latest result is no result--I don't think anything changed. On a different subject, I've made some small changes to

[osg-users] osgswig confusion

2008-11-23 Thread R Fritz
I've been fiddling with osgswig on Mac OS (Leopard, 10.5.5), and I ran into a version of the vector mixin problem. After some fuddling around, I came up with a patch for it (see http://code.google.com/p/osgswig/issues/detail?id=18 ) and the python bindings built. But now, when I try to use