Does it work the way I think it does.

View previous topic View next topic Go down

solved Does it work the way I think it does.

Post by LabRatAndy on Mon Aug 20, 2012 10:22 pm

Just a quick question, to help with an ongoing project.

Is a createmeshbuilder section of an object limited to 1 "material" ie. group setcolor, loadtexture,etc. commands or can it have more than one? I feel that it cannot but want to check.

LabRatAndy

Posts : 95
Join date : 2011-08-29

Back to top Go down

solved Re: Does it work the way I think it does.

Post by Dexter on Mon Aug 20, 2012 10:35 pm

From my experience it only allows you to create one piece of an object (one cylinder, one square or whatever). If you put only one "CreateMeshBuilder" and try to put more geometrical objects afterwards, only the very last one will be visible.
avatar
Dexter

Posts : 1791
Join date : 2011-07-08
Age : 31
Location : Brno, Czech republic

http://www.brnobve.eu

Back to top Go down

solved Re: Does it work the way I think it does.

Post by graymac on Tue Aug 21, 2012 4:02 pm

Derryck's right. I've never found a way to use more than one texture on a mesh. Of course, the mesh can have a great number of vertices. It really seems like the rule is "One texture/color/transparent PER mesh.
avatar
graymac

Posts : 1737
Join date : 2011-08-28
Location : Co Mayo, Eire

http://www.celtictrainsim.com

Back to top Go down

solved Re: Does it work the way I think it does.

Post by LabRatAndy on Tue Aug 21, 2012 7:03 pm

Thanks guys.

It looks like it works how I thought it did.

LabRatAndy

Posts : 95
Join date : 2011-08-29

Back to top Go down

solved Re: Does it work the way I think it does.

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum