Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 10:57 am
All times are UTC + 0
Helipad clipping problem - art design or coding?
Moderators: Global Moderators, Media Hut Moderators, Red Alert 2 Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Askhati
Jumpjet Infantry


Joined: 22 Dec 2009

PostPosted: Sun Jan 17, 2010 8:15 pm    Post subject:  Helipad clipping problem - art design or coding? Reply with quote  Mark this post and the followings unread

I'm busy designing a bigger helipad for GDI/Forgotten, one where big VTOL's like the Dropship and Orca Transport can land without squashing the pad completely.

However, I get a very nasy clipping problem - wrong layer shown at top - which I have been unable to solve.

Scenario 01: the structures on the left part of the building are part of the bib.
- Result: the aircraft is always drawn on top, as it should be, but anything moving or built behind the aeroport will be rendered OVER the building's art (since the structures and antennae are bib, they are always drawn at the bottom).

Scenario 02: add buildings on lefthand side to art of main building; bib consists of the tarmac
- Result: the bottom part of the building renders behind the DSHP, but the top part of the building renders in front of the DSHP, obscuring its detail. This scenario is displayed in the attached ingame screenshot.

I included the art file as well, with MAAPRT on the left and MAAPRTBB on the right. The art.ini entry looks as follows:

Code:

[MAAPRT]
Remapable=yes
Cameo=HELIICON
Foundation=3x3
Height=2   ;1
;Flat=yes
Buildup=GADEPTMK
BibShape=MAAPRTBB
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes


Any help or advice on how to solve this clipping problem would be greatly appreciated.



MAAPRT Clipping 001.png
 Description:
Ingame of the attached art files (Scenario 02 in the post)
 Filesize:  37.08 KB
 Viewed:  977 Time(s)

MAAPRT Clipping 001.png



MAAPRT Clipping 002.png
 Description:
The art files: MAAPRT on left, MAAPRTBB on right
 Filesize:  8.9 KB
 Viewed:  977 Time(s)

MAAPRT Clipping 002.png



_________________
Adapt or die

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Jan 17, 2010 8:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think you can only try to use NormalZAdjust= to lower/raise the building in its render layer.

I would start with NormalZAdjust=25 (positive value lowers the layer; negative raises the layer so it's drawn above other things), so the main building is moved 1 height layer down, which might be enough to make it shown behind the dropship. If not play with the value until you find a right setting. Though it could be possible that this doesn't exist, as a too high positive value makes the building disappear partially under the ground.

If you can't find a working value, just move more of the high building to the bib, so only the part of the building that visually leaves the 3x3 foundation is in the building shp and the rest in the bib.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Askhati
Jumpjet Infantry


Joined: 22 Dec 2009

PostPosted: Mon Jan 18, 2010 6:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Hmm... Thanks for the advice. Think I'm going to change the bib so that it forms a diamond shape (3x3), with everything 'above' the diamond outlines as the main building. That should solve most of the clipping, I think. And then some tweaking with the ZAdjust, just to be safe. Will post update tonight (ISP permitting!).

_________________
Adapt or die

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1543s ][ Queries: 15 (0.0110s) ][ Debug on ]