Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:16

0001 /**
0002 
0003 ~/o/sysrap/tests/SCUDA_Mesh_test.sh
0004 
0005 
0006 optix7.5 p28
0007    Mixing build input types in a single geometry-AS is not allowed
0008    [will need separated triangulated GAS for guidetube]
0009 
0010 **/
0011 
0012 
0013 #include "scuda.h"
0014 
0015 
0016 
0017 #include "SCUDA_Mesh.h"
0018 #include "SOPTIX_Context.h"
0019 #include "SOPTIX_Desc.h"
0020 
0021 int main()
0022 {
0023     SMesh* m = SMesh::Load("$SCENE_FOLD/scene/mesh_grup/3" ); 
0024     std::cout << m->desc() ; 
0025 
0026     //SOPTIX_Context ox ; 
0027     //std::cout << ox.desc() << std::endl ; 
0028 
0029     SCUDA_Mesh* _mesh = new SCUDA_Mesh(m) ; 
0030     std::cout << _mesh->desc() ; 
0031 
0032 
0033     return 0 ; 
0034 }