- April 5, 2009 at 7:16 am #29757
It appears the PVRGeoPOD/3dsmax9 exporter doesn’t export vertex colors correctly. It drops the blue and alpha color channels, only exporting red and green. I tried a variety of export modes for color (ARGB/RGBA/float/etc) and all exhibit the same behavior.
gfm 2009-04-05 07:17:05April 7, 2009 at 12:23 pm #32908
This is being covered by email as mentioned in the thread here: https://www.imgtec.com/forum/forum_posts.asp?TID=287&PID=1008#1008April 18, 2009 at 7:43 am #32909
The thread you’re referencing is a separate issue… sorry I wasn’t clear. I didn’t know the exporter changed so significantly between 2.02 and 2.04. This thread is for color export problems with the 2.02 exporter.April 18, 2009 at 8:12 am #32910April 21, 2009 at 11:52 am #32911
ScottModeratorgfm wrote:Files that repro the problem have been emailed to email@example.comHi,Re-exporting your colourful cube with plug-in 2.02.22.0755 using ARGB for colour works fine for me in my test app. I’m using Max 2008, which version are you using? Also, what values are you passing to glColorPointer?Thanks,ScottApril 21, 2009 at 5:43 pm #32912
I’m using Max 9. Maybe that’s the problem?
I observed the A and B channels weren’t exporting properly by looking at the binary data in memory (after of course, many hours thinking I wasn’t setting up glColorPointer correctly). In ARGB white exports as 0x00FFFF00. In my example the blue vertices are exported as transparent black, 0x00000000.June 14, 2009 at 7:00 am #32913
I have the same problem with 3dsmax 9, I have to export the model to collada then extract the vertex color and insert in the POD file.July 3, 2009 at 5:01 pm #32914
I believe work on this issue is ongoing, but it should be improved in one of our next releases.