Comments (5)
@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.
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.
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.
@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.
from glam.
Related Issues (20)
- Rename <cube> to <box>
- View Events HOT 1
- Document all the tags that are available HOT 2
- Get rid of jQuery dependency. HOT 2
- Tutorial / Offical Website HOT 6
- Project Page Redesign HOT 1
- Documentation - User Guide HOT 3
- GLAM as Web Components HOT 2
- Separate website to gh-pages and remove it from master. HOT 1
- VR UI Components
- Responsive Layout for Docs HOT 2
- Responsive Layout for Project Page HOT 4
- trouble getting controller type FPS to work HOT 5
- dynamic setting of .textContent isn't implemented
- head tracking on chrome skew the sky picture
- How to import a rigged object and then animate it using tags or animation kf
- autoVR for renderer and controller - switching normal mode and VR mode.
- How to play a animation with js after glam ready?
- Are planning to enable html content as texture ? HOT 3
- Is exporting to dae/collada planned ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glam.