-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplified Web Page of Examples #81
base: gh-pages
Are you sure you want to change the base?
Conversation
@svnkomo Thank you so much, and talk to you soon! :-) |
@erichlof |
Hi again, Sakhile! I think all of the demos are listed on the examples page - the only one I couldn't find is Geometry_Showcase.html (that's the main default demo for my repo - it has a link at the top right when you visit the GitHub repo). Could you please add a .png card for that as well, maybe like you did for Quadric_Geometry_Showcase.html, which is very similar? The only other issue I found was that the buttons don't appear correctly anymore when viewing on my mobile device. I'm including a screenshot: The buttons on the right appear shifted down and off the viewing area, so that mobile users can't navigate the camera. The good news is that I'm sure this can be fixed with a 'one-shot-fixes-all' solution (maybe in the default CSS?), but I'm not very knowledgeable about CSS and not very up-to-date with how tailwind works. Those triangular buttons for mobile might have to be 'fixed' in their position. Long ago I cobbled together the correct spacing for both portrait and landscape mode for mobile, so that no matter which way you turn your phone or tablet, the buttons are visible and accessible in the corner. Here's the source code found inside InitCommon.js: THREE.js-PathTracing-Renderer/js/InitCommon.js Lines 190 to 231 in 4f6c03b
Each time the window is updated (called at app startup and whenever a user rotates the mobile device or resizes the window), the above code correctly spaces the mobile triangular buttons. This reply is getting long so I'll put the questions in the next one... Thank you! 😊 |
Hi again, Lastly, will everything be hosted from my repo here? I noticed that the examples page is currently hosted by your GitHub pages, but unless I'm mistaken, that's just so you can show the functionality while you're working on your fork of my repo - do I have this correct in my mind? Again, thank you so much for putting all of this together- I know it must have been a lot of work! Once we get some of these issues and details worked out, your new examples system will take this GitHub repo to the next level! 😃 Talk to you soon, |
Proposal to add an abridged version of all current and future path tracing examples.