showing 3DS model without texture

Started by guillaume, December 21, 2011, 01:48:22 AM

Previous topic - Next topic

guillaume

My colleague have made  a model for me. He only apply some material to the model, and not texture.
the model looks realistic  in Cinema 4D. and he export the model to .3ds file, and I load this file to jPCT,
the model looks black in jPCT,   how can I make it looks realistic as it in Cinema 4D ? thanks.

EgonOlsen

jPCT loads texture coordinates and names from 3DS as well as diffuse colors (but only if there are no textures assigned). Everything else will be ignored.
If the file contains diffuse colors but still comes out black, have a look at the log output. Diffuse colors can exist in two different formats. The file itself doesn't contain any information about which one it uses, so jPCT has to guess. However, some exporters create diffuse color information that i couldn't make any sense of.
If this is the case, this will be written to the log.

guillaume

Quote from: EgonOlsen on December 21, 2011, 07:51:09 AM
jPCT loads texture coordinates and names from 3DS as well as diffuse colors (but only if there are no textures assigned). Everything else will be ignored.
If the file contains diffuse colors but still comes out black, have a look at the log output. Diffuse colors can exist in two different formats. The file itself doesn't contain any information about which one it uses, so jPCT has to guess. However, some exporters create diffuse color information that i couldn't make any sense of.
If this is the case, this will be written to the log.

here is the log, there has a line " I/jPCT-AE ( 3464): Texture named RCA_orig.jpg added to TextureManager!"
seems like jPCT-AE find a texture in the model file, but my colleague said he doesn't mapping any texture. strange.

I/jPCT-AE ( 3464): File from InputStream loaded...508231 bytes

I/ActivityManager( 1214): Process com.google.android.apps.maps:FriendService (pid 3480) has died.

D/dalvikvm( 3464): GC_FOR_MALLOC freed 480K, 25% free 13608K/18055K, external 1625K/2137K, paused 14ms

I/jPCT-AE ( 3464): Processing new material Metal-Chrome!

I/jPCT-AE ( 3464): Texture named RCA_orig.jpg added to TextureManager!

I/jPCT-AE ( 3464): Processing new material Metal-Chro1!

I/jPCT-AE ( 3464): Processing new material Metal-Chro2!

I/jPCT-AE ( 3464): Processing new material __!

I/jPCT-AE ( 3464): Processing new material __!

I/jPCT-AE ( 3464): Processing new material __!

I/jPCT-AE ( 3464): Processing new material ____!

I/jPCT-AE ( 3464): Processing object from 3DS-file: Light_Targ

I/jPCT-AE ( 3464): Processing object from 3DS-file: Camer

I/jPCT-AE ( 3464): Processing object from 3DS-file: Camera_Tar

I/jPCT-AE ( 3464): Processing object from 3DS-file: ____1

I/jPCT-AE ( 3464): Processing object from 3DS-file: rca

I/jPCT-AE ( 3464): Processing object from 3DS-file: stojan

I/jPCT-AE ( 3464): Processing object from 3DS-file: ____

I/jPCT-AE ( 3464): Processing object from 3DS-file: __7

I/jPCT-AE ( 3464): Object '__7_jPCT67' created using 144 polygons and 148 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: Cylin2

I/jPCT-AE ( 3464): Object 'Cylin2_jPCT68' created using 1872 polygons and 1012 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: Cylin1

I/jPCT-AE ( 3464): Object 'Cylin1_jPCT69' created using 1872 polygons and 1012 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: Cylin3

I/jPCT-AE ( 3464): Object 'Cylin3_jPCT70' created using 430 polygons and 294 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: __4

I/jPCT-AE ( 3464): Processing object from 3DS-file: Cylinder

I/jPCT-AE ( 3464): Object 'Cylinder_jPCT71' created using 1728 polygons and 1269 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: Cylin

I/jPCT-AE ( 3464): Object 'Cylin_jPCT72' created using 1728 polygons and 1269 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: ___NURBS

D/dalvikvm( 3464): GC_CONCURRENT freed 1075K, 20% free 14612K/18183K, external 1625K/2137K, paused 1ms+0ms

I/jPCT-AE ( 3464): Object '___NURBS_jPCT73' created using 4488 polygons and 2346 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: ___1

I/jPCT-AE ( 3464): Object '___1_jPCT74' created using 66 polygons and 68 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: ___2

I/jPCT-AE ( 3464): Object '___2_jPCT75' created using 66 polygons and 68 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: mikro

