Emitter Position Change Not Rendering
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2007 at 02:09, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) : C.O.F.F.E.E ;---------
I have tried to change the position of the first particle in the Emitter withtag = Emitter Object->GetFirstTag();
movePosition = tag->GetData();
movePosition[0] = vector(0,250,0);
tag->SetData(movePositon);
tag->Message(MSG_UPDATE);it works in the ViewPort Render but not the Picture Viewer
Please Help
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2007 at 16:48, xxxxxxxx wrote:
I think you can be helped by this Thread
Basicaly you need to search a specific tag, not only the first.
When rendering Cinema render a copy of the document and there are hidden tags that can be infront of you tag.Cheers
Lennart -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2007 at 17:10, xxxxxxxx wrote:
As Lennart mentions, the Polygon and Point tags are hidden tags that always exist on Polygon/Point objects. Other tags may be hidden as well (Claude Bonet weight tags, plugin tags, etc.) Never assume that your tag is first! ...deceptive isn't it...
Best to do a loop:
for (tag = obj- >GetFirstTag(); tag; tag = tag->GetNext())
{
if (tag->GetType() == type) continue;
// This tag is of type, do something
...
break;
}This can be used, of course, to consider ALL tags of a particular type by removing the break line.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2007 at 21:25, xxxxxxxx wrote:
And that should be if (tag->GetType != type) continue; - duh
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2007 at 07:55, xxxxxxxx wrote:
Thanks tcastudios & kuroyume0161 that worked
It would have taken me forever to find out that that was the problem
Thanks again for you Knowledge of Cinema4D's Coffee