Re: [osg-users] osg::Array

2010-08-15 Thread Igor Lebedev
Hi, Oh, i thought indexed vbo is fastest. I just wanna try alternate, faster method. Also, my target of using osg - is make LightWave bones\animation import. I believe, i need indices for bones. Am i wrong? Thank you! Cheers, Igor -- Read this topic online here: http://forum.o

Re: [osg-users] Proximity Queries between objects

2010-08-15 Thread Jean-Sébastien Guay
Hello Sanat, So, I wanted to know if there is some way in OSG I can compute the shortest distance between the boundaries of two objects. Well, in OSG you have access to an approximated bounding sphere and bounding box of your geometry (these may be very approximate though, i.e. they may not

Re: [osg-users] osg::Array

2010-08-15 Thread Jean-Sébastien Guay
Hello Igor, Ok. There are some unobvious things with indices array. I'll have to defer to someone else on the list for the behavior of index arrays. I don't use them generally, as they are not optimal on today's real-time pipelines and force OSG to use OpenGL slow paths. But obviously, if y

[osg-users] Proximity Queries between objects

2010-08-15 Thread Sanat Talmaki
Hi, I am interested in knowing if there is some tool in osg that I can use to perform proximity queries between a pair of objects. I looked at osgbullet. But it offers a lot more than what I basically need. One approach that I have thought of is using distance formula between the PATs->positi

Re: [osg-users] osg::Array

2010-08-15 Thread Igor Lebedev
Hi, Ok. There are some unobvious things with indices array. The first thing, that confused me is there are index arrays for all data types(vertex/normal/texcoord/fogcoord), so which one should i use for interleaved array? The second thing is how to access IndexArray directly. I mean the way as

Re: [osg-users] OSG in Delta3D

2010-08-15 Thread Sanat Talmaki
Hi Tony,Jan I did go through delta 3d's tutorials and found that it had a lot more than I might need for now. Plus I felt it was much simpler to set up a scene and go from there in osg or maybe that's just because I have been using osg. I will look at osgBullet and integrate it. Thanks Since

Re: [osg-users] OSG in Delta3D

2010-08-15 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/14/2010 06:20 PM, Sanat Talmaki wrote: > Hi, > > I am interested in adding Collision Detection to my current OSG application. > And after going through a number of threads on this topic, the common theme > was use Delta 3D. > > So my question

Re: [osg-users] osgEarth processing problems

2010-08-15 Thread ting zhang
Hi, Today I tried again. Here is the detail: I generated a ive file using the Boston tif materials and VPB. The VPB parameter command line is: -t boston-10m-utm19n-meters.tif -d boston-dem-downtown-5m-utm19n-meters.tif --TERRAIN -l 4 -v 3 -o Boston.ive Note: I used–TERRAIN in my command line f