Giter Site home page Giter Site logo

jrg94 / cse5542 Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 27.56 MB

OSU's Real Time Rendering Course

Home Page: https://rtr.therenegadecoder.com/

License: MIT License

HTML 7.09% JavaScript 92.18% CSS 0.70% Batchfile 0.02%
graphics ohio-state-university

cse5542's Introduction

Welcome to My Profile!

This week's code snippet, Quine in Dg, is brought to you by Subete and the Sample Programs repo.

s = 's = %r\nprint $ s%%s'
print $ s%s

Below you'll find an up-to-date list of articles by me on The Renegade Coder. For ease of browsing, emojis let you know the article category (i.e., blog: βœ’οΈ, code: πŸ’», meta: πŸ’­, teach: 🍎)

Also, here are some fun links you can use to support my work.


This document was automatically rendered on 2024-05-03 using SnakeMD.

cse5542's People

Contributors

jrg94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cse5542's Issues

Shoot Causes Screen to Scroll

Shoot is set to default (SPACE). Apparently, this also scrolls the page which is a pain. I can either change the button or find a way to overlay the controls on the game.

Optimize Resources

Remove all junk from JSON files, cache reused ones, and shrink images.

Clean Up Lab 02 README

Before merging, I forgot to remove all the old links. Also, I'll need to finish #7 before finishing this.

Fix Rotation Issue

Currently, when we scale squares into rectangles, their future rotations cause skewing. I believe I need to convert the object back into a square, apply the rotation, and rescale it. However, I'm not sure how to do that yet.

Bad Image Data Error

Currently, I can get the cubemap to work with a single image but multiple images is posing a problem:

WebGL: INVALID_VALUE: texImage2D: bad image data:

Here is the load code:

this.load = function(url, target, texture) {
    img = new Image();
    img.onload = function() {
      gl.bindTexture(gl.TEXTURE_CUBE_MAP, texture);
      gl.texImage2D(target, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, img);
      gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_S, gl.REPEAT);
      gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_T, gl.REPEAT);
      gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_R, gl.REPEAT);
      gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
      gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
    };
    img.src = url;
  }

Move Rotation Axes on Legs

This is a nice to have feature which would allow me to apply rotations around the joints instead of the middles.

Add Progress Bar to Lab 05

This can be done using a progress element in HTML:

<progress id="prog" value="20" max="100"></progress>

You can interact with it in JavaScript as follows:

document.getElementById("prog").value = 40

Convert to GitHub Pages

With the sunsetting of Raw Git and the inevitable image errors I'm running into, I want to move this project to GitHub pages.

Deploy Lab 02 on Raw Git

We'll need to create a formal release for the recent pull request. Then, we can deploy everything.

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.