Calculate shadow path & size + object size based on distance

  • Context: Undergrad 
  • Thread starter Thread starter chubby92
  • Start date Start date
  • Tags Tags
    Path Shadow
Click For Summary
SUMMARY

This discussion focuses on calculating the shadow path and size of a 2D circle in a 3D space. The circle has a radius of 28, resulting in a size of 56x56 at coordinates (300,300). The user seeks to determine how to project the shadow of the circle as it moves along a specified path from (300,300) to (300,200). Key considerations include the position of the "sun" above the ball and the necessary variables for accurate calculations, emphasizing the need for understanding 3D projection techniques.

PREREQUISITES
  • Understanding of 2D and 3D geometry
  • Familiarity with shadow projection concepts
  • Knowledge of algebraic methods for geometric calculations
  • Basic understanding of perspective transformation techniques
NEXT STEPS
  • Research 3D projection techniques, specifically perspective transformation
  • Learn about shadow mapping in computer graphics
  • Explore geometric transformations in 3D space
  • Study algebraic methods for calculating object sizes based on distance
USEFUL FOR

This discussion is beneficial for game developers, computer graphics programmers, and anyone involved in 3D modeling or animation who needs to understand shadow calculations in a 2D to 3D context.

chubby92
Messages
1
Reaction score
0
What are the variables I need to take in account if I want to calculate shadow path and size?
I will try to simplify my questions.

I have a 2d circle (radius: 28) which means the size of the circle (in box) is 56x56 at specific point (lets say 300,300).

I tell the 2d circle to go in specific path, let's say from 300,300 to 300,200.

I want to tell its shadow what path to do based on the 2d circle path.

ofcourse the size of the ball need to be calculated aswell..

I guess I need some extra variables because I am talking about 3d space in 2d.. (lets say the "sun" is always above the ball so u don't need to calculate its degrees from the "sun", only its distance)
I am pretty sure it's possible but I have no idea how to calculate and what extra variables I need...
Hopefully you understood what I want, if u didnt just tell me which part and I will try to re-explain or something.

Thanks
 
Last edited:
Science news on Phys.org

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K