sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Texture overlay on selection

    Scheduled Pinned Locked Moved Developers' Forum
    18 Posts 4 Posters 308 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      It's a feature of SketchUp - to make you focus on the stuff in the open context.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • A Offline
        ArunYoganandan
        last edited by

        @dan rathbun said:

        EDIT: Sorry this looks to be standard behavior.

        @dan rathbun said:

        Model Info > Components
        Adjust the fade sliders to suit yourself.

        In Ruby see these attributes:
        [pre:zw2i7fu9]InactiveFade ..............: 0.25
        InactiveHidden ............: false
        InstanceFade ..............: 0.5
        InstanceHidden ............: false[/pre:zw2i7fu9] model.rendering_options()

        EDIT: Seems the textures are still turned off in edit mode.

        @Dan: You are right. InactiveFade seems to make reduce the overlay transparency, but does not bring back the texture. I tried playing with the other parameters and had no luck bringing back the texture.

        1 Reply Last reply Reply Quote 0
        • A Offline
          ArunYoganandan
          last edited by

          @thomthom said:

          It's a feature of SketchUp - to make you focus on the stuff in the open context.

          Is there a way to turn that feature off?

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Nope.

            Are you making a 3d model where people can click on objects - like virtual art gallery where the user can click on the painting to bring up a webpage or video about the painting for example? Or are you just trying to add a menu for a plugin you've written and making a 3d model of it is the simplest way you came up with?

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @arunyoganandan said:

              @thomthom said:

              It's a feature of SketchUp - to make you focus on the stuff in the open context.

              Is there a way to turn that feature off?

              No - you'd have to make your objects appear in the current context.

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • A Offline
                ArunYoganandan
                last edited by

                @chris fullmer said:

                Nope.

                Are you making a 3d model where people can click on objects - like virtual art gallery where the user can click on the painting to bring up a webpage or video about the painting for example? Or are you just trying to add a menu for a plugin you've written and making a 3d model of it is the simplest way you came up with?

                Chris

                It is more closer to the first one. Because this is an immersive environment, users do not have access to the toolbars or any windows related stuff. Therefore, I'm having to represent these toolbars in the form of 3D radial menus that the users can interact with. These 3D menus are made up of icons which have textures that represent the corresponding tool. When a face is selected, all these textures go away leaving the user clueless as to which icon is which tool (cos they all appear blank)

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  A user "selects" an icon by double clicking on it? And that then opens the component into edit mode, is that the problem?

                  If so, when you make the 3d toolbar component (or group), just make it be locked. Then when the user double clicks on it, they will not enter into edit mode. That is one possible fix.

                  You might also try making your own "tool". This way you have control of the cursor and what it can do. so when a user clicks on something, it won't go into edit mode.

                  Does any of that make sense? Do you have a screenshot of what you immersive experience and toolbar look like? That might also help to make more sense of the possible solutions.

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • Dan RathbunD Offline
                    Dan Rathbun
                    last edited by

                    I never really understood the desire to have or use immersive 3D editing.

                    Anyway... although we cannot via Ruby enter into an edit context (it is reserved for user decision only,) we CAN cause SketchUp to exit edit contexts.

                    Sketchup.active_model.close_active()

                    But you must test if all nested edit contexts have been exited thus:

                    while Sketchup.active_model.active_entities != Sketchup.active_model.entities
                      Sketchup.active_model.close_active()
                    end
                    
                    

                    💭

                    I'm not here much anymore.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      ArunYoganandan
                      last edited by

                      @chris fullmer said:

                      A user "selects" an icon by double clicking on it? And that then opens the component into edit mode, is that the problem?

                      If so, when you make the 3d toolbar component (or group), just make it be locked. Then when the user double clicks on it, they will not enter into edit mode. That is one possible fix.

                      You might also try making your own "tool". This way you have control of the cursor and what it can do. so when a user clicks on something, it won't go into edit mode.

                      Does any of that make sense? Do you have a screenshot of what you immersive experience and toolbar look like? That might also help to make more sense of the possible solutions.

                      Chris

                      The user actually selects an icon using wiimote like controllers. The mouse is not involved in selecting the floating icon, and the selection works as intended without the aforementioned texture issues. The mouse emulation is involved in selecting other 3D objects
                      and this selection is what causes the textures on the icons to go away. I have attached a screenshot to show the problem.

                      https://lh4.googleusercontent.com/-7TxxW9czZgU/UIBJ6j3F8RI/AAAAAAAAkUA/M9qANkFCTXg/s1440/34.jpg

                      to the right is the floating tool icons. When the box is double clicked, the texture on the painting tool icon goes away.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        ArunYoganandan
                        last edited by

                        @dan rathbun said:

                        I never really understood the desire to have or use immersive 3D editing.

                        Anyway... although we cannot via Ruby enter into an edit context (it is reserved for user decision only,) we CAN cause SketchUp to exit edit contexts.

                        Sketchup.active_model.close_active()

                        But you must test if all nested edit contexts have been exited thus:

                        while Sketchup.active_model.active_entities != Sketchup.active_model.entities
                        >   Sketchup.active_model.close_active()
                        > end
                        > 
                        

                        💭

                        We are trying to see if we can get architects to model immersively. I might be able to share a video with you in a few weeks.

                        I might be asking too much, but I do not want to exit the exit edit context. I want to be able to stay in the edit context, but turn the visibility of textures on. I understand if Sketchup does not provide this kind of flexibility though.

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Are you just making a normal menu? Is that all it comes down to?

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • Dan RathbunD Offline
                            Dan Rathbun
                            last edited by

                            What platform is this for? PC or Mac ?

                            I'm not here much anymore.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              ArunYoganandan
                              last edited by

                              @chris fullmer said:

                              Are you just making a normal menu? Is that all it comes down to?

                              Pretty much. Just that it is 3D and floating in space with the user.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                ArunYoganandan
                                last edited by

                                @dan rathbun said:

                                What platform is this for? PC or Mac ?

                                This is for the PC.

                                1 Reply Last reply Reply Quote 0
                                • Chris FullmerC Offline
                                  Chris Fullmer
                                  last edited by

                                  SketchUp is not well designed for this kind of thing. You'll need to compromise a bit by using web dialogs, or maybe even the view.draw methods.

                                  How graphically detailed are these menus? Simple boxes? Or do they need to be fancy detailed icons with images?

                                  Lately you've been tan, suspicious for the winter.
                                  All my Plugins I've written

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    ArunYoganandan
                                    last edited by

                                    @dan rathbun said:

                                    What platform is this for? PC or Mac ?

                                    This is for the PC.

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post
                                    Buy SketchPlus
                                    Buy SUbD
                                    Buy WrapR
                                    Buy eBook
                                    Buy Modelur
                                    Buy Vertex Tools
                                    Buy SketchCuisine
                                    Buy FormFonts

                                    Advertisement