I/jPCT-AE ( 3464): Processing object from 3DS-file: Extrude_NU

I/jPCT-AE ( 3464): Object 'Extrude_NU_jPCT76' created using 196 polygons and 210 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: __3

I/jPCT-AE ( 3464): Object '__3_jPCT77' created using 1656 polygons and 923 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: _roubky

I/jPCT-AE ( 3464): Processing object from 3DS-file: __

I/jPCT-AE ( 3464): Processing object from 3DS-file: _roub_4

I/jPCT-AE ( 3464): Object '_roub_4_jPCT78' created using 350 polygons and 268 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: _roub_3

I/jPCT-AE ( 3464): Object '_roub_3_jPCT79' created using 350 polygons and 268 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: _roub_2

I/jPCT-AE ( 3464): Object '_roub_2_jPCT80' created using 350 polygons and 268 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: _roub_1

I/jPCT-AE ( 3464): Object '_roub_1_jPCT81' created using 350 polygons and 268 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: Capsule

D/dalvikvm( 3464): GC_CONCURRENT freed 1109K, 19% free 15610K/19207K, external 1625K/2137K, paused 2ms+1ms

I/jPCT-AE ( 3464): Object 'Capsule_jPCT82' created using 2160 polygons and 1194 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: __2

I/jPCT-AE ( 3464): Processing object from 3DS-file: __5

I/jPCT-AE ( 3464): Object '__5_jPCT83' created using 1188 polygons and 739 vertices.

I/jPCT-AE ( 3464): Processing object from 3DS-file: ___

I/jPCT-AE ( 3464): Name in hierarchy found: Light_Targ

I/jPCT-AE ( 3464): Name in hierarchy found: Camer

I/jPCT-AE ( 3464): Name in hierarchy found: Camera_Tar

I/jPCT-AE ( 3464): Name in hierarchy found: ____1

I/jPCT-AE ( 3464): Name in hierarchy found: rca

I/jPCT-AE ( 3464): Name in hierarchy found: stojan

I/jPCT-AE ( 3464): Name in hierarchy found: ____

I/jPCT-AE ( 3464): Name in hierarchy found: __7

I/jPCT-AE ( 3464): Name in hierarchy found: Cylin2

I/jPCT-AE ( 3464): Name in hierarchy found: Cylin1

I/jPCT-AE ( 3464): Name in hierarchy found: Cylin3

I/jPCT-AE ( 3464): Name in hierarchy found: __4

I/jPCT-AE ( 3464): Name in hierarchy found: Cylinder

I/jPCT-AE ( 3464): Name in hierarchy found: Cylin

I/jPCT-AE ( 3464): Name in hierarchy found: ___NURBS

I/jPCT-AE ( 3464): Name in hierarchy found: ___1

I/jPCT-AE ( 3464): Name in hierarchy found: ___2

I/jPCT-AE ( 3464): Name in hierarchy found: mikro

I/jPCT-AE ( 3464): Name in hierarchy found: Extrude_NU

I/jPCT-AE ( 3464): Name in hierarchy found: __3

I/jPCT-AE ( 3464): Name in hierarchy found: _roubky

I/jPCT-AE ( 3464): Name in hierarchy found: __

I/jPCT-AE ( 3464): Name in hierarchy found: _roub_4

I/jPCT-AE ( 3464): Name in hierarchy found: _roub_3

I/jPCT-AE ( 3464): Name in hierarchy found: _roub_2

I/jPCT-AE ( 3464): Name in hierarchy found: _roub_1

I/jPCT-AE ( 3464): Name in hierarchy found: Capsule

I/jPCT-AE ( 3464): Name in hierarchy found: __2

I/jPCT-AE ( 3464): Name in hierarchy found: __5

I/jPCT-AE ( 3464): Name in hierarchy found: ___

I/jPCT-AE ( 3464): Object '____jPCT84' created using 34 polygons and 36 vertices.

D/dalvikvm( 3464): GC_FOR_MALLOC freed 1210K, 20% free 16139K/19975K, external 1625K/2137K, paused 12ms

D/dalvikvm( 3464): GC_FOR_MALLOC freed <1K, 17% free 17031K/20487K, external 1625K/2137K, paused 14ms

I/jPCT-AE ( 3464): Memory load object micro done.

I

EgonOlsen

jPCT doesn't make this up. If it finds this texture name, it's defined in the file...

guillaume