Poll of the Day > hey smart computery graphics people... how do you render isometric reflections?

Topic List
Page List: 1
Lokarin
01/22/22 11:33:31 AM
#1:


I got this question on the Gamemaker support board and I thought i knew the answer, but luckily the intrepid questioneer actually did my wrong way and showed me why I was wrong (probably cuz that's the thing they tried already)

Here is their example, with my wrong solution in the middle: https://imgur.com/j6X13tW

I'm not one to be perturbed by a programming challenge, but I am at a loss

---
"Salt cures Everything!"
My YouTube: https://www.youtube.com/user/Nirakolov/videos
... Copied to Clipboard!
sodium-chloride
01/22/22 12:04:28 PM
#2:


Take the quadrangle raster of the inverse reflection. Then do some matrix multiplication and flip the result. It's really not that difficult. If you want to make it complicated you can do the long route and make a vector space first but it's definitely not necessary.
... Copied to Clipboard!
Sahuagin
01/22/22 3:43:16 PM
#3:


mirrors aren't a rotation. they invert everything along their normal axis (into/away-from the mirror).

so your reflection is not you having rotated around to stand facing yourself; it's you with your nose inverted with the back of your head. everything from the front has been push through to the back and vice-versa.

so in the image, notice that is what is happening on the right. everything is inverted through the axis of reflection.

---
The truth basks in scrutiny.
http://i.imgur.com/GMouTGs.jpg http://projecteuler.net/profile/Sahuagin.png
... Copied to Clipboard!
sodium-chloride
01/22/22 7:36:53 PM
#4:


Sahuagin posted...
mirrors aren't a rotation. they invert everything along their normal axis (into/away-from the mirror).

so your reflection is not you having rotated around to stand facing yourself; it's you with your nose inverted with the back of your head. everything from the front has been push through to the back and vice-versa.

so in the image, notice that is what is happening on the right. everything is inverted through the axis of reflection.

you have no idea what you're talking about
... Copied to Clipboard!
Sahuagin
01/22/22 8:06:34 PM
#5:


sodium-chloride posted...
you have no idea what you're talking about
please elaborate

---
The truth basks in scrutiny.
http://i.imgur.com/GMouTGs.jpg http://projecteuler.net/profile/Sahuagin.png
... Copied to Clipboard!
GanonsSpirit
01/22/22 8:41:53 PM
#6:


Sahuagin posted...
please elaborate
Mirrors aren't real and neither are your eyes.

---
http://i.imgur.com/tsQUpxC.jpg Thanks, Nade Duck!
[[[[[[[[[[[[[[[|||||||||||||]]]]]]]]]]]]]]]]
... Copied to Clipboard!
sodium-chloride
01/22/22 9:29:13 PM
#7:


GanonsSpirit posted...
Mirrors aren't real and neither are your eyes.

This guy has the right idea
... Copied to Clipboard!
Topic List
Page List: 1