hello,
here is a basic obj file. using the attached patch, it look like normals or texturing coordinate did not work.
did anyone know where does this problem come from?
thanks Cyrille
# test cube v -4.0000000e+0 -4.0000000e+0 0.0000000e+0 v -4.0000000e+0 4.0000000e+0 0.0000000e+0 v 4.0000000e+0 4.0000000e+0 0.0000000e+0 v 4.0000000e+0 -4.0000000e+0 0.0000000e+0 vt 0.0000000e+0 0.0000000e+0 vt 0.0000000e+0 1.0000000e+0 vt 1.0000000e+0 1.0000000e+0 vt 1.0000000e+0 0.0000000e+0 vn 0.0000000e+0 0.0000000e+0 -1.0000000e+0 vn 1.0000000e+0 0.0000000e+0 0.0000000e+0 vn 0.0000000e+0 1.0000000e+0 1.0000000e+0 vn 1.0000000e+0 1.0000000e+0 1.0000000e+0 f 1/1/1 2/2/2 3/3/3 4/4/4
#N canvas 146 122 395 533 10; #X obj 33 12 cnv 15 200 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 132 112 create , 1 , lighting 1; #X msg 298 112 destroy , reset; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 3 1 5 0; #X connect 3 1 7 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 36 54 pd gemwin; #X msg 36 35 destroy; #X text 33 16 Create window:; #X obj 148 35 gemhead; #X obj 148 54 world_light; #X obj 38 90 gemhead; #X obj 148 300 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 148 318 openpanel; #X obj 236 304 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 236 324 rescale $1; #X msg 152 384 smooth $1; #X obj 236 364 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 236 384 revert $1; #X obj 236 414 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 148 434 material $1; #X msg 236 434 texture $1; #X floatatom 152 366 5 0 1 0 - - -; #X msg 148 339 open $1; #X obj 148 414 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 38 291 pix_texture; #X obj 38 121 rotateXYZ 30 10 10; #X floatatom 97 92 5 0 0 0 - - -; #X floatatom 147 91 5 0 0 0 - - -; #X floatatom 193 90 5 0 0 0 - - -; #X msg 75 236 rectangle $1; #X obj 75 215 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 75 261 repeat 1; #X obj 57 142 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 57 163 openpanel; #X obj 38 185 pix_image test.jpg; #X obj 38 484 model test2.obj; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 6 0 21 0; #X connect 7 0 8 0; #X connect 8 0 18 0; #X connect 9 0 10 0; #X connect 10 0 31 0; #X connect 11 0 31 0; #X connect 12 0 13 0; #X connect 13 0 31 0; #X connect 14 0 16 0; #X connect 15 0 31 0; #X connect 16 0 31 0; #X connect 17 0 11 0; #X connect 18 0 31 0; #X connect 19 0 15 0; #X connect 20 0 31 0; #X connect 21 0 30 0; #X connect 22 0 21 1; #X connect 23 0 21 2; #X connect 24 0 21 3; #X connect 25 0 20 0; #X connect 26 0 25 0; #X connect 27 0 20 0; #X connect 28 0 29 0; #X connect 29 0 30 0; #X connect 30 0 20 0;