Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

PNoise Problem

Author
Message
  Topic Search Topic Search
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Direct Link To This Post Topic: PNoise Problem
    Posted: 2002 Dec 02 at 4:04pm

User Information:

Cinema 4D Version:   8.012 
Platform:   Windows  ;   
Language(s):     C++  ;  

---------

When I use the PNoise function from the SDK (the time independant one) it always returns 1.

PNoise(Vector(Noise(p)),p);

bug or user error? :\

The time dependant one seems to work though.

Samir

Back to Top
darf View Drop Down
Member
Member


Joined: 2002 Nov 03
Location: United States
Online Status: Offline
Posts: 172
Direct Link To This Post Posted: 2002 Dec 02 at 9:43pm

The definition of PNoise within the v7 C4D SDK is

Vector A = Evaluation Position    Vector B = Component Periods

PNoise( A, B );

Also take into consideration that Period Noise within the C4D SDK ( last time I asked ) does nothing more than scale the evaluation vector making the period lock at the loss of temporal control. In v7 MAXON said the table had 1024 entries. Render your own conclusion. :-)

darf - bhodiNUT

Back to Top
Katachi View Drop Down
Member
Member
Avatar

Joined: 2002 Oct 30
Location: Germany
Online Status: Offline
Posts: 2543
Direct Link To This Post Posted: 2002 Dec 03 at 7:20am

Hi,

thanks Darf. The R8 doc description for PNoise is wrong in this case. It says the evaluation vector is the second variable passed to the function.

It works just fine now.

Also take into consideration that Period Noise within the C4D SDK ( last time I asked ) does nothing more than scale the evaluation vector making the period lock at the loss of temporal control.

thanks for definition (and the docs still talk of 1024 entries :).

Best

Samir

Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.