• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 2 3 4 5 6 … 35 Next »
custom vertex colours in Collada export.

 
  • 0 Vote(s) - 0 Average
custom vertex colours in Collada export.

slight
Offline

Junior Member

Posts: 12
Threads: 5
Joined: Mar 2019
#1
11-15-2020, 09:18 AM
I've already figured out and stepped around the problem and it is extremely niche and doesn't really need fixing, but since I spent a few hours pulling my hair out, figured I would post here maybe give you wings devs a chuckle..

I've been exporting models with vertex colours for some time in Collada format. Today, I imported a palette from a 2D pixel art app, I had to do the conversion manually in a spreadsheet, dividing byte values by 255, adding commas etc. it loads up fine in wings, everything is working great, until it comes time to export.

Exporter crashes with the message "bad args" in the log. After a lot of trial and error, the short version is: the collada exporter has a string parser the casts "0" or "1" to ints instead of floats, and the next part of the exporter chokes on those ints, and while I *had* done search and replace from " 0," to " 0.0," etc in the palette file, I must have been distracted in the middle of that task and skipped the replace on " 1}" > "1.0}" That left about 20 time bombs in the palette that only go off when saving a file, sometimes, and me testing things like maximum number of colours, maximum palette index etc. Fun times. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
custom vertex colours in Collada export. - by slight - 11-15-2020, 09:18 AM
RE: custom vertex colours in Collada export. - by micheus - 11-16-2020, 03:39 PM
RE: custom vertex colours in Collada export. - by micheus - 11-17-2020, 09:58 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode