Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
slow rendering with multiple skins #141843
07/18/07 10:42
07/18/07 10:42
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
hi conitec,

i've got models which are imported from 3ds max. now these models have numberous skins assigned (e.g. 80) as i can see in med. the rendering is very slow even though the model isn't too complex (30000 vertices). i've read somewhere that the 3dgs rendering pipeline splits model rendering into multiple passes when there are more than 4 skins (that thread about accessing more than 4 skins from a shader afaicr). so my model would require 20 passes to render. am i right with my assumption?
then i'd be also correct with the conclusion that splitting the model into smaller parts with no more than 4 skins would speed up the rendering?

thanks for your answer,
joey.

Re: slow rendering with multiple skins [Re: Joey] #141844
07/18/07 11:27
07/18/07 11:27
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
once you figure out that problem let me know. Everytime I get near the end of a level its like a slug putting new models in, and then trying to manipulate any of the view ports. I can turn down all the settings but it makes no difference and never has. I don't want to view them in as bounding boxes, or without skins, and it's a real pain.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: slow rendering with multiple skins [Re: oldschoolj] #141845
07/18/07 11:40
07/18/07 11:40
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
well i'm talking about the engine, not wed.

Re: slow rendering with multiple skins [Re: Joey] #141846
07/18/07 12:38
07/18/07 12:38
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
could you post all of the model specs for me, maybe I could figure out your problem then. I have models much more complex with as many skins from maya and dont have that problem so I'd like to help

Last edited by oldschoolj; 07/18/07 12:39.

you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: slow rendering with multiple skins [Re: oldschoolj] #141847
07/18/07 12:42
07/18/07 12:42
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
If your mesh uses 80 skins, it's rendered in 80 passes. It's certainly better to reduce the number of skins, or split the model in several models with less skins.

Re: slow rendering with multiple skins [Re: jcl] #141848
07/18/07 13:04
07/18/07 13:04
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
thanks, jcl. how much of an overhead does multipass-rendering produce? i don't think it's 80 times as slow, could you explain that a bit further?

Re: slow rendering with multiple skins [Re: Joey] #141849
07/18/07 13:09
07/18/07 13:09
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
I also don't think it's 80 times as slow, but it's much slower than splitting it into smaller meshes. Besides, a 30000 vertex mesh could stall the GPU and render ineffectively anyway. Apart from the fact that smaller meshes have the advantage of being culled by the BSP tree or sorted out by the ABT.

It is hard to find general information about the drawing overhead in such cases. This can differ greatly between graphics cards. The best method is to make tests and compare the frame rates. As a rule of thumb, don't exceed 5000 vertices per mesh and maybe 5 or 6 skins.

Re: slow rendering with multiple skins [Re: jcl] #141850
07/18/07 14:34
07/18/07 14:34
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
I wonder how mine runs smoothly with 40k or more then... and 50 or 60 skins


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Re: slow rendering with multiple skins [Re: oldschoolj] #141851
07/18/07 15:03
07/18/07 15:03
Joined: May 2003
Posts: 567
Spain, Canary Islands
Felixsg Offline
User
Felixsg  Offline
User

Joined: May 2003
Posts: 567
Spain, Canary Islands
Quote:

I wonder how mine runs smoothly with 40k or more then... and 50 or 60 skins




Whats computer and graphics card you have?

Re: slow rendering with multiple skins [Re: Felixsg] #141852
07/18/07 15:46
07/18/07 15:46
Joined: Aug 2005
Posts: 390
Florida
O
oldschoolj Offline
Senior Member
oldschoolj  Offline
Senior Member
O

Joined: Aug 2005
Posts: 390
Florida
only a 2ghz athlon 64, no dual core.
w/ 2 gigs single channel ddr 400 ram
and Radeon HIS X1950 Pro <--- only good thing
but the thing is when i run say, the newest level I'm working on, I have dozen of models on screen simultaneously that are around the specs hes talking about @ 60 FPS. The only thing that slows it down, and I have no clue why, is when I have a high poly model that has very small faces, like a group of chain links. Other than that theres virtually no slowdown.


you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe. __________________________________ yours truly
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1