Skip to content

Wanho Choi

CG/VFX Software Engineer

Menu
  • 홈
  • About Me
  • Publication
  • Seminar
  • Maya C++ API
  • MathBook
  • Trip
  • Photo
  • Link

Tag: programming

Posted on2011-03-132011-03-13Programming

error: expected `;’ before ‘itr’

by wanoLeave a comment on error: expected `;’ before ‘itr’

template <class T> // or template <typename T> class A {    public:       A() {}       ~A() {}       void aaa()      …

Read More
Posted on2011-03-132011-03-13Programming

warning C4800

by wanoLeave a comment on warning C4800

#define LIFESPAN  0x000002 bool hasLifespan( int attrBitMask ) { return ( attrBitMask & LIFESPAN ); } 위와 같은 code가 있다고 했을 때, 다음과 같은 경고(warning)이 발생할…

Read More
Posted on2011-03-132011-03-17Programming

C언어에서 외부 프로그램 실행 결과 가져오기

by wanoLeave a comment on C언어에서 외부 프로그램 실행 결과 가져오기

#include <Process.h> int main( int argc, char** argv ) { system( "ls" ); return 0; } 이러한 방식으로 system() 함수를 이용하여 외부 프로그램을 실행할 수…

Read More
Posted on2011-03-132020-02-20Programming

Reference Member Variable Test

by wanoLeave a comment on Reference Member Variable Test

