Re: [osg-users] problems with new version OSG 2.6.0

2008-07-28 Thread GMD GammerMaxyandex.ru
Ok, I'll make small example and show where problem occures. I'll try do this today. 28.07.08, 00:33, sherman wilcox [EMAIL PROTECTED]: Can you make a small and simple prototype that *reliably* reproduces the problem? You have a better chance of getting help that way. On Sun, Jul 27, 2008 at

Re: [osg-users] How to scale rotations ?

2008-07-28 Thread J.P. Delport
Hi, I normally like to think about the heading, attitude and bank as just rotations about certain axes. In osg you can make a quat using e.g.: // angles in radians, yaw, pitch, roll double y,p,r; osg::Quat ori = osg::Quat(r, osg::Vec3(1,0,0), p, osg::Vec3(0,1,0),

Re: [osg-users] Defining Local Coordinate Center For Every Node

2008-07-28 Thread Alberto Luaces
Hi Ümit, the best way is to have a correct model from the beginning, centered and aligned with the origin, but if it couldn't be done, you would have to make the geometry child of a transform that would put the mesh at the right place. Say you had an object displaced 4 units on the X axis from

Re: [osg-users] Getting texture coordinates and normals of each vertex of a loaded model

2008-07-28 Thread Alberto Luaces
Hi Franclin, The references to the vertices that osg::TriangleFunctor returns point to the real data of the geometry, so if you subtract their pointers to the first vertex pointer of the geometry, you'll get the index to that vertex and you will be able to get its normal and UV coordinates:

Re: [osg-users] help me!

2008-07-28 Thread Alberto Luaces
Hi, Sorry, I have no expertise with 3DSMax and/or osgExp, so I cannot help you further. Nevertheless, here is the osgExp code download page address: http://sourceforge.net/svn/?group_id=148454 I suppose there are compilation instructions within the source. El Viernes 25 Julio 2008ES 07:00:08

Re: [osg-users] Optimizer options oddity

2008-07-28 Thread Paul Martz
The code in Optimizer.cpp makes this look like a bug. If the two were intended to be synonymous, I'd expect they would share the same code. They don't. I'm betting FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS is supposed to be 0x1. -Paul _ From: [EMAIL PROTECTED]

Re: [osg-users] Optimizer options oddity

2008-07-28 Thread Glenn Waldron
Agreed. I will go ahead and submit the presumptive fix to osg-submissions. Thanks Paul -gw On Mon, Jul 28, 2008 at 9:31 AM, Paul Martz [EMAIL PROTECTED] wrote: The code in Optimizer.cpp makes this look like a bug. If the two were intended to be synonymous, I'd expect they would share the

[osg-users] Texturing issues second window

2008-07-28 Thread Scott Angster
Hello- We are seeing an interesting problem that we can not track down. Several previous postings have been similar but not quite what we are seeing. We are hoping someone can point us in a possible direction to find a solution. We have an OSG/QT application using multiple windows with views

[osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but not able to do so. When i apply this to a node |(cessna.osg) i do not see any effect. I am pasting the code below for you guys to have a look. I don't know what am i doing wrong in this simple piece of code

Re: [osg-users] Texturing issues second window

2008-07-28 Thread Serge Lages
Hi Scott, Have you setted the pager to not unref images after applying them ? When you have multiple contexts, you have to make sure images are not deleted before each context has applied it. On Mon, Jul 28, 2008 at 4:12 PM, Scott Angster [EMAIL PROTECTED]wrote: Hello- We are seeing an

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Gordon Tomlinson
Having never used a ColorMatrix in OpenGL or OSG What effect is this supposed to produce ? Do you have screen grabs of what it should look like if done in raw Opengl ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rahul Jain Sent: Monday, July 28,

[osg-users] Problems with viewer-computeIntersections

2008-07-28 Thread Фамилия Имя
Hallo. I have a problem with function viewer-computeIntersections in OSG 2.6.0. When I tryed get objects throught which goes line function lost some of them (but line definitely goes throught them). It looks like function can't see some objects. I tryed run osgpick with my scene but this error

Re: [osg-users] Problems with viewer-computeIntersections

2008-07-28 Thread Alberto Luaces
Hi, El Lunes 28 Julio 2008ES 16:45:19 Фамилия Имя escribió: Hallo. I have a problem with function viewer-computeIntersections in OSG 2.6.0. When I tryed get objects throught which goes line function lost some of them (but line definitely goes throught them). It looks like function can't see

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
Hi Gordon, Color matrix in OpenGL is used for color space conversion, for example using color matric you can convert RGB to BGR , RGB to CMY. Unfortunately i do not have any screen grabs for the moment, but i am trying to achieve night vision effect using this code , RJ Gordon Tomlinson wrote:

[osg-users] Matrix Manipulators and set coordinate frame callback. Different behavior in 2.4?

2008-07-28 Thread Dorosky, Christopher G
Hello all, Under OSG 1.2, I controlled the orientation of an osgGA manipulator through the use of a coordinate frame callback. Under 2.4, I am using the same exact code, but the callback never happens. Here is the code snippet. Viewer is osgProducer (yes, still). This loop runs 4 times.

[osg-users] Optimizing for CAD Data

2008-07-28 Thread Todd J. Furlong
Hi folks, We deal with a lot of CAD data that has been translated to OSG, and I am looking into ways to enhance the performance in OSG. One issue we are facing is that the CAD data is very poorly organized with regards to the cull process. We had hoped that the spatialize groups

Re: [osg-users] Optimizing for CAD Data

2008-07-28 Thread Paul Martz
Hi Todd -- I'd think the Geode-per-Drawable might improve cull performance in your case, as it's faster to cull against bounding spheres than boxes. I've been working with complex CAD data for over a year and have had good results with some models by inserting OcclusionQueryNodes at strategic

Re: [osg-users] problems with new version OSG 2.6.0

2008-07-28 Thread GMD GammerMaxyandex.ru
Here is the small example, where described problem appeares. Example is modified example of osgpick (chenged code which returns name of object and osg scene). To see this problem you must go in the deep of room (way is showen in 00.jpeg). Then you need make several clicks in different positions

Re: [osg-users] Problems with viewer-computeIntersections

2008-07-28 Thread Paul Martz
(As mentioned in the other discussion thread...) If there is a way to reproduce this issue with osgpick, please provide explicit steps for reproduction. Of course if you can debug the issue and submit a fix, that would be even better. -Paul Hi, El Lunes 28 Julio 2008ES 16:45:19 Фамилия

Re: [osg-users] vpb on cluster example

2008-07-28 Thread Greg Myers
Hi JP, I'm new and I'm a little fuzzy on the versioning between VPB and OSG. It looks like for the example you have provided, we need an older version (2.3.6) of OSG. Do you know if there are plans to upgrade VPB to work with the latest releases of OSG or am I totally missing something? Thanks

Re: [osg-users] help me!

2008-07-28 Thread GMD GammerMaxyandex.ru
osgExp is not surport Texture UV repeat? Yes :( 28.07.08, 14:43, Alberto Luaces [EMAIL PROTECTED]: Hi, Sorry, I have no expertise with 3DSMax and/or osgExp, so I cannot help you further. Nevertheless, here is the osgExp code download page address:

Re: [osg-users] vpb on cluster example

2008-07-28 Thread Greg Myers
Thanks for the quick reply J-S. I'll try updating VPB via SVN when I get home. My proxy won't allow it at work :( Thanks a lot for the info, I appreciate it. Greg On Jul 28, 12:20 pm, Jean-Sébastien Guay [EMAIL PROTECTED] labs.com wrote: Hello Greg, I'm new and I'm a little fuzzy on the

Re: [osg-users] help me!

2008-07-28 Thread Dunhour, Mike (CIV)
Hello Use osgexp and 3ds Max(v8) all the time, most often with Delta3D, and have no problems with repeating UV's. Open your .osg file Where it describes your 'textureUnit'{ Texture 2d{ Look for wrap_s and wrap_t these should both be set to 'REPEAT' osgEXP should handle this without

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Ulrich Hertlein
Hi Rahul, Rahul Jain wrote: Color matrix in OpenGL is used for color space conversion, for example using color matric you can convert RGB to BGR , RGB to CMY. Unfortunately i do not have any screen grabs for the moment, but i am trying to achieve night vision effect using this code ,

[osg-users] DIVERSE BOF at SIGGRAPH, Aug 13, 10:30AM

2008-07-28 Thread Steve Satterfield
DIVERSE BOF Wednesday, August 13 10:30 - 11:30 am Los Angeles Convention Center Room 501A DIVERSE-Flexible Source VE API diverse.sourceforge.net DIVERSE is a cross-platform, open source, API for developing virtual reality applications that can run almost anywhere. DIVERSE currently runs on

[osg-users] osg make error in mingw

2008-07-28 Thread songbo_1220
hello everyone! sorry my english is poor. i working at the mingw, i make the osg, find below some error, can you tell me why and how to do? thanks! [EMAIL PROTECTED] /f/OpenSceneGraph/OpenSceneGraph-2.2.0/OpenSceneGraph/build_msys $ make Scanning dependencies of target OpenThreads [ 0%]

[osg-users] Shadow techniques status

2008-07-28 Thread Dan V .
Hi. I'm looking at shadow techniques provided by the osgshadow nodekit for use in a production project. On the wiki it reads like only ShadowMap is production ready and all the others have problems. Is this the case? Or have the others been marked as experimental because they do not work