Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Making a custom exporter for Blender...

Author
Message
GregA
15
Years of Service
User Offline
Joined: 21st Jun 2011
Location:
Posted: 7th Aug 2011 16:53 Edited at: 7th Aug 2011 22:35
Basically I am tweaking Blender into a level editor for my game.

Also, I have a tendency to be a completionist...

Right now I am looking at SET VERTEXDATA DIFFUSE, and it seems like between texture data and modern pixel shaders this is a hold over from fixed function pipline days, and I could skip this...

But then the completionist OCD kicks in...

So... DirectX and Blender store vertex colors differently. Blender stores Diffuse Vertex colors per face vertex, and DirectX stores it per vertex. I could tweak my exporter to make a compatable model, but then each vertex would be replicated many times in the final DirectX model...

I feel like I have tunnel vision and can't make an appropriate decision. When I get to higher levels of my game, realistically will I ever want Diffuse vertex colors?


On Edit:

Nevermind, I need to rethiink anyhow, I need to make a vertex for every corner of every face anyhow...

Login to post a reply

Server time is: 2026-07-10 12:02:50
Your offset time is: 2026-07-10 12:02:50