Skip to content

Commit

Permalink
update: map and images
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshd332 committed May 5, 2024
1 parent 3bf3ea4 commit a915330
Show file tree
Hide file tree
Showing 21 changed files with 33 additions and 29 deletions.
Binary file removed src/assets/citi.png
Binary file not shown.
Binary file added src/assets/citi.webp
Binary file not shown.
Binary file removed src/assets/codecharacter.png
Binary file not shown.
Binary file added src/assets/codecharacter.webp
Binary file not shown.
Binary file added src/assets/delta.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/delta.png
Binary file not shown.
Binary file added src/assets/delta.webp
Binary file not shown.
Binary file removed src/assets/dwoc.jpg
Binary file not shown.
Binary file added src/assets/dwoc.webp
Binary file not shown.
Binary file removed src/assets/god.jpg
Binary file not shown.
Binary file added src/assets/god.webp
Binary file not shown.
Binary file removed src/assets/projects-bg.jpg
Binary file not shown.
Binary file added src/assets/projects-bg.webp
Binary file not shown.
Binary file removed src/assets/proximity.png
Binary file not shown.
Binary file added src/assets/proximity.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/ui/components/About/About.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useEffect } from "react";
import TxtRotate from "../../helpers/TypeCarousel";
import styles from "./About.module.css";
import god from "../../../assets/god.jpg";
import god from "../../../assets/god.webp";

const About = (): JSX.Element => {
useEffect(() => {
Expand Down
16 changes: 8 additions & 8 deletions src/ui/components/Experience/data.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import delta from "../../../assets/delta.png";
import delta from "../../../assets/delta.webp";
import tedx from "../../../assets/tedx-logo.svg";
import citi from "../../../assets/citi.png";
import citi from "../../../assets/citi.webp";
import globe from "../../../assets/globe.svg";
import github from "../../../assets/github.svg";

export const cardData: CardData[] = [
{
img: citi,
title: "Citi",
text: "Developed an update automation tool for creating update snapshots for the OpenLink Endur application. The tool was used by the team to automate the process of creating update snapshots, saving hours of manual work. Developed a node-wise XML comparison tool for comparing the XML Feeds of the Endur application's subcomponents.",
websites: [{ icon: globe, url: "https://www.citi.com/" }],
},
{
img: delta,
title: "Delta Force",
Expand All @@ -24,10 +30,4 @@ export const cardData: CardData[] = [
{ icon: github, url: "https://github.com/tedxnittrichy" },
],
},
{
img: citi,
title: "Citi",
text: "Developed an update automation tool for creating update snapshots for the OpenLink Endur application. The tool was used by the team to automate the process of creating update snapshots, saving 10s of hours of manual work. Developed a node-wise XML comparison tool for comparing the XML Feeds of the Endur application's subcomponents.",
websites: [{ icon: globe, url: "https://www.citi.com/" }],
},
];
2 changes: 1 addition & 1 deletion src/ui/components/Projects/Projects.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
width: 100%;
min-height: 100vh;
background-color: #000000;
background-image: url("../../../assets/projects-bg.jpg");
background-image: url("../../../assets/projects-bg.webp");
background-size: cover;
display: flex;
flex-direction: column;
Expand Down
22 changes: 11 additions & 11 deletions src/ui/components/Projects/data.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import dwoc from "../../../assets/dwoc.jpg";
import proximity from "../../../assets/proximity.png";
import code from "../../../assets/codecharacter.png";
import dwoc from "../../../assets/dwoc.webp";
import proximity from "../../../assets/proximity.webp";
import code from "../../../assets/codecharacter.webp";
import globe from "../../../assets/globe.svg";
import github from "../../../assets/github.svg";

Expand All @@ -14,6 +14,14 @@ export const cardData: CardData[] = [
{ icon: github, url: "https://github.com/delta/codecharacter-web-2022" },
],
},
{
img: proximity,
title: "Proximity | An intelligent Discord bot",
text: "Built a Discord Bot with Music, Image Search and lots of fun commands using Node.js. Integrated IBM Watson Image Recognition and Google Text to Speech API to provide Image Classification and Text to Speech Features on Discord.",
websites: [
{ icon: github, url: "https://github.com/vigneshd332/proximity" },
],
},
{
img: dwoc,
title: "DWOC | A GSOC-like program",
Expand All @@ -23,12 +31,4 @@ export const cardData: CardData[] = [
{ icon: github, url: "https://github.com/delta/dwoc-client" },
],
},
{
img: proximity,
title: "Proximity | An intelligent Discord bot",
text: "Built a Discord Bot with Music, Image Search and lots of fun commands using Node.js. Integrated IBM Watson Image Recognition and Google Text to Speech API to provide Image Classification and Text to Speech Features on Discord.",
websites: [
{ icon: github, url: "https://github.com/vigneshd332/proximity" },
],
},
];
14 changes: 8 additions & 6 deletions src/world/loaders/LoadScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ export async function loadSceneAssets(
// Social Icons
const socialSpawns = await getSocialSpawns();
socialSpawns.forEach((spawn) => {
new Platform(
scene,
spawn.platformModel,
spawn.position,
spawn.socialModel,
spawn.iconName
updateables.push(
new Platform(
scene,
spawn.platformModel,
spawn.position,
spawn.socialModel,
spawn.iconName
)
);
});

Expand Down
6 changes: 4 additions & 2 deletions src/world/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
import { Spaceship } from "./objects";
import { loadEvents, loadSceneAssets } from "./loaders";

const MAP_SIZE = 150000;

let container: Element,
camera: THREE.PerspectiveCamera,
scene: THREE.Scene,
Expand Down Expand Up @@ -53,7 +55,7 @@ export default async function init(setLoaded: (loaded: boolean) => void) {

// Water

const waterGeometry = new THREE.PlaneGeometry(60000, 60000);
const waterGeometry = new THREE.PlaneGeometry(MAP_SIZE, MAP_SIZE);

water = new Water(waterGeometry, {
textureWidth: 512,
Expand All @@ -76,7 +78,7 @@ export default async function init(setLoaded: (loaded: boolean) => void) {
// Skybox
sun = new THREE.Vector3();
const sky = new Sky();
sky.scale.setScalar(60000);
sky.scale.setScalar(MAP_SIZE);
scene.add(sky);

const skyUniforms = sky.material.uniforms;
Expand Down

0 comments on commit a915330

Please sign in to comment.