Comming with additional notes from my old searchings into the issue: illum has 3 allowed values: 0: only the kd value is considered, lighting disabled. 1: ka & kd, lighting on 2: ka, kd, ks, ns, lighting on
Textures are defined by: map_k? <file_name>, where a: ambient light textures d: diffuse textures s: specular textures Additional textures can be specified with: map_bump -bm <factor> <file_name>: defines a bump mapping file. <file_name> is a b/w texture file with values representing height. <factor> is the scale factor of the height values. map_refl -type <type> <file_name>: defines a reflection map. <type> the relection type, I only know about "sphere", but probably some others might be supported. Hope that helps you, Florin -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Kevin Glass Sent: Dienstag, 4. November 2003 08:43 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] .mtl file format specification OBJ FILE FORMAT: http://www.wes.hpc.mil/faq/tips/vis_tips/obj.htm MTL FILE FORMAT: http://www.wes.hpc.mil/faq/tips/vis_tips/mtl.htm Kev > At the moment I'm developing a .obj file loader for J3D (which works > better than the one from Sun). I already have a specification for the .obj > file but not for the material definitions. So does anybody know where to > get a specification for the .mtl file from? > > Michael > > -- > Virtual Worlds Productions > Software Development Group > http://www.virtualworlds.de > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff JAVA3D-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". > -- 'Current' Project: Home Page: http://www.cokeandcode.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".