PDA

View Full Version : Set Vertex Normal Map



Evil_Alan
02-23-2018, 08:43 AM
Setting the Vertex Normal Map in the surface editor is the only thing I haven't figured out how to do through code.
Other people have been asking about it over the years, but to no avail.
LWSurfaceFuncs has a getter, but no setter.

MSherak
02-23-2018, 12:16 PM
Setting the Vertex Normal Map in the surface editor is the only thing I haven't figured out how to do through code.
Other people have been asking about it over the years, but to no avail.
LWSurfaceFuncs has a getter, but no setter.

Check this posting

http://forums.newtek.com/showthread.php?155553-2018-Vertex-Normal-Map&p=1533651&viewfull=1#post1533651

Evil_Alan
02-26-2018, 06:43 PM
I checked it out and didn't see any code there.
That's really what I'm after.
Someone figured out how to do it in C using ObjectLoader, but I couldn't find anything similar for Python.

MSherak
02-27-2018, 02:03 PM
I checked it out and didn't see any code there.
That's really what I'm after.
Someone figured out how to do it in C using ObjectLoader, but I couldn't find anything similar for Python.

ah...

Sensei
02-27-2018, 02:22 PM
You could try making .lwo by hand, write it to temporary file, then load it, and delete file..

ps. Do you need it for your own company? Or are you intending to sell it commercially?