Triangles are almost always kept in groups of two.
It seems odd to me that one of them cannot be stretched to cover both of them.
(Here, a crappy diagram)
Is the reason computers don't draw groups of 2 triangles like this because it would burn through texture memory? (Or maybe this only makes sense in my head...Although I'd gladly have half the texture memory and twice the polygons.)
I have two unrelated questions, but I'd rather not clutter up the forum and post them in one place.
Do you guys know of any tools made specifically for texture baking?
As for as I know, Wings 3D doesn't support it. I'd rather not learn to do it in blender, if possible.
And second, I forgot second.
Replies
Not to mention the fact that it's completely changing how your mesh looks...
To answer your other question, XNormal is a specific texture baking tool.
*Modeling would become the most painfull experience in the world ever. how on earth would you control the shape of your quad? you have 3 control points for a 4 sided face. what about ngons?
*No face would share vertex normals so no smooth shading
*The model would take more ram because every vert would have a unique Normal/texture coord.
* This would waste masses of texture memory and texture memory is more of a restricting factor than poly count.
*Sorting transparent faces is expensive and it would be very slow to render.
*Things like shadows would be more expensive because they'd have to take into account transparency.
And then apply an alpha map to make all the corners that point out of the cube invisible?
Even if you did do that, you'd have to unwrap each face as it's own shell and then somehow figure out how to lay them out in a logical way for texturing, while keeping in mind which corners need to be alpha'ed.
This is just a cube... I'd love to see how you manage to make anything interesting with this method! The workflow will be a nightmare.
It was just an idea ._.
I can see it being used for things like particle FX where you might use tris instead of quads but that's hardly ground breaking.
How would you handle deformation?
How would it handle normals when your defining a corner in the middle of a triangle, but without a vertex?
Noidea, I like your user name.
I'm trying to figure out why on earth you would think in this way. Just guessing that, like many new artists, you have the idea that less tri's is always better. You haven't confirmed this in your reply yet, but I'll just go ahead and say that really isn't true, and that there is a lot more at play here than simply the tricount.
Things like workflow, how easy it is to create a mesh, in all aspects. Sometimes it's easier to use more tri's so you can unwrap easier or bake easier, making it worth the tri premium. Sometimes it's even worth it to use so many tri's that you don't need textures anymore, like the cars in games such as PGR or GT. Sometimes it's better to combine many small items into a bigger one, to reduce drawcalls at the cost of higher tricount (things like a fence). You also need to consider the speed of current hardware, where there is a "bottom limit" tricount, a point from where lowering an object's tricount won't affect rendering speed anymore.
...usefull enough for you now ?
(to put things very broadly, just think that once one triangle is written, the next adjacent one only needs one vert to be defined since one edge+1vert=1triangle. If everything was broken the way you suggest, you'd need ALOT more points stored since you couldn't reuse anything... Cube your way : 18 consecutive verts)
Now I would have been much more impressed if you actually tried building something like that! Yo gotta test your ideas to the end hehe!
(btw when I was 10 or so I was certain that duct-taping down the A and B buttons on my soon to be given gameboy would let me win at any platformer by casually pressing the right arrow only hehe. Thinking outside the box FTW!!!)
Edit: also, every quad would end up being perfectly flat. You could control orientation, but there could be no bend defined within the two reconstructed triangles.
Welcome to the Asylum NoIdea
Pior: gotta try that with my motorbike.
I agree, be friendly to new people and ideas is a good way to go. But when they get a little uppity... well polycount only has so many cheeks.
Some of the best innovative ideas start off as hair brain ideas but then turn into something great because someone has the follow through to keep vetting and refining the idea.
You could actually be doing more harm than "us buzzards" by calling it a silly noob idea. It might very well be just that, but we could see where it goes by asking questions and brainstorming.
Asking someone to defend their idea isn't picking on them, its helping them to refine it.
Sooo... Knowing you can fit a quad inside of a tri, how can we use that in game development?
The only idea I have so far is to use slightly larger triangles instead of quads when doing simple things like particle FX or possibly grass, leaves, bushes maybe even decals? There is a chance that you could double the tri count of bushes, leaves and particles which could be a pretty significant impact visually?
That brings up new questions:
1)To get a quad you have to use a pretty big triangle, which means some wasted space? Maybe stretching and distorting the UV's would utilize more of the space? Maybe scale the tri up so it covers 3 tiles putting 3 particles on one tri? For some effects that could be helpful.
2) The opacity map isn't all that tight, meaning you could have large alphas causing a lot of sorting because they aren't as tight.
3) More particles probably means more behind the scenes math, tracking their birth, death collision if any, that could get heavy with more?
When you think about it for every sprite on a sheet you would be wasting enough room for an additional sprite because of the bleed space needed to mask out the triangle.
It could work in offline rendering pretty well i guess as the amount of cached geometry would be halved
As one example, even ignoring texture memory considerations, it is far cheaper overall to model out an empty window frame than put it on a single quad and mask out everything but the frame. Even when you are using a 1-bit alpha test. Because for each masked out pixel the renderer has to test both the window frame quad's shader for whether that pixel is masked, then in a second step test the unoccluded object and run its shader. If you use only geometry it only has to process 1 pixel shader instead of 2.
Something like that^
Depending on the particle type you could get a few particles on each tri. You can get creative with the texture and the sheet to utilize more of it. With them swirling around and churning you probably won't notice that 4 particles are moving in unison.
The same trick can be applied to bushes and leaves too. You just need to know that your texture is separated diagonally into two chunks.
If you're mapping the tri to 0-1 space its going to be a huge waste, I agree but in some cases it might pay off, like above MIGHT work out better, with 4 visual particles to every engine particle.
Notice you get one green for every 3 black, so green could be a fiery sprite and black a smokey sprite. If you control the rotation and pivot of the tri correctly you can pull off some neat effects, like fire on the inside and smoke on the out.
I'm almost positive that this happens all the time in a lot of games which is why I said it wasn't new or ground breaking. Its probably easy to do with quads too. In fact you could probably move the two tris of a quad around on the UV tile to get a bunch of different flavors of particles from one sheet.
I'm not saying it will work for everything but it could work well in certain scenarios, specifically with particle FX where you have more to worry about than just tri count, birth/death, collision, scale and position.
Even for static stuff, 25% is still pretty good, that means for every 4 bushes, you get one? Collectively that could pay off pretty well with things that repeat often? Adding more to sort can cause a crap load of problems in some engines so may you take the saved tris and put them in the scene some other way that doesn't cause sorting issues, like an interesting land mark item?
It's not a revolutionary industry wide game changer but it could be one more tool in the tool bag if people haven't thought about it that way before.
Anyway its one way you can apply the OP idea to the industry and have it work, which is better than "LOL U R TEH STUPIZ USE QUAD! LIC MOI CAT PIC!" Which is where this thread was headed...