Modifications to defensive building models needed

Improving the artwork in Warzone2100 - not for mod discussions
Jorzi
Regular
Regular
Posts: 1987
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi » 05 Oct 2011, 22:22

@Macuser the uv-mapping could use some love (it's a bit inefficient atm) and there's still some weird geometry in certain places, but I guess it works (the same could be said about the current wheel models in trunk).
Hope you don't get offended by me being a mesh efficiency nazi :P
ImageImage
-insert deep philosophical statement here-

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg » 08 Oct 2011, 19:36

Just another wall..
wz2100-20111009_040722-Sk-Rush.jpg
Attachments
newwall@texture.zip
(1.44 MiB) Downloaded 254 times

Jorzi
Regular
Regular
Posts: 1987
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi » 09 Oct 2011, 08:59

While I think Berg's walls using the (modified) original texpages are good for integration into master, I made a hipoly wall for art revolution, inspired by macuser's design.
This one features detchable concrete slabs mounted to a central frame for easy replacement/repair :P
Attachments
wall1.jpg
ImageImage
-insert deep philosophical statement here-

User avatar
Rider
Trained
Trained
Posts: 106
Joined: 31 May 2007, 16:06

Re: Modifications to defensive building models needed

Post by Rider » 09 Oct 2011, 12:30

Hmm, I like that one a lot actually. It feels like it would fit in well also.

User avatar
MaNGusT
Art contributor
Posts: 1039
Joined: 22 Sep 2006, 10:31
Location: Polar region, Russia

Re: Modifications to defensive building models needed

Post by MaNGusT » 09 Oct 2011, 12:53

Jorzi: :shock: I approve it.

P.S. The main problem of Berg's textures is that they don't have any AO maps multiplied into diffuse maps while even the old textures have AO shadows. :)
Image

Jorzi
Regular
Regular
Posts: 1987
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi » 11 Oct 2011, 22:52

I textured and exported my wall and tested it ingame. The wall itself works great but it screws up several other textures. Anyone have an idea of what might be causing it? I previously had similar problems with running my mod in a multiplayer game.
Attachments
wallpreview.jpg
jorzi's wall.zip
(543.71 KiB) Downloaded 271 times
ImageImage
-insert deep philosophical statement here-

User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA
Contact:

Re: Modifications to defensive building models needed

Post by macuser » 12 Oct 2011, 00:38

:shock: :shock: :shock: :shock: :shock: AWESOME!!!
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg » 12 Oct 2011, 02:11

Jorzi wrote:I textured and exported my wall and tested it ingame. The wall itself works great but it screws up several other textures. Anyone have an idea of what might be causing it? I previously had similar problems with running my mod in a multiplayer game.
I see you have a normalmap texture in the wall, is code running in the normal trunk code to use this texture or is it a mod...
If its a mod where is it please.

Jorzi
Regular
Regular
Posts: 1987
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi » 12 Oct 2011, 07:34

@Berg: http://cyancore.net/goran/shadermod_1.0.gmod.wz ;)
It has a modified fragment shader that supports object space normal mapping. I also added a soft orange "sky reflection" glow.
@Macuser Thanks :)
ImageImage
-insert deep philosophical statement here-

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg » 12 Oct 2011, 08:40

Maybe this should be in its own thread..



I tried your mod it has issues ....

screen_capture.png

I tried to capture this in a crash dump but it was beyond my skill so I took a screen capture of it scrolling in my console.

THis has no meaning to me and i can see what you mean about the mod affecting other textures.

hope this is helpfull Berg

Code: Select all

warning |05:42:56: [iV_ProcessIMD] Loading normal map page-64_normalmap.png for prmhov1.pie
info    |05:42:56: [pie_AddTexPage] pie_AddTexPage: too many texture pages
info    |05:42:56: [pie_AddTexPage] Assert in Warzone: tex.cpp:81 (i != 128), last script event: '<none>'
info    |05:42:56: [pie_SetTexturePage] Index out of bounds: 128
info    |05:42:56: [pie_SetTexturePage] Assert in Warzone: piestate.cpp:488 (num < iV_TEX_MAX), last script event: '<none>'
warning |05:42:56: [iV_ProcessIMD] Loading normal map page-64_normalmap.png for prhhov1.pie

I think there is a texture limit??? when i see this info |05:42:56: [pie_AddTexPage] pie_AddTexPage: too many texture pages

hope this is helpfull Berg

Jorzi
Regular
Regular
Posts: 1987
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi » 12 Oct 2011, 09:39

Thanks for the info :)
So there is a hard limit on the number of texpages? That could be problematic (although I could, of course, merge them into 1024x1024 pages, reducing the count drastically)
By the way, how do you enable the console in windows?
ImageImage
-insert deep philosophical statement here-

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg » 12 Oct 2011, 09:41

I dont know that.
Jorzi wrote:By the way, how do you enable the console in windows?
I am using Ubuntu Linux system

User avatar
NoQ
Special
Special
Posts: 6225
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Modifications to defensive building models needed

Post by NoQ » 12 Oct 2011, 09:45

By the way, how do you enable the console in windows?
cmd.exe?

Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3773
Joined: 03 Aug 2006, 19:39

Re: Modifications to defensive building models needed

Post by Per » 12 Oct 2011, 17:39

Apparently there is a limit of max 128 texture pages. Not sure why. It is set by the constant iV_TEX_MAX in lib/ivis_opengl/tex.h

I tried changing it to 255, and nothing terrible happened. So unless I hear from another developer why increasing this is a bad idea, it is happening soon.

User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA
Contact:

Re: Modifications to defensive building models needed

Post by macuser » 12 Oct 2011, 18:06

Wunderbar!
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6

Post Reply