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

    SketchUcation 3D Viewer (formerly the '[ignore]' thread)

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    276 Posts 19 Posters 8.4k Views 19 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.
    • JQLJ Offline
      JQL
      last edited by

      @gábor said:

      @jql said:

      JQL wrote:
      I couldn't open the nice wireframe sphere on fullscreen.

      Did you get any error messages. If you open the javascript console do you see any error messages there?

      Now everything worked... no error on java console.

      @rich o brien said:

      We are testing an issue with mirrored components negatively scaled.

      Sorry for overburdening your browsers but it's a good means of flagging issues.

      Is that why some wires are black? are those reversed faces? I didn't see backfaces on the cornelbox model.

      www.casca.pt
      Visit us on facebook!

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Online
        Rich O Brien Moderator
        last edited by

        There are 2 icons in the controls.

        The first respects SU hard edges. The 2nd is the tri'd mesh.

        I left wires on to show mesh density.

        Download the free D'oh Book for SketchUp 📖

        1 Reply Last reply Reply Quote 0
        • Phillip HP Offline
          Phillip H
          last edited by

          First of all, wow. Your work here is very impressive, though that seems an understatement.I realize that I'm a newbie round here, but I thought to contribute a little.

          I'm viewing these on an HP Elitebook 8440p Core i7 M620 @ 2.67GHz laptop with 4GB RAM and Intel HD graphics, Win 8.1 Pro 64 bit and Chrome Version 39.0.2171.95 m in 32 bit mode. Display of models is very fast, though there is some latency in the rotation of models. I have just read the entire thread and I have noted some characteristics of the zoom function that hadn't been mentioned. Don't know the capabilities of WebGL. But I thought I would throw this out there anyway.

          Earlier models in the thread seemed to limit zoom when I ran into a surface. Later, once I zoom out, I could not zoom back in to the initial scale. I would have to restart the image to reset the scale. I could however alternately rotate models off center and 'walk' them past these limitations and close enough to move sideways past the outer surface and see the inner surfaces. I found this ability desirable because it more closely resembled native SU views (that's just me). Another item of note is that zoom is not relative to the cursor position within the frame but seemingly relative to the center of the frame instead. Not criticizing mind you. Just noting a few things that differ from native SU behavior.

          Absolutely stunning work so far. I hope these observations are a help to your efforts.

          HP EliteBook 8440p Intel® Dual Core™ i7 M620@ 2.67 4GB RAM
          NVIDIA NVS 3100, 512 MB
          Windows® 8.1 64 bit
          SketchUp Pro 2015 version 15.3.331 64-bit

          1 Reply Last reply Reply Quote 0
          • JQLJ Offline
            JQL
            last edited by

            Sorry but this might be my GPU or a design feature...

            I'm talking about wires but not wireframe rendering. Metal wires...

            There are some black metal wires there, and I was expecting them all to be steel. Take a look at image:

            Untitled1.png

            They are black painted? Reversed faces? Or rendering bugs related to my shi... hardware?

            www.casca.pt
            Visit us on facebook!

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              I assumed half the wires were 'silver' and half were 'black'.
              There is a consistent pattern ??
              The form is very complex with many many facets...

              TIG

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Online
                Rich O Brien Moderator
                last edited by

                The black is occuring when you negatively scaled a component to mirror it.

                it seems this causes an issue on export with textures and other things.

                re:orbit/zooming

                we know this. for now the priority is presentation. we need to nail it down.

                you'll see some big forward steps this month. with a full public beta to follow.

                Download the free D'oh Book for SketchUp 📖

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  I had a similar issue with my OBJ exporter [http://sketchucation.com/pluginstore?pln=OBJexporter now v3.0, but 'fixed' since ~v2.4 - it was initially developed for Octane-Render, where these issue first cropped up].

                  Simplistically put... what needs to be done is when a group or component-instance is processed its transformation is checked for negative scaling [taking into account that several negative scalings/rotations cancel out!].

                  I suggest that Gábor and co look at my OBJexporter.rb file at lines ~#337-#405 [and elsewhere, e.g. #426...] for ideas - I know it's not quite the same coding but the principals are the same...
                  That code finds the truly 'flipped' faces and simply reverses them and swaps the remapped textured-materials from front to back etc, all before they are processed in the exporter [the operation is aborted after the export completes, so any such changes to the SKP are undone automatically] - alternatively the [re]calculated face normals etc, could simply be reversed in code alone...

                  We can continue by PM as needed... 🤓

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Gábor
                    last edited by

                    Thank you TIG. Working on it.

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Online
                      Rich O Brien Moderator
                      last edited by

                      [sw:li44u31m]HFqwrWluo8nSgB0[/sw:li44u31m]

                      Download the free D'oh Book for SketchUp 📖

                      1 Reply Last reply Reply Quote 0
                      • ntxdaveN Offline
                        ntxdave
                        last edited by

                        Like the lighting when I rotate the chair.

                        I think you may have addressed this before, but why can I not rotate the model 360 in the vertical direction? I have looked at other viewers and they do not have that restriction?

                        I know this is not the current emphasis of your testing, but have you considered changing the Full Screen icon to a Close icon when I have opened the model in Full Screen. That is not something that needs to be addressed right now but could be looked at near the end of your development. Just a suggestion...........

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          @gábor said:

                          Thank you TIG. Working on it.
                          @Gábor
                          I've PM'd you a full-fat way to find the 'real' xyz scaling of an object - my exporter's code only traps for scaling of 1 v. -1 etc... There is a better sure-fired way... involving lots of maths on an Array from the object's Transformation - sx = Math.sqrt(ot[0]**2+ot[1]**2+ot[2]**2) etc... - this covers all scaling/flipping possibilities...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gábor
                            last edited by

                            @tig said:

                            @Gábor
                            I've PM'd you ...

                            Thank you TIG, it worked like a charm on the example model. 😍 👍

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Online
                              Rich O Brien Moderator
                              last edited by

                              [sw:1gw4gfrh]xBpF2PhKgT3nrDH[/sw:1gw4gfrh]

                              Download the free D'oh Book for SketchUp 📖

                              1 Reply Last reply Reply Quote 0
                              • Rich O BrienR Online
                                Rich O Brien Moderator
                                last edited by

                                [sw:37m561q9]dwHsw7bbsMgglY2[/sw:37m561q9]

                                Download the free D'oh Book for SketchUp 📖

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  Toon indeed! ☀

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

                                  1 Reply Last reply Reply Quote 0
                                  • Rich O BrienR Online
                                    Rich O Brien Moderator
                                    last edited by

                                    So here's is a test where the exported .skp has 6 scenes.

                                    We had a discussion about how to handle scenes and their intention for presentation.

                                    What we came up with is that if you created scenes in SU these become viewpoints in the 3D viewer. This is so the end user (the person you want to 'tour' your model) won't end up disorientated.

                                    [sw:2qyt0rv2]yUKqzYnTaQuD3Sz[/sw:2qyt0rv2]

                                    It is still a WIP in progress but you can see above that the scenes in SU became 'look-around' points in the viewer. No orbiting, panning etc...

                                    Anyone following can comment on this as we would love to hear your thoughts.

                                    NOTE: Bear in mind that the camera is behaving erratic but we're dialling it in as we deal with a multitude of 'things'.

                                    @JQL

                                    I got your PM and will sort you out soon.

                                    Download the free D'oh Book for SketchUp 📖

                                    1 Reply Last reply Reply Quote 0
                                    • Rich O BrienR Online
                                      Rich O Brien Moderator
                                      last edited by

                                      Sorry I forgot to add that....

                                      PicPick-003.png

                                      Download the free D'oh Book for SketchUp 📖

                                      1 Reply Last reply Reply Quote 0
                                      • JQLJ Offline
                                        JQL
                                        last edited by

                                        Oh! We can comment? I thought we were supposed to [ignore]...

                                        I love the viewpoint concept, but I think it's feeling as awkward as the look around tool in sketchup. I feel the controls are reversed... It's the opposite way they do in games, and games are what people are used to play with...

                                        You didn't follow sketchup scenes behaviour, so why would you follow lookaround tool behaviour?

                                        EDIT: What about sections? Would anyone need them? Scenes+Sections and text is what I want. I would think on replacing all my construction docs for a notepad with online content stored in sketchucation cloud if I had that!!!

                                        www.casca.pt
                                        Visit us on facebook!

                                        1 Reply Last reply Reply Quote 0
                                        • Rich O BrienR Online
                                          Rich O Brien Moderator
                                          last edited by

                                          The only aspect of SU we follow is the .skp format.

                                          Download the free D'oh Book for SketchUp 📖

                                          1 Reply Last reply Reply Quote 0
                                          • JQLJ Offline
                                            JQL
                                            last edited by

                                            Then follow me! 😄 Would you mind changing the look around?

                                            www.casca.pt
                                            Visit us on facebook!

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 13
                                            • 14
                                            • 8 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement