3DCoat ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅Ρ ΠΏΠΎΡΡΡΠΎΠ΅Π½ΠΈΠ΅ Π΄ΠΈΠ°Π»ΠΎΠ³ΠΎΠ²ΡΡ
ΠΎΠΊΠΎΠ½ Π΄Π»Ρ ΡΠ²ΠΎΠ΅Π³ΠΎ ΡΠΊΡΠΈΠΏΡΠ°. ΠΠΎΠΆΠ΅ΡΡ Π²ΡΠ²ΠΎΠ΄ΠΈΡΡ Π² Π½ΠΈΡ
ΡΠ²ΠΎΠΉ ΡΠ΅ΠΊΡΡ ΠΈ Π·Π°ΠΏΡΠ°ΡΠΈΠ²Π°ΡΡ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡ, Π΄Π΅Π»Π°Ρ Ρ. ΠΎ. ΡΠ²ΠΎΠΉ ΡΠΊΡΠΈΠΏΡ Π±ΠΎΠ»Π΅Π΅ Π³ΠΈΠ±ΠΊΠΈΠΌ.
ΠΠ°ΠΏΡΠΈΠΌΠ΅Ρ, ΠΏΠΎΡΡΡΠΎΠΈΠΌ... ΡΠΎΠ³, Π·Π°ΠΏΡΠΎΡΠΈΠ² ΠΏΡΠ΅Π΄Π²Π°ΡΠΈΡΠ΅Π»ΡΠ½ΠΎ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡ Ρ Ρ
ΡΠ΄ΠΎΠΆΠ½ΠΈΠΊΠ° Π² Π΄ΠΈΠ°Π»ΠΎΠ³ΠΎΠ²ΠΎΠΌ ΠΎΠΊΠ½Π΅.
void main() {
SculptRoom room;
room.clear().toSurface();
float angle = 10.0;
int numberOfChunks = 20;
AddTranslation( "numberOfChunks", "Number of chunks in horn" );
AddIntInput( "numberOfChunks", true );
AddTranslation( "angle", "Angle" );
AddFloatInput( "angle", true );
bool ok = ModalDialogOkCancel( "Enter the horn parameters", "Create horn" );
if ( !ok ) {
return;
}
ResetPrimTransform();
PrimDensity( 0.3 );
for ( int i = 0; i < numberOfChunks; i++ ) {
capsule( -15, 0, 0, 15, 0, 0, 20, 20, 0 );
PrimRotateY( 0, 0, 0, angle );
PrimRotateX( 0, 0, 0, angle );
PrimTranslate( 0, 15, 0 );
PrimScaleAt( 10, 20, 30, 0.9, 0.9, 0.9 );
ProgressBar( "Please wait", (i * 100) / numberOfChunks );
}
}
ΠΠ΄Π΅ΡΡ Π½Π΅ Π±ΡΠ΄Π΅Ρ ΠΊΠ°ΡΡΠΈΠ½ΠΊΠΈ, ΡΡΠΎΠ±Ρ ΡΡ Π·Π°Ρ
ΠΎΡΠ΅Π» ΡΠ°ΠΌ Π·Π°ΠΏΡΡΡΠΈΡΡ ΡΡΠΎΡ ΠΏΡΠΈΠΌΠ΅Ρ Π² 3DCoat.
ΠΠΎΡΠΌΠΎΡΡΠΈ ΡΠ°ΠΊΠΆΠ΅ ΡΡΠΎΡ Π½Π°Π±ΠΎΡ ΡΡΠ½ΠΊΡΠΈΠΉ Π΄Π»Ρ ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΊΠ°ΡΡΠΈΠ½Ρ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡΠ΅ΠΉ:
string getCommandLine();
DEPRECATED void SetGlobalVar(string& Name,string& Value)
DEPRECATED string GetGlobalVar (string& Name)
DEPRECATED string GetSceneFileName()
DEPRECATED void SetSceneFileName(string& Name)
void HighlightUIElement(string &ID, float time);
DEPRECATED void back(int steps=1);
DEPRECATED void open(string &Path);
DEPRECATED void ppp(string &path);
DEPRECATED void mv(string &path);
DEPRECATED void ptex(string &path);
DEPRECATED void imagemesh();
DEPRECATED void refmesh(string &path);
DEPRECATED void vertexpaint(string &path);
DEPRECATED void autopo(string &path);
DEPRECATED void repair(string &id);
DEPRECATED void bass();
DEPRECATED void undercut();
DEPRECATED void activate(string &id);
DEPRECATED void retopo();
DEPRECATED void retopopen();
DEPRECATED void ToRoom(string &name);
DEPRECATED bool IsInRoom(string &name);
DEPRECATED void AddNewVolume(string &name);
DEPRECATED void uv();
DEPRECATED void vox();
DEPRECATED void sphere(float x,float y,float z,float r,int mode);
DEPRECATED void cube(float x,float y,float z,float sizex,float sizey,float sizez,int mode);
DEPRECATED void surf();
DEPRECATED void cursurf();
DEPRECATED void voxelize();
DEPRECATED void mergeopt(string &opt);
mergeopt( "[voxelize=true][as_skin=true][skin=4.5]" );
DEPRECATED void merge(string &model);
DEPRECATED void prim(string &id);
DEPRECATED void apply();
DEPRECATED void ApplyAndKeepScale();
DEPRECATED void mapply();
DEPRECATED void recent3b();
DEPRECATED void Log(string &line);
int rand(int min,int max);
float randF(float min,float max);
void seed(int val);
DEPRECATED void ProgressBar(const string& message,int pos);
DEPRECATED void SetOrthoMode(bool value);
- Π‘ΠΌ. ΡΠ°ΠΊΠΆΠ΅
- π ΠΠΈΠ°Π»ΠΎΠ³ΠΎΠ²ΡΠ΅ ΠΎΠΊΠ½Π°