when I create a new sphere inside given building in example using 3d max and assign some color to it.WHen I run it using JPCTDemo.java...color is missing..instead whited texture is added....can anyone tell me how to color ...plzzzzzz
If it has a texture assigned in 3ds, you have to load that texture in the application too and assign the correct name. Just like you did with the QLxx.JPG textures. If it has no texture assigned, it has to have a diffuse color in 3ds to make jPCT coloring it. In both cases, the log should tell you what jPCT did when loading it.
is there any problem lying with jPCT in displaying color?
I have not assiogned anyu texture to it.But I assigned a color to it using 3ds..it is showing color properly after rendering but its showing default white color when I run the prog...
hey plz help me out.....
Please post the log that jPCT prints out when you are loading the object. As said, it supports textures or diffuse color. If your color in 3ds is coming from something else, it will be ignored.
so pls just guide me how to add diffuse colour to an object,...i think i am making mistake there only