Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Dark Lights LightmapperIDE.exe app-help required..

Author
Message
Orion_Uk
15
Years of Service
User Offline
Joined: 14th Jul 2010
Location: Isle Of Wight
Posted: 25th Jul 2011 22:02
Hi all

No matter what I do when using the LightmapperIDE.exe that comes with Dark Lights, my object/scene loads in to the app but is way to small to lightmap "physically".

I have tried reseizing my object (DBO & .x) with no joy. I have used Blender (2.58), 3D Object Viewer, no matter how big the object is in any other app, the scene/object allways loads at a reduced size in LightmapperIDE.exe! Shame there is not a resize object option in LightmapperIDE.exe. If anyone knows how to get my objects to load in to LightmapperIDE.exe at the correct size, please help?

Thank you
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Jul 2011 22:08
Could you rar your object and send it to the forum ? perhaps we can guess what happens.


Cheers.

I'm not a grumpy grandpa
Orion_Uk
15
Years of Service
User Offline
Joined: 14th Jul 2010
Location: Isle Of Wight
Posted: 25th Jul 2011 23:22 Edited at: 25th Jul 2011 23:27
Quote: "Could you rar your object and send it to the forum ? perhaps we can guess what happens.


Cheers.
"


Gladly, and thanks! didnt expect you to reply Chafari, thank you. I have not had a chance to look at the code in the other sample you sent me (how nice of you to add collision also! cheers)

Heres the rar for my current problen. I am just about to try loading in the mesh you send me with the sample file in to light mapper and see if that loads in at a workable size! That way I will know if its just my meshes or the lightmapper app!

I really do apprieciate your kind attention & time, thank you

EDIT: Yep, your mesh size is fine in my lightmapper! seems its something to do with how i save my meshes or units in Blender prefferences maybe!

Dont quite explain why I can resize my meshes in other apps but the changes are not seen in Darklights lightmapper tho!
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Jul 2011 00:02 Edited at: 26th Jul 2011 00:04
Well ... I've used blender long time ago, and seeing that it was very difficult for my students,I have discard it for another free alternative programs that are on the web.

You can keep using blender ...it is ok when you use it for a couple of weeks . Well ...what I have done this time, is just using Dbpro code to adjust size and export to Dbo.

CODE FOR SAVE IN BIG SIZE



Then I have use the Darklights program and placed a light and compiled....it works fine. I copied the lightmaps texture and object dbo generated by Darklights and put them in the project folder...that´s all. I hope it can help. I send a rar file.

CODE FOR LOADING NEW OBJECT



Cheers.

I'm not a grumpy grandpa
Orion_Uk
15
Years of Service
User Offline
Joined: 14th Jul 2010
Location: Isle Of Wight
Posted: 26th Jul 2011 01:04
WOW! amazing stuff, Thank you so much

You have really helped me. In order to get my light sources to be usable i had to crank up the scale settings quite a bit!



But you have given me a great (working) start point that i am most thankful for

Now that i can convert/size my meshes properly i can take another look at that code you sent me with collisions


Im off to get started, wish you was local so i could buy you a drink!
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Jul 2011 01:46 Edited at: 26th Jul 2011 01:47
Quote: "Im off to get started, wish you was local so i could buy you a drink"


Just write beer and highlight the beer word and press returnkey and I will receive a good a cool beer



Cheers.

I'm not a grumpy grandpa

Login to post a reply

Server time is: 2026-07-10 17:19:06
Your offset time is: 2026-07-10 17:19:06