Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, degenerate_762, 7th_zorro), 1,081 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shadowmapping of Mdl's geometry with Blender example #341024
09/09/10 18:55
09/09/10 18:55
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline OP
Senior Member
Ganderoleg  Offline OP
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
Hi to all,

I decided to make a small example of how geometry created in WED can be exported to MED & then shadowmapped in Blender with using the MED's second skin set, Atlas Mapping tool & Autodesk converter.

This is the easiest way to create lightmaps that I know because it don't involve importing original Mdl's (files that your gonna use in your game) in Blender, re-saving of the Mdl's or extracting UV mapping.

The tools that are necessary for this process to work (apart from having 3DGS grin ) are following:

Blender
http://www.blender.org
Autodesk FBX converter
http://usa.autodesk.com/adsk/servlet/pc/index?siteID=123112&id=6839916

//////////////////////////////////////////////////
http://www.youtube.com/watch?v=CNz5BWXevI8
//////////////////////////////////////////////////

...and here are a few notes:
1. Room in the video is very small so I used 1024/1024 skin, it's better to go with 2048/2048 for larger models or even 4096/4096 for very detailed objects.
2. Geometry larger then 15000 tends to bug out the Atlas Mapping tool in 80% of the cases so I would suggest that you brake your level in pieces not larger then 10-15k.
3. I didn't do it in the video because my model is very small but: after doing the Atlas Mapping always save and re-open the model to check if Atlas Mapping did a good job. He can always bug out.

...and if you found this thing to be illogical:
Why do you export both first & second skin sets. Why not just second?
Answer:
Because in order to see what effect lighting has on a model you need to see it on his original textures. Even if you change Atlas Mapping reddish texture with completely white tex you still won't be able to see how good lighting will fit to your model.

That's about it I guess. Enjoy & I hope someone will find this example useful smile




Last edited by Ganderoleg; 09/09/10 19:15.

>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<

Re: Shadowmapping of Mdl's geometry with Blender example [Re: Ganderoleg] #341027
09/09/10 19:36
09/09/10 19:36
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
L
Liamissimo Offline
Serious User
Liamissimo  Offline
Serious User
L

Joined: Jul 2009
Posts: 1,198
Berlin, Germany
Shit man, this just too nice grin But it is too much work for my over 50 Levels to do it know. But it looks so great!


"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen."
-JCL, 2011
Re: Shadowmapping of Mdl's geometry with Blender example [Re: Liamissimo] #341033
09/09/10 20:27
09/09/10 20:27
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline OP
Senior Member
Ganderoleg  Offline OP
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
Thanx smile

Yeah, I guess redoing the lighting for 50 levels is a very time-consuming process grin ..but most of that time will go on setting up the lights in Blender. The Atlas Mapping, converting & lights-baking goes very fast.


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<

Re: Shadowmapping of Mdl's geometry with Blender example [Re: Ganderoleg] #341041
09/09/10 21:21
09/09/10 21:21
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Yea.... Thanks....
All I can say is Holy *#&@ !
Your video is more than excellent...
As well, I thought that I spent to damb much time on the computer...
Your work definatly opens the mind to ...possabilities...
It looks like I have a lot more experimenting to do...
Thank you... a lot...

Re: Shadowmapping of Mdl's geometry with Blender example [Re: TerraSame] #341044
09/09/10 21:44
09/09/10 21:44
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
Thanks, this is a really useful tutorial.
Great work.

Re: Shadowmapping of Mdl's geometry with Blender example [Re: Damocles_] #341066
09/10/10 11:15
09/10/10 11:15
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline OP
Senior Member
Ganderoleg  Offline OP
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
Thanx to all for good words smile

I experimented a lot with shadowmapping in Blender. I will probably, if I find enough time, also make tutorial that shows how to bake shadows into textures of WED-created Mdl's & maybe a tutorial on how to shadowmap with creating second UV map in Blender (no Atlas Mapping).


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<


Moderated by  HeelX, Tobias_Runde 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1