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 

Transform RangeMode From PIXEL_SIZE_ON_SCREEN to DISTANCE_FROM_EYE_POINT


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
xiaoming
Newbie


Joined: 27 Dec 2017
Posts: 4

PostPosted: Mon Apr 09, 2018 9:38 am    Post subject:
Transform RangeMode From PIXEL_SIZE_ON_SCREEN to DISTANCE_FROM_EYE_POINT
Reply with quote

Hi,

Anyone know how to transform RangeMode from PIXEL_SIZE_ON_SCREEN to DISTANCE_FROM_EYE_POINT?
I found :required_range = cullStack->clampedPixelSize(getBound()) / cullStack->getLODScale() in the source code ,and it means required_range = radius/(center*pixelSizeVector) /LODScale;
but i donot know the meaning of pixelSizeVector and the LODScale.
I need the formula,please~~

Thank you!

Cheers,
Mouming
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General 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 "hooking" into the Trackbal... loopy General 2 Tue May 08, 2018 7:42 pm View latest post
No new posts PIXEL_SIZE_ON_SCREEN And RangeList of... xiaoming General 1 Thu Jan 11, 2018 1:42 am View latest post
No new posts Transform matrix as Uniform to shaders freqfly General 3 Thu Oct 05, 2017 4:19 am View latest post
No new posts Setting the transform matrices robertosfield General 14 Wed Aug 09, 2017 8:35 am View latest post
No new posts uniform buffers for transform stack a... Gedalia Pasternak General 0 Mon Mar 13, 2017 3:17 pm 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