Noesis FAQ: Difference between revisions
Jump to navigation
Jump to search
imported>Tsukihime (Created page with "This article lists a set of frequently asked questions related to the Noesis import API. It will cover both the python and C++ api's. ==Python API== ===Big endian buffer bindin...") |
imported>Tsukihime No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This article lists a set of frequently asked questions related to the | This article lists a set of frequently asked questions related to Noesis, both for general use and the import API. It will cover both the python and C++ api's. | ||
==Python API== | ==Python API== | ||
'''I'm working with a format with big-endian byte order. How do I call the bind functions?''' | '''I'm working with a format with big-endian byte order. How do I call the bind functions?''' | ||
:Set the BIGENDIAN option | :Set the BIGENDIAN option before calling binding the buffers. | ||
<pre>rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)</pre> | <pre>rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)</pre> | ||
'''I want to construct multiple models, but all of the previous meshes still show up even though I clear buffer binds before I bind the next set of buffers''' | |||
:Use rapi.rpgReset() to reset the context for the next model | |||
==C++ API== | ==C++ API== | ||
[[Category:Noesis]] | |||
Latest revision as of 21:25, 3 March 2012
This article lists a set of frequently asked questions related to Noesis, both for general use and the import API. It will cover both the python and C++ api's.
Python API
I'm working with a format with big-endian byte order. How do I call the bind functions?
- Set the BIGENDIAN option before calling binding the buffers.
rapi.rpgSetOption(noesis.RPGOPT_BIGENDIAN, 1)
I want to construct multiple models, but all of the previous meshes still show up even though I clear buffer binds before I bind the next set of buffers
- Use rapi.rpgReset() to reset the context for the next model