Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/04/2010 at 12:58, xxxxxxxx wrote:
User Information: Cinema 4D Version: r11 Platform: Language(s) : C++ ;
--------- Hi,
i have two different plugins. in both i use BaseObject::Alloc(Osweep) to create a Sweep object. But in one i need to explicitely create a Phong Tag using sweep->MakeTag(Tphong); but in the other the phong tag is created automatically. why is this??
i am creating the sweep object exactly the same way in both plugins..
thanks and cheers, ello
On 23/04/2010 at 16:30, xxxxxxxx wrote:
Do you happen to call sweep->SetPhong() in the other one? Calling SetPhong() (to set a phong angle) will create a Phong Tag.
On 24/04/2010 at 04:15, xxxxxxxx wrote:
thanks for your reply
no, i didnt. I even tried to use sweep->SetPhong(TRUE, TRUE, 0.0); to create a phong that looks like there is none, and i tried SetPhong(FALSE,TRUE,0.0) to remove the existing phong tag, nothing works.. i need to check what else could cause it..
On 26/04/2010 at 02:37, xxxxxxxx wrote:
Please post some code showing the problem.
cheers, Matthias
On 26/04/2010 at 13:05, xxxxxxxx wrote:
thanks. i got it working by placing the SetPhong instruction after the sweep has been inserted and not before.
cheers, ello