Hey mom, look another post from this blender-python-programmer-wannabe.
I hope not to be OT. In case, just be patient.
This post is a halfway a “teaser” and a request for clarification on APIs.
All started trying to import some LWO models, and ended up tweaking the very clean lightwave importer code to grab materials, uvmaps and textures from lwo files.
The goal is to release the code as a contribution to the already excellent importer (thanks Anthony).
I’m nearly halfway. This is an example of object imported.
(edit by mod, c&p) http://uaraus.altervista.org/dload/piano.jpg
Note: this is the result of the importer, and has not been altered in any way
(scaled and grabbed to fit camera view)
Some more examples on:
(credits for models in the News page)
I need to fix the following before evaluating a code release
* fix sub-surf - actually they are imported but are a little messy
* trying a modified fanning algo for concave polys
* fix problem with transparent materials %|
(parameters are ok, but materials are not transparent at all)
While uvmaps work (well, hoping so …) other texture mappings do not.
Maybe I’ve missed something but I cannot find the API calls to set
* texture rotation
* texture offset
* axis mapping
* type of wrapping (flat, cube, cylinder …)
* influence on normals
Oh, btw, in your knowledge, there is some known bug opening BMP image format? In Blender they result like “tilted”.
I had to convert all the images in png (ok, they could be better, but it’s so annoying)
Thank you in advance