omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    JavaScriptCore adding custom functions

    Pythonista
    3
    42
    26438
    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.
    • JonB
      JonB last edited by

      which euclid library are you using? what is the pip name, or github repo?

      1 Reply Last reply Reply Quote 0
      • Cethric
        Cethric last edited by

        This is the repo listed in the header part of the file. http://code.google.com/p/pyeuclid

        1 Reply Last reply Reply Quote 0
        • Cethric
          Cethric last edited by

          Anyone have an idea why it isn't working?

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by JonB

            I took a look, although didnt get too far.
            My one observation is that it seems like you are swinging for the fences.... you have shaders, view/perspective manipulation, physics, models loading from xml, render loops, etc.... have you tried taking a step back and drawing a single stationary triangle with the default shader?
            It seems like there are many things that can go wrong for folks, like floats vs ints, working in normalized vs screen coords, getting the coordinate systems wrong (for instance ios screen coords are upper left, but gl is bottom left). I have to say what you have started here looks pretty cool.

            1 Reply Last reply Reply Quote 0
            • Cethric
              Cethric last edited by

              Thank you for the response and I will look into it. I believe this is the result of me pushing straight into it with the belief of it was working before so why shouldn't it now.

              1 Reply Last reply Reply Quote 0
              • JonB
                JonB last edited by

                maybe take a look at GLKBaseEffect as a way to rule out the custom shaders...

                1 Reply Last reply Reply Quote 0
                • omz
                  omz last edited by

                  @Cethric Sorry about the overzealous spam filter. I've whitelisted your account, so this shouldn't happen anymore.

                  1 Reply Last reply Reply Quote 0
                  • Cethric
                    Cethric last edited by

                    @omz thank you. I think it was marked a spam due to the proxy server that AU TAFE's use not thinking I was logged in to the network. Thus it was replacing the content of my post. Either way thank you

                    1 Reply Last reply Reply Quote 0
                    • Cethric
                      Cethric last edited by

                      @JonB I have pulled most of the example back so it just renders a Triangle which does work, however the view flickers. Any ideas? (I have updated the github repo, if that helps.)

                      1 Reply Last reply Reply Quote 0
                      • Cethric
                        Cethric last edited by

                        Nevermind, it is fixed now, I don't really know what I did but it is working now.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors