What are Draws?

Discussion about RailWorks route design.

What are Draws?

Unread postby Ericmopar » Mon Jan 19, 2015 4:08 am

I was wondering what this is "Draws" when in the route editor.
I am perplexed by removing certain assets in my Donner East Redo, that result in the draws going up not down. Rock Face lofts seem to help keep the draws lower.
I am presuming lower is better?

One of the puzzling things, is that the draws go up, but I swear the areas I've been working on are actually smoother than the original route when driving through them. !*don-know!*
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.

Re: What are Draws?

Unread postby Bananarama » Mon Jan 19, 2015 8:17 am

Draws are calls to load an object, usually referred to as "draw calls". When an object loads, say a building with one material with two textures assigned (diffuse and occlusion or bump map), the sim will use three draws to load that object - one for the mesh, and one for each texture assigned to that object (materials may or may not be important). If that same building has two materials, but the second material uses the same textures, but with different parameters applied (for example: transparency), then only one additional draw call is used (the second material).

One object - one material with one texture = 2~3 draw calls
One object - one material with two textures = 3~4 draw calls
One object- two materials with two of the same textures each = 4~5 draw calls
One object with two materials and two different textures for each = 5~7 draw calls

Performance is subject to the type of objects in the scene rather than the number of actual draw calls. Lofts are the most expensive (scenery and track), as they use an additional database to house and load them. These are followed by scenery objects containing alphas, complex materials (those with .fx shaders), and finally regular objects with simple materials applied. The numbers in the editor are really unnecessary (overall), however.

Confused? !**duh*!!
Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Re: What are Draws?

Unread postby Ericmopar » Mon Jan 19, 2015 2:11 pm

Confused.... somewhat.
I think the answer is that, I may actually be getting better performance despite some areas having more draws.
I'm limiting the 3D trees and shrubs to areas close to the track and using 2D "The Hills Have Eyes" type at least a couple of hundred feet from track.
I'm also avoiding asset blocks most of the time, to get a larger of variety of trees and shrubs in an area.
Thanks for the answer Marc. !!*ok*!!
New build. i7-7700k, MSI Z270 Gaming M5 Mobo, Hyper 212 Evo, Corsair DDR4 3200 Mhz RAM, Klipsch Pro Mediea 2.1 Speakers, Samsung 850 Evo SSD, HAF XM Case, Asus Strix GTX 1070 and Cooler Master Storm XT Keyboard.
Slick with Pretty Rainbow Colors.
User avatar
Ericmopar
 
Posts: 2797
Joined: Mon May 13, 2013 12:35 am
Location: Henderson NV.


Return to Route Design

Who is online

Users browsing this forum: No registered users and 47 guests