-
1. Re: Rendering is sluggish when AEGP_SetStreamValue() is called from an AEGP.
dheeraj_c Feb 16, 2011 9:57 PM (in response to dheeraj_c)Happens only on Windows CS4 and works well on Mac.
-
2. Re: Rendering is sluggish when AEGP_SetStreamValue() is called from an AEGP.
shachar carmi Feb 16, 2011 11:41 PM (in response to dheeraj_c)only windows cs4 eh?
when something get so horrifcally sluggish, it's usually the result of error handling.
are you sure it's the SetStreamValue?
did you disable that ONE line and all was solved?
or could it be something else you disabled in the same block that solved the problem?
you're probably using the ERR() macro.
are ALL calls in that block returning with no error?
-
3. Re: Rendering is sluggish when AEGP_SetStreamValue() is called from an AEGP.
dheeraj_c Feb 17, 2011 1:03 AM (in response to shachar carmi)Thanks for replying shachar.
Yes, SetStreamValue() is the only line that i commented. Also I checked for ERR(), it returns 0 all the time. But this happens only in CS4 and not in CS5, so I'm confused about this issue.
Just to know Shachar, have you tried adding a custom slider in AEGP anytime?
-
4. Re: Rendering is sluggish when AEGP_SetStreamValue() is called from an AEGP.
shachar carmi Feb 19, 2011 12:55 AM (in response to dheeraj_c)Just to know Shachar, have you tried adding a custom slider in AEGP anytime?
adding a custom slider?
what do you mean by "adding"?
you can't add params to an effect at any time other than param_setup.
or are you talking about adding os controls to the AEGP panel?
as for the sluggishness,
read the system time before and after the setStreamValue(),
and compare the time it takes to execute on a machine with the problem, and a machine without the problem.
if the results are similar, then it's not the setStreamValue that's being sluggish,
it's causing something else to become sluggish.
i still have no clue what's causing it, i'm trying to narrow the possibilities down.
-
5. Re: Rendering is sluggish when AEGP_SetStreamValue() is called from an AEGP.
dheeraj_c Apr 13, 2011 6:32 AM (in response to shachar carmi)Sorry Shachar it was my mistake. I was telling about adding os controls to AEGP. It was happening because of few Logger messages which I was writing to a file when I move the slider. Nothing related to AE SDK.


