Code Monkey home page Code Monkey logo

troisjs.github.io's Introduction

troisjs.github.io's People

Contributors

1albertchen avatar aliyss avatar deepansh96 avatar dekier avatar klevron avatar knekki avatar ncchen99 avatar onewaveadrian avatar ringokam avatar safrmo avatar wpplumber 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

troisjs.github.io's Issues

Frequently looked-up items

Keeping a running list of items I've needed to look up consistently:

  • Setting background color of renderer
  • Adding transparency to renderer

No action needed on these right now, just wanted to note them so we can make this info easy to find. Feel free to add more!

Demos not working on Brave (iOS) with Brave Shields online (default setting)

It seems like some kind scripts get blocked in Brave on iOS. I am aware that Brave on iOS uses Safari under the hood, but on Safari (iOS) the demos work. Additionally it seems like the amount of blocked scripts on desktop Brave seems to be different. This seems like a Brave issue with the blocking but I thought you might be interested to know ๐Ÿ˜„
Keep up the good work! ๐Ÿฅณ

Blocked items in mobile shield / demo not working

Screenshot from Brave Desktop

Screenshot 2021-04-12 at 13 18 20

Renderer resize default value

Hi @klevron,

When reading the documentation, it is written that the resize props of the renderer has a default value set to "window":

image

But looking at the source file, it seems to be "true", and not "window". If I am not mistaken, that typo might need to be fixed on the guide.

image

Thanks!

/CN

Your test.glb files works perfectly. However, I only get a black screen with my own glb files

On this page, the test.glb file in the example at https://github.com/troisjs/troisjs.github.io/blob/master/src/components/models/GLTFExample.vue appears perfectly for me. However, I only get a black screen with my own glb files but yours works:( Yet, my glb file is visible in 3D viewers. What setting changes should I make?"

<template>
  <Renderer ref="renderer" antialias :orbit-ctrl="{ enableDamping: true }" resize>
    <Camera :position="{ x: 1, y: 0, z: 0 }" />
    <Scene>
      <AmbientLight></AmbientLight>
      <GltfModel src="/assets/models/profile.glb" />
    </Scene>
  </Renderer>
</template>

<script>
import {
  AmbientLight,
  Camera,
  GltfModel,
  Renderer,
  Scene,
} from 'troisjs';

export default {
  components: {
    AmbientLight,
    Camera,
    GltfModel,
    Renderer,
    Scene,
  },
};
</script>

I attached my glb file with zip:
profile.zip

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.