Modifications to defensive building models needed

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

Re: Modifications to defensive building models needed

Post by Jorzi »

@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: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg »

Just another wall..
wz2100-20111009_040722-Sk-Rush.jpg
Attachments
[email protected]
(1.44 MiB) Downloaded 385 times
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi »

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 »

Hmm, I like that one a lot actually. It feels like it would fit in well also.
User avatar
MaNGusT
Art contributor
Posts: 1152
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: Modifications to defensive building models needed

Post by MaNGusT »

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: 2063
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi »

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 406 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 »

: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: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg »

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: 2063
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi »

@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: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg »

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: 2063
Joined: 11 Apr 2010, 00:14

Re: Modifications to defensive building models needed

Post by Jorzi »

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: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Modifications to defensive building models needed

Post by Berg »

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: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Modifications to defensive building models needed

Post by NoQ »

By the way, how do you enable the console in windows?
cmd.exe?
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Modifications to defensive building models needed

Post by Per »

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 »

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