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 

scene object not receiving/casting shadows


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


Joined: 02 Mar 2016
Posts: 35

PostPosted: Thu May 11, 2017 8:01 am    Post subject:
scene object not receiving/casting shadows
Reply with quote

Hi,
I have a strange problem with osgShadow.
Every geometry (loaded osg models) in my scene is receiving and casting shadows, except for one model "A", that is not receiving/casting shadows when another specific model "B" of the scene is inside my current view frustrum.
I tried to track down the problem by removing single child nodes of model "B".
When i remove the last 3 of the 102 children of the root node, shadow works for model "A".

I dont know whats the relation between those two models, that could cause such a effect.

edit:

Must have something to do with the TexGen mode.
TexGen {
mode SPHERE_MAP
}
When i remove this part in the osg files, it works.
Replacing with other modes not.
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 Scale problem while transforming obje... YuraIU02 General 1 Sat Apr 15, 2017 4:26 pm View latest post
No new posts How to get Node object from PositionA... nghien_rbc General 1 Sat Apr 15, 2017 3:05 am View latest post
No new posts Recommended way to render a scene fro... Hannes Naude General 6 Tue Apr 11, 2017 11:12 am View latest post
No new posts How to get the orientation of 3d object? Jiechang Guo General 2 Mon Apr 10, 2017 2:14 pm View latest post
No new posts Shadows on "invisible" objects Trajce Nikolov NICK General 2 Tue Mar 28, 2017 7:09 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