THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/03/2010 at 00:39, xxxxxxxx wrote:
Cinema 4D Version: r11
Language(s) : C++ ;
Hi, i am trying to access C4DNoise in a VideoPostPlugin.
This is how:
C4DNoise* c4dnoise = C4DNoise::Alloc(1);
Real noise1 = c4dnoise->Noise(NOISE_BUYA,FALSE,nrm,0.0,4.0,FALSE,0.25,0.25,0); //nrm is the samples normal
as soon as the Noise function is called cinema crashes. i didnt find anything concerning C4DNoise using the search function, so maybe someone can tell me what i am doing wrong..
thanks and cheers,
On 18/03/2010 at 04:49, xxxxxxxx wrote:
hmm, can anyone tell me something about this?
would be really cool, since i just dont see why it crashes
On 18/03/2010 at 05:06, xxxxxxxx wrote:
Sounds like a pointer problem. Is the pointer c4dnoise a valid pointer (i.e not NULL)?
On 18/03/2010 at 05:21, xxxxxxxx wrote:
yes, actually i was using
if (c4dnoise) Real noise1 = c4dnoise->Noise(NOISE_BUYA,FALSE,nrm,0.0 ,4.0,FALSE,0.25,0.25,0);
On 22/03/2010 at 04:10, xxxxxxxx wrote:
From which videopost method are you calling the noise routines? Please post more detailed code.