Code Monkey home page Code Monkey logo

ashes's Introduction

Anurag's GitHub stats

ashes's People

Contributors

but0n avatar dependabot[bot] avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ashes's Issues

In v.0.0.45, models without texture are not displayed

I got Ashes v0.0.45 from jsDelivr and tried it locally. As a model, I tried Triangle.gltf, Box.gltf etc.
However, the following error was output to the console and it was not displayed.

ashes.main.js:4356 
Uncaught (in promise) TypeError: Cannot read property '0' of undefined
    at Function.preComputeTangent (ashes.main.js:4356)
    at mesh.primitives.map.meshData (ashes.main.js:5500)
    at Array.map (<anonymous>)
    at gltf.meshes.gltf.meshes.map.mesh (ashes.main.js:5485)
    at Array.map (<anonymous>)
    at new gltfScene (ashes.main.js:5484)
    at Function.<anonymous> (ashes.main.js:5825)
    at Generator.next (<anonymous>)
    at fulfilled (ashes.main.js:5198)

Perhaps it seems that it is in error because uv is undefined.
image

I think that it was not an error in the previous version v.0.0.44.

Please support glTF-Embedded format

I tried to display several glTF models using Ashes.
However, it seems that you can not display models in glTF Embedded format.
The following is a sample that could not be displayed because of a format problem.

Ashes + glTF Additonal Test Case No.3
http://jsdo.it/cx20/kSsC

Ashes + glTF Additonal Test Case No.5
http://jsdo.it/cx20/YY6E

Ashes + glTF Additonal Test Case No.10
http://jsdo.it/cx20/c2TU

The glTF Embedded format is a format used when incorporating resources into JSON using Data URI.
I hope that you can support if possible.

Triangle.gltf does not displayed

I tried to display Triangle.gltf with Ashes.
However, an error was output to the console and it was not displayed.

Ashes v0.0.16 + Triangle.gltf result:

ashes.main.js:5270 Uncaught (in promise) TypeError: Cannot read property 'map' of undefined
    at Function.<anonymous> (ashes.main.js:5270)
    at Generator.next (<anonymous>)
    at fulfilled (ashes.main.js:860)

I think that it is probably failing to display about models that do not have textures.

Loading glTF file seems to fail in Ashes v0.2.3

I tried to display Duck.gltf in Ashes v0.2.3.
However, the following error seems to be displayed.
image

ashes.main.js:4313 Uncaught (in promise) TypeError: Cannot read property 'NORMAL' of undefined
    at Function.bindAccessorsVBO (ashes.main.js:4313)
    at Function.updateVAO (ashes.main.js:5060)
    at Function.attachMaterial (ashes.main.js:5044)
    at new MeshRenderer (ashes.main.js:4966)
    at Function.<anonymous> (ashes.main.js:6061)
    at Generator.next (<anonymous>)
    at fulfilled (ashes.main.js:5301)

How to apply an IBL texture with any file name?

I tried applying an IBL texture to glTF using Ashes.
https://cx20.github.io/gltf-test/examples/ashes3d/index.html?category=tutorialModels&model=BoomBox&scale=100&type=glTF

IBL texture can be load with the following file names, but is it possible to use other file names?

helipad/<pos|neg><x|y|z>.hdr

I want to use the following files for IBL textures.

https://github.com/ux3d/glTF-Sample-Environments/tree/4eace30f795fa77f6e059e3b31aa640c08a82133/papermill/specular

before after
helipad/posx.hdr specular/specular_right_0.hdr
helipad/negx.hdr specular/specular_left_0.hdr
helipad/posy.hdr specular/specular_top_0.hdr
helipad/negy.hdr specular/specular_bottom_0.hdr
helipad/posz.hdr specular/specular_front_0.hdr
helipad/negz.hdr specular/specular_back_0.hdr

WebGL context is lost when trying to display models with many vertices

I tried to display some samples with Ashes v0.0.18.
However, it seems to fail when trying to display the model of the number of vertices.

WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
Model name result
Cylinder Engine
Reciprocating Saw
Gearbox Assy
Buggy

FlightHelmet's goggles do not pass through properly

I tried to display the model of FlightHelmet.
There was almost no problem, but there was a place that I was a bit worried about.

Ashes + FlightHelmet result:

Example with lenses: I can not see the prop inside the helmet.
image

Example without a lens: I can see the prop inside the helmet.
image

If the lens passes through correctly, I think that it is the correct display result that you can see the prop inside the helmet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.