Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Argh!

Argh!

Scheduled Pinned Locked Moved The Lounge
37 Posts 11 Posters 8 Views 1 Watching
  • 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.
  • W wout de zeeuw

    We have made those classes ourselves, this is not problematic. The problematic part is that there's no PointList primitive, just LineList, LineStrip, TriangleList, TriangleStrip.

    Wout

    L Offline
    L Offline
    loveangel888
    wrote on last edited by
    #14

    Is it possible to make a line with length of one instead. I don't think anyone can tell the difference.

    W 1 Reply Last reply
    0
    • L loveangel888

      Is it possible to make a line with length of one instead. I don't think anyone can tell the difference.

      W Offline
      W Offline
      wout de zeeuw
      wrote on last edited by
      #15

      You could, but very inconvenient, because the length 1 is in screen space, whilst you normally define all vertices in model space, and then position your camera etc etc. So to do the dots you'd have to mess up the whole standard rendering pipeline.

      Wout

      1 Reply Last reply
      0
      • W wout de zeeuw

        Can't draw a point in Silverlight 5 3D. :wtf: Feels like going back in time.

        Wout

        H Offline
        H Offline
        hairy_hats
        wrote on last edited by
        #16

        You could convert your product to OpenGL. :-D

        N W 2 Replies Last reply
        0
        • P Pete OHanlon

          You can, but you need to download the XNA Math Helper[^] first. Then you can use the VertexPositionColor and Vector3 classes to help you. For instance:

          Vector3 pt = new Vector3(1,1,0);
          VertexPositionColor[] vertices = new VertexPositionColor[1];
          vertices[0] = new VectorPositionColor(pt, color); // Where color is the colour of the brush
          VertexBuffer vertexBuffer = new VertexBuffer(device, VertexPositionColor.VertexDeclaration, vertices.Length, BufferUsage.WriteOnly);
          vertexBuffer.SetData(0, vertices, 0, vertices.Length, 0);
          device.SetVertexBuffer(vertexBuffer);

          Forgive your enemies - it messes with their heads

          My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

          N Offline
          N Offline
          NormDroid
          wrote on last edited by
          #17

          Pete O'Hanlon wrote:

          vertices[0] = new VectorPositionColor(pt, color); // Where color is the colour of the brush

          Just love that comment...

          Software Kinetics - The home of good software

          1 Reply Last reply
          0
          • H hairy_hats

            You could convert your product to OpenGL. :-D

            N Offline
            N Offline
            NormDroid
            wrote on last edited by
            #18

            Or even WebGL so it works in a browser :rolleyes:

            Software Kinetics - The home of good software

            1 Reply Last reply
            0
            • D Dalek Dave

              There is a point in time when it is not there. There is a point in time when it is. Then there is a another point in time when it ceases. If you wish to talk maths then please continue, but be aware that there are a lot more than three dimensions, and that the temporal and hyperspatial ones can do some odd things. Have you ever worked out the volume of a tesseract (aka a Hypercube)? Very difficult, and what about projections of future positions of known points, a clock is useful there!

              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

              H Offline
              H Offline
              hairy_hats
              wrote on last edited by
              #19

              Dalek Dave wrote:

              there are a lot more than three dimensions

              Mathematically, yes...in reality, it remains to be proved.

              D 1 Reply Last reply
              0
              • D Dalek Dave

                My, what a small minded race the humans are. Only three dimensions? Pfft...Do you not own a clock?

                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #20

                Indeed I do, but you may note that I clearly stated "in 3D". By default, Silverlight 3D exists in 4D.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                K 1 Reply Last reply
                0
                • H hairy_hats

                  You could convert your product to OpenGL. :-D

                  W Offline
                  W Offline
                  wout de zeeuw
                  wrote on last edited by
                  #21

                  Our product already does OpenGL. I mentioned on the MSDN forum that OpenGL 1.1 can do points, but this invoked a "I know, OpenGL..., but let's be realistic" reply...

                  Wout

                  1 Reply Last reply
                  0
                  • H hairy_hats

                    Dalek Dave wrote:

                    there are a lot more than three dimensions

                    Mathematically, yes...in reality, it remains to be proved.

                    D Offline
                    D Offline
                    Dalek Dave
                    wrote on last edited by
                    #22

                    Time? Or is that just a theory?

                    ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                    H L 2 Replies Last reply
                    0
                    • D Dalek Dave

                      Time? Or is that just a theory?

                      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                      H Offline
                      H Offline
                      hairy_hats
                      wrote on last edited by
                      #23

                      That's one more. You said "a lot more". :)

                      D 1 Reply Last reply
                      0
                      • H hairy_hats

                        That's one more. You said "a lot more". :)

                        D Offline
                        D Offline
                        Dalek Dave
                        wrote on last edited by
                        #24

                        String Theory[^] And even Uncertainty is uncertain[^]. It depends on more dimensions than can be explained at the moment.

                        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                        H 1 Reply Last reply
                        0
                        • D Dalek Dave

                          String Theory[^] And even Uncertainty is uncertain[^]. It depends on more dimensions than can be explained at the moment.

                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                          H Offline
                          H Offline
                          hairy_hats
                          wrote on last edited by
                          #25

                          I know of String Theory, and how it has failed to produce a single concrete prediction. Give any mathematical model enough degrees of freedom and you can make it look like anything. I'm not convinced it is the answer.

                          1 Reply Last reply
                          0
                          • D Dalek Dave

                            There is a point in time when it is not there. There is a point in time when it is. Then there is a another point in time when it ceases. If you wish to talk maths then please continue, but be aware that there are a lot more than three dimensions, and that the temporal and hyperspatial ones can do some odd things. Have you ever worked out the volume of a tesseract (aka a Hypercube)? Very difficult, and what about projections of future positions of known points, a clock is useful there!

                            ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                            S Offline
                            S Offline
                            soap brain
                            wrote on last edited by
                            #26

                            Dalek Dave wrote:

                            Have you ever worked out the volume of a tesseract (aka a Hypercube)? Very difficult

                            You're joking, right? V = s4.

                            D 1 Reply Last reply
                            0
                            • S soap brain

                              Dalek Dave wrote:

                              Have you ever worked out the volume of a tesseract (aka a Hypercube)? Very difficult

                              You're joking, right? V = s4.

                              D Offline
                              D Offline
                              Dalek Dave
                              wrote on last edited by
                              #27

                              V = s4? Are you sure? Rotating Hypercube[^], not easy is it? Some information[^]. Want to try again?

                              ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                              S 1 Reply Last reply
                              0
                              • D Dalek Dave

                                V = s4? Are you sure? Rotating Hypercube[^], not easy is it? Some information[^]. Want to try again?

                                ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                S Offline
                                S Offline
                                soap brain
                                wrote on last edited by
                                #28

                                Dalek Dave wrote:

                                Are you sure?

                                Yes.

                                Dalek Dave wrote:

                                Want to try again?

                                OK. A tesseract is a cube extruded along the w-axis a distance of s. Hence, V = s4.

                                D 1 Reply Last reply
                                0
                                • S soap brain

                                  Dalek Dave wrote:

                                  Are you sure?

                                  Yes.

                                  Dalek Dave wrote:

                                  Want to try again?

                                  OK. A tesseract is a cube extruded along the w-axis a distance of s. Hence, V = s4.

                                  D Offline
                                  D Offline
                                  Dalek Dave
                                  wrote on last edited by
                                  #29

                                  You are falling into the trap that I fell into. That is it's volume in n Dimensional space. To work out it's volume in n-1 dimensional space is where it gets interesting. The volume then rather different, it is larger on the inside than the outside. Exterior volume is only the same as in n-1 space, whereas the internal volume is the n analogue. However the internal volume cannot be accessed from an n dimensional viewpoint.

                                  ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                  S L 2 Replies Last reply
                                  0
                                  • P Pete OHanlon

                                    Indeed I do, but you may note that I clearly stated "in 3D". By default, Silverlight 3D exists in 4D.

                                    Forgive your enemies - it messes with their heads

                                    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                    K Offline
                                    K Offline
                                    Keith Barrow
                                    wrote on last edited by
                                    #30

                                    He is intelligent, but not experienced. His pattern indicates two-dimensional thinking.

                                    Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                                    -Or-
                                    A Dead ringer for Kate Winslett[^]

                                    L 1 Reply Last reply
                                    0
                                    • W wout de zeeuw

                                      Can't draw a point in Silverlight 5 3D. :wtf: Feels like going back in time.

                                      Wout

                                      K Offline
                                      K Offline
                                      Keith Barrow
                                      wrote on last edited by
                                      #31

                                      A serious question: Isn't moving pixel sized triangles quicker with modern GPUs anyway? I assumed it was, still a PITA though.

                                      Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                                      -Or-
                                      A Dead ringer for Kate Winslett[^]

                                      W 1 Reply Last reply
                                      0
                                      • W wout de zeeuw

                                        Can't draw a point in Silverlight 5 3D. :wtf: Feels like going back in time.

                                        Wout

                                        M Offline
                                        M Offline
                                        Mark_Wallace
                                        wrote on last edited by
                                        #32

                                        So you need a point with the circular aspect excluded. i.e. :beer:

                                        I wanna be a eunuchs developer! Pass me a bread knife!

                                        1 Reply Last reply
                                        0
                                        • D Dalek Dave

                                          You are falling into the trap that I fell into. That is it's volume in n Dimensional space. To work out it's volume in n-1 dimensional space is where it gets interesting. The volume then rather different, it is larger on the inside than the outside. Exterior volume is only the same as in n-1 space, whereas the internal volume is the n analogue. However the internal volume cannot be accessed from an n dimensional viewpoint.

                                          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

                                          S Offline
                                          S Offline
                                          soap brain
                                          wrote on last edited by
                                          #33

                                          Dalek Dave wrote:

                                          To work out it's volume in n-1 dimensional space is where it gets interesting.

                                          You mean its hyper-surface area.

                                          Dalek Dave wrote:

                                          The volume then rather different, it is larger on the inside than the outside.

                                          I don't even know what that means. http://www.wolframalpha.com/input/?i=tesseract+volume[^]

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups