Page 1 of 1

Broken Wind Vertex Color

PostPosted: Wed Nov 28, 2018 10:58 am
by BOXOPHOBIC
Hello,

First of all I want to thank you for the this awesome software!!!

I recently decided to include shader support for TreeIt in one of my assets on the Unity Assets Store:
https://assetstore.unity.com/packages/v ... ers-115838
Here is a small wip preview so far:
https://www.youtube.com/watch?v=2ovhh1JXmyY

After the latest update, I noticed that the vertex color is broken on each second trinagle of a quad. It worked fine in the previous version.

https://www.dropbox.com/s/uwgrp8wrfbpqz ... 2.PNG?dl=0
https://www.dropbox.com/s/k58jape8ws71s ... 3.PNG?dl=0

I know this is a free software and I don't know if you accept requests, but I would like to ask if you could add support to render 2048 resolution branch images :D

Thank you!

Re: Broken Wind Vertex Color

PostPosted: Tue Jan 15, 2019 5:10 am
by camta005
I just had a really good look at the Elm and Maple trees exported to .dbo and .fbx and I can't see any problems with the vertex colors. I am using the current version.

vertexColors.jpg
vertexColors.jpg (31.6 KiB) Viewed 3037 times

Re: Broken Wind Vertex Color

PostPosted: Wed Jan 16, 2019 10:19 am
by BOXOPHOBIC
Hi,

I just tested the vertex color again. I also used the elm tree and I also tested on another PC, just to be sure. Same problem in 3dsmax and Unity with the latest version(both exe and zip). The problem occurs on leaves and the first loop of branch triangles.

Everything is working fine in the previous version.

Thanks!

Re: Broken Wind Vertex Color

PostPosted: Wed Jan 16, 2019 2:21 pm
by wiseguy
I gave up .FBX format because of the broken vertex colors.
Use .OBJ format instead it works ok (I used tinyobjloader to parse it).

I would guess that the .DBO file have correct (and complete) mesh data but I have not found any good parser or converter for it.

Re: Broken Wind Vertex Color

PostPosted: Wed Jan 16, 2019 3:52 pm
by EVOLVED
Any chance you can upload a .fbx (or just the file text) file from a previous version where vertex color are working correctly?

I might then be able to see what is going wrong with the current export.

edit: I think I now know what going wrong, now working on fixing it.

edit 2: TreeIt has now had an update, Should now be fixed ?

Re: Broken Wind Vertex Color

PostPosted: Thu Jan 17, 2019 7:46 am
by wiseguy
Yes it works now!

Vertex colors in FBX export are now correct.

Re: Broken Wind Vertex Color

PostPosted: Thu Jan 17, 2019 10:12 am
by BOXOPHOBIC
Yes, it is working now. Thank you!

Re: Broken Wind Vertex Color

PostPosted: Fri Feb 08, 2019 12:26 pm
by Motyka
What was the issue? Seems like you've had an epiphany there, Evolved! haha