Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Error about AiSceneWrite open_procs

0 ANTWORTEN 0
Antworten
Nachricht 1 von 1
zxl120125
256 Aufrufe, 0 Antworten

Error about AiSceneWrite open_procs

It can be reproduced with simple modification

https://help.autodesk.com/view/ARNOL/ENU/?guid=arnold_dev_guide_examples_av_Creating+and+Rendering+a... 

 

add:

AtNode *proce = AiNode(universe, AtString("procedural"), AtString("proce"));
AiNodeSetStr(proce, AtString("filename"), AtString("g.ass"));
 
AtParamValueMap *params = AiParamValueMap();
AiParamValueMapSetInt(params, AtString("mask"), AI_NODE_ALL);
AiParamValueMapSetBool(params, AtString("open_procs"), true);
AiSceneWrite(universe, "scene1.ass", params);
AiParamValueMapDestroy(params);
 
Run the code,and you will find 

{
name mysphere
visibility 127
shader "myshader1"
center 0 4 0
radius 4
}

# created by proce
sphere
{
name ^proce^mysphere
visibility 127
shader "myshader1"
center 0 5 0
radius 4
}

in the expanded ASS file

And If I render it with kick, both balls will have the same color which is not right.

0 ANTWORTEN 0

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report