OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osgPPU Terrain Bug


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU]
View previous topic :: View next topic  
Author Message
allensaucier
Appreciator


Joined: 10 Apr 2009
Posts: 126

PostPosted: Wed May 19, 2010 7:10 pm    Post subject:
osgPPU Terrain Bug
Reply with quote

Hi Art,

I believe I have encountered a bug in osgPPU and using terrain. I have included code and a small terrain terrain file with this post. Would you please test what I am testing to see if you, also, encounter this strange anomaly?

The problem:
1. Whenever I use terrain (a .ive file with it's associated directory) and I enable a pipeline, when I rotate the scene, the camera "locks" at horizontal. Then I keep trying to rotate the scene and eventually the camera "unlocks" and I can continue rotating the scene.
2. the pipeline in my included example is simply a pass-through pipeline. No Effects are applied.
3. If you 1) zoom into the scene a little & the slowly rotate the scene to bring the camera horizontal to the terrain, the camera will freeze.
4. keep rotating the scene and eventually you will see the underside of the terrain.

If you rotate the terrain too quickly, you may not notice this anomaly. However, in my program, I must be able to make the camera horizontal to the terrain and then from that horizontal position, title the camera up and make it look at the "sky." I can not do this at this time.

I believe the issue is somewhere in the pipeline unit code because when I deactivate the pipeline and simply view the scene without a pipeline active, this anomaly does not occur.

The size of the terrain file does not seem to matter, either. The terrain I have included is DTED level 0. I retrieved my data from

http://geoengine.nga.mil/muse-cgi-bin/rast_roam.cgi
and 34.6500000000000 lat, -98.8000000000000 lon will get you some dted data that can be used for further testing. However, you will have to convert DTED to an ive. I did that with gdal and some other tools.

Would you please investigate this anomaly and tell me what you find?

PS the terrain and example code file are too large for this posting. Here is the URL to where they are: http://drop.io/exOsgPpuTerrain

Thanks Art.

Cheers,
Allen
Back to top
View user's profile Send private message
allensaucier
Appreciator


Joined: 10 Apr 2009
Posts: 126

PostPosted: Fri May 21, 2010 7:40 pm    Post subject:
Reply with quote

Art,
have you had a chance to look at this issue?

regards,
Allen
Back to top
View user's profile Send private message
art (Art Tevs)
Site Admin


Joined: 20 Dec 2008
Posts: 414
Location: Saarbr├╝cken, Germany

PostPosted: Tue May 25, 2010 11:25 am    Post subject:
Reply with quote

Hi Allen,

sorry, I had no chance to look on that issue in the last days. I am not sure if I will be able to look on this till the end of week, but I will try. I will let you know as soon as I know what is going wrong there.

Cheers,
Art
Back to top
View user's profile Send private message Visit poster's website
allensaucier
Appreciator


Joined: 10 Apr 2009
Posts: 126

PostPosted: Wed May 26, 2010 2:03 pm    Post subject:
Reply with quote

Thank you Art,
I really appreciate your help. I will be on vacation for the remainder of this week, myself, but I will be back in the office Tuesday of next week.

Talk to you then! Smile

Cheers,
Allen
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> osgPPU [osgPPU] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Camera collision with terrain ht11 General [3rdparty] 0 Fri Oct 13, 2017 7:34 am View latest post
No new posts Continuous Terrain moet General 14 Sat Sep 16, 2017 7:51 pm View latest post
No new posts How to reduce the size of the terrain qiaokun VirtualPlanetBuilder [vpb] 0 Fri May 19, 2017 7:49 am View latest post
No new posts How to query height of terrain given ... vinothrajendran4 VirtualPlanetBuilder [vpb] 0 Tue Mar 14, 2017 2:43 pm View latest post
No new posts Height of terrain bhanu406 General 5 Fri Mar 03, 2017 7:56 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP