My3D Tools v.3.1 released (with Gile[s] exporter)

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
ZDimitor
Posts: 202
Joined: Fri Jul 16, 2004 3:27 am
Location: Russia

My3D Tools v.3.1 released (with Gile[s] exporter)

Post by ZDimitor »

My3D Tools
This toolkit allowing to export lightmapped scenes from 3DSMAX and Gile[s] directly into Irrlicht

-----------------------------------------------------------------
My3D Tools v.3.1 - tools list:
-----------------------------------------------------------------
1) Irrlicht loader - tool for loading into Irrlicht lightmapped scenes from *.my3d format
2) 3DSMAX5 exporter - tool for exporting lightmapped scenes from 3DSMAX5 into *.my3d format
3) 3DSMAX6 exporter - tool for exporting lightmapped scenes from 3DSMAX6 into *.my3d format
4) 3DSMAX7 exporter Tool for exporting lightmapped scenes from 3DSMAX7 into *.my3d format
5) Gile[s] 1.3 exporter Tool for exporting lightmapped scenes from Gile[s] 1.3 into *.my3d format
6) My3D example Example of using My3D Tools with Irrlicht

-----------------------------------------------------------------
New features in My3D Tools v.3.1
-----------------------------------------------------------------
1) Gile[s] exporter now available!!!!!!
2) Issue with AABB fixed
3) Improvements of loading multiple meshes with the same material, they merge into a single mesh by a loader
4) Loading normals from MAX
5) Loading material colors from MAX
6) Now lightmaps automaticaly copies into 'Lightmaps' directory, when you are exporting them as standalone image files (you dont need to rename them to jpg format and copy by hand anymore)
7) This materials now automatically loading from *.my3d file into Irrlicht:
EMT_SOLID
EMT_LIGHTMAP_M2
EMT_REFLECTION_2_LAYER
EMT_TRANSPARENT_VERTEX_ALPHA
EMT_TRANSPARENT_REFLECTION_2_LAYER

8) MAX 5, 6, 7 support
9) Dynamic lighting support

-----------------------------------------------------------------
My3D tools Usage (with MAX5, 6, 7)
-----------------------------------------------------------------
1) compile plugin into *.dle library file
2) copy it in MAX/plugins directory
3) create lightmaped scene with 3DSMAX5
LightMapped 3DSMAX Scene creation:
1 step - Draw scene (3d objects, lights, materials e.t.c)
2 step - Bring up the Render-To-Texture Dialog. ('Rendering'->'Render To Texture' option)
3 step - Mark a mesh you want to bake.
4 step - In Output Rollout, click on the 'Add...' button in the RTT dialog
and chose LightingMap
5 step - Assign 'Target Map Slot:' to Diffuse (only in MAX6,7)
6 step - Set whatever width and height for lightmaps you prefer
8 step - Repeat steps 2 to 6 until you have all the setting for all the meshes you want to bake and hit the 'Render' button in the RTT dialog.
9 step - Watch your maps be rendered.
10 step - Now you should have a very bright scene with many colors. You can use the 'Pick Material from Object' to check if it now has a shell Material, if it does It's lightmap under 'Baked Material' "<meshname>LightingMap.tga" should be exported with .my3D as a lightmap. (your lightmaps would be in MAX/images directory)
Note: You must use only standard materials (don't use submaterials)

4) Use My3D plugin to export scene into *.my3d file
Plugin makes all work for you:
a) If you are exporting lightmaps as embedded data,
it writes image data directly into *.my3d file as binary stream.
b) If you are exporting lightmaps as standalone files, it automaticaly
creates 'Lightmaps' directory and copies all lightmaps into.

5) Load *my3d file into Irrlicht with class CMy3DMeshLoader
(included in My3DTools Package)

-----------------------------------------------------------------
My3D Tools Downloading
-----------------------------------------------------------------
You can download My3D Tools from this site:
http://my3dproject.nm.ru


-----------------------------------------------------------------
My3D Tools Screenshot
-----------------------------------------------------------------
You can see My3D Tools sreenshots here:
http://my3dproject.nm.ru
Last edited by ZDimitor on Tue Mar 15, 2005 4:15 am, edited 1 time in total.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

yay hooray!!!

downloading and trying immediately.

:D

thnx Dimitri!
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

OK, they feel really nice and smooth.

are the files:
my3d-stuff.h
somefuncs.hpp

required?

I mean; I Included them since they're called byt the cpp and h files, but they werent used before. Why we gotta use them now?
ZDimitor
Posts: 202
Joined: Fri Jul 16, 2004 3:27 am
Location: Russia

Post by ZDimitor »

Yes! I move there common functions and data declaration, needed to exporters and loader.

But you always can copy/paste them into CMy3DMeshFileLoader :D :D
kaboraa
Posts: 10
Joined: Mon Nov 15, 2004 9:52 am

Post by kaboraa »

Hi

I am having problems with the download links. I don't know if anyone can paste a direct link to the fies directly. Anyway I had a problem in the previous version of My3D and I don't know whether it is solved in the current version

When I export a mesh with multiple materials, all textures are ignored and only the first material's texture is used to cover the whole single mesh. The funny thing is that in the .my3d file all the textures are listed but only the first one is used. I solved this by breaking up my mesh into different objects and then exporting them as a single My3D file and it worked. But doin this for a huge mesh is quite painful. Is there no way to solve this problem becos it does not hold for .X files.
Testur

Post by Testur »

That 10 step description seems familliar. :)
ZDimitor
Posts: 202
Joined: Fri Jul 16, 2004 3:27 am
Location: Russia

Post by ZDimitor »

:D :D :D I used this, because my english is poor

2kaboraa:
As i told, each mesh must have its own material (standard). It's a Irrlicht limitation.
Don't use any complex materials, such as submaterial or else... .
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

@ ZDimitor, thanks for your work. This is a great advantage for Irrlicht users! :!:
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Zdimitor is right, and he's always warned us about it; each mesh must have its own texture. No multi-textured materials; so if you require a certaing polygon or face to look different I'd suggest creating a separate mesh of it (very very thin) and putting it on top of it so you can assign a separate texture.

@Zdimitor and users: I had forgotten; I usually mirror the files for ppl who have problems downloading them; so I'll be doing that in 3 minutes, lol :D , precise, huh?
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

done! get them here:
light:
http://www.danielpatton.com/afecelis/Zd ... .light.zip

full:
http://www.danielpatton.com/afecelis/Zd ... 1.full.zip

final word:(for newbies like me)
when copying and including the new files (my3d-stuff.h,somefuncs.hpp), remember to change:

Code: Select all

#include "../../my3d_irrlicht_loader/CMY3DMeshFileLoader.h"

for

#include "CMY3DMeshFileLoader.h"
so that the program finds the file locally and not following Zdimitor's path; to avoid compilation probs.

=)
Bryan Abrams
Posts: 44
Joined: Mon Mar 29, 2004 7:46 pm
Location: New Jersey
Contact:

Post by Bryan Abrams »

kick ass, thanks man!
ZDimitor
Posts: 202
Joined: Fri Jul 16, 2004 3:27 am
Location: Russia

Post by ZDimitor »

Here some shots of using My3D with MAX5:
Image
Image
Image
Bryan Abrams
Posts: 44
Joined: Mon Mar 29, 2004 7:46 pm
Location: New Jersey
Contact:

Post by Bryan Abrams »

do you have a precompiled .dle for max7?
i can't compile the source.
ZDimitor
Posts: 202
Joined: Fri Jul 16, 2004 3:27 am
Location: Russia

Post by ZDimitor »

I upload binaries on my site
http://my3dproject.nm.ru
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Post Reply