Shadows in InitRender?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/03/2007 at 17:12, xxxxxxxx wrote:
Push. Period. Need info. Period. Thanks. Period.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2007 at 09:27, xxxxxxxx wrote:
I need info on this please!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2007 at 09:32, xxxxxxxx wrote:
Can I maybe calculate the shadow seperately in InitRender()? I ask because I just saw CalcShadow in VolumeData and wonder if this can be used for correct shadow calculation for non-surface points in space in InitRender().
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2007 at 19:04, xxxxxxxx wrote:
sorry, I am on vacation this week. I try to answer next week asap.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2007 at 19:39, xxxxxxxx wrote:
InitRender is as it suggests, called during initialsing. As its doing this for materials it makes sense that shadows can not be ready yet as all the materials have not been initialised. Really you should not be calling anything for rendering in initrender afaik, if you need to do some rendering pre-main render then you need a post effect and wait until VP_INNER.
HTH.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2007 at 03:35, xxxxxxxx wrote:
Thank you! This would have been a good answer to my question when I was about to decide if I choose a shader or a videopost plugin: Videopost or Shader
Unfortunately this wasn´t said back then, so now I am in a shader and must work with it.
Anyway thanks, I will then try a different way to get my shadows.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2007 at 05:38, xxxxxxxx wrote:
I would not exactly list it as an advantage or disadvantage, you should not be calling anything for rendering during init of a vp either. A shader is called during rendering, a VP has many more options of when its called before, during and after rendering. If you are now in a shader just add a hidden vp that only runs when one of your shaders is in the document and during VP_INNER does what init you need in your shader.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2007 at 05:59, xxxxxxxx wrote:
Hi Dave,
thanks for the info. Good idea! However, do I need to store the data I allocate there for each Processor? Is it in a MP context? That would be bad, as it would increase memory I need for the data I want to precalc (unfortunately, it´s not possible to split the data I am calculating on-thy-fly).
I am now using CalcShadow during rendering. That´s pretty fast in conjunction with my already precalculated data. I am releasing tomorrow so I won´t be able to use your VP approach (don´t wanna risk any side effects but will implement it afterward provided that it´s not MP
thank you!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2007 at 10:26, xxxxxxxx wrote:
No its not threaded in Execute as its called between various points in the render processing. The sdk docs have all the info and its something easily tested with a breakpoint.
Good luck on the release.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2007 at 10:30, xxxxxxxx wrote:
Thank you!