I have figured out a solution. The steps are as the following, the core file
for the solution lies in OutputStream::writeImage function.
1. To write a image (e.g., *.jpg) inside a file, we need the WRITE_INLINE_FILE
mode, which is set by
Code:
osgDB::Options options;
options.setOptionString("
Hi,
I am currently doing some preprocessing with textured meshes and save the
output node to another file.
The input node is osgb and has texture information embedded. However after
SmoothVisitor and using the writeNodeFile to another osgb file, the texture
file is missing.
The same problem a
2 matches
Mail list logo