SC4 Devotion Forum Archives

Other City-Building Games => Other games => [Archived] CityMania - Open Source Sim City => Topic started by: tomkeus on December 28, 2009, 06:24:05 AM

Title: I need 3D models for testing
Post by: tomkeus on December 28, 2009, 06:24:05 AM
I need some models to do performance tests. If you have some finished textured building models with various poly counts from (10-20 to 100-200) in 3DS, 3dsmax, maya or blender formats please archive them and either upload them here or to some file host.

Thanks  :)
Title: Re: I need 3D models for testing
Post by: Djohaal on December 28, 2009, 09:34:28 PM
I don't work at such low poly counts, but I can whip up some simple polygons for you. Do you have some specific texture size in mind? 512x512, 1024x1024?
Title: Re: I need 3D models for testing
Post by: tomkeus on December 29, 2009, 12:05:48 AM
Just don't exceed 1024x1024
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 08:47:19 AM
Here you got something to use:

it's very simple...
56 polys - 33 verts

5 textures (3 1024x1024 texture, 1 624x640 texture, 1 600x800 texture)

All the textures are in the .rar, together with a .max and a .3ds file.
(the folder "Wood_house_1" was under C:\Program Files\Textures\...)


Little screenshot:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Ffarm5.static.flickr.com%2F4054%2F4300995752_66999aabd7.jpg&hash=71512fe542f81525a37c0fc511f543fae177c52a)

How can I send it to you?
Title: Re: I need 3D models for testing
Post by: Nique on January 24, 2010, 08:56:00 AM
I use dropbox (https://www.dropbox.com/downloading), and put it in a public account. fast and simple.

Set it up, create a CityMania/models folder in your public folder and put the file there, now right click on that file and click "copy public link" (to clipboard)
now paste the copied link here in a reply.. and voila
Title: Re: I need 3D models for testing
Post by: tomkeus on January 24, 2010, 09:43:38 AM
Quote from: Victor01 on January 24, 2010, 08:47:19 AM
5 textures (3 1024x1024 texture, 1 624x640 texture, 1 600x800 texture)

I've forgot to add one very important detail, all textures should be combined into one file. Using more than one texture on a model significantly lowers performance. Can you try and combine those 5 textures with Photoshop or Gimp into single jpg file? I know it will make texturing bit complicated, but, otherwise model is not very useful.

Textures must be square and of power of two size (64x64, 128x128, 256x256...)
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 10:53:39 AM
1 texture?  :'(
Ok, no problem at all - details won't be as before, but the textures are the same...

Now we've got:
1 texture 1024x1024
1 mesh (same as before) + 1 unwrap uvw modifier

Download here:
https://dl-web.dropbox.com/get/CityMania/Models/Wood_house_1.rar?w=624c7baf
Title: Re: I need 3D models for testing
Post by: tomkeus on January 24, 2010, 11:37:25 AM
Something is wrong. I get 403.
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 12:05:02 PM
try again:

https://dl-web.dropbox.com/get/Public/CityMania/Models/Wood_house_1.rar?w=9618468b (https://dl-web.dropbox.com/get/Public/CityMania/Models/Wood_house_1.rar?w=9618468b)

I updated it... there was an error (the house was too big)
Title: Re: I need 3D models for testing
Post by: Nique on January 24, 2010, 12:43:10 PM
Nice, thank you
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 12:46:22 PM
 :thumbsup:

need more buildings?
Title: Re: I need 3D models for testing
Post by: Nique on January 24, 2010, 12:51:12 PM
Well, i don't know what tomkeus needs, but you will have an answer from him soon i guess (hes online).

Why i thank you is that its great to see people are trying to help
Title: Re: I need 3D models for testing
Post by: tomkeus on January 24, 2010, 12:51:32 PM
This is very interesting. I'm still getting 403
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 12:59:15 PM
Ok, I think that I found the error...

try this:
http://dl.dropbox.com/u/4232381/Wood_house_1.rar (http://dl.dropbox.com/u/4232381/Wood_house_1.rar)

This file isn't in a folder I created under "public" in dropbox website... probably I can't share things that are in other folders
Title: Re: I need 3D models for testing
Post by: Nique on January 24, 2010, 01:01:07 PM
victor, you have a My dropbox in your documents?

Right click on the file on your computer, Dropbox>copy public link

paste it here the url should be something like:
http://dl.dropbox.com/u/552137/CityMania/Temp/logo.png


you got it
Title: Re: I need 3D models for testing
Post by: Victor01 on January 24, 2010, 01:02:27 PM
Quote from: Nique on January 24, 2010, 01:01:07 PM
victor, you have a My dropbox in your documents?

Right click on the file on your computer, Dropbox>copy public link

paste it here the url should be something like:
http://dl.dropbox.com/u/552137/CityMania/Temp/logo.png


you got it

Thanks, I think I solved the problem... I was faster than you  :P

EDIT: if you want I can send you also an ultra-low-poly tree (just give me enough time to create right textures...)
Title: Re: I need 3D models for testing
Post by: tomkeus on January 24, 2010, 01:17:42 PM
This is good  :thumbsup:. Few more would be nice ;)
Title: Re: I need 3D models for testing
Post by: croxis on January 24, 2010, 02:05:32 PM
Graphics cards are able to support up to four textures on a mesh, very old cards (like Vodoo 2 era) can only support two textures per mesh. Having 4 textures for every building will be very inefficient, but if we have a common texture pack then we could possibly have buildings which share textures. This would save a bit on memory use.
Title: Re: I need 3D models for testing
Post by: Victor01 on January 25, 2010, 09:03:33 AM
What about not-diffuse-maps (alpha map, specularity map, bump map, displacement map,...). How they can be used in-game?
You must use two textures for this (alpha+diffuse or bump+diffuse or ...).
Title: Re: I need 3D models for testing
Post by: Victor01 on January 25, 2010, 11:48:56 AM
Ok, here we got another building (mmmh... one of my best low-poly so far).

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Ffarm3.static.flickr.com%2F2729%2F4304629334_95b8d9020a_o.jpg&hash=121f4b4f6325fe93db9439e40fab00269a450e2e)

