Double sided bezier patch?

A forum about everything related to the Cafu World Editor CaWE: mapping, editing, scripting, making GUIs and fonts, using the BSP, PVS and Light compilers.
User avatar
Haimi
Posts: 85
Joined: 2011-11-23, 09:28

Double sided bezier patch?

Postby Haimi » 2012-02-05, 15:25

Hi @ll,

I tried to make a roof out of a piece of cloth and used a simple bezier patch. When I watch it from above, it looks great, but from inside (the other side of the patch) there is nothing, it only renders from one side. Is it possible to make it render from both sides or do I have to use a solid brush and make it as thin as possible?
Project Status: Code architecture definition
6 Programmers, 1 Photographer, 1 Architect, 1 Game designer
User avatar
Carsten
Site Admin
Posts: 2143
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: Double sided bezier patch?

Postby Carsten » 2012-02-05, 19:59

Hi Haimi,

whether a surface is rendered when looked at "from behind" is determined by the twoSided keyword in the materials definition, see http://www.cafu.de/wiki/matsys:cmat_man ... _universal for more details.

Does that help?
Best regards,
Carsten
User avatar
Haimi
Posts: 85
Joined: 2011-11-23, 09:28

Re: Double sided bezier patch?

Postby Haimi » 2012-02-05, 22:44

Hi Carsten,
jepp, that did the trick. Thank you very much
Project Status: Code architecture definition
6 Programmers, 1 Photographer, 1 Architect, 1 Game designer

Return to “Editing and Mapping with CaWE”

Who is online

Users browsing this forum: No registered users and 1 guest