Noesis FAQ: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Tsukihime
imported>Tsukihime
No edit summary
Line 7: Line 7:


<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==

Revision as of 05:26, 19 February 2012

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

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

C++ API