Notices

Go Back   FileFront Forums > The Games! > Star Wars: Jedi Knight Series > Jedi Knight III: Jedi Academy > SW:JK3 Modding, Mapping and Editing

Remember Me?

SW:JK3 Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old August 19th, 2009   #11
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Portalling

I don't quite see what you are going after with your window portaling. If something is transparent, you need to see what's behind it. A transparent structural (portaled) window will cause a HOM effect if the map isn't otherwise leaking to what's behind the window. Of course if you have a window hole in a wall, chances are it actually does possess a portal, even two of them if there's a whole leaf node inside the window hole, but they don't matter much unless you are farther away from either of the rooms surrounding the window.

A portal is nothing but a leaf node's face. That is, the 2D element between two leaf nodes. Areaportals and such are special cases that affect the VIS in game in a special way that's more complicated than just having a normal portal somewhere. You could have a hundred portals in a long empty corridor but still see through all of them all the way to the other end. The game draws everything inside all the leaf nodes the current leaf node's portals have a line of sight to. An areaportal has the power to conditionally sever that mechanism - you could say by severing the los as it happens in practice.

VIS fast is something you shouldn't be using if you care about the optimization of your map's VIS. If you have VIS problems, try to solve or compromise those problems on case by case basis, not by compromising the whole VIS process.

Edit: Well, even though I don't understand your window portal problem, you might want to study Antiportals. Maybe they will suit you.

Punks in a house.
lassev is offline   Reply With Quote
Old August 20th, 2009   #12
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
Default Re: Portalling

Okay, thanks, I'll leave the windowed rooms
But in the printed map if I save with -vis, not -vis -fast, then it's more hours...but I structuraled the outside walls, and detailed everything in it. So I don't understand why it is, and I can't save -vis, only -vis -fast
jk3editor is offline   Reply With Quote
Old August 20th, 2009   #13
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Portalling

Based on that earlier screenshot of yours, the architecture or some glitch generate a high number of degenerate leaf nodes all over the place. Generating those is what takes the lenghty time you are observing. Vis fast only does very poor job of VIS, which explains why it seems to take a reasonable time even with your broken map. However, it might not be much better than no VIS at all. Although I have never used it so I wouldn't know. I only know what the manual says.

You gotta sort out your map's VIS problem. That's the only real solution.

Punks in a house.
lassev is offline   Reply With Quote
Old August 20th, 2009   #14
Retard Hungarian Modder
 
jk3editor's Avatar
 
Join Date: August 21st, 2008
Location: Hungary
Status: Making a mod
1,506 posts, 13 likes.
Rep Power: 17
jk3editor is a regular member
Default Re: Portalling

Yeah, so I opened this thread...because I can't solve the problem :P

Btw thanks for your replies
jk3editor is offline   Reply With Quote
Old August 20th, 2009   #15
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Portalling

Well, I'm not any VIS guru myself. I've studied enough of it to know how to use hints (and how not) and then experimented a bit to try to solve my own VIS problems caused by a skybox enveloping much of the map (a situation best avoided if possible). Based on what I can deduce with my average knowledge, there must be some fundamental or systematic error (or bad habit) in your map itself producing the problem.

Punks in a house.
lassev is offline   Reply With Quote
Old August 20th, 2009   #16
Fix it till it's broke
 
Superfluous Curmudgeon's Avatar
 
Join Date: December 21st, 2007
Location: The Wild West
Status: Sleeping
2,258 posts, 173 likes.
Rep Power: 19
Superfluous Curmudgeon has disabled reputation
Default Re: Portalling

What exactly is a degenerate leaf node. or a leaf node for that matter? I may have learned about it before, but if I did, I've forgotten.

"I feel like sometimes you can only do so many things you don't want to do before you just accidentally eat a whole ice cream cake"
-vlog brothers
Superfluous Curmudgeon is online now   Reply With Quote
Old August 21st, 2009   #17
Degenerate scripter
 
lassev's Avatar
 
Join Date: June 21st, 2004
Location: Finland
Status: Available
843 posts, 0 likes.
Rep Power: 25
lassev has nothing to be ashamed oflassev has nothing to be ashamed of
Default Re: Portalling

Well, I just called a degenerate leaf node a leaf node that serves no purpose whatsoever. They are naturally created plentifully enough in a map having only structural brushes, for example.

A leaf node is a basic VIS unit. It could be a whole room if the room is of the simplest box type with structural walls and no structural details inside. Like I said in my earlier post, the VIS is based on tracing what other leaf nodes are visible from the current leaf node. Only the stuff in those visible leaf nodes is drawn by the game. However, if you have useless leaf nodes all over the place (like a simple box room having dozens of them even though you can see everything in the room all the time), the VIS compile will take ages and it might affect the in game performance as well.

Punks in a house.
lassev is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSG subtract, area portalling and thinner brushes Humble Jedi SW:JK3 Modding, Mapping and Editing 3 August 12th, 2005 01:06 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind