Code Monkey home page Code Monkey logo

Comments (5)

tparisi avatar tparisi commented on September 15, 2024

@bnolan agreed... at the same time I'm rethinking the CSS part of this. time for the straw poll I guess: should we even be trying to extend CSS? Kinda broken, kinda problematic. I like having the separation of concerns-- I wish Web Components addressed this issue-- but maybe CSS isn't the way to go? Any ideas?

from glam.

bnolan avatar bnolan commented on September 15, 2024

I don't like all the css rules you have (like the cube-map stuff is maybe a bit verbose), but I like the general idea. I'm going to add css support to SceneVR. Being able to change the material type / color / emissive / specular maps in css seems like a good match.

from glam.

tparisi avatar tparisi commented on September 15, 2024

Actually I have a much more compact version coming up. It's going to be one CSS property, 'image' with space-separated stuff e.g. diffuse url(colormap.jpg) normal url(normalmap.jpg) cube-left url(cubemapleft.jpg) and so on. You like that better? @bnolan

from glam.

tparisi avatar tparisi commented on September 15, 2024

@bnolan but that does create one issue which is, I don't think you should have to go through the stylesheet to update these things in real time... that's another big problem with using CSS. I mean, I don't want to have to reconstruct the whole string just to change the specular map

from glam.

tparisi avatar tparisi commented on September 15, 2024

Done. See #41, #45

from glam.

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.