内部三维引擎遇到的一些问题的文档



  • Known issues for Auto 3D ( By autoio.cn )

    1. Accidentally, dynamic_lines and regular models cannot be present at the same time.

    Resolve hint: Check OpenGL state changes, such as glEnable( GL_TEXTURE ), then the running procedure.

    1. There is some difference between board and personal computer.
      This is due to differences among the graphic cards. Try use glGetString to query more information about each graphic card.

    Resolve hint: Trying to discover the inherent features among the graphic cards, and using conditional compilation.

    1. Frame per count( i.e. FPS ) is low in board in some situation. Complex scene can consume much more resources and performs bad on the board.

    Resolve hint: Use less vertex, use small viewport, texture, disable MSAA when necessary.

    1. Tearing at texture mapping
      There are three kinds of tearing, one is due to the fact, texture coordinate exported incorrectly in modeling tools such as Blender, the other is vertex topology differs between modelling tools and rendering engine. in Auto 3D we only support triangles rendering, rectangle strip and rectangle fan rendering not supported. Another is assimp version differs between PC and boarding, we usually export assimp 3.2 to be board, and usually 3.3 in PC.

    Resolve hint: Resolve according to the diagnosis.


Log in to reply
 

走马观花

最近的回复

  • 离线安装包的下载地址是:coding源github源

    read more
  • 看到过很多代码都有用这个

    read more
  • 做得还不错的嘛。希望继续呢。

    read more
  • 首先我看到的就是option选项。这个选项在cmake中的文档是这样的:

    Now let us consider making the MathFunctions library optional. In this tutorial there really isn’t any reason to do so, but with larger libraries or libraries that rely on third party code you might want to. The first step is to add an option to the top level CMakeLists file.

    # should we use our own math functions? option (USE_MYMATH "Use tutorial provided math implementation" ON)

    This will show up in the CMake GUI with a default value of ON that the user can change as desired. This setting will be stored in the cache so that the user does not need to keep setting it each time they run CMake on this project. The next change is to make the build and linking of the MathFunctions library conditional. To do this we change the end of the top level CMakeLists file to look like the following:

    # add the MathFunctions library? # if (USE_MYMATH) include_directories ("${PROJECT_SOURCE_DIR}/MathFunctions") add_subdirectory (MathFunctions) set (EXTRA_LIBS ${EXTRA_LIBS} MathFunctions) endif (USE_MYMATH) # add the executable add_executable (Tutorial tutorial.cxx) target_link_libraries (Tutorial ${EXTRA_LIBS}) 参考来源:这里

    在我看来,cmake中的option命令更像是一个宏,规定了是否定义这个宏以及这个宏所带来的连锁反应。option规定的这个宏,通过ON的设定来表示是否定义。

    read more

关注我们

微博
QQ群