- Tue Mar 31, 2009 1:29 pm
#294975
Ok I think I've got it!
I place a grid over the HDRI in PS and position the yellow dot at the location of the main light source, export the grid and dot image. Also save this in the same file location as my HDRI for future use.
Bring this pre-mapped sphere into my model and reload the map with the newly created map! Rptate the sphere to position the dot where I want my sun angle and then read off the offset values at the red indicator!
I have a line from the origin to the top of the shere that will cast a shadow so the dot can be rotated on the horizontal plane to opposite the shadow cast, then from my ground plane draw a line from the end of my shadow cast to the top of this line, move it from the end of the shadow cast to the origin and then rotate the sphere on the verical plane until the line interects the centre of the dot!
This way I can use the sun in SU to determine the shadow cast from the HDRI!!!!!
SUPER!!!
Without testing this I think it will work, though I need to ask the experts if this is the right way around doing the grid? How should the numbers run? Where should they start?
Tom, Ron, Anyone????
I place a grid over the HDRI in PS and position the yellow dot at the location of the main light source, export the grid and dot image. Also save this in the same file location as my HDRI for future use.
Bring this pre-mapped sphere into my model and reload the map with the newly created map! Rptate the sphere to position the dot where I want my sun angle and then read off the offset values at the red indicator!
I have a line from the origin to the top of the shere that will cast a shadow so the dot can be rotated on the horizontal plane to opposite the shadow cast, then from my ground plane draw a line from the end of my shadow cast to the top of this line, move it from the end of the shadow cast to the origin and then rotate the sphere on the verical plane until the line interects the centre of the dot!
This way I can use the sun in SU to determine the shadow cast from the HDRI!!!!!
SUPER!!!
Without testing this I think it will work, though I need to ask the experts if this is the right way around doing the grid? How should the numbers run? Where should they start?
Tom, Ron, Anyone????
Move your arse and your mind will follow!