Skip to content
Forum Archive

Population

14 posts

UIUC85#

Population

Little something I made. Let me know what you think.
mikm#
Sweet. Like it a lot. Don't get the name though (I read the comment, but I must have missed it)
UIUC85#
Nah the name isn't explained. Just kinda likes the little population of lights living on their own world. Lots of crap in the comments though. Thanks for the comment 🙂
dirkdeftly#
Very nice 😁 Don't like how it's centered tho, needs to move. I tried to do a remix w/movement but I can't figure out the code. Wtf's with your torus code? I don't understand it at all....
UIUC85#edited
Uhhh I don't know? How should it be?


I've got a lot of changes to make in the code... I hate when I realize I've made stupid mistakes...

Ok fixed some crappy bugs. Should it move on all axes or just the z-axis?
Jaak#
really neat looking... but!
optimize your shading code, we got function invsqrt() now 😉
and divisions are just dead slow
mikm#
Maybe you could have another version with hundreds of the texerIIs moving around the torus at different rates and slightly "random" moments.
UIUC85#edited
They're completely random. They take random values on the scope so all you have to do to add more of them is x2 it. I'm working on the optimization now.

You think the lights should disappear with backface culling? Or should you always see them?
dirkdeftly#
What I was referring to was the fact that you have to calculate all your normals, but now that I think about it I'm guessing that's for shading purposes 🙂
dirkdeftly#
Gee thanks for that insightful post UIUC 😛 Mind explaining wtf your code does now? 🙂
UIUC85#
Oh yeah I guess I should have added that into the zip file and the credits section. That'll be in the next zip. Sorry man.