Page 1 of 2
How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 12:18 am
by Mythros
Hi all, just as the title states, is there an example anywhere on the forums to bake a UV texture map into a vertex colored 3D model in order to achieve higher quality 3D model textures?
Thank You!
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 5:34 am
by Samuel
I'm not really sure if I understood that correctly. Is it something like normal or parallax mapping?
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 9:41 am
by Bananenfreak
hmm, or he wants Displacement Mapping?
EDIT: Do you have an tutorial for Bump- or Parallax Mapping?
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 2:18 pm
by Mythros
I basically need to turn a low quality texture into a higher quality texture. And the only way to do that is to combine both the vertex colors of a model, and the UV at the same time. At least I think.
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 2:23 pm
by Bananenfreak
Ah, i believe you mean LOD (Level of Detail). In the OGRE Wiki, there stands something about it. Just Google OGRE Material LOD or something similar...
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 2:28 pm
by Mythros
Yea, but I'd like to keep this as simple as possible. So no OGRE, I'm afraid.
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 5:28 pm
by Samuel
Bananenfreak wrote:EDIT: Do you have an tutorial for Bump- or Parallax Mapping?
I'm still working on my parallax shader, but I do have a bump shader. It's for a commercial project though, but I could set up a tutorial on one of OGRE's examples.
Mythros wrote:Yea, but I'd like to keep this as simple as possible. So no OGRE, I'm afraid.
At this time Purebasic can only use a portion of OGRE through native commands. If you don't use OGRE's features through scripts. Your going to have a limited arsenal when it comes to higher end graphics.
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 5:39 pm
by Mythros
Ok, well setting up a tutorial on how to turn low quality textures on a model into high quality textures on a model would be GREAT! Even if you have to do it with OGRE.
Thank you!
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 6:55 pm
by Samuel
I might be able to help you, but first I need to know exactly what your after.
LOD, as Bananenfreak mentioned, is the reduction or the increase of the material,mesh, or terrain when you are certain distance away. So, for a material you would use a high quality texture. Then if your close to the object you have high quality and if your far away you have low quality.
Here's a link to LOD.
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=-LOD
From what you said, to me, it sounded like you were after something different. A name for this process your after would help a lot.
Mainly because I've never heard of this process.
I basically need to turn a low quality texture into a higher quality texture. And the only way to do that is to combine both the vertex colors of a model, and the UV at the same time. At least I think.
My knowledge is rather limited.

Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 6:57 pm
by Bananenfreak
Samuel,
that would be very nice, thanks

A tutorial for it would be all what I need ^^
P.S.: Commercial project?
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 7:05 pm
by Samuel
I'm working with a company that has 3D graphics for their CAD/CAM software.
As for the tutorial I'll get started on it in a little while.
Re: How to bake a UV map into a model with Vertex Color?
Posted: Sun Sep 01, 2013 7:30 pm
by Mythros
Basically, what I'm looking for, is a way to bake a texture map onto a vertex colored model, thus allowing for instant higher quality.
I basically want to take a low quality texture, and make it high.
Then be able to save it with this change.
Thank You!
Re: How to bake a UV map into a model with Vertex Color?
Posted: Mon Sep 02, 2013 1:22 pm
by Mythros
Any luck buddy? =)
Re: How to bake a UV map into a model with Vertex Color?
Posted: Tue Sep 03, 2013 9:11 am
by Bananenfreak
Mythros, he works and wants to help you in his free-time. Let him time, he is posting the code when it´s done.

Re: How to bake a UV map into a model with Vertex Color?
Posted: Tue Sep 03, 2013 7:03 pm
by Samuel
Mythros wrote:Any luck buddy? =)
Sorry for disappearing on you. I was busy and I didn't get the chance to work on this that much.
Sadly, I haven't found anything on what your looking for. Would you happen to have any links to videos, pictures, or a sample of this?
It would make my life a lot easier if I had something to go off of.