Compare commits

...

5 Commits

Author SHA1 Message Date
Kit Swinton fec857f17e Changed executable name 2024-02-24 09:10:43 +11:00
Kit Swinton 0b84e4d121 badge lookin' good 2024-02-23 18:01:35 +11:00
Kit Swinton aab92e09bc added nf_lib 2024-02-23 14:41:47 +11:00
Kit Swinton ffc7e9a1d2 added grit files - example texture working 2024-02-23 14:41:25 +11:00
Kit Swinton 64c804e425 Created spinning model 2024-02-23 14:20:50 +11:00
27 changed files with 3787 additions and 1451 deletions

View File

@ -6,11 +6,6 @@ ifeq ($(strip $(DEVKITARM)),)
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
endif
# These set the information text in the nds file
#GAME_TITLE := MFC Badge
#GAME_SUBTITLE1 := built with devkitARM
#GAME_SUBTITLE2 := http://devitpro.org
include $(DEVKITARM)/ds_rules
#---------------------------------------------------------------------------------
@ -29,7 +24,7 @@ BUILD := build
SOURCES := source
INCLUDES := include
DATA := data
GRAPHICS := graphics
GRAPHICS :=
AUDIO :=
ICON :=
@ -37,6 +32,11 @@ ICON :=
# this is relative to the Makefile
NITRO := nitrofiles
# These set the information text in the nds file
GAME_TITLE := Kitsch Badge
GAME_SUBTITLE1 := For MFC 2024
GAME_SUBTITLE2 :=
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
@ -51,15 +51,15 @@ LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project (order is important)
#---------------------------------------------------------------------------------
LIBS := -lnflib
LIBS := -lNE -lnflib
# automatigically add libraries for NitroFS
ifneq ($(strip $(NITRO)),)
LIBS := $(LIBS) -lfilesystem -lfat
LIBS := -lfilesystem -lfat $(LIBS)
endif
# automagically add maxmod library
ifneq ($(strip $(AUDIO)),)
LIBS := $(LIBS) -lmm9
LIBS := -lmm9 $(LIBS)
endif
LIBS := $(LIBS) -lnds9
@ -68,7 +68,7 @@ LIBS := $(LIBS) -lnds9
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(LIBNDS) $(PORTLIBS) $(DEVKITPRO)/nflib
LIBDIRS := $(LIBNDS) $(PORTLIBS) $(DEVKITPRO)/nitro-engine $(DEVKITPRO)/nflib
#---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional
@ -175,7 +175,7 @@ else
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
$(OUTPUT).nds: $(OUTPUT).elf $(NITRO_FILES) $(GAME_ICON)
$(OUTPUT).nds: $(OUTPUT).elf $(GAME_ICON)
$(OUTPUT).elf: $(OFILES)
# source files depend on generated headers

View File

