Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (fogman, Grant, AndrewAMD, juanex), 989 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Double Siding Using Shader or Geometry? #24471
03/22/04 11:36
03/22/04 11:36
Joined: Mar 2003
Posts: 4,427
Japan
A
A.Russell Offline OP
Expert
A.Russell  Offline OP
Expert
A

Joined: Mar 2003
Posts: 4,427
Japan


Would a model render faster if it has the double sided polygons made using geometry, or by applying a shader?



Re: Double Siding Using Shader or Geometry? [Re: A.Russell] #24472
03/22/04 16:24
03/22/04 16:24
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
remember that your targetmachine must have shaders if u use the cullmode thing

i prefer doing it with shaders, its pretty fast


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Double Siding Using Shader or Geometry? [Re: A.Russell] #24473
03/23/04 02:26
03/23/04 02:26
Joined: Aug 2003
Posts: 183
BionicHero Offline
Member
BionicHero  Offline
Member

Joined: Aug 2003
Posts: 183
I'm not 100% sure but I really think that just setting cullmode to NONE (it was NONE, right?) would be the fastest (and also easiest) way.

Re: Double Siding Using Shader or Geometry? [Re: BionicHero] #24474
03/23/04 03:44
03/23/04 03:44
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
If I understand you right, you want to switch off backface culling (Cullmode = none). This will reduce the frame rate, and only makes sense for a 'flat' model, like a billboard, when you want both sides of the model polygons to be seen.

This has nothing to do with shaders and thus the target machine does not matter.

Re: Double Siding Using Shader or Geometry? [Re: jcl] #24475
03/23/04 04:34
03/23/04 04:34
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
thanx for clearing this up. but i dont share your opinion on the use of cullmode. think of crystals or water, or did u have a look at my little demo, without cullmode=0 it wouldnt look how it looks


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: Double Siding Using Shader or Geometry? [Re: ello] #24476
03/23/04 05:11
03/23/04 05:11
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
Sure it makes a difference for transparent objects aswell.


Moderated by  Blink, Hummel, Superku 

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