chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 14 Oct 2015 10:52 PM |
Some skid make a mirror that used triangulation, how do? Could I replicate this effect then "cropping" the triangulation to fit an ellipse?
Kinda but not really directed to thread gods @morash @cnt @lunate @darble |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 02:12 AM |
Since I am not a forum god, I will not help you. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 03:50 AM |
| Since I am jealous of the forum gods, I will not help you. [2] |
|
|
| Report Abuse |
|
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 15 Oct 2015 06:47 AM |
| Since I am jealous of the forum gods, I will not help you. [n] |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 06:51 AM |
| Since I am jealous of the forum gods, I will not help you. [n+1] |
|
|
| Report Abuse |
|
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 15 Oct 2015 06:59 AM |
Kek,
Said kinda but not really, sorry for triggering c; |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 07:26 AM |
| I am clearly a god on this forum how in the living hell am I not on this? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 15 Oct 2015 04:34 PM |
[m]
Instance.new("BodyVelocity",SenseiWarrior).velocity = CFrame.new(SenseiWarrior.Torso.Position,YourGirlsDMs.Position).lookVector * 10 |
|
|
| Report Abuse |
|
|
| |
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 15 Oct 2015 04:49 PM |
Get lost mortals.
You would need to flip the vector from the view point to the point on the objects surface around the surface normal and find whatever is on the end of a ray going in that direction, starting at the point. |
|
|
| Report Abuse |
|
|
chimmmihc
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 2420 |
|
|
| 15 Oct 2015 04:53 PM |
Morash is obi fourm God Kek |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 05:09 PM |
They are not the true gods.
There is only one god which controls them all.
He hides in secret as he lurks the forums. He secretly puppeteers all the gods, although they'd never admit it. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 05:25 PM |
@morash I don't know what he means by triangulation, but if he's asking how to make a mirror that reflects 'light' as you explained, then good explanation. However, I personally would spare the extra energy in figuring that out by just reflecting the 'light' on the normal vector of the mirror still perpendicular to this vector.
That's just my opinion though. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 05:28 PM |
| Perpendicular to the mirror* |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 08:03 PM |
@morash Actually none of that was necessary. I just took the position of the camera and the position of every pixel, then I took the flipped vector (-x, -y, z) and made it relative to each pixel (except the z value, it was kept at the same # as the camera's z value. Don't ask me why, I don't know, but it works) and then just raycasted from the vector of the pixel's position to the flipped position to find parts. I explained it derpy but yea. I still have no clue what in the heck OP means though XD
http://www.roblox.com/games/283377274/Tech-Demo
(Just in case anyone is interested... but be warned, your eyes might hurt) |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 15 Oct 2015 09:03 PM |
| You essentially did the same thing. The normal of the surface would seem to be 0,0,1 . Now if you were to say tilt the part, then you would have to do some more calculations in your script since the new surface normal might be something like .7,0,.7. Given that OP wants to map it out on an ellipse, he would have to get the surface normal of each point. |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2015 09:07 PM |
| It appears that it works just fine tilted |
|
|
| Report Abuse |
|
|