Model loading

New releases and general discussions.

Post » Sun Jul 18, 2010 7:18 pm

Hi,

I wonder if it is possible that instead of loading a model with a texture, a 3D model is loaded with the materials chosen in a modeling program. I want to know this, because it is not always possible to have a single texture that acts as a skin for the model, and I would prefer it was possible to apply different materials to the 3D model that contain only the color information of each part of the model. Is it possible without having to create a single texture for the whole model?
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Post » Sun Jul 18, 2010 8:56 pm

It would be nice, but it probably wont look very good since there is no 3d lighting.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Jul 18, 2010 9:28 pm

Yeah, I know, but it would be nice even without lighting, especially for creating some kind of cartoonish effect on 3D models.
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Post » Wed Jul 21, 2010 5:33 pm

Most games only work with a single texture called a skin.It's very difficult to create different textures on a single mesh.I think there would be huge performance loss if a single mesh has multiple textures.Why not render the model with lighting enabled in your rendering program first and then output the render as a png file.At least it will be 2.5d.
B
2
G
2
Posts: 41
Reputation: 732

Post » Wed Jul 21, 2010 11:33 pm

Apart from when you require a tiling texture on part of a model, there's really no need to go for more than one texture per model.

Multiple texture files can have an adverse effect on performance.
This is obviously engine specific, but as an example, for a game like Trainz, where hundreds of pieces of custom content are streamed into the game as you play, if many of those assets have multiple texture files, it can really effect performance.
For that particular game, I make sure that my models all use a single texture file, except where tiling is required along both axis, in which case you have to use a separate texture.

However, in a construct game, I can't see performance being a problem with multiple texture files, because you have total control over the amount that are used.
There's still no excuse for using multiple texture files though, and it's good housekeeping to get into the habit of building up your textures with all the pieces you need.

As I've said in a couple of threads now, I'd like to see embedded textures like .x DirectX models have, and seeing as assimp supports .x, it should be possible.
I didn't get a response to that question from the Devs in the latest release thread, and I haven't had time to test it myself (too busy with Android), but I'd like to think that it's going to be added to the 3D object, if it isn't already in there.

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Jul 22, 2010 1:49 pm

[quote="KrushBrother":35qo1s4q]it's good housekeeping to get into the habit of building up your textures with all the pieces you need.[/quote:35qo1s4q]
Yup, there's no real reason to have multiple textures per model in a simple construct game.

[quote="KrushBrother":35qo1s4q]I'd like to see embedded textures like .x DirectX models have[/quote:35qo1s4q]
What advantage does that give you over what Construct has now?
B
77
S
49
G
25
Posts: 346
Reputation: 17,409

Post » Thu Jul 22, 2010 2:06 pm

[quote="UberLou":1x195bme]What advantage does that give you over what Construct has now?[/quote:1x195bme]
Nothing more than not having a few more files hanging around really.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Jul 22, 2010 4:22 pm

I never said I want multiple TEXTURES. I said I would like multiple MATERIALS, and by materials, I didn't mean TEXTURES, but only the COLOR data of a material.



This 3D model have no textures, just materials with color, and eventually, shininess data.
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Post » Thu Jul 22, 2010 7:15 pm

Don't think something like this would work. You would need some kind of converter to translate the internal Max Shader into a readable format for Construct.

I am not a big fan of 3D in Construct anyway. We should focus on 2D stuff and try to improve in this field(2.5D depth rendering) and not opening a new one which has a ton of great tools to work with allready.
B
3
G
3
Posts: 33
Reputation: 941

Post » Fri Jul 23, 2010 1:15 am

You don't understand what I meant. I know I will NEVER make something like that shown in the image. I don't want phong shading. I don't want 3D shadows. I don't want any of the effects that you can find in the image. I just want a 3D object without textures, without a skin, but just with simple colors for every mesh in the 3D object. Colors. Colors. Simple, genuine, colors without textures. Color information. Color data. Am I so bad at explaining things? Please, tell me.
B
2
S
1
G
3
Posts: 193
Reputation: 1,486

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests