Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 1
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3365 times and has 0 replies Next Thread
jrmobile
Newbie



Россия
Joined: May 16, 2020
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Cannot make it work setBackgroundImageVisibleOnGround3D.

Good day to the community.
Would really appreciate if someone could give me a hand.
I spent ages in making my plugin.
Now it works and only one small feature is not working.
I'm loading from plugin background picture and i need it wo be shown on 3d view.

I've found setBackgroundImageVisibleOnGround3D method.

I'm trying to use following code
homeEnvironment = new HomeEnvironment();
homeEnvironment.setBackgroundImageVisibleOnGround3D(true);

No errors fired, but background still invisible in 3d view.

I know, that there is a way to make it with home3DAttributesController, but i have no clue on how to make a code.
I only have Home and userPreferences in my plugin, and i'm really frustrated, that i need to declare viewFactory, contentmanager.

Please give me a hand on that one.
I need to get background visible on 3d view from plugin.

Thanks in advance
[Aug 23, 2020, 8:59:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved