Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 Mar 2004
Offline Last Active May 12 2013 10:54 PM

Posts I've Made

In Topic: Two classes, same name - solution?

03 May 2013 - 01:28 PM

It doesn't look like a namespace issue, because they are showing the same namespace (a::A::A)

Could it be that the project is trying to compile the same class multiple times? (Do you have an include guard in the header?)

In Topic: Alternatives to singletons for data manager?

03 May 2013 - 01:19 PM

Ok, so a more generic version of the question: what is the best way to share the data between different classes that are completely un-related?

In Topic: Is a mesh a 3d model?

03 March 2013 - 09:25 PM

The mesh is the data describing the points that make up the object (This includes faces and edges). This is just one small part of the model.


"Model" is a generic term. It means any data related to drawing a 3d item onto the screen. Exactly what data this includes depends on the program or file format. In some case it might just be the mesh, although usually it also includes some of the following:

  • Material - the colours, shading models, and other things that determine how to apply lights and rendering
  • Textures - the images that are mapped onto the mesh
  • UV - co-ordinates that determine how textures are applied to the mesh
  • vertex groups - used to break the model into smaller chunks for special purposes
  • bones / armatures - used to link parts of the mesh to specific parts of animations
  • animations - how the mesh moves

... the list goes on, depending on what you're trying to do with the mesh.

In Topic: Making Blender files take up less space?

05 January 2013 - 09:50 PM

The difference is what actually gets saved. The 3ds file only saves the model data itself (geometry, materials, etc) while the blender file contains structures explaining the data as well (the so-called DNA structure) that guarantees both forward and backward compatibility. Add to this the workspace setup (tool settings, layouts, preferences, etc), the blender file actually contains far more data.

(To be very specific, the blender file is a direct dump of the internal data structure, while the 3ds is an optimized format to store only very specific data)

In Topic: MVC pattern question

22 September 2010 - 12:31 PM

Thanks for the reply. Just a couple of questions/comments.

How is your example different from the second example I gave, where the model does the processing.

Original post by Antheus
I don't see all that much use between following such designs too strictly in non-CRUD applications. Each of such frameworks ends up with some fatal flaw which requires horrible hacks to work around.

Thanks for the input. Right now, I'm just trying to understand the design, to see if it'll do what I need.
Original post by Antheus
Paint application works on Image. Just about every OS provides all the required functionality out of box, from drawing, editing to input handling. There is not much need for abstractions. Same applies to many other problems. MVC makes only sense if building some well-tiered framework where certain functionality may deliberately not be available.

The paint application was just an example, but even so, I'd like to keep some separation, to make it easier to port between platforms.