View Single Post
scratt
Veteran Member
 
Join Date: Jul 2004
Location: M-F: Thailand Weekends : F1 2010 - Various Tracks!
Send a message via Skype™ to scratt 
2010-05-31, 22:01

Quote:
Originally Posted by Brad View Post
And here are the 3DS versions. After some experimenting, it looked like the 3DS exports weren't keeping the color-polygon assignments. So, I split each model into one part for each color. The swarmer, for example, has two model objects: one red and one green.
Brilliant..

And you are a genius on the parts for colours stuff.
That problem occurred to me last week, but as you'd already started I decided to just see what you came up with because I didn't want to make more work for you. I was going to write a script to work around it.

But.. My engine actually expects different parts for each colour, and then either makes a vertex buffer for the entire model with colour info spliced in, or batches models and draws all the instances in one colour, and then all the instances in the next colour, and so on...

So that is perfect.

'Remember, measure life by the moments that take your breath away, not by how many breaths you take'
Extreme Sports Cafe | ESC's blog | scratt's blog | @thescratt
  quote