abhivaidya

Members
  • Content Count

    18
  • Joined

  • Last visited

About abhivaidya

  • Rank
    Member

Contact Methods

  • Twitter
    abhivaid

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. abhivaidya

    Combine Babylon.js with Pixi.js

    This is really cool!
  2. abhivaidya

    Defend

    This is lovely! Well done!
  3. abhivaidya

    Loaded OBJ file is dark

    Hey @Deltakosh!!! Well we did try the babylon file. However the normals were inverted for some surfaces strangely. We are actually facing this issue with our character models as well. However, when we used the OBJ format, it worked fine. Hence we stuck to using this format. Thanks for the lovely explanation @dbawel! I am going to try this today and let you know how it works. BTW I immediately did try editing the MTL and OBJ when you suggested, and it was simple enough. However, the output was kinda same. However, let me try and do that again and I will let you know what I come up with.
  4. abhivaidya

    Loaded OBJ file is dark

    Thanks for the replies guys! @RaananW Here are the images..... The first is a capture with all channels on by default in the inspector The second is a capture with Ambient channel turned off in the inspector (the result is the same if you turn off the diffuse channel as well) @dbawel Not very sure about editing the obj. Your suggestion does make sense but since I am only learning and evaluating BJS for an internal project, I was trying to keep it simple. If nothing works, I will surely look into the editing bit. @brianzinnWe are using 3DS max. Sadly dont have access to a Blender expert inhouse and they are used to working with Unity :(. I am just trying to make a case for BJS!
  5. abhivaidya

    Loaded OBJ file is dark

    I am loading an OBJ file but generally it appears a bit dark. However, if I turn off the Ambient texture or the Diffuse texture channel from the inspector, it seems to be "lit" enough. Any idea why this happens and if through code I need to turn off the channels how can I do it?
  6. abhivaidya

    Babylon.js vs Unity - What makes BJS better?

    BJS is free and open source and doesnt collect my data!
  7. abhivaidya

    Sound doesn't loop in Internet Explorer

    It wasn't getting the Content-Length and hence duration as 0. I guess that explains the problem.
  8. abhivaidya

    Sound doesn't loop in Internet Explorer

    Ok I got it working!! IE needs to read the "Content-Length" in the header to trigger events like onLoop. My server being Apache, compresses the files being served using gzip. Disabling this through an .htaccess file in my sounds folder fixed this issue. You can do that by creating one and inserting SetEnv no-gzip 1 This however will disable gzip for the whole folder so please use it accordingly. Hope this helps someone.
  9. abhivaidya

    Sound doesn't loop in Internet Explorer

    That's right @alex_h However, this is not related to Web Audio or HTML Audio, because some sounds loop fine. So it is related to how it is encoded and the response header is what I think as of now.
  10. abhivaidya

    Sound doesn't loop in Internet Explorer

    Yes I am using loopFull. However, I have observed a couple of things here: Think loopFull uses the same play function with loop being set to true. Just made sure that my mp3 is similar to the one the example. By that I mean, the mp3 encoding is Mono, at 96bps and 44100KHz. This is a very IE specific issue. When I hosted the same game on another web host, the looping works and also, the looping events are fired. I compared the headers from both hosts and they are different. I am still investigating into this issue and will post an update once I have an answer.
  11. abhivaidya

    Sound doesn't loop in Internet Explorer

    It does work for me.... I guess it is a problem with my mp3 file just like @ozdy Not sure if there is something to do with the encoding of the mp3 file. Any idea @samme? Edit: Update When I use the same sound from the Phaser example in my project, it does not loop.
  12. abhivaidya

    Sound doesn't loop in Internet Explorer

    Any luck with this? I am having the same problem.
  13. abhivaidya

    File format for enterprise deployment

    That works like a charm!
  14. Hello All, I am just evaluating BabylonJS for a client project and since this is a large corporation, I will have to deploy the files (especially the meshes) as common file formats (eg. .js or .json). The reason being, I am assuming (also with some experience in dealing with such clients) that if I deploy a project with files with custom extensions (like .babylon), they wont load and they wont add it to the mimetype to load such files. Hence, can I customize or rename the extension to something else, like ones mentioned above, for easy deployment? Regards
  15. abhivaidya

    WIP Rpg

    Nice work indeed. For fun was just flying around and got stuck in one of the trees.... Was fun nonetheless