-
Notifications
You must be signed in to change notification settings - Fork 1
Parser bonus
ChangHyun Jang edited this page Apr 22, 2022
·
7 revisions
Mandatory 기준 파싱
# [x,y,z point] [normalized vector] [ratio] [d] [h] [FOV] [RGB]
A [0-1] [0-255],[0-255],[0-255] (o)
C [none],[none],[none] [-1~1],[-1~1],[-1~1] [0-180) (o)
L [none],[none],[none] [0-1] [0-255],[0-255],[0-255] (o)
sp [none],[none],[none] [0-] [0-255],[0-255],[0-255] (o)
cy [none],[none],[none] [-1~1],[-1~1],[-1~1] [0-] [0-] [0-255],[0-255],[0-255] (o)
pl [none],[none],[none] [-1~1],[-1~1],[-1~1] [0-255],[0-255],[0-255] (o)
# 이외는 x
Bonus 기준 파싱
# [x,y,z point] [normalized vector] [ratio] [d] [h] [FOV] [texture type] [texture info] [kd] [ks] [ksn]
A [0-1] [0-255],[0-255],[0-255] (o)
C [none],[none],[none] [-1~1],[-1~1],[-1~1] [0-180) (o)
L [none],[none],[none] [0-1] [0-255],[0-255],[0-255] (o)
sp [none],[none],[none] [0-] [rgb,ck,bm] [texture info] [0-1] [0-1] [0-] (o)
cy [none],[none],[none] [-1~1],[-1~1],[-1~1] [0-] [0-] [rgb,ck,bm] [texture info] [0-1] [0-1] [0-] (o)
pl [none],[none],[none] [-1~1],[-1~1],[-1~1] [rgb,ck,bm] [texture info] [0-1] [0-1] [0-] (o)
# 이외는 x
추가된 부분의 문법
# [texture info]
# rgb [color1]
[0-255],[0-255],[0-255]
# ck [color1] [color2] [width] [height]
[0-255],[0-255],[0-255] [0-255],[0-255],[0-255] [0-] [0-]
# bm [texture file] [bumpmap file]
[texture file] [bumpmap file]
# [object spec]
[kd] [ks] [ksn]
[0-1] [0-1] [none]
@hyojekim @cjang