class A { public: int &x; int y; A(): x(y), y(0) {}; }; int main( int argc, char** argv ) { A a; cout <<…

Read More
Posted on2011-03-132011-03-13Programming

Reference Member Variable

by wanoLeave a comment on Reference Member Variable

class A {    public:       int data[2];       int &x, &y;       A(): x(data[0]), y(data[1]) {}       A( int xx, int yy ): x(data[0]),…

Read More
Posted on2011-03-132011-03-13Programming

invalid conversion from `const char*’ to `char*’

by wanoLeave a comment on invalid conversion from `const char*’ to `char*’

void aaa( char* str ) { … } 일 때, aaa( “abcdefg” ); 라고 실행하면 발생하는 에러이다. 두 가지의 해결방법이 있다. 첫 번째, void aaa(…

Read More
Posted on2011-03-132021-11-08Programming

will be initialized after/when initialized here

by wano

class A {    public:       int a, b;       A(): b(0), a(0) {} }; 만약 위와 같은 code를 사용했을 때, gcc에서 다음과 같은 warning이…

Read More
Posted on2011-03-132011-03-13Programming

ZIP.cpp: undefined reference to …

by wanoLeave a comment on ZIP.cpp: undefined reference to …

“undefined refernce to…” 이러한 error는 source code에서 어떤 외부 library를 사용하지만 해당 library가 link되어 있지 않아서 code 내용을 가져올 수 없기 때문에 발생하는 error이다. 여기서는…

Read More
Posted on2011-03-132011-03-13Programming

can’t use default assignment operator

by wanoLeave a comment on can’t use default assignment operator

class A {    public:       float x;       A(): x(0) {} }; std::vector av; A a; av.push_back( a ); 했을 때, can’t use default…

Read More
Posted on2011-03-132021-11-15Programming

error C2872: ‘ostream’ : ambiguous symbol

by wano

Visual Studio에서 다음과 같은 compile error가 발생할 때가 있다. UTL error C2872: ‘ostream’ : ambiguous symbol 이럴 때에는 C/C++ -> Preprocesser -> Preprocessor Definations에 REQUIRE_IOSTREAM를…

Read More
Posted on2011-03-132021-11-15Programming

‘CALLBACK’ : macro redefinition

by wano

다음과 같은 error가 발생할 때, C:\Program Files (x86)\Microsoft Visual Studio 8\VC\PlatformSDK\include\windef.h(122) : warning C4005: ‘CALLBACK’ : macro redefinition         C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\GL/glut.h(34)…

Read More
Posted on2011-03-132011-03-13Programming

error C2381: ‘exit’ : redefinition;

by wanoLeave a comment on error C2381: ‘exit’ : redefinition;

C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(406) : error C2381: ‘exit’ : redefinition; __declspec(noreturn) differs C:\Program Files\Microsoft Visual Studio 8\VC\include\GL/glut.h(146) : see declaration of ‘exit’ \sourceCode\main.cpp(362) :…

Read More
Posted on2011-03-132011-03-13Maya

polyEdit bug?

by wanoLeave a comment on polyEdit bug?

[Test environment] CentOS 5.4 Maya 2011 x64 [Test Code (mel)] polySphere; select -r pSphere1.map[0]; int $i = 0; for( ; $i<100000; ++$i ) {   …

Read More
Posted on2011-03-132011-03-13Maya

Maya MFnFluid bug? on Linux

by wanoLeave a comment on Maya MFnFluid bug? on Linux

I developed my own smoke simulator and rendered the data using Maya, but met a problem. MFnFluid fluidFn( fDagPath ); unsigned int Nx, Ny, Nz; fluidFn.getResolution(…

Read More
Posted on2011-03-122011-03-13Maya

Compound Dynamic Attribute in Maya Bug

by wanoLeave a comment on Compound Dynamic Attribute in Maya Bug

Maya에서 addattr로 dynamic attribute를 compound 형식으로 만들고 나서, deleteattr로 지운 뒤, 다시 같은 이름의 dynamic attribute를 addattr로 생성하면 다음과 같은 error가 발생하며 실패하게 된다. Too many…

Read More
Posted on2011-03-122011-03-13Maya

MItMeshPolygon limitation

by wanoLeave a comment on MItMeshPolygon limitation

MItMeshPolygon::getArea does not work in World Space. The Object Space area is always returned. Workaround Use MItMeshPolygon::getTriangles to get the triangles in World Space; then…

Read More
Posted on2011-03-122011-03-13Maya

Maya Particle Command

by wanoLeave a comment on Maya Particle Command

[bad usage] particle -q -attribute position -order 7; // Error: No object matches name: position // [good usage] particle -attribute position -order 7 -q particleShape1;…

Read More
Posted on2011-03-122015-02-12Maya

What a strange thing in Maya command plug-in

by wanoLeave a comment on What a strange thing in Maya command plug-in

Very simple maya command plug-in code. #include #include #include #include class test : public MPxCommand {  public:   virtual MStatus doIt ( const MArgList& );   static void* creator()…

Read More

  • 54
  • 2,800
  • 12,711
  • 168,275

Categories

  • Android
  • Computer Graphics
  • CUDA
  • Deep Learning
  • Drone
  • Etc.
  • Houdini
  • Linux
  • Math
  • Maya
  • Nuke
  • OpenGL
  • OS X & IOS
  • Programming
  • Python
  • RenderMan
  • Tips
  • Trip
  • VFX
  • Windows
  • WordPress

Tags

Android Studio API booting C CentOS Chrome context CUDA deep learning derivation DigiPro driver fragment google GPU image install Keynote LaTeX Linux Maya nVIDIA OpenCV OpenGL programming Python RenderMan SIGGRAPH SWIG Tensorflow Ubuntu update vi Visual Studio Windows Windows7 WordPress YUM 설치 수학 안드로이드 스튜디오 우분투 텐서플로우 프래그먼트 한글

  • 54
  • 2,800
  • 12,711
  • 168,275

Categories

  • Android
  • Computer Graphics
  • CUDA
  • Deep Learning
  • Drone
  • Etc.
  • Houdini
  • Linux
  • Math
  • Maya
  • Nuke
  • OpenGL
  • OS X & IOS
  • Programming
  • Python
  • RenderMan
  • Tips
  • Trip
  • VFX
  • Windows
  • WordPress

Tags

Android Studio API booting C CentOS Chrome context CUDA deep learning derivation DigiPro driver fragment google GPU image install Keynote LaTeX Linux Maya nVIDIA OpenCV OpenGL programming Python RenderMan SIGGRAPH SWIG Tensorflow Ubuntu update vi Visual Studio Windows Windows7 WordPress YUM 설치 수학 안드로이드 스튜디오 우분투 텐서플로우 프래그먼트 한글
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress