| /CTR-SDK-4.2.7-SampleDemos/camera/Stereo/romfiles/ |
| D | shader.map | 8 1. VShader.obj 15 4 1 VShader.obj 16 224 36 ../DMPGL/Common/Common.obj 23 VShader.obj information
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/ |
| D | LightingDistanceAtte.cpp | 60 sphere *obj = 0; variable 114 obj = new sphere(20, 20, 1.f); in LoadObjects() 118 glBufferData(GL_ARRAY_BUFFER, obj->get_index_count()*3*sizeof(float)*2, 0, GL_STATIC_DRAW); in LoadObjects() 119 glBufferSubData(GL_ARRAY_BUFFER, 0, obj->get_index_count()*3*sizeof(float), obj->get_vertex()); in LoadObjects() 120 …glBufferSubData(GL_ARRAY_BUFFER, obj->get_index_count()*3*sizeof(float), obj->get_index_count()*3*… in LoadObjects() 124 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, obj->get_index_count()*sizeof(unsigned short), obj->get_inde… in LoadObjects() 130 …glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (GLvoid*)(obj->get_index_count()*3*sizeof(float… in LoadObjects() 138 delete obj; in UnloadObjects() 148 glDrawElements(GL_TRIANGLES, obj->get_index_count(), GL_UNSIGNED_SHORT, 0); in DrawSphere()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Common/ |
| D | Loader.cpp | 79 dat_obj_t* obj = (dat_obj_t*)&dat[sizeof(dat_header_t)]; in loadDAT() local 199 _dat->obj = (dat_obj_t*)malloc(sizeof(dat_obj_t) * header->obj_num); in loadDAT() 201 if (!_dat->obj || !_dat->patch) in loadDAT() 203 if (_dat->obj) in loadDAT() 204 free(_dat->obj); in loadDAT() 209 memcpy(_dat->obj, obj, sizeof(dat_obj_t) * header->obj_num); in loadDAT() 243 if (dat->obj) in unloadDAT() 244 free(dat->obj); in unloadDAT()
|
| D | Loader.h | 66 dat_obj_t* obj; member
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/ |
| D | CommandBufferJump.cpp | 447 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].vtx_offset); in CreateCommand() 449 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].nrm_offset); in CreateCommand() 451 …for (unsigned j = robot.obj[i].patch_offset; j < robot.obj[i].patch_size + robot.obj[i].patch_offs… in CreateCommand() 455 … GL_UNSIGNED_SHORT, (GLvoid*)(robot.patch[j].elm_offset + robot.obj[i].elm_offset)); in CreateCommand() 493 for (int obj = 0; obj < num_obj; obj++) in DrawFrame() local 495 unsigned* modelViewCommand = s_SubrCommand[obj]; in DrawFrame() 504 … nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>((float)(360.f / NUM_OBJ * obj) - f), 0.f); in DrawFrame() 545 … nngxAddSubroutineCommand(s_CmdlistInfo[obj % 3].bufferaddr, s_CmdlistInfo[obj % 3].buffersize); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingAniso/ |
| D | LightingAniso.cpp | 335 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)kimono.obj[i].vtx_offset); in DrawFrame() 337 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)kimono.obj[i].nrm_offset); in DrawFrame() 338 if (kimono.obj[i].tex_size) in DrawFrame() 341 glVertexAttribPointer(2, 3, GL_FLOAT, GL_FALSE, 0, (void*)kimono.obj[i].tgt_offset); in DrawFrame() 343 glVertexAttribPointer(3, 3, GL_FLOAT, GL_FALSE, 0, (void*)kimono.obj[i].tex_offset); in DrawFrame() 355 …for (unsigned j = kimono.obj[i].patch_offset; j < kimono.obj[i].patch_size + kimono.obj[i].patch_o… in DrawFrame() 372 … GL_UNSIGNED_SHORT, (GLvoid*)(kimono.patch[j].elm_offset + kimono.obj[i].elm_offset)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/ |
| D | OMakefile | 27 DMP_stripLine1.obj
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingFresnel/ |
| D | LightingFresnel.cpp | 295 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)car.obj[i].vtx_offset); in DrawFrame() 297 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)car.obj[i].nrm_offset); in DrawFrame() 299 glVertexAttribPointer(2, 3, GL_FLOAT, GL_FALSE, 0, (void*)car.obj[i].tgt_offset); in DrawFrame() 301 glVertexAttribPointer(3, 3, GL_FLOAT, GL_FALSE, 0, (void*)car.obj[i].tex_offset); in DrawFrame() 303 …for (unsigned j = car.obj[i].patch_offset; j < car.obj[i].patch_size + car.obj[i].patch_offset; j+… in DrawFrame() 320 GL_UNSIGNED_SHORT, (GLvoid*)(car.patch[j].elm_offset + car.obj[i].elm_offset)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysSimple/ |
| D | OMakefile | 31 DMP_particleSystem_1_0_1_1.obj
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/ |
| D | GasColorSimple.cpp | 248 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)plane.obj[i].vtx_offset); in DrawObject() 249 …for (unsigned j = plane.obj[i].patch_offset; j < plane.obj[i].patch_size + plane.obj[i].patch_offs… in DrawObject() 253 GL_UNSIGNED_SHORT, (GLvoid*)(plane.patch[j].elm_offset + plane.obj[i].elm_offset)); in DrawObject()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/ |
| D | GasColorOptimal.cpp | 231 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)plane.obj[i].vtx_offset); in DrawObject() 232 …for (unsigned j = plane.obj[i].patch_offset; j < plane.obj[i].patch_size + plane.obj[i].patch_offs… in DrawObject() 236 GL_UNSIGNED_SHORT, (GLvoid*)(plane.patch[j].elm_offset + plane.obj[i].elm_offset)); in DrawObject()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/ |
| D | OMakefile | 34 DMP_particleSystem_1_1_0_0.obj
|
| D | PartsysGas.cpp | 380 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)plane.obj[i].vtx_offset); in DrawObject() 381 …for (unsigned j = plane.obj[i].patch_offset; j < plane.obj[i].patch_size + plane.obj[i].patch_offs… in DrawObject() 385 GL_UNSIGNED_SHORT, (GLvoid*)(plane.patch[j].elm_offset + plane.obj[i].elm_offset)); in DrawObject()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/ |
| D | OMakefile | 36 DMP_pointSprite1_1.obj
|
| D | GasCessna.cpp | 326 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)cessna.obj[i].vtx_offset); in DrawObject() 328 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)cessna.obj[i].nrm_offset); in DrawObject() 329 …for (unsigned j = cessna.obj[i].patch_offset; j < cessna.obj[i].patch_size + cessna.obj[i].patch_o… in DrawObject() 333 … GL_UNSIGNED_SHORT, (GLvoid*)(cessna.patch[j].elm_offset + cessna.obj[i].elm_offset)); in DrawObject()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/ |
| D | LightingToonApple.cpp | 344 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)sphere.obj[i].vtx_offset); in DrawFrame() 346 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)sphere.obj[i].nrm_offset); in DrawFrame() 348 …for (unsigned j = sphere.obj[i].patch_offset; j < sphere.obj[i].patch_size + sphere.obj[i].patch_o… in DrawFrame() 352 … GL_UNSIGNED_SHORT, (GLvoid*)(sphere.patch[j].elm_offset + sphere.obj[i].elm_offset)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingMicrofacet/ |
| D | LightingMicrofacet.cpp | 397 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].vtx_offset); in DrawFrame() 399 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)robot.obj[i].nrm_offset); in DrawFrame() 401 …for (unsigned j = robot.obj[i].patch_offset; j < robot.obj[i].patch_size + robot.obj[i].patch_offs… in DrawFrame() 405 GL_UNSIGNED_SHORT, (GLvoid*)(robot.patch[j].elm_offset + robot.obj[i].elm_offset)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/ |
| D | LightingSss.cpp | 409 glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0, (void*)hand.obj[i].vtx_offset); in DrawFrame() 411 glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0, (void*)hand.obj[i].nrm_offset); in DrawFrame() 413 …for (unsigned j = hand.obj[i].patch_offset; j < hand.obj[i].patch_size + hand.obj[i].patch_offset;… in DrawFrame() 430 GL_UNSIGNED_SHORT, (GLvoid*)(hand.patch[j].elm_offset + hand.obj[i].elm_offset)); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/ |
| D | OMakefile | 75 VERTEX_SHADER_OBJ_EXT = .obj
|