Website
As they say “Lets skip to the good bit”
- Contextual yapping (an introduction, promise you its interesting)
- Importing Woes
- A Plan!!
- Texturing
- Progress as of mid Aug
- “Current” problems

yoo hoo I’m coding a website!!! 😀
That sounded so easy when I thought about it. Yeah I’ve watched tutorials! I’ve seen insta reels of people doing this!! I can do it!… I had the audacity of a white man (which frankly I need)


I’m a past CompSci A level student. My computing project back then was a game in Unity. I chose that. Like a fool. “Oh yeah they teach us python and html!! I’ll totally just use C# !! Im totally good enough for that!” Spoiler alert… I was not.
The whole game was UI and there was no game. I faked the whole thing in screenshots and code that I hoped no one would actually read.


ANYWAY
In a big spite to my old teacher, I thought lets do something actually fun, that mixes my disciplines and acc makes me think that coding is fun again. Back in year 8, we did a html project. I LOVED it. I really like webdev. Thankfully so.
So I thought whats the harm in learning 3JS? Honestly its going well. It was rocky at the start as I got to grips with writing in Javascript again- ITS BEEN A WHILE OKAY. I was making stupid mistakes and totally out of my depth with learning this new library.

I watched like 10 tutorials. Some were 8hrs – skimmed it. AWFUL. TERRIBLE. BAD. No ones doing exactly what I need, nothing works the same, all of it is useless. SO I pulled up the documentation and have been doing it my own way. Text-based, just how I like it.
Anyways, if you’re still interested and willing to look, heres some progress shots of me building this along the way!
(it is 1am im not adding the screenshots now, you are here far too early)
So we’ve gotten to the point where I’m comfy with the code. I spent so long trying to import my monster into the scene, I was getting frustrated, couldn’t understand why it wasn’t importing when another (very large) model was able to… TT

So lets all witness my brain working in real time… I got this model from the ThreeJS documentation, brought it in as proof of code and it worked!
Feeling great I instantly tried to bring in my model. Its not there….
But where is it???
So I moved the cube after an embarrassing amount of trial and error – importing a block of cheese, importing just the cone, rexporting it about 5 seperate times…
IT WAS IN THE CUBE


Heres the Plan!!

Okay so I got the corridor loading in, and I managed to get the monster involved too!
Next step was to start getting the corridor looking less….blockish



I imported into Substance Painter, and the handy thing is that the whole object is one, I can just back the AO.
I might seem if I can bake the lighting, but i’m not so willing to be arsed to get the lights in the code to behave differently.
The edges of the walls that you can see from the front I painted a matte black so that it could seemlessly blend into the camera view if you were a little bit zoomed out, that way it wouldn’t be so obvious and break immersion.
I also enjoyed putting in easter eggs around the place:


listen… the power of subliminal messaging !!
I would like to note that I am currently updating this page simply because I want to procrastinate doing the animation work. I’m not a fan of animation, this might get painful anddddd yippeeee.
(For any potential hiring folk that are happening across this – I do actually like animation… just not my rig and my monster’s animation. Give me anything else, I’m actually not that bad)(also stare at the pictures above a little more)

Considering I have so many books in the scene, I thought it’d be fun to use them. Clutter and all that, but repurposed! On the vertical books, you can see what softwares I’m proficient in!

Here you can also view a little gallery of some previous artworks! They run across quite a few mediums, from ink work to digital art, a plan for a painting and of course 3D compositions.
Okay! So here’s where we are at so far. The corridor renders, animation plays, we have 3 or 4 lights to light the scene.
The current problems are its taking quite a while to render. For the computer its not bad, about 5-8 seconds.
However, I also forwarded it to my phone, and it took just under a minute to render, with the CPU and GPU working quite hard. I have a Samsung S23 Ultra, sooo it’s not even that its a bad phone. Essentially, I need to do quite a bit of optimisation
You might say, why don’t you make the walls single sided? Guaranteed that that’s not the source of our issues here. And I’m also worried that that might make the lights behave stranglely with it being single sided.
I think the monster is the main problem. I’m using the model directly pulled from my sketchfab where all the textures are 4k. I think if I also compress the UV tile that the gallery is on, I could get a little back too.
Another thing can be lighting. I might see if I can get away with solely 3 lights, the red light behind and the spotlight. Currently the red light is a spot light, but I think making that an area light will be less impactful.
There’s a few considerations to make, and obviously code optimisation, but i’m going to try and reduce where I can, but the priority currently is getting it finished so I can start with the actual content of the webpage – the css and html.

Leave a Reply