Code Monkey home page Code Monkey logo

Comments (20)

trsh avatar trsh commented on May 25, 2024 1

2020-03-08_115541

from ashes.

but0n avatar but0n commented on May 25, 2024

Here is the ray tracer demo:
https://github.com/but0n/Ashes/blob/master/bvh.html

from ashes.

trsh avatar trsh commented on May 25, 2024

Well it's not working. I got light brown screen and "1" printed in console

from ashes.

but0n avatar but0n commented on May 25, 2024

Well it's not working. I got light brown screen and "1" printed in console

Is there other error messages in console?
Can you provide the screenshot?

Currently some assets such as HDR environment textures might not available in this repository, perhaps this caused an 404 error, and the it interrupted.

from ashes.

trsh avatar trsh commented on May 25, 2024

No other messages in console. And yes One texture was missing, I replaced it with something, but still nothing...

from ashes.

but0n avatar but0n commented on May 25, 2024

OK, I will clean the code, make sure all these textures are available.

from ashes.

but0n avatar but0n commented on May 25, 2024

Those textures has been removed.
image

Press K to toggle debug mode and rendering mode.
Press U & J for camera up and down.

from ashes.

trsh avatar trsh commented on May 25, 2024

So I fallowed the instructions

git clone https://github.com/but0n/Ashes.git
cd Ashes

# if you don't have yarn installed
npm install -g yarn

yarn

yarn dev

opened http://127.0.0.1:8080/bvh.html in firefox&chrome (Webgl2 enabled) and nothing happens.. just slightly brown background, "1" in console and after some while the Tab starts to hang the whole browser. Btw I'm on windows 10 64bit. GPU is GTX 750 Ti

from ashes.

but0n avatar but0n commented on May 25, 2024

You can try git clone --recursive https://github.com/but0n/Ashes.git if Ashes/gltfsamples is empty.

from ashes.

trsh avatar trsh commented on May 25, 2024

Just did. Same thing

from ashes.

trsh avatar trsh commented on May 25, 2024

2020-03-07_151728

from ashes.

trsh avatar trsh commented on May 25, 2024

2020-03-07_151728

from ashes.

but0n avatar but0n commented on May 25, 2024

Hmmm, it's weird, seems it stopped after download the first hdr cube texture: https://github.com/but0n/Ashes/blob/master/bvh.html#L94

It should be like this:

image

from ashes.

trsh avatar trsh commented on May 25, 2024

I dont know how to fix this.

from ashes.

but0n avatar but0n commented on May 25, 2024

I tried again with following command and it works fine:

git clone --recursive https://github.com/but0n/Ashes.git a2 && cd a2 && yarn && yarn dev

Can you visit this website and send me a report?
https://webglreport.com/?v=2

from ashes.

but0n avatar but0n commented on May 25, 2024

Thank you, can you go to the gltfsamples folder see is there has DamagedHelmet.glb?

from ashes.

trsh avatar trsh commented on May 25, 2024

Yes its there

from ashes.

but0n avatar but0n commented on May 25, 2024

Thank you, I will find a similar environment and try to figure out what's going on.

from ashes.

Muini avatar Muini commented on May 25, 2024

Hi ! I just tried and got the same problem.
However, I noticed missing files :
image
I checked and there is no .hdr in envmap folder, not on master branch anyway, maybe you need git LFS to commit them. I would love to try those demo too :)

from ashes.

but0n avatar but0n commented on May 25, 2024

@Muini
Yeah, I haven't upload HDR textures yet due to certain reasons, can you check out 568bb22 ? That version doesn't requires extra HDR textures. Thank you!

from ashes.

Related Issues (20)

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.