Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (VoroneTZ, monk12, Quad), 829 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with Level of Detail #445935
09/30/14 10:24
09/30/14 10:24
Joined: Oct 2012
Posts: 6
K
Kaaron Offline OP
Newbie
Kaaron  Offline OP
Newbie
K

Joined: Oct 2012
Posts: 6
Hi,
i have created a city in an external 3D Program (3D Max) and want to import it in Gamestudio.
Because of the size i decided to create each building as an own Map-Entity and use Level of detail.
The documentation says as follows:

Quote:
[...] create different resolution models that are switched by the engine depending on their distance to the camera. If an entity file name ends with "_0", it is assumed that similar files ending with "_1", "_2", "_3" are the three further LOD levels for that entity. For instance for "house_0.wmb" the engine expects "house_1.wmb", "house_2.wmb", "house_3.wmb" as LOD files.
http://manual.conitec.net/wed_entities.htm


I tried it with .mdl file and it worked,
same procedure with .wmb file but it doesn't worked.

I have done many, many tests, but the .wmb file doesn't switch it's level. Anyone an idea why?


Gamestudio Commercial A8.45 - Lite-C
Re: Problem with Level of Detail [Re: Kaaron] #445936
09/30/14 10:37
09/30/14 10:37
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Why would you want to use wmb entities over models?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Problem with Level of Detail [Re: Superku] #445937
09/30/14 10:39
09/30/14 10:39
Joined: Oct 2012
Posts: 6
K
Kaaron Offline OP
Newbie
Kaaron  Offline OP
Newbie
K

Joined: Oct 2012
Posts: 6
I think it is better for managing their textures


Gamestudio Commercial A8.45 - Lite-C
Re: Problem with Level of Detail [Re: Kaaron] #445938
09/30/14 10:45
09/30/14 10:45
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I doubt it, map entities are basically only available for legacy reasons, esp. when the old collision detection did not allow polygonal detection on models.
Just use entities and check the box at "Texture: Extern" or whatever it is called and you are fine. This way you can edit textures for all relevant files/ houses simply by changing the image file in question.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Problem with Level of Detail [Re: Superku] #445940
09/30/14 11:01
09/30/14 11:01
Joined: Oct 2012
Posts: 6
K
Kaaron Offline OP
Newbie
Kaaron  Offline OP
Newbie
K

Joined: Oct 2012
Posts: 6
Hm, ok.
I will try to use mdl if there are no big disadvantages in the opposite of wmb.
Thanks Superku.

But if anyone could use LOD for wmb, it would be nice when he could say how he get it.


Gamestudio Commercial A8.45 - Lite-C
Re: Problem with Level of Detail [Re: Kaaron] #445944
09/30/14 14:52
09/30/14 14:52
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
WMB is the disadvantage. There is no LOD simply by design of a statically compiled map.

Last edited by WretchedSid; 10/02/14 11:23.

Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Problem with Level of Detail [Re: WretchedSid] #445946
09/30/14 15:10
09/30/14 15:10
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
once I thought the same, made a lot of useless work, but wmb-s are rendered very slow.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Problem with Level of Detail [Re: WretchedSid] #445947
09/30/14 15:12
09/30/14 15:12
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
@Sid: Well that's not completely correct, (in general) it's just more tedious to create additional WMB-LOD stages because you have to create them by hand yourself - except when it works easily to import them, of course.

However, I've just tested it and WMB entities in fact don't seem to work (anymore).


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends

Moderated by  HeelX, Spirit 

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