struffel / pbr.one Goto Github PK
View Code? Open in Web Editor NEWInteractive preview for PBR materials and HDRI environments in the browser. Originally built for ambientCG.com, now open source.
Home Page: https://pbr.one
License: MIT License
Interactive preview for PBR materials and HDRI environments in the browser. Originally built for ambientCG.com, now open source.
Home Page: https://pbr.one
License: MIT License
All previews would profit from having a fullscreen mode.
This could be implemented as a button that appears in the corner if the element is in an iframe (if it is possible to detect that, otherwise as a toggleable setting).
The current version of the texture tiling preview only works with a mouse, not on touchscreens.
More/different event listeners are probably needed to make this work.
When loading large image files there should be some kind of indicator.
At the moment the files are just loaded in the background without any kind of feedback.
Zooming in and out on the texture tiling preview can be very disorienting because the origin point for the zoom isn't placed at the center of the frame but instead at the origin of the texture. This can cause the texture to "slide around" while zooming at a very large scale.
Combining materials with and without an opacity map causes the material without opacity map to become fully transparent.
Demo link:
https://cdn.pbr.one/0.3.0/pbr-material.html#material_name=Bricks;Metal-Walkway,color_url=https://pbr.one/media/bricks_col.jpg;https://pbr.one/media/walkway_col.jpg,normal_url=https://pbr.one/media/bricks_nrm.jpg;https://pbr.one/media/walkway_nrm.jpg,roughness_url=https://pbr.one/media/bricks_rgh.jpg;https://pbr.one/media/walkway_rgh.jpg,displacement_url=https://pbr.one/media/bricks_dsp.jpg;https://pbr.one/media/walkway_dsp.jpg,metalness_url=;https://pbr.one/media/walkway_met.jpg,opacity_url=;https://pbr.one/media/walkway_opa.jpg,displacement_scale=0.01,tiling_scale=2,geometry_type=plane,clayrender_enable=0,geometry_subdivisions=400
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.