Hi,

sherman wilcox wrote:
> Since I didn't get any replies the first time around, I'd like to
> offer a possible solution.
> 
> What if the main visualization app sent queries (TCP/IP, IPC, etc.) to
> another process which performed all the intersection tests.
> Admittedly, this isn't high-performance, but performing these
> intersection tests from another app most certainly wouldn't result in
> dropped frames. For my particular problem I can suffer through the
> lazy intersection tests. One question I have is whether or not I can
> share the same paged database between two different apps.
I don't think this level of sharing would be any problem at all, in the
end both apps are just reading files from disk.

> 
> Thoughts...comments?
It would be interesting to know how compact one can make the intersect
app. Can one get away without an openGL context? Can one drop all
cull/draw related updates? If you find answers to these I'm sure others
will be interested.

>  
> On 5/16/07, sherman wilcox <[EMAIL PROTECTED]> wrote:
>> Hello everyone. I'm presently working on performing accurate runtime
>> intersection tests of paged databases. I'm trying to perform these
>> tests in a manner that doesn't result in dropped frames.
>>
>> My app uses an ellipsoid model of the earth that is paged. The terrain
>> model itself is several GB in size and was built using osgdem. I have
>> point data that I need to place just above the terrain @ runtime. I do
>> not know ahead of time the latitude/longitude of the points. I can get
>> as many as 20 a second at peak times. I wrote a small sample app using
>> osgSim::LineOfSight to get the correct height. This works, but I'm
>> told that running it on a background thread that isn't sync'ed with
>> the scenegraph is not safe. 
Maybe you could try multiple database pagers? I have no idea if it would
work though.

>> If I run it from the main rendering loop,
>> the intersection test can sometimes block for several seconds. Given
>> the quantity of points that are coming in, the performance hit could
>> make the app unusable.
>>
>> My question for the community is this: how do you guys perform
>> accurate intersection tests against paged databases that don't result
>> in frame loss?
>>
Don't know.

jp

-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to