1
$\begingroup$

enter image description here

now i need to simulate the arrow illusion which is,an arrow drawn on a sheet of paper that is put 4 inches behind a glass and then the glass will be filled with water and look at the arrow through the glass we should find that the arrow direction is reversed due to refraction of light(you can check that on youtube). I know how to simulate fluids, but how do i simulate that refraction? How can i simulate what happens to the arrow?

$\endgroup$
  • $\begingroup$ I have removed your additional question. Please only include one question per post. Open a new post for every question! This question may help you. $\endgroup$ – Leander Apr 12 '19 at 18:23
1
$\begingroup$
  1. Model the glass, it is important that it is solid and has a thickness.
  2. Simulated or modelled, the fluid has to intersect the glass. However, even with not-intersecting glass, the arrow will refract correctly.
  3. Apply a Refraction BSDF to both objects (the glass and the fluid) in Cycles Material Nodes.

refraction

As you can see in the image, the fluid object intersects the glass. The fluid mesh is partially in between the inner and outer wall of the glass.

| improve this answer | |
$\endgroup$
  • $\begingroup$ i am sorry but i don't understand what do u mean by that the glass should be solid? i understood that i should apply a refraction BSDF to both the glass and the arrow or to the glass and fluid? $\endgroup$ – user71551 Apr 8 '19 at 18:16
  • $\begingroup$ also i am sorry but i don't understand the pic what does the red and purple lines on the glass indicates? $\endgroup$ – user71551 Apr 8 '19 at 19:29
  • $\begingroup$ @user, edited the answer. Please review it. Is it clear now? $\endgroup$ – Leander Apr 9 '19 at 10:13
  • $\begingroup$ please review my question i guess the problem is reduced now so i need your help @Leander $\endgroup$ – user71551 Apr 12 '19 at 14:26
  • $\begingroup$ @user It seems you have sucessfully implemented what your question stated. The new situation uncovered a new problem. Please ask a new separate question! $\endgroup$ – Leander Apr 12 '19 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.