aaronmck

Members
  • Content Count

    26
  • Joined

  • Last visited


Reputation Activity

  1. Like
    aaronmck reacted to JCPalmer in Displaying an error message on screen   
    Most GUI designers would set the disabled property on the button listener.  It will grey it.  Users will figure out you can only click once.
    document.getElementById("gpu_button").addEventListener("click", function () { document.getElementById("gpu_button").disabled = true; ... });  
  2. Like
    aaronmck got a reaction from alessandronunes in I've finished my project in Visual Studio...now what?   
    Hi all,
    So I've basically finished a project that I've been working on in Visual Studio which I have been running locally using IIS Express that comes with VS.
    Now I want someone in a different part of the country to access it by just typing in a link in the address bar.
    How do I go about this? I've never set up or used a server before.
    PS. I also have WAMPServer installed but I'm unsure how to set it up so anyone can access it at any time?
    Thanks!
  3. Like
    aaronmck got a reaction from alessandronunes in I've finished my project in Visual Studio...now what?   
    Hey @alessandronunes
    Thanks for the reply, that works well for me
    Cheers!
     
  4. Like
    aaronmck got a reaction from Wingnut in Drag and drop imported meshes   
    Thanks for all your responses, a great help!
    I referenced PEP in the document head using <script src="https://code.jquery.com/pep/0.4.1/pep.js"></script> and now I am able to interact with the meshes which is great.
    I went back into 3ds Max and used ProBoolean to connect all the pieces of the motherboard together so I am able to move the motherboard along the x axis by clicking anywhere on the model which rocks!
    I just need to figure out how to implement clicking the alt/ctrl key to move the models up and down on the y axis and utilising worldSpaceCanvas for a description to appear somewhere on screen.
    Slowly but surely I'm getting there.
    Thanks!
  5. Like
    aaronmck reacted to Deltakosh in Drag and drop imported meshes   
    Ok I think you need to add a reference to jQuery PEP or hand.js to get pointer events support
  6. Like
    aaronmck got a reaction from Wingnut in Drag and drop imported meshes   
    Hey @Wingnut thanks for your response.
    I followed your guide and created the git repository and successfully added a few of my models to the playground for testing purposes. Here it is.
    http://www.babylonjs-playground.com/#BUERM#0
    I added the drag and drop code from the example on playground and it works, but it doesn't work when I use it in the rest of my code on Visual Studio for some reason???
    A problem I found was that if my model has more than one mesh making it up I am able to move all these individual meshes rather than the full model itself as seen on the motherboard model. Any ideas on how that can be fixed so that I can click anywhere on the motherboard and be able to move the entire model?
    A couple of other things I would like to be able to do are;
    1. Move the models up and down as well as left and right (not worried about rotating it)
    2. Be able to click on a model and a description of it appears on the bottom right of the screen if that is possible?
    I look forward to any of your suggestions. 
    Many thanks!
  7. Like
    aaronmck reacted to RaananW in Is it possible to do this with Babylon?   
    This seems to be a topic  "Can I Do this?".
    Yes, you can export models from 3DS, with certain limitations to materials etc'. If you use the standard shader's properties you should be fine. you can read about it here - http://doc.babylonjs.com/exporters/3DSMax
    Yes, you can implement drag and drop, but this is not in the scope of Babylon. You will have to handle the native js events. Having said that, go to the playground and check the drag and drop example there. Should be a proper start.
    So, tl;dr - yes you can!