www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Klaudiusz on June 16, 2007, 07:30:39 pm

Title: AdditionalColor directly from Loader?
Post by: Klaudiusz on June 16, 2007, 07:30:39 pm
Hi,

Can loader read the color information for every part of object3d (i mean 3ds file)?
I know it is possible to set it by hand,but maybe there is a way to set it automatically? It could be usefull, sometimes only color+gouraund shading is enought for me.
Title: Re: AdditionalColor directly from Loader?
Post by: EgonOlsen on June 16, 2007, 07:59:15 pm
If the model (or part of it) has no texture, a colored texture in that color will be generated automatically. If it has texture, that one will be used. If you want colors only, don't assign a texture.
Title: Re: AdditionalColor directly from Loader?
Post by: Klaudiusz on June 16, 2007, 08:02:11 pm
Great. Thanks