RGB Texture Files - I can't import a vrml model that has RGB texture maps, I get the error "java.lang.NullPointerException".

~ 0 min
2010-10-15 21:54

Live 3D CX does not understand .rgb files, you have to use .jpeg which means that you need to modify the WRL file to point to the jpeg version. Open the .wrl file in any text editor - do not use a word processor, use a text editor program - and find the section of code at the end of the file which looks like this:

 Example source: 

appearance Appearance
material USE lambert2_0
texture ImageTexture
url "untitled_file2.rgb"
repeatS TRUE
repeatT TRUE
textureTransform TextureTransform
rotation 0.000000
scale 1.000000 1.000000
translation 0.000000 0.000000

change the line which reads

url "untitled_file2.rgb"

to read

'url "Picture 2.jpeg"'

and the image map will be read into the program.

Average rating 0 (0 Votes)

You cannot comment on this entry