So, help me, how i can draw a diffrent texture for ecah face?
And why back textures like a mirror? should i have a direction for back faces?
And why back textures like a mirror? should i have a direction for back faces?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: EgonOlsen on June 16, 2011, 09:47:32 PMOk, i understood, what i can scale by use another values.
You could, but it's worth the hassle. Objects created by the Primitives class are meant to be used as simple place holder objects to try things out. They are not meant to be used for "real" applications unless you can live with the fact that they have no textures assigned.
To scale in that code simply by using other values than -+1
"Texture must be a triangle?"...i don't get that question. What do you mean with that?
Quote from: EgonOlsen on June 16, 2011, 08:06:30 PMSo, with primitives i can't cover all cube by the different textures?
A simple cube can also be done in code pretty easily. The objects generated by the Primitives class don't have any uv-mapping. See this thread: http://www.jpct.net/forum2/index.php/topic,393.0.html. It also contains some code at the end to create a cube with proper uv-mapping.
Quote from: Alexey on June 16, 2011, 05:13:44 PMCan you make a little example?
You can use UV mapping
Page created in 0.017 seconds with 8 queries.