Well... it hasn't got a name, but:

1 mesh (148 poly) + unwrap uvw
1 texture 1024x1024

Download here:
http://dl.dropbox.com/u/4232381/Res_palace_1.rar (http://dl.dropbox.com/u/4232381/Res_palace_1.rar)

I'm going to finsh also a little factory.
;D Waiting for in-game screenshots...
Title: Re: I need 3D models for testing
Post by: tomkeus on January 25, 2010, 11:54:53 AM
Thanks. These are really good. As soon as I figure out how to do instancing with OpenGL I shall try cramming couple of tens of thousands of these into scene.
Title: Re: I need 3D models for testing
Post by: Victor01 on January 30, 2010, 02:06:59 PM
Ok, so...
sorry for the little delay, but I've been very busy.

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Ffarm3.static.flickr.com%2F2567%2F4316491787_4ee7c82aab_o.jpg&hash=118fe2b3f93ce2c671ed48681656eff0065e1889)

This could be an office palace.

Specs:
1 mesh (104 poly) + unwrap uvw + edit mesh (it controls a little part of the building on the top)
1 .png texture (1024x1024)

download here:
http://dl.dropbox.com/u/4232381/Off_palace_1.rar (http://dl.dropbox.com/u/4232381/Off_palace_1.rar)

Again the question: "how does alpha maps / bump maps work here? - I want to add them to delete some poly".
And: do you need something else?
Title: Re: I need 3D models for testing
Post by: croxis on January 31, 2010, 10:22:50 AM
Here is how we add textures program side:
http://www.panda3d.org/wiki/index.php/Texture_Modes

As far as adding them to the panda egg file, I do not know at this time I will have to look it up.