Renegade Public Forums
C&C: Renegade --> Dying since 2003â„¢, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How do I use VIS?
How do I use VIS? [message #16977] Fri, 25 April 2003 02:44 Go to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

I have heard about this thing called VIS (Visual Rendering) and I was wondering how do I use it? It's meant to help slower computers by dropping the detail of objects when you reach a certai distance from them (I think). I just need to know how to apply this, do I do it in RenX on Level Edit?
How do I use VIS? [message #16983] Fri, 25 April 2003 03:00 Go to previous messageGo to next message
ArUsH4nIl is currently offline  ArUsH4nIl
Messages: 388
Registered: April 2003
Location: Outside!!! (look)
Karma: 0
Commander
never heard of dat be4, where did u find it....... can u post the url please?

then i might be able to help


http://www.n00bstories.com/image.fetch.php?id=1229966177
http://www.n00bstories.com/image.fetch.php?id=1318861882

http://www.n00bstories.com/image.fetch.php?id=1256706921
How do I use VIS? [message #16987] Fri, 25 April 2003 03:04 Go to previous messageGo to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

No, this was something ACK told me about.
How do I use VIS? [message #16988] Fri, 25 April 2003 03:18 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
There are some tutorials out there that were posted by Ajab but you will need to search this forum for them. Also Aircraftkiller has posted some stuff about vis. Basically it optimises what you see in renegade and increases overall framerate. According to Greg Hjelstrom vis is not needed in a lot of maps.

The thing about the detail is called LOD (Level Of Detail) and is used on the 3D models such as vehicles to drop the detail of the object when the game is set to a lower detail setting.

Reducing the abount of materials you have used in one single area or object can also increase your framerate. As testing showed, polygones don't have that much affect on performance. It is the materials used that cause the framerate to drop and also things like particles.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
How do I use VIS? [message #16993] Fri, 25 April 2003 04:04 Go to previous messageGo to next message
ArUsH4nIl is currently offline  ArUsH4nIl
Messages: 388
Registered: April 2003
Location: Outside!!! (look)
Karma: 0
Commander
oh, ok

http://www.n00bstories.com/image.fetch.php?id=1229966177
http://www.n00bstories.com/image.fetch.php?id=1318861882

http://www.n00bstories.com/image.fetch.php?id=1256706921
How do I use VIS? [message #16994] Fri, 25 April 2003 04:08 Go to previous messageGo to next message
ArUsH4nIl is currently offline  ArUsH4nIl
Messages: 388
Registered: April 2003
Location: Outside!!! (look)
Karma: 0
Commander
oh, ok

http://www.n00bstories.com/image.fetch.php?id=1229966177
http://www.n00bstories.com/image.fetch.php?id=1318861882

http://www.n00bstories.com/image.fetch.php?id=1256706921
How do I use VIS? [message #17040] Fri, 25 April 2003 10:05 Go to previous messageGo to next message
JRPereira is currently offline  JRPereira
Messages: 233
Registered: April 2003
Location: Earth
Karma: 0
Recruit

vis is extremely important for improving the performance of maps. If I was to release Colusssus 2: Revisited without the vis optimization, it would lag horribly, simmilar to the first Colossus 2. Simmilarly, I could probably make use of the vis optimization to make the original Colossus 2 run quite well (although it would take a lot of time to do).

vis optimization basically revolves around dividing your map into sections, of which only some get displayed at any given time -- this means while you're at the GDI base, usually the Nod base doesn't get rendered and therefore there's a lot of processing now available for your surroundings (the section you're in). If done properly, you can use this allow yourself more detail in your maps (both polys and texturing/effects).

The sections are usually made up of all the surfaces on the map that can be traversed - ie ground (and layered every few player heights or so for maps with aircraft). Included with the mod tools, is the gmax file for the hourglass map, and it has a layer of vis objects (usually flat 1x1 planes) all around it. Each object (that's set for vis in the w3d options), tells the level editor to sample this area, to see what should be shown and what should be hidden (ie only render what's in view).

When done properly, the vis objects should break up the map in such a way that for the most part, objects that aren't in view aren't rendered, and objects in view -are-.

After you've placed your vis object and 'made' the map in the editor, you'll need to do a few things to set up the map. It's explained in the documentation for the editor:

(the next few steps may not be required for the vis generation, but will probably be required for most maps)

(1) Place the human pathfind generator (Editor Objects -> Pathfind Generator -> Human) somewhere on the map (Generally on a ground surface you can walk on. If you have seperate ground surfaces that can't be accessed by simply walking over to them, you'll need to place more pathfind generators on the map (be careful to make sure that if you DO place multiple human pathfind generators, that the seperate ground surfaces simply CANNOT be reached by each other - otherwise you'll be generating double the amount of data required).

(2) In the menu bar, click “Pathfinding -> Discard data”. This should remove any possible previous pathfinding information and give you a clean slate to start with.

(3) In the menu bar, click “Pathfinding -> Generate sectors”. This is a time-consuming process that reads the map and defines how AI-controlled players/vehicles/etc can move around the map – especially important for bots and harvesters (you should probably place whatever waypoints you’re going to have before doing this).

(4) In the menu bar, click “Pathfinding -> Generate flight data”. I’m not exactly sure what this does, but I think it has something to do with flying vehicle movement. It doesn’t take much time to do.
(the following steps –are- required for the VIS system to work on maps)

(5) In the menu bar, click “Vis -> Discard vis data”. This will leave you with a clean slate to work with.

(6) In the menu bar, click “Edit -> Repartition culling systems”. This further prepares to generate the Vis data, and also will fix any physically transparent objects on the map (an occasional problem where the level editor misreads the w3d settings in the models used on the map).

(7) In the menu bar, click “Vis -> Build dynamic culling system”. This will help improve the performance of the map (although I’m not exactly sure how).

(Cool In the menu bar, click “Vis -> Auto-generate vis”. This will create the VIS points on the map that are used to control what to show and what to hide based on the areas defined by the vis objects you placed on the map.

(9) Doorways, small areas, and sharp corners generally are an exception, and will require manual vis points. To place a manual vis point (from what I remember), maneuver to an area where an object isn't showing when it should be, and press ctrl+~ (the tilde key to the left of the 1 key). The area should (usually) be resampled and the object should appear.


Yes I know this is a messy tutorial but it should at least give a general understanding of how it works and how to work it. Later I’ll probably incorporate it into my Commando Tutorial.
How do I use VIS? [message #17215] Fri, 25 April 2003 19:22 Go to previous messageGo to next message
Sanada78 is currently offline  Sanada78
Messages: 435
Registered: April 2003
Karma: 0
Commander

Thanks. Smile
How do I use VIS? [message #17638] Tue, 29 April 2003 00:12 Go to previous message
JRPereira is currently offline  JRPereira
Messages: 233
Registered: April 2003
Location: Earth
Karma: 0
Recruit

I've added a slightly updated version of the aforementioned tutorial to my level editor tutorial:

http://pjrp.unleashed.ws/?content=gamemods/renegade_commtut
Previous Topic: teleporters
Next Topic: Unfinished weapon models
Goto Forum:
  


Current Time: Thu Dec 19 09:49:19 MST 2024

Total time taken to generate the page: 0.00702 seconds