@ -15,10 +15,15 @@ python3 $MD5_TO_DSMA \
--name chibi_kp \
--output nitrofiles \
--texture 256 256 \
--anim $ASSETS/chibi_kp/chibi_kp_spin.md5anim \
--anim $ASSETS/chibi_kp/idle.md5anim \
--skip-frames 1 \
--blender-fix
$GRIT \
$ASSETS/texture.png \
-ftb -fh! -W1 \
-onitrofiles/texture
$GRIT \
$ASSETS/chibi_kp/chibi_kp_albedo.png \
-ftb -fh! -W1 \
@ -35,3 +40,20 @@ for file in *.bin; do
done
mv *.img nitrofiles/bmp
# Badge Graphic: bg tile system
mkdir nitrofiles/bg
$GRIT \
$ASSETS/badge_01.jpg -ftb -fh! -gTFF00FF -gt -gB8 -mR8 -mLs
for file in *.bin; do
mv -- "$file" "${file%.bin}"
done
mv *.pal *.img *.map nitrofiles/bg
# Copy fonts
mkdir nitrofiles/fnt
cp $ASSETS/fonts/* nitrofiles/fnt

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 24 KiB

BIN
assets/badge_02.jpg 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
# 16 bit texture bitmap, force alpha bit to 1
-gx -gb -gB16 -gT!

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -1,139 +0,0 @@
MD5Version 10 // Parameters used during export: Reorient: False; Scale: 1.0
commandline ""
numFrames 24
numJoints 1
frameRate 24
numAnimatedComponents 6
hierarchy {
"Bone" -1 63 0 //
}
bounds {
( -0.8495284319 -1.0395367146 0.0167841911 ) ( 0.8495284319 0.7587030530 3.3017709255 )
( -0.9652822018 -1.0181363821 0.0167841911 ) ( 0.8144853711 0.7547656894 3.3017709255 )
( -1.0094454288 -0.9372508526 0.0167841911 ) ( 0.7274032831 0.9077482224 3.3017709255 )
( -0.9787425995 -0.8410557508 0.0167841911 ) ( 0.8713155985 0.9934072495 3.3017709255 )
( -0.8754509687 -0.7543132901 0.0167841911 ) ( 0.9522312880 1.0053898096 3.3017709255 )
( -0.7428342104 -0.8270553350 0.0167841911 ) ( 1.0307257175 0.9428071976 3.3017709255 )
( -0.7569344044 -0.8847950697 0.0167841911 ) ( 1.0414508581 0.8405860066 3.3017709255 )
( -0.7987810373 -0.9832565784 0.0167841911 ) ( 1.0007998943 0.7981179953 3.3017709255 )
( -0.9358130693 -1.0087944269 0.0167841911 ) ( 0.9195255041 0.7689315081 3.3017709255 )
( -1.0034401417 -0.9595147371 0.0167841911 ) ( 0.8068746328 0.8975127935 3.3017709255 )
( -0.9966465235 -0.8390719891 0.0167841911 ) ( 0.7780295610 0.9787974358 3.3017709255 )
( -0.9159363508 -0.7516365647 0.0167841911 ) ( 0.8357690573 1.0385091305 3.3017709255 )
( -0.8357690573 -0.7516365647 0.0167841911 ) ( 0.9159363508 1.0385091305 3.3017709255 )
( -0.7780295610 -0.8390721083 0.0167841911 ) ( 0.9966466427 0.9787974358 3.3017709255 )
( -0.8068747520 -0.9595147371 0.0167841911 ) ( 1.0034401417 0.8975127935 3.3017709255 )
( -0.9195255041 -1.0087945461 0.0167841911 ) ( 0.9358130693 0.7689315081 3.3017709255 )
( -1.0008000135 -0.9832565784 0.0167841911 ) ( 0.7987810373 0.7981180549 3.3017709255 )
( -1.0414508581 -0.8847950697 0.0167841911 ) ( 0.7569344044 0.8405860066 3.3017709255 )
( -1.0307257175 -0.8270552754 0.0167841911 ) ( 0.7428341508 0.9428071380 3.3017709255 )
( -0.9522314072 -0.7543133497 0.0167841911 ) ( 0.8754509687 1.0053898096 3.3017709255 )
( -0.8713154197 -0.8410559893 0.0167841911 ) ( 0.9787427187 0.9934072495 3.3017709255 )
( -0.7274030447 -0.9372509122 0.0167841911 ) ( 1.0094454288 0.9077481031 3.3017709255 )
( -0.8144854307 -1.0181362629 0.0167841911 ) ( 0.9652820826 0.7547654510 3.3017709255 )
( -0.8495285511 -1.0395367146 0.0167841911 ) ( 0.8495283127 0.7587030530 3.3017709255 )
}
baseframe {
( 0.0000000000 0.0000000000 0.0000000000 ) ( -0.7071068287 -0.0000000000 -0.0000000000 )
}
frame 0 {
0.0000000000 0.0000000000 0.0000000000 -0.7071068287 -0.0000000000 -0.0000000000
}
frame 1 {
0.0000000000 0.0000000000 0.0000000000 -0.7005207539 -0.0962843671 -0.0962843671
}
frame 2 {
0.0000000000 0.0000000000 0.0000000000 -0.6808853149 -0.1907751113 -0.1907751113
}
frame 3 {
0.0000000000 0.0000000000 0.0000000000 -0.6485663056 -0.2817121148 -0.2817121148
}
frame 4 {
0.0000000000 0.0000000000 0.0000000000 -0.6041657925 -0.3674013615 -0.3674013615
}
frame 5 {
0.0000000000 0.0000000000 0.0000000000 -0.5485107303 -0.4462466240 -0.4462466240
}
frame 6 {
0.0000000000 0.0000000000 0.0000000000 -0.4826380014 -0.5167790651 -0.5167790651
}
frame 7 {
0.0000000000 0.0000000000 0.0000000000 -0.4077745378 -0.5776849389 -0.5776849985
}
frame 8 {
0.0000000000 0.0000000000 0.0000000000 -0.3253150880 -0.6278296709 -0.6278296709
}
frame 9 {
0.0000000000 0.0000000000 0.0000000000 -0.2367956638 -0.6662791371 -0.6662790775
}
frame 10 {
0.0000000000 0.0000000000 0.0000000000 -0.1438650787 -0.6923170090 -0.6923170686
}
frame 11 {
0.0000000000 0.0000000000 0.0000000000 -0.0482546426 -0.7054584026 -0.7054583430
}
frame 12 {
0.0000000000 0.0000000000 0.0000000000 -0.0482546948 0.7054583430 0.7054583430
}
frame 13 {
0.0000000000 0.0000000000 0.0000000000 -0.1438651234 0.6923169494 0.6923170090
}
frame 14 {
0.0000000000 0.0000000000 0.0000000000 -0.2367957085 0.6662790775 0.6662790775
}
frame 15 {
0.0000000000 0.0000000000 0.0000000000 -0.3253151774 0.6278296113 0.6278296113
}
frame 16 {
0.0000000000 0.0000000000 0.0000000000 -0.4077746272 0.5776849985 0.5776849389
}
frame 17 {
0.0000000000 0.0000000000 0.0000000000 -0.4826380014 0.5167790651 0.5167790651
}
frame 18 {
0.0000000000 0.0000000000 0.0000000000 -0.5485107303 0.4462465942 0.4462465942
}
frame 19 {
0.0000000000 0.0000000000 0.0000000000 -0.6041657925 0.3674013615 0.3674013615
}
frame 20 {
0.0000000000 0.0000000000 0.0000000000 -0.6485664248 0.2817119956 0.2817119956
}
frame 21 {
0.0000000000 0.0000000000 0.0000000000 -0.6808853149 0.1907750219 0.1907750219
}
frame 22 {
0.0000000000 0.0000000000 0.0000000000 -0.7005207539 0.0962842777 0.0962842777
}
frame 23 {
0.0000000000 0.0000000000 0.0000000000 -0.7071068287 -0.0000000618 -0.0000000618
}

View File

@ -0,0 +1,863 @@
MD5Version 10 // Parameters used during export: Reorient: False; Scale: 1.0
commandline ""
numFrames 120
numJoints 3
frameRate 24
numAnimatedComponents 18
hierarchy {
"Bone" -1 63 0 //
"Bone.001" 0 63 6 //
"Bone.002" 1 63 12 //
}
bounds {
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
( -0.8415924311 -1.0365092754 -1.4832159281 ) ( 0.8678105474 0.7632993460 1.7981598377 )
( -0.8415294886 -1.0251768827 -1.4832159281 ) ( 0.9140000343 0.7720817924 1.7878557444 )
( -0.8405742049 -1.0009936094 -1.4832159281 ) ( 0.9737292528 0.7760534883 1.7713922262 )
( -0.8382295966 -0.9619538188 -1.4832159281 ) ( 1.0330109596 0.8429703712 1.7499094009 )
( -0.8345543742 -0.9116348028 -1.4832159281 ) ( 1.0812420845 0.9253897667 1.7258409262 )
( -0.8302695155 -0.8813809156 -1.4832159281 ) ( 1.1134819984 0.9854868650 1.7029386759 )
( -0.8266378045 -0.8611563444 -1.4832159281 ) ( 1.1304607391 1.0202497244 1.6857829094 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8251310587 -0.8524922729 -1.4832159281 ) ( 1.1356072426 1.0317089558 1.6790875196 )
( -0.8288330436 -0.8621377945 -1.4832159281 ) ( 1.1306073666 1.0188597441 1.6858637333 )
( -0.8365774751 -0.8848807812 -1.4832159281 ) ( 1.1128338575 0.9777161479 1.7037307024 )
( -0.8415623307 -0.9281560779 -1.4832159281 ) ( 1.0756716728 0.9007989764 1.7286076546 )
( -0.8390091062 -0.9855518937 -1.4832159281 ) ( 1.0139650106 0.7890148759 1.7563749552 )
( -0.8233010769 -1.0238890648 -1.4832159281 ) ( 0.9285252690 0.7758031487 1.7833975554 )
( -0.8704201579 -1.0465910435 -1.4832159281 ) ( 0.8277091384 0.7485283613 1.8069473505 )
( -0.9226863384 -1.0495842695 -1.4832159281 ) ( 0.7572929859 0.7030068636 1.8254288435 )
( -0.9479502439 -1.0330659151 -1.4832159281 ) ( 0.7181272507 0.7543417215 1.8383331299 )
( -0.9559028149 -1.0123556852 -1.4832159281 ) ( 0.6881101131 0.7971791625 1.8458869457 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9569839835 -1.0028566122 -1.4832159281 ) ( 0.6986690760 0.8114110827 1.8484236002 )
( -0.9604883194 -1.0153026581 -1.4832159281 ) ( 0.6938994527 0.7968913913 1.8467367887 )
( -0.9894882441 -1.0423111916 -1.4832159281 ) ( 0.7351610661 0.7572622299 1.8409514427 )
( -1.0182131529 -1.0664123297 -1.4832159281 ) ( 0.7816128135 0.6986026168 1.8297286034 )
( -1.0334668159 -1.0746158361 -1.4832159281 ) ( 0.8176040053 0.6938130260 1.8132530451 )
( -1.0318591595 -1.0651900768 -1.4832159281 ) ( 0.8363349438 0.7266229391 1.7943919897 )
( -1.0212185383 -1.0482747555 -1.4832159281 ) ( 0.8412663341 0.7499310374 1.7784433365 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -1.0150026083 -1.0395367146 -1.4832159281 ) ( 0.8412206173 0.7587030530 1.7717901468 )
( -0.9970711470 -1.0395367146 -1.4832159281 ) ( 0.8413299918 0.7587030530 1.7777254581 )
( -0.9478012919 -1.0395367146 -1.4832159281 ) ( 0.8414784074 0.7587031126 1.7902250290 )
( -0.8733993173 -1.0395365953 -1.4832159281 ) ( 0.8413535953 0.7587030530 1.8000082970 )
( -0.8406665921 -1.0395367146 -1.4832159281 ) ( 0.9158720970 0.7587031126 1.7997283936 )
( -0.8394654989 -1.0395367146 -1.4832159281 ) ( 1.0011247396 0.7587030530 1.7871483564 )
( -0.8379828930 -1.0395367146 -1.4832159281 ) ( 1.0695066452 0.7587031126 1.7662280798 )
( -0.8366904259 -1.0395365953 -1.4832159281 ) ( 1.1143064499 0.7587031126 1.7459352016 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8361474872 -1.0395367146 -1.4832159281 ) ( 1.1359522343 0.7587030530 1.7370676994 )
( -0.8365060091 -1.0395367146 -1.4832159281 ) ( 1.1234651804 0.7587030530 1.7414010763 )
( -0.8374054432 -1.0395367146 -1.4832159281 ) ( 1.0992940664 0.7587030530 1.7522889376 )
( -0.8385496140 -1.0395367146 -1.4832159281 ) ( 1.0649862289 0.7587030530 1.7661629915 )
( -0.8396632075 -1.0395367146 -1.4832159281 ) ( 1.0224943161 0.7587029934 1.7796887159 )
( -0.8405495286 -1.0395367146 -1.4832159281 ) ( 0.9757294655 0.7587030530 1.7904642820 )
( -0.8411204815 -1.0395368338 -1.4832159281 ) ( 0.9294082522 0.7587030530 1.7973999977 )
( -0.8413962722 -1.0395367146 -1.4832159281 ) ( 0.8889766335 0.7587030530 1.8007354736 )
( -0.8414767981 -1.0395367146 -1.4832159281 ) ( 0.8603514433 0.7587029934 1.8016946316 )
( -0.8495284319 -1.0395367146 -1.4832159281 ) ( 0.8495284319 0.7587030530 1.8017709255 )
}
baseframe {
( 0.0000000000 0.0000000000 -1.5000000000 ) ( -0.7071068287 -0.0000000000 -0.0000000000 )
( 0.0000000000 1.0093280077 0.0000000000 ) ( -0.0000000000 -0.0000000000 -0.0000000000 )
( 0.0000000000 0.7369153500 0.0000000000 ) ( -0.0000000000 -0.0000001192 -0.0000000000 )
}
frame 0 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 1 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 2 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 3 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 4 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 5 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 6 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 7 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 8 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 9 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 10 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 11 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 12 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 13 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 14 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 15 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 16 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 17 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 18 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 19 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 20 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 21 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}
frame 22 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0046508126 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0036821428 0.0087089259 0.0023288417
}
frame 23 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0169210657 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0134238638 0.0317501426 0.0084901769
}
frame 24 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0342821814 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0272508245 0.0644538254 0.0172353033
}
frame 25 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0541850775 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0431143194 0.1019743532 0.0272684749
}
frame 26 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0740664154 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0589107573 0.1393362582 0.0372592285
}
frame 27 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0913737342 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0725703910 0.1716441810 0.0458985269
}
frame 28 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1035862565 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0821334720 0.1942628324 0.0519468859
}
frame 29 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 30 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 31 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 32 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 33 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 34 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 35 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 36 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 37 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 38 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 39 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 40 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 41 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 42 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 43 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 44 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 45 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 46 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 47 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 48 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 49 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 50 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 51 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 52 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.1082109138 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0857349783 0.2027812153 0.0542247221
}
frame 53 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0964092240 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0816669688 0.1995702386 0.0527466051
}
frame 54 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0640231892 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0705926716 0.1908084899 0.0487192050
}
frame 55 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 0.0155185582 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0541983955 0.1777824163 0.0427476577
}
frame 56 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0442027375 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0342027135 0.1618060470 0.0354491472
}
frame 57 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.1095254794 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 0.0123800430 0.1442590654 0.0274648406
}
frame 58 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.1743780822 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0094532780 0.1265880018 0.0194569118
}
frame 59 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.2328531593 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0294774622 0.1102796197 0.0120951813
}
frame 60 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.2797736526 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0459085070 0.0968248919 0.0060420264
}
frame 61 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3108150661 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0570145473 0.0876933485 0.0019442373
}
frame 62 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 63 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 64 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 65 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 66 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 67 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 68 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 69 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 70 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 71 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 72 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 73 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 74 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 75 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 76 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 77 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 78 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 79 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 80 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 81 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 82 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3220694363 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0610955879 0.0843302831 0.0004371510
}
frame 83 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.3050818145 -0.0006880017
-0.0000000001 0.7369153500 0.0000000000 -0.0577336662 0.0796898231 -0.0043305494
}
frame 84 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.2604370415 -0.0024765318
-0.0000000002 0.7369152904 0.0000000003 -0.0490387268 0.0676881745 -0.0166389979
}
frame 85 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.1978431344 -0.0049380632
-0.0000000001 0.7369153500 0.0000000001 -0.0371063612 0.0512178950 -0.0334782973
}
frame 86 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.1284077764 -0.0076082763
-0.0000000004 0.7369153500 -0.0000000002 -0.0240750872 0.0332308002 -0.0518001430
}
frame 87 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 0.0000000000 -0.0643989518 -0.0100153955
0.0000000011 0.7369153500 -0.0000000001 -0.0121140098 0.0167208929 -0.0685549155
}
frame 88 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0178906135 -0.0117322551
-0.0000000001 0.7369152904 -0.0000000001 -0.0033807175 0.0046663070 -0.0807507411
}
frame 89 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 90 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 91 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 92 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 93 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 94 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 95 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0123855332
-0.0000000009 0.7369152904 0.0000000000 0.0000000102 -0.0000001188 -0.0854633451
}
frame 96 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0094399294
-0.0000000005 0.7369154096 0.0000000000 0.0000000111 -0.0000001188 -0.0782673508
}
frame 97 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0016714463
0.0000000002 0.7369154096 0.0000000000 0.0000000134 -0.0000001190 -0.0592409447
}
frame 98 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0093162749
-0.0000000005 0.7369152904 0.0000000000 0.0000000166 -0.0000001191 -0.0322374292
}
frame 99 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0219140667
0.0000000000 0.7369153500 0.0000000000 0.0000000203 -0.0000001192 -0.0012008360
}
frame 100 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0345083959
-0.0000000037 0.7369153500 0.0000000000 0.0000000240 -0.0000001192 0.0298369229
}
frame 101 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0454873964
-0.0000000019 0.7369153500 0.0000000000 0.0000000272 -0.0000001190 0.0568433367
}
frame 102 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0532465205
0.0000000019 0.7369154096 0.0000000000 0.0000000294 -0.0000001189 0.0758728385
}
frame 103 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 104 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 105 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 106 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 107 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 108 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 109 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 110 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0561878905
-0.0000000019 0.7369153500 0.0000000000 -0.0000000099 -0.0000001188 0.0830701888
}
frame 111 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0542638488
-0.0000000056 0.7369154096 0.0000000000 -0.0000000102 -0.0000001188 0.0802305862
}
frame 112 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0491055176
-0.0000000037 0.7369153500 0.0000000000 -0.0000000112 -0.0000001189 0.0726143867
}
frame 113 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0416332856
0.0000000019 0.7369153500 0.0000000000 -0.0000000125 -0.0000001190 0.0615743622
}
frame 114 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0327695906
0.0000000019 0.7369153500 0.0000000000 -0.0000000140 -0.0000001191 0.0484698564
}
frame 115 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0234398916
-0.0000000009 0.7369153500 0.0000000000 -0.0000000157 -0.0000001191 0.0346702002
}
frame 116 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0145716527
0.0000000028 0.7369153500 0.0000000000 -0.0000000172 -0.0000001192 0.0215510204
}
frame 117 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0070921667
-0.0000000002 0.7369153500 0.0000000000 -0.0000000186 -0.0000001192 0.0104874810
}
frame 118 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 0.0019269852
0.0000000001 0.7369153500 0.0000000000 -0.0000000195 -0.0000001192 0.0028490927
}
frame 119 {
0.0000000000 0.0000000000 -1.5000000000 -0.7071068287 -0.0000000000 -0.0000000000
0.0000000000 1.0093280077 0.0000000000 -0.0000000000 -0.0000000000 -0.0000000000
0.0000000000 0.7369153500 0.0000000000 -0.0000000000 -0.0000001192 -0.0000000000
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
# 16 bit texture bitmap, force alpha bit to 1
-gx -gb -gB16 -gT!

BIN
assets/texture.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

185
source/main.c 100644
View File

@ -0,0 +1,185 @@
// SPDX-License-Identifier: CC0-1.0
//
// SPDX-FileContributor: Antonio Niño Díaz, 2008-2011, 2019, 2022
//
// This file is part of Nitro Engine
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <filesystem.h>
#include <nds.h>
#include <NEMain.h>
#include <nf_lib.h>
NE_Camera *Camera;
NE_Model *Model;
NE_Animation *Animation;
NE_Material *Material;
void Draw3DScene(void)
{
NE_CameraUse(Camera);
NE_PolyFormat(31, 0, NE_LIGHT_0, NE_CULL_NONE, 0);
NE_ModelDraw(Model);
}
void WaitLoop(void)
{
while(1)
swiWaitForVBlank();
}
void LoadAndSetupGraphics3D(void)
{
// When using nflib for the 2D sub screen engine, banks C and H are used for
// backgrounds and banks D and I are used for sprites. Nitro Engine only
// uses bank E for palettes, so the only thing we need to do is to tell
// Nitro Engine to only use banks A and B and leave C and D unused.
NE_Init3D();
// libnds uses VRAM_C for the text console, reserve A and B only
NE_TextureSystemReset(0, 0, NE_VRAM_AB);
// Allocate space for objects...
Model = NE_ModelCreate(NE_Animated);
Camera = NE_CameraCreate();
Material = NE_MaterialCreate();
Animation = NE_AnimationCreate();
// Load assets form the filesystem
if (NE_ModelLoadDSMFAT(Model, "chibi_kp.dsm") == 0)
{
consoleDemoInit();
printf("Couldn't load model...");
WaitLoop();
}
if (NE_AnimationLoadFAT(Animation, "chibi_kp_idle.dsa") == 0)
{
consoleDemoInit();
printf("Couldn't load animation...");
WaitLoop();
}
if (NE_MaterialTexLoadFAT(Material, NE_A1RGB5, 256, 256, NE_TEXGEN_TEXCOORD,
"texture.img.bin") == 0)
{
consoleDemoInit();
printf("Couldn't load texture...");
WaitLoop();
}
// Assign material to the model
NE_ModelSetMaterial(Model, Material);
// Assign animation to the model and start it
NE_ModelSetAnimation(Model, Animation);
NE_ModelAnimStart(Model, NE_ANIM_LOOP, floattof32(0.1));
// setup light
NE_LightSet(0, NE_White, 0, -1, -1);
// setup background color
NE_ClearColorSet(RGB15(10, 0, 17), 31, 63);
// Setup camera
NE_CameraSet(Camera,
6, 1.5, -1,
0, 0, 0,
0, 0, -1);
NE_SetFov(30);
}
void LoadAndSetupGraphics2D(void)
{
// Initialize sub 2D engine
NF_Set2D(1, 0);
// Initialize tiled backgrounds and text systems for the 2D sub engine
// (using VRAM C & D)
NF_InitTiledBgBuffers();
NF_InitTiledBgSys(1);
NF_InitTextSys(1);
// load assets from filesystem to RAM
NF_LoadTiledBg("bg/badge_01", "capa_0", 2048, 256);
NF_LoadTextFont("fnt/default", "normal", 256, 256, 0);
// Create tiled background
NF_CreateTiledBg(1, 1, "capa_0");
// Create text layer
NF_CreateTextLayer(1, 0, 0, "normal");
}
int main(void)
{
// Initialize nitrof before doing anything else
NF_Set2D(0, 0);
NF_Set2D(1, 0);
consoleDemoInit();
printf("Starting nitroFS...\n");
if(!nitroFSInit(NULL))
{
printf("Failed to start nitroFS\n");
printf("Press START to exit\n");
while (1)
{
swiWaitForVBlank();
scanKeys();
if (keysHeld() & KEY_START)
return -1;
}
}
swiWaitForVBlank();
// Set the root folder to the nitroFS filesystem
NF_SetRootFolder("NITROFS");
//setup interrupt
irqEnable(IRQ_HBLANK);
irqSet(IRQ_VBLANK, NE_VBLFunc);
irqSet(IRQ_HBLANK, NE_HBLFunc);
// load and setup graphics
LoadAndSetupGraphics3D();
LoadAndSetupGraphics2D();
// print instructions:
//NF_WriteText(1, 0, 1, 1, "PAD: Rotate Model");
//NF_WriteText(1, 0, 1, 2, "START: Exit");
//NF_UpdateTextLayers();
while (1)
{
NE_WaitForVBL(NE_UPDATE_ANIMATIONS);
//rotate model:
NE_ModelRotate(Model, 0, 1, 0);
scanKeys();
uint32_t keys = keysHeld();
if (keys & KEY_START)
break;
if (keys & KEY_RIGHT)
NE_ModelRotate(Model, 0, 2, 0);
if (keys & KEY_LEFT)
NE_ModelRotate(Model, 0, -2, 0);
if (keys & KEY_UP)
NE_ModelRotate(Model, 0, 0, 2);
if (keys & KEY_DOWN)
NE_ModelRotate(Model, 0, 0, -2);
// Draw scene...
NE_Process(Draw3DScene);
}
return 0;
}

View File

@ -1,55 +0,0 @@
/*------------------------------------------------------------------------------
MFC NDS Conbadge
Kitsch 2024
------------------------------------------------------------------------------*/
#include <stdio.h>
#include <nds.h>
#include <filesystem.h>
#include <nf_lib.h>
int main(int argc, char **argv) {
//prepare a NitroFS initialization screen
NF_Set2D(0, 0);
NF_Set2D(1, 0);
consoleDemoInit();
printf("\n NitroFS init. Please Wait.\n\n");
swiWaitForVBlank();
//initialize NitroFS and set it as the root folder of the filesystem
nitroFSInit(NULL);
NF_SetRootFolder("NITROFS");
//initialize 2D engine in both screens and use mode 5
NF_Set2D(0, 5);
NF_Set2D(1, 5);
//initialize bitmap backgrounds system
NF_InitBitmapBgSys(0, 1);
NF_InitBitmapBgSys(1, 1);
//initialize storage buffers
NF_Init16bitsBgBuffers();
//load bitmap background files from NitroFS
NF_Load16bitsBg("bmp/badge_01", 0);
//transfer image to VRAM of both screens
NF_Copy16bitsBuffer(0, 0, 0);
NF_Copy16bitsBuffer(1, 0, 0);
//it'se not needed anymore so remove it from RAM
NF_Unload16bitsBg(0);
while (1) {
swiWaitForVBlank();
}
return 0;
}