Art of Illusion .obj files are flat color?

isaiah658
Member
 
Posts: 14
Joined: Sun Jan 24, 2016 14:58

Art of Illusion .obj files are flat color?

by isaiah658 » Thu Nov 03, 2016 00:10

Has anyone else used Art of Illusion to make 3D shapes/meshes for Minetest? I really like the simplicity of it, but all the .obj files that I'm exporting show up as a flat color in Minetest. For example I make any kind of shape such as a cube, circle, etc and then in Minetest instead of the texture it is a flat color. The color is related to the texture for it. For example a brown wood texture will show as a flat brown color.

To tried troubleshoot this more. I took the stair .obj file from minetest_game and imported it into Art of Illusion. Without editing anything I saved it right away with a different name. Same problem occurred. It must be a setting with in Art of Illusion. I've never really worked with 3D modeling before. Any clue as to what it might be? I might just have to find a different editor sadly.

Edit: When I say texture I mean the texture that I specify in the LUA code and not textures/materials in the 3D modeling program.
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: Art of Illusion .obj files are flat color?

by Napiophelios » Thu Nov 03, 2016 01:46

to define the surface properties based on 2-D images;
select : Scene->Textures and choose Image Mapped texture from the "New" menu.

Review the help guide for the subject:
http://www.artofillusion.org/docs/AoI%2 ... #image_tex

EDIT: Art Of Illusion is okay to learn the basics of 3D stuff,
buts its best to suffer thru and just learn to do things with Blender.
 

isaiah658
Member
 
Posts: 14
Joined: Sun Jan 24, 2016 14:58

Re: Art of Illusion .obj files are flat color?

by isaiah658 » Thu Nov 03, 2016 02:32

I would have thought that the object file isn't associated with a texture. How does the stair model work with all the different textures that get specified? Isn't the object file just the shape and then Minetest can take a texture and wrap it around it?
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: Art of Illusion .obj files are flat color?

by Napiophelios » Thu Nov 03, 2016 02:55

AoI objects might not be compatible with Minetest.
I toyed around with the program but didn't put much into it.
So I don't really know.

Search Youtube for: Blender UV mapping / unwrapping
I think that is what you are after.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Art of Illusion .obj files are flat color?

by kaadmy » Thu Nov 03, 2016 20:31

Minetest doesn't use the materials specified in the .mtl file, they have to be defined in Lua.
Never paint white stripes on roads near Zebra crossings.
 

isaiah658
Member
 
Posts: 14
Joined: Sun Jan 24, 2016 14:58

Re: Art of Illusion .obj files are flat color?

by isaiah658 » Thu Nov 03, 2016 22:33

kaadmy wrote:Minetest doesn't use the materials specified in the .mtl file, they have to be defined in Lua.


I mentioned in my first post that I'm referring to textures specified in Minetest and not materials or textures in the modeling software.
 

isaiah658
Member
 
Posts: 14
Joined: Sun Jan 24, 2016 14:58

Re: Art of Illusion .obj files are flat color?

by isaiah658 » Fri Nov 04, 2016 02:00

After doing more testing I guess Minetest only likes .obj files created in Blender. Might just find a way to convert them to the right format without needing Blender.
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: Art of Illusion .obj files are flat color?

by Napiophelios » Fri Nov 04, 2016 02:14

I have tested with AOI Blender and Nodebox editor...all have the results you describe
if you just use lua with a mesh object; you have to do the UV process.

Here are some quick Blender Tutorial videos by NathanS:
https://www.youtube.com/watch?v=645zSeZMU6w
https://www.youtube.com/watch?v=HFir6i1 ... e=youtu.be
https://www.youtube.com/watch?v=Oca9JCN ... =autoshare

sorry I can't be more helpful, I am also in the process of learning this stuff :)
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 77 guests

cron