# Tag Info

## Hot answers tagged maya

50

Triangles have many properties that make them easier, and therefore faster, to draw. Four points or more may not be on the same plane, but three points always are (ignoring degenerate cases). This has the interesting property that scalar values vary linearly over the surface of the triangle. Even when the triangle is projected on the screen, scalar values ...

50

The bottom line is Triangle Rasterization, which is how computers render objects to the screen. Though others say it more elquently than I: All 3D objects that we see on the computer screen are actually made of tiny little geometrical objects often called primitives. Quadrilaterals, triangles, n-gons etc. are example of primitives. We will concentrate on ...

9

In doing a similar project, I found the SketchUp modeling program to be excellent for copying existing architecture. That's what Google originally meant it for after all. Here's an account of how I did this: Outsides SketchUp's Photo Match feature (tutorial video) is an absolute killer. It lets you to do this: Load in a photograph of the real ...

8

Three points (a triangle) ALWAYS define a flat plane. In other words, given any three points, you can always create a flat plane that can cut through all three points. However the same is not always true of four points. You can have four points all on a plane, but you can also have four points that aren't on a plane.

7

Judging by the fact that you can arbitrarily choose between two \$3500 tools to work with, I guess the price doesn't really matter. I don't really think it matters which of the two you use -- I'm sure some UIs/workflows will just click better with some than others. It seems like you're asking for advice between using a mechanical pencil or a wooden pencil ...

6

It's not "game engines" that do this - all the 3D software you use does this. It just doesn't tell you about it, and your professor seems fairly under-qualified if he doesn't know this. They exist in the computer's memory even if the software is hiding them from you. All 3D programs have an option that will make the triangles visible. They will also have ...

5

Maybe it's just a language barrier but there seems to be some misunderstanding here. Maya and Max are 3D model authoring tools. Either one of these are going to spit out models that pretty much whatever 3D engine you want can use. It doesn't matter what platform it's going to be on. How else would you author 3D models for your 3D engine? As far as "...

5

If you want seamless looping animations, create your animations so that the start of the loop is the same pose as the end of the loop. Then when one loop ends, you can simply start playing the second loop without needing to make any changes. Alternatively, you can blend between the two animation poses. This is where you'll use your blendTime value. Spanning ...

4

Fur is usually implemented as a render effect -- there isn't a 1:1 correspondence with geometry, although geometry may be used to achieve the effect (textured polygonal strips, for example, or the newer and better looking 'shells and fins' methods), so there isn't really anything to export unless you were you convert the fur representation to 3D geometry. ...

4

The issue was due to z-fighting in an inaccurate depth buffer. The reason the depth buffer got inaccurate was because your camera's near and far clipping planes had gotten too far apart. Basically, the depth buffer has a limited number of possible depth values that are spread out between the near and far clipping planes. Thus as the clipping planes get ...

4

1) select polygon 2) Edit Mesh->Extrude

4

Maya creates objects in a proprietary file format, and the approach to convert these objects in a way that can be read in C++ is very open-ended and left for the user to decide. Since you don't give much detail, I think using the ASSIMP library is the most straightforward solution. Maya supports export to OBJ (and I think 3DS, I'm not sure though), which ...

4

Maya isn't the only 3D modeling package supported by Unity. Basically, anything that exports to .fbx will work (Unity imports that file format). The other most common options are 3ds max and Blender, the latter of which is open-source. But again, any tool that exports to .fbx (which is most 3D modeling software) will work.

3

It is always the responsibility of the animator to not position the character in such a way that their bodies interpenetrate. The software can only do so much for you.

3

Trying to help here, but need more info. This is a typical problem, but causes can be several. Are you sure Uv mapping is done? The size of the texture wont help if the UV mapping is badly set, so it could be just mapping a small piece of the texture, and that is why it shows so big pixels. Check that the UV mapping is good and correct, first of all. A ...

3

The matrix I'm using is a row-major matrix used by OpenGL. Here's what it looks like: [ X1 Y1 Z1 WX ] [ X2 Y2 Z2 WY ] [ X3 Y3 Z3 WZ ] [ TX TY TZ CZ ] What you have is actually three matrices: a rotation matrix, a scale matrix and a translate matrix. This is because virtually any 4x4 matrix can be broken down to two or more matrices that together form the ...

3

I have used Maya in a production environment for several years as an artist, across multiple versions, and I have to say that learning a newer version of the program is going to be more beneficial than sticking to 6.5. If you are truly serious about getting back into the program I would recommend that you shop around and find an updated textbook- the ...

3

Maya should be fine for the purpose. Some people like to use Max for games instead, but if you know Maya, stick to that. As to your second question - as long as you only have one (or a few) models, you can stick to a simple rule of thumb. Don't add any polygons that you don't need. By that I mean that if you have a more or less flat surface, and it's split ...

3

You make the model however it needs to be made to appear correctly and/or animate correctly. The collision shape does not need to be the same as the model and the collision shape can be a combination of multiple different shapes. If the inside of the cube is to be collided with, you can create collision shapes that just occupy the solid parts of the model, ...

3

Most professional modelers have little expectation that the model in-game is going to look exactly like it does in Maya. The engineers have a very strong responsibility to provide tools for very quickly visualizing models using the game's rendering engine. This may be by allowing models to be re-loaded in game so there's no long shutdown/startup process to ...

3

You can change your scale to meters in preferences/settings. From the Create menu select the little square next to polygon/cube which will bring up the options, change your size in the Single-click settings to 1x1x1 then single click on the grid to place a 1x1x1 cube.

2

A triangle is the simplest primitive that can be described in isolation because it has three points, fewer than which do not describe a surface in 3D. Because a triangle can be considered in isolation, it is possible to make a piece of code or silicon that is capable of rendering only a single triangle, which via the power of repetition can render any ...

2

If we assume that getting 4 points to be co-planar is not a problem (it is, as the others have pointed out, but bear with me) then you find that rendering an arbitrary trapezium (which is what a quadrilateral will usually look like when transformed into screen space) is not particularly different from rendering a triangle - in fact, it pretty much works out ...

2

As long as the triangle is defined by three non-colinear vertices (read: none of the angles are exactly Pi), then the vertices define a unique plane. A quad is, of course defined by four vertices. It's perfectly possible for those vertices to be non-coplanar. In that case, your quad would really be two triangles divided by a diagonal on the quad. That's ...

2

There's only one way to triangulate a triangle vs. 'n - 2' ways for an n sided polygon. So, triangles are ultimately the least ambiguous way to define a polyhedral shape. Also, as other posters have indicated, there are lots of ways to accelerate triangle (rather than quad or higher) rasterization (constant z is one of my favourites). Also, it's easier to ...

2

Saving it as a very simple text format or binary (wavefront obj is a common one) and then parsing it in the usual way. This is exactly the same as any other data parsing task. A vertex buffer object is essentially just an array of data that's held in video card memory. You'll probably want to read the data into system memory first and then convert it to a ...

2

I suggest you use kw X-Port for 3DS Max, as it's specifically made for use with XNA.

2

I just wrote my own exporter to my own custom format by reading and messing around with stuff from Rob the Bloke's site. I haven't actually tested exported joints yet but according to my sources and current work they are not stored in the simple XYZ like your mini format prints out. Instead each poly is given a weighted set of transforms and the transforms ...

2

Solid characters doesn't mean much, computers aren't that smart yet :). You likely want to implement collision detection. Each character would have self collision detection and collision detection against other characters. You'd also create procedures to stop body parts from going further when a collision is detected. Unfortunately, this isn't generally ...

Only top voted, non community-wiki answers of a minimum length are eligible