РПХ ЖБЕРЮ: ЙПЮЯМШИ
Наложение текстуры на ландшафт - UralDev Forum
html
{
overflow-x: auto;
}
body
{
background: #FFF;
color: #222;
font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif;
font-size: 11px;
line-height: 135%;
margin: 0px;
padding: 0px;
text-align: center;
background: #2b3a46 url('/images/background.gif') repeat-x;
}
.ipbtable
{
width: 100%;
}
table.ipbtable,
tr.ipbtable,
td.ipbtable
{
background: transparent;
color: #222;
font-size: 11px;
line-height: 135%;
}
.ipbtable td,
.divpad
{
padding: 5px;
}
td.nopad
{
padding: 0;
}
form
{
display: inline;
margin: 0;
padding: 0;
}
img
{
border: 0;
vertical-align: middle;
}
a:link,
a:visited,
a:active
{
background: transparent;
color: #222;
text-decoration: underline;
}
a:hover
{
background: transparent;
color: #34498B;
}
#ipbwrapper
{
margin: 0px auto 0px auto;
text-align: left;
width: 950px;
background: #fff;
}
.pagelink,
.pagelinklast,
.pagecurrent,
.minipagelink,
.minipagelinklast
{
background: #F0F5FA;
border: 1px solid #072A66;
padding: 1px 3px 1px 3px;
}
.pagelinklast,
.minipagelinklast
{
background: #DFE6EF;
}
.pagecurrent
{
background: #FFC9A5;
}
.minipagelink,
.minipagelinklast
{
border: 1px solid #C2CFDF;
font-size: 10px;
margin: 0 1px 0 0;
}
.pagelink a:active,
.pagelink a:visited,
.pagelink a:link,
.pagelinklast a:active,
.pagelinklast a:visited,
.pagelinklast a:link,
.pagecurrent a:active,
.pagecurrent a:visited,
.pagecurrent a:link,
.minipagelink a:active,
.minipagelink a:visited,
.minipagelink a:link,
.minipagelinklast a:active,
.minipagelinklast a:visited,
.minipagelinklast a:link
{
text-decoration: none;
}
.fauxbutton
{
background: #BFCDE0;
border: 1px solid #072A66;
font-size: 11px;
font-weight: bold;
padding: 4px;
}
.fauxbutton a:link,
.fauxbutton a:visited,
.fauxbutton a:active
{
color: #222 !important;
text-decoration: none;
}
.forumdesc,
.forumdesc a:link,
.forumdesc a:visited,
.forumdesc a:active
{
background: transparent;
font-size: 10px;
color: #666;
line-height: 135%;
margin: 2px 0 0 0;
padding: 0;
}
.searchlite
{
background-color: yellow;
font-weight: bold;
color: red;
}
.activeusers
{
background: #FFF;
border: 1px solid #072A66;
color: #000;
margin: 0px;
padding: 1px;
}
.activeuserposting a:link,
.activeuserposting a:visited,
.activeuserposting a:active,
.activeuserposting
{
font-style: italic;
text-decoration: none;
border-bottom: 1px dotted black;
}
fieldset.search
{
line-height: 150%;
padding: 6px;
}
label
{
cursor: pointer;
}
img.attach
{
background: #808080 url(style_images/1/click2enlarge.gif) no-repeat top right;
border: 1px solid #808080;
margin: 0 2px 0 0;
padding: 11px 2px 2px 2px;
}
.thumbwrap,
.thumbwrapp,
.fullimagewrap
{
border: 1px solid #072A66;
margin: 2px;
}
.thumbwrapp
{
border: 2px solid #660707;
}
.fullimagewrap
{
background: #F5F9FD;
text-align: center;
margin: 5px 0 5px 0;
padding: 5px;
}
.thumbwrap h4,
.thumbwrapp h4
{
background: #DDE6F2;
border: 0 !important;
border-bottom: 1px solid #5176B5 !important;
color: #5176B5;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 5px;
}
.thumbwrap p,
.thumbwrapp p
{
background: #EEF2F7 !important;
border: 0 !important;
border-top: 1px solid #5176B5 !important;
margin: 0 !important;
padding: 5px !important;
text-align: left;
}
.thumbwrap p.alt,
.thumbwrapp p.alt
{
background: #DFE6EF !important;
margin: 0 !important;
padding: 5px !important;
text-align: left;
}
.thumbwrapp p.pin
{
background: #EFDFDF !important;
text-align: center !important;
}
.thumbwrap img.galattach,
.thumbwrapp img.galattach
{
background: #FFF url(style_images/1/img_larger.gif) no-repeat bottom right;
border: 1px solid #072A66;
margin: 5px;
padding: 2px 2px 10px 2px;
}
li.helprow
{
margin: 0 0 10px 0;
padding: 0;
}
ul#help
{
padding: 0 0 0 15px;
}
.warngood,
.warnbad
{
color: #0B9500;
font-weight: bold;
}
.warnbad
{
color: #DD0000;
}
#padandcenter
{
margin: 0 auto 0 auto;
padding: 14px 0 14px 0;
text-align: center;
}
#profilename
{
font-size: 28px;
font-weight: bold;
}
#photowrap
{
padding: 6px;
}
#phototitle
{
border-bottom: 1px solid #000;
font-size: 24px;
}
#photoimg
{
margin: 15px 0 0 0;
text-align: center;
}
#ucpmenu,
#ucpcontent
{
background: #F5F9FD;
border: 1px solid #345487;
line-height: 150%;
}
#ucpmenu p
{
margin: 0;
padding: 2px 5px 6px 9px;
}
#ucpmenu a:link,
#ucpmenu a:active,
#ucpmenu a:visited
{
text-decoration: none;
}
#ucpcontent
{
width: auto;
}
#ucpcontent p
{
margin: 0;
padding: 10px;
}
.activeuserstrip
{
background: #BCD0ED;
padding: 6px;
}
.signature
{
background: transparent;
color: #339;
font-size: 10px;
line-height: 150%;
}
.postdetails
{
font-size: 10px;
line-height: 140%;
}
.postcolor
{
font-size: 12px;
line-height: 160%;
}
.normalname
{
color: #003;
font-size: 12px;
font-weight: bold;
}
.normalname a:link,
.normalname a:visited,
.normalname a:active
{
font-size: 12px;
}
.post1,
.bg1
{
background: #ffffff;
}
.post2,
.bg3
{
background: #ffffff;
}
.row2shaded,
.post1shaded
{
background-color: #DEDBE4;
}
.row4shaded,
.post2shaded
{
background-color: #E3DFE7;
}
.row1
{
background: #e7e8e9;
}
.row2
{
background: #e7e8e9;
}
.darkrow1
{
background: #BCD0ED;
color: #3A4F6C;
}
.darkrow3
{
background: #D1DCEB;
color: #3A4F6C;
}
.plainborder,
.tablefill,
.tablepad
{
background: #F5F9FD;
border: 1px solid #345487;
}
.tablefill,
.tablepad
{
padding: 6px;
}
.tablepad
{
border: 0 !important;
}
.wrapmini
{
float: left;
line-height: 1.5em;
width: 25%;
}
.pagelinks
{
float: left;
line-height: 1.2em;
width: 35%;
}
.desc
{
font-size: 11px;
color: #434951;
}
.lastaction
{
font-size: 10px;
color: #434951;
}
.edit
{
font-size: 9px;
}
.thin
{
border: 1px solid #FFF;
border-left: 0;
border-right: 0;
line-height: 150%;
margin: 2px 0 2px 0;
padding: 6px 0 6px 0;
}
.calmonths
{
background: #F0F5FA;
border: 1px solid #C2CFDF;
font-size: 18px;
font-weight: bold;
margin: 5px 0 5px 0;
padding: 8px;
text-align: center;
}
.weekday
{
font-size: 14px;
font-weight: bold;
}
.calmonths a
{
text-decoration: none;
}
.calday,
.calweekday
{
background: #DFE6EF;
color: #666;
font-size: 11px;
font-weight: bold;
margin: 0;
padding: 4px;
text-align: right;
}
.calweekday
{
border-right: 1px solid #AAA;
color: #222;
font-size: 14px;
padding: 6px;
text-align: center;
}
.celltodayshaded,
.celldateshaded,
.cellblank,
.celldate,
.celltoday,
.mcellblank,
.mcelldate,
.mcelltoday
{
background: #EEF2F7;
height: 100px;
margin: 0;
padding: 0;
vertical-align: top;
}
.celltodayshaded,
.celldateshaded
{
background: #E3DFE7;
}
.mcellblank,
.mcelldate,
.mcelltoday
{
height: auto;
}
.cellblank,
.mcellblank
{
background: #C2CFDF;
}
.celltoday,
.celltodayshaded,
.mcelltoday
{
border: 2px solid #8B0000;
}
.calranged
{
border: 2px outset #C2CFDF;
background: #C2CFDF;
padding: 4px;
}
.calitem
{
border-bottom: 1px dotted #C2CFDF;
padding: 4px;
}
.input-warn,
.input-green,
input,
textarea,
select
{
background: #FFF;
border: 1px solid #4C77B6;
color: #000;
font-family: verdana, helvetica, sans-serif;
font-size: 11px;
margin: 5px;
padding: 2px;
vertical-align: middle;
}
.input-warn,
.input-warn-content
{
border: 1px solid #C00;
}
.input-ok,
.input-ok-content
{
border: 1px solid #0C0;
}
.input-warn-content
{
padding: 4px;
margin: 4px;
background-color: #FCC;
}
.input-ok-content
{
padding: 4px;
margin: 4px;
background-color: #CFC;
}
.input-text
{
color: #900;
}
select
{
border: 0;
font-family: verdana, helvetica, sans-serif;
font-size: 12px;
margin: 0;
padding: 0;
}
input.button
{
margin: 0;
width: auto;
}
optgroup option
{
font-family: verdana, helvetica, sans-serif;
font-size: 12px;
}
.codebuttons
{
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 10px;
vertical-align: middle;
margin: 2px;
}
.textarea,
.searchinput,
.button,
.gobutton
{
background: #FFF;
border: 1px solid #4C77B6;
color: #000;
font-family: Verdana, Helvetica, Sans-Serif;
font-size: 11px;
padding: 2px;
vertical-align: middle;
}
.button
{
background: #DFE6EF;
}
.gobutton
{
background: transparent;
border: 0;
color: #072A66;
margin: 0;
vertical-align: middle;
}
.radiobutton,
.checkbox,
.helpbox
{
border: 0;
vertical-align: middle;
}
.formtable
{
background: transparent;
}
.formtable td,
.pformleft,
.pformleftw,
.pformright
{
background: #F5F9FD;
border: 1px solid #C2CFDF;
border-bottom: 0;
border-left: 0;
font-weight: bold;
margin: 1px 0 0 0;
padding: 6px;
width: 25%;
}
.formtable td.wider,
.pformleftw,
.pformright
{
width: 40%;
}
.formtable td.formright,
.pformright
{
border-right: 0px;
font-weight: normal;
width: auto;
}
.formtable td.formtitle,
.formsubtitle
{
background: #dadddf;
border: 1px solid #9FB9D4;
border-bottom: 0;
border-left: 0;
border-right: 0;
font-weight: normal;
}
.formsubtitle
{
border: 0;
color: #3A4F6C;
font-weight: bold;
padding: 5px;
}
.formtable td.formstrip
{
background: #DDE8F2;
border: 1px solid #9FB9D4;
border-left: 0;
border-right: 0;
font-weight: normal;
}
.quotetop
{
background: #E4EAF2 url(style_images/1/css_img_quote.gif) no-repeat right;
border: 1px dotted #000;
border-bottom: 0;
border-left: 4px solid #8394B2;
color: #000;
font-weight: bold;
font-size: 10px;
margin: 8px auto 0 auto;
padding: 3px;
}
.quotemain
{
background: #FAFCFE;
border: 1px dotted #000;
border-left: 4px solid #8394B2;
border-top: 0;
color: #465584;
padding: 4px;
margin: 0 auto 8px auto;
}
.codetop,
.sqltop,
.htmltop
{
background: #FDDBCC url(style_images/1/css_img_code.gif) no-repeat right;
color: #000;
font-weight: bold;
margin: 0 auto 0 auto;
padding: 3px;
width: 98%;
}
.codemain,
.sqlmain,
.htmlmain
{
background: #FAFCFE;
border: 1px dotted #000;
color: #465584;
font-family: Courier, Courier New, Verdana, Arial;
margin: 0 auto 0 auto;
padding: 2px;
width: 98%;
}
#QUOTE,
#CODE
{
background: #FAFCFE;
border: 1px solid #000;
color: #465584;
font-family: Verdana, Arial;
font-size: 11px;
padding: 2px;
white-space: normal;
}
#CODE
{
font-family: Courier, Courier New, Verdana, Arial;
}
.cleared
{
clear: both;
}
.borderwrap,
.borderwrapm
{
background: #FFF;
border: 1px solid #dbe7ee;
padding: 0px;
margin: 0px;
}
.borderwrapm
{
margin: 5px;
}
.borderwrap h3,
.maintitle,
.maintitlecollapse
{
background: url(/images/topper.gif) no-repeat top left;
color: #FFF;
font-size: 12px;
font-weight: bold;
margin: 0px;
padding: 8px;
}
.maintitle td
{
color: #FFF;
font-size: 12px;
font-weight: bold;
}
.maintitlecollapse
{
border: 1px solid #FFF;
}
.maintitle p,
.maintitlecollapse p,
.formsubtitle p
{
background: transparent !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.maintitle p.expand,
.maintitle p.goto,
.maintitlecollapse p.expand,
.formsubtitle p.members
{
float: right;
width: auto !important;
}
.maintitle a:link,
.maintitle a:visited,
.maintitlecollapse a:link,
.maintitlecollapse a:visited
{
background: transparent;
color: #FFF;
text-decoration: none;
}
.maintitle a:hover,
.maintitle a:active,
.maintitlecollapse a:hover,
.maintitlecollapse a:active
{
background: transparent;
color: #F1F1F1;
}
table th,
.borderwrap table th,
.subtitle,
.subtitlediv,
.postlinksbar
{
background: transparent url(style_images/1/tile_sub.gif);
border-bottom: 1px solid #5176B5;
color: #3A4F6C;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
margin: 0;
padding: 5px;
}
.subtitlediv
{
border: 1px solid #FFF;
border-bottom: 1px solid #5176B5;
text-align: right;
}
.borderwrap table th a:link,
.subtitle a:link,
.subtitlediv a:link,
.borderwrap table th a:visited,
.subtitle a:visited,
.subtitlediv a:visited,
.borderwrap table th a:active,
.subtitle a:active,
.subtitlediv a:active,
.borderwrap table th a:hover,
.subtitle a:hover,
.subtitlediv a:hover
{
background: transparent;
color: #3A4F6C;
text-decoration: none;
}
.borderwrap h4
{
background: #DDE6F2;
border: 1px solid #FFF;
border-bottom: 1px solid #5176B5;
border-top: 1px solid #5176B5;
color: #5176B5;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 5px;
}
.borderwrap p
{
background: #F9F9F9;
border: 1px solid #CCC;
margin: 5px;
padding: 10px;
text-align: left;
}
td.formbuttonrow,
.borderwrap p.formbuttonrow,
.borderwrap p.formbuttonrow1
{
background: #dedfe3;
border: 1px solid #FFF;
border-top: 1px solid #455260;
margin: 0px !important;
padding: 5px !important;
text-align: center;
}
td.formbuttonrow
{
border-bottom: 0;
border-left: 0;
border-right: 0;
}
.borderwrap p.formbuttonrow1
{
background: #F9F9F9 !important;
border: 0;
border-top: 1px solid #CCC;
}
.bar,
.barb,
.barc
{
background: #DFE6EF;
border: 1px solid #FFF;
}
.barc
{
border-bottom: 0;
}
.bar p,
.barb p,
.barc p
{
background: transparent;
border: 0;
color: #222;
font-size: 11px;
margin: 0;
padding: 5px;
text-align: left;
}
.barb p
{
text-align: right;
}
.bar p.over,
.bar p.overs,
.barc p.over,
.barc p.overs
{
float: right;
}
.barb p.over,
.barb p.overs
{
float: left;
}
.bar p.overs,
.barb p.overs,
.barc p.overs
{
position: relative;
top: 5px;
}
.catend
{
background: #8394B2;
color: #000;
font-size: 1px;
height: 5px;
}
.newslink
{
background: #F0F5FA;
border: 1px solid #C2CFDF;
margin: 0;
width: 100%;
}
.newslink td
{
color: #222;
font-size: 10px;
padding: 5px 5px 5px 10px;
}
.newslink span
{
background: transparent;
color: #072A66;
font-style: italic;
font-weight: normal;
}
.newslink input
{
background: #FFF;
border: 1px solid #999;
color: #072A66;
font-size: 10px;
padding: 3px;
vertical-align: middle;
width: auto;
}
.newslink input.button
{
background: transparent;
border: 0;
color: #072A66;
vertical-align: middle;
}
.fieldwrap
{
background: #F9F9F9;
border: 1px solid #CCC;
border-top: 0;
margin: 5px;
padding: 0;
text-align: left;
}
.fieldwrap h4
{
background: #EEE;
border: 1px solid #CCC;
border-left: 0;
border-right: 0;
color: #444;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 5px;
}
.errorwrap
{
background: #F2DDDD;
border: 1px solid #992A2A;
border-top: 0;
margin: 5px;
padding: 0;
}
.errorwrap h4
{
background: #E3C0C0;
border: 1px solid #992A2A;
border-left: 0;
border-right: 0;
color: #992A2A;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 5px;
}
.errorwrap p
{
background: transparent;
border: 0;
color: #992A2A;
margin: 0;
padding: 8px;
}
.ruleswrap
{
background: #F2DDDD;
border: 1px solid #992A2A;
color: #992A2A;
margin: 5px 0 5px 0;
padding: 5px;
}
#redirectwrap
{
background: #F0F5FA;
border: 1px solid #C2CFDF;
margin: 200px auto 0 auto;
text-align: left;
width: 500px;
}
#redirectwrap h4
{
background: #D0DDEA;
border-bottom: 1px solid #C2CFDF;
color: #3A4F6C;
font-size: 14px;
margin: 0;
padding: 5px;
}
#redirectwrap p
{
margin: 0;
padding: 5px;
}
#redirectwrap p.redirectfoot
{
background: #E3EBF4;
border-top: 1px solid #C2CFDF;
text-align: center;
}
#gfooter
{
background: #8394B2;
margin: 5px 0 5px 0;
padding: 0;
width: 100%;
}
#gfooter td
{
color: #FFF;
font-size: 10px;
padding: 4px;
}
#gfooter a:link,
#gfooter a:visited
{
color: #FFF;
}
#logostrip
{
background: #1d3a51 url(http://forum.uraldev.ru/images/uraldev_forum_logotile.png);
//border: 1px solid #FFF;
height: 100px;
margin: 0;
padding: 0;
}
#logographic
{
background: url(http://forum.uraldev.ru/images/uraldev_forum_logo.png) no-repeat left;
height: 100px;
margin: 0;
padding: 0;
}
#submenu
{
background: transparent url(style_images/1/tile_sub.gif);
border: 1px solid #FFF;
border-top: 0;
color: #3A4F6C;
margin: 0;
}
#userlinks,
#userlinksguest
{
background: #F0F5FA;
border: 1px solid #C2CFDF;
margin: 5px 0 5px 0;
padding: 0 5px 0 5px;
}
#userlinksguest
{
background: #F4E7EA;
border: 1px solid #986265;
}
#submenu p,
#userlinks p,
#userlinksguest p
{
background: transparent !important;
border: 0 !important;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
margin: 0 !important;
padding: 7px 0 7px 0;
text-align: right;
}
#userlinks p,
#userlinksguest p
{
font-weight: normal;
letter-spacing: 0;
}
#submenu p.home,
#userlinks p.home,
#userlinksguest p.home
{
float: left;
}
#userlinksguest p.pcen
{
text-align: center;
}
#submenu a:link,
#submenu a:visited
{
background: transparent;
color: #3A4F6C;
padding: 0 6px 0 6px;
text-decoration: none;
}
#submenu a:hover,
#submenu a:active
{
background: transparent;
color: #5176B5;
}
#navstrip
{
background: transparent;
color: #999;
font-size: 12px;
font-weight: bold;
margin: 0 0 5px 0;
padding: 14px 0px 8px 0px;
}
#navstrip a:link,
#navstrip a:visited
{
background: transparent;
color: #222;
text-decoration: none;
}
#navstrip a:hover,
#navstrip a:active
{
background: transparent;
color: #5176B5;
}
.toplinks
{
background: transparent;
color: #000;
margin: 0;
padding: 0 0 5px 0;
text-align: right;
}
.toplinks span
{
background: #F0F5FA;
border: 1px solid #C2CFDF;
border-bottom: 0;
color: #000;
font-size: 10px;
font-weight: bold;
margin: 0 10px 0 0;
padding: 5px;
}
.copyright
{
background: #EEE;
font-size: 11px;
margin: 0 0 5px 0;
padding: 8px;
}
#print
{
margin: 20px auto 20px auto;
padding: 0;
text-align: left;
width: 85%;
}
#print h1,
#print h2,
#print h3,
#print h4,
#print p
{
color: #036;
font-size: 18px;
font-weight: bold;
margin: 0;
padding: 8px;
}
#print h2,
#print h3,
#print p
{
border-bottom: 1px solid #999;
font-size: 11px;
font-weight: normal;
}
#print h3
{
background: #F5F5F5;
font-size: 12px;
font-weight: bold;
margin: 0 0 10px 0;
}
#print h4
{
background: #F9F9F9;
font-size: 11px;
}
#print p
{
margin: 0 0 5px 0;
padding: 10px;
}
#print p.printcopy
{
border: 0;
color: #000;
text-align: center;
}
.rteimage
{
cursor: hand;
padding: 1px;
}
.rteImageRaised
{
border: 1px outset;
cursor: hand;
padding: 0px;
}
.rteImageLowered
{
border: 1px inset;
cursor: hand;
padding: 0px;
}
.rteimage:hover
{
background: #EBEBEB;
cursor: hand;
}
.rteVertSep
{
margin: 0 4px 0 4px;
}
.rteBack
{
background: #D3D3D3;
border: 1px outset;
letter-spacing: 0;
padding: 2px;
}
.rtebottombutton
{
font-size: 10px;
border: 1px solid #777;
border-top: 0px;
padding: 3px;
margin: 0px;
background-color: #EBEBEB;
}
.rtebottombuttonon
{
font-size: 10px;
border: 1px solid #777;
border-top: 0px;
padding: 3px;
margin: 0px;
background-color: #D3D3D3;
}
.rtebuttonbar1
{
background-image: url(style_images/1/folder_rte_images/rte_tile.gif);
border: 1px solid gray;
border-bottom: 0px;
letter-spacing: 0;
padding: 2px;
height: 26px;
}
.rtebuttonbar2
{
background-image: url(style_images/1/folder_rte_images/rte_tile.gif);
border: 1px solid gray;
border-top: 1px solid gray;
letter-spacing: 0;
padding: 2px;
height: 26px;
}
.rtebuttonbar1 tbody tr td,
.rtebuttonbar1 tr td,
.rtebuttonbar2 tbody tr td,
.rtebuttonbar2 tr td,
.rteBack tbody tr td,
.rteBack tr td
{
padding: 0;
}
.rteDiv
{
display: block;
position: relative;
padding: 0px;
margin: 0px;
}
.rteiframe
{
border: 1px solid #777;
background-color: #FFF;
}
.rteselectbox
{
font-size: 11px;
}
.dny-edit-title
{
border: 0px;
padding: 3px;
margin: 0px;
background: #D1DCEB;
color: #3A4F6C;
}
.tabon
{
border-top: 1px solid #999;
border-left: 1px solid #999;
border-right: 1px solid #999;
background-color: #FFF;
padding: 8px;
padding-bottom: 9px;
font-size: 10px;
float: left;
width: auto;
margin-top: 3px;
}
.taboff
{
border-top: 1px solid #777;
border-left: 1px solid #777;
border-right: 1px solid #777;
background-color: #B5C3D9;
color: #333;
padding: 8px;
font-size: 10px;
float: left;
width: auto;
margin-top: 3px;
}
.tabon a:link,
.tabon a:visited,
.tabon a:active
{
text-decoration: none;
color: #000;
}
.taboff a:link,
.taboff a:visited,
.taboff a:active
{
text-decoration: none;
color: #333;
}
.mya-back
{
background: #072A66;
margin: 1px;
}
.mya-content
{
background: #FFF;
padding: 8px;
margin: 1px;
border: 1px solid #777;
}
.iframeshim
{
position: absolute;
display: none;
background: #FFF;
filter: alpha(opacity=0);
border: 0px;
width: auto;
height: auto;
}
.popupmenu
{
background: #F0F5FA;
border: 1px solid #3A4F6C;
text-align: left;
font-size: 10px;
white-space: nowrap;
}
.popupmenu-item
{
padding: 5px;
white-space: nowrap;
border-bottom: 1px solid #C2CFDF;
}
.popupmenu-item-last
{
padding: 5px;
white-space: nowrap;
}
.popmenubutton
{
width: 120px;
white-space: nowrap;
background-color: #C2CFDF;
border: 1px solid #3A4F6C;
color: #3A4F6C;
font-weight: bold;
float: right;
height: 18px;
text-align: center;
margin: 0px;
font-size: 11px;
padding: 3px;
}
.popmenubutton a:link,
.popmenubutton a:visited,
.popupmenu-item a:link,
.popupmenu-item a:visited,
.popupmenu-item-last a:link,
.popupmenu-item-last a:visited
{
color: #3A4F6C;
text-decoration: none;
}
.popmenubutton a:hover,
.popupmenu-item a:hover,
.popupmenu-item-last a:hover
{
color: #5176B5;
text-decoration: none;
}
.popupmenu-category
{
background: transparent url(style_images/1/tile_sub.gif);
border-top: 1px solid #5176B5;
border-bottom: 1px solid #5176B5;
color: #3A4F6C;
font-size: 10px;
font-weight: bold;
letter-spacing: 1px;
margin: 0;
padding: 5px;
}
Добро пожаловать Гость ( Логин | Регистрация )
UralDev >
Форум
> Программинг
Наложение текстуры на ландшафт, DirectX
Настройки
David Blain
12 February 2006 - 13:42
Пост #1
Группа: Участники
Постов: 13
Город: Первоуральска
Я создаю ландшафт из BMP файла с использованием одного меша. В итоге я могу наложить текстуру только на весь ландшафт. А можно ли накладывать текстуру только на определенные участки ландшафта, чтобы достич реалистичности?
David Blain
14 February 2006 - 11:10
Пост #2
Группа: Участники
Постов: 13
Город: Первоуральска
Ни кто не знает? Жалко. Правда на других форумах тоже не знают (IMG:style_emoticons/default/smile.gif) Может я сформулировал вопрос не правильно?:Я создаю один сплайн, у которого вершины индексируются из BMP файла (чем светлее, тем выше). Т.к. у меня всего 1 сплайн, то наложить текстуру я могу только сразу на весь. А как накладывать текстуру, если необходимо в одной части отображение травы, в другой песка, а в городах вид камней?Пост был отредактирован David Blain: 14 February 2006 - 11:11
keYmax
14 February 2006 - 12:50
Пост #3
Группа: Профи
Постов: 181
Никто тебе не запрещает сначала подготовить один Vertex буфер и в него положить, например,множество квадов (по два треугольника) с соответствующими координатами (XYZ+Текстурные) а уж потом ставь нужную текстуру и рисуй...Обычно множество спрайтов кладут в одну текстуру размером чем больше тем лучше...
Scart
17 February 2006 - 17:48
Пост #4
Группа: Профи
Постов: 200
можно использовать карту, на которой будут разные цвета в разных местах. потом по этой карте, определяя цвет пикслеля определять текстуру.
David Blain
17 February 2006 - 19:33
Пост #5
Группа: Участники
Постов: 13
Город: Первоуральска
Определить, где какая текстура должна быть не сложно, вопрос в том, как её наложить на одну часть?
keYmax
17 February 2006 - 19:48
Пост #6
Группа: Профи
Постов: 181
David Blain (IMG:style_emoticons/default/smile.gif) я так понимаю ты хочешь чтобы все было просто и легко... так не бываетРебята дельные советы же дают...Во первых для определения наложения куска текстуры существуют текстурные координатыБерешь большую текстуру кладешь в нее все свои тайлы (камень, песок, трава и.т.п) а затем простоуказываешь у нужных треугольников в вершинах текстурные координаты, какие куски текстуры на них накладывать, чего уж проще то...
Scart
8 August 2006 - 18:00
Пост #7
Группа: Профи
Постов: 200
>Я создаю ландшафт из BMP файла с использованием одного меша. >В итоге я могу наложить текстуру только на весь ландшафт. А >можно ли накладывать текстуру только на определенные участки >ландшафта, чтобы достич реалистичности?Короче. 1) Считываешь из свего bmp данные в один vertex buffer. Создаешь несколько index buffer'ов так, чтобы в каждом IB были последовательности треугольников с одной текстурой. Например первые 100 треугольников в один IB, вторые 300 в другой IB. Когда рисуешь первый IB - ставишь одну текстуру (песка), когда рисуешь второй IB - ставишь вторую текстуру (травы). Итого у тебя 400 треугольников с разными текстурами.2) Сплаттинг. С помощью шэйдеров. Натягиваешь на свой ландшафт одну текстуру (не тайлами!!! на целый ландшафт!!!). Допустим на ней три цвета (красный, зеленый, синий). Отправляешь при отрисовке ландшафта в шэйдер 4 текстуры (разноцветную от ландшафта, песка, травы, земли). А в шэйдере в зависимости от цвета пикселя на разноцветной текстуре вычисляешь цвет на ландшафте (если точка целиком красная, то песок; если целиком синяя, то трава; и т.д.). При этом по цвету на разноцветной текстуре определяется коэффицент использования той или иной текстуры (т.е. если пиксель фиолетовый, то на ландшафте будет текстура травы "песочного цвета" ((травы+песка)/2).
Metal_Gear
6 February 2008 - 14:16
Пост #8
Группа: Участники
Постов: 22
Город: Одесса, Украина
Ребята, вы такими темами сможете испугать любого начинающего гайммейкера))) Неужели наложение текстур настолько сложно?
Scart
6 February 2008 - 16:02
Пост #9
Группа: Профи
Постов: 200
ЦитатаMetal_GearРебята, вы такими темами сможете испугать любого начинающего гайммейкера))) Неужели наложение текстур настолько сложно?По-моему, тут все понятно и довольно просто объяснено)К тому же splatting - это "продвинутый" вариант текстурирования ландшафта. Смотрим на вопрос:ЦитатаА можно ли накладывать текстуру только на определенные участки ландшафта, чтобы достич реалистичности?То бишь, для предания реалистичности используется.А новичкам ничего не мешает просто растайлить на ландшафте одну текстурку.
Metal_Gear
7 February 2008 - 12:19
Пост #10
Группа: Участники
Постов: 22
Город: Одесса, Украина
Ясно, спс. Итог: splatting - Метод текстурирования основанный на проверке цвета поверхности и наложении файла с заранее заготовленной текстуркой. Запомним)))Пост был отредактирован Metal_Gear: 7 February 2008 - 12:34
Scart
7 February 2008 - 21:44
Пост #11
Группа: Профи
Постов: 200
Ну да, смысл такой.
Metal_Gear
11 February 2008 - 3:08
Пост #12
Группа: Участники
Постов: 22
Город: Одесса, Украина
А какие ещё есть методы наложения текстур на ландшафт? Потому-как в реал-тайме шарить все точки на экране и обкидывать их треугольничками не каждая система потянет.
Igroman
20 March 2008 - 0:45
Пост #13
Группа: Профи
Постов: 41
Город: Миасс
Цитата А какие ещё есть методы наложения текстур на ландшафт? Потому-как в реал-тайме шарить все точки на экране и обкидывать их треугольничками не каждая система потянет.Да ну ты брось)Метод с цветами чем-то похож (а может и всем сразу(IMG:style_emoticons/default/smile.gif)) на метод FarCry(Crysis не ковырял(IMG:style_emoticons/default/smile.gif) ), нормально же работает.)Ты главное не вздумай на CPU это дело творить и всё.)все нормальные методы тут уже упомянуты, остальное особо извращённое и искать их надо в гугле)) но моё ИМХО - эти идеальны почти во всём. (IMG:style_emoticons/default/smile.gif)
1 пользователей читают эту тему ()
0 участников:
Форум
Поиск
Помощь
Разработка игр
|-- Общий форум
|-- Новичкам
|-- Программинг
|-- Консоли
|-- Шаровары-Казуалы
|-- Менеджмент
|-- Игровой дизайн
|-- Конкурсы
|-- Мобильные игры
|-- Графика и анимация
|-- Звук и музыка
|-- Проекты и команды
|-- Игры
|-- Флейм
|-- Работа
|-- Коммент|Новости
|-- Коммент|Статьи
|-- Коммент|Книги
|-- Про UralDev
Режим экрана: Стандартный ·
Переключить в: Линейный+ ·
Переключить в: Общий
Отслеживать тему ·
Послать тему по e-mail ·
Печатать тему ·
Подписаться на форум
Lo-Fi версия
Invision Power Board ╘ 2007 IPS, Inc.
ПЮГДЕКШ
ТЮЙЯХЛХКЕ
ЙБМ
ТЕИПБЕПЙ ОПЮГДМХЙ
sikkens ЙПЮЯЙЮ
ЦЕПА НАКЮЯРЭ
НАПЕГЮМХЕ
БЮГЮ 2114
ТНРНОЕВЮРЭ
ОНЙПЮЯЙЮ ПВБ
АХКЕР АЮКЕР
ОСРЕБНИ ЯРЕМЮ
ОНДЦНРНБЙЮ ielts
ЙНМЖЕМРПХПНБЮМХЕ ЙХЯКНПНДЮ
КЕВЕМХЕ ЫХРНБХДМШИ ФЕКЕГЮ
ОНЛЕЫЕМХЕ ЬХМНЛНМРЮФ
ЩКЕЙРПНРЕКЭТЕП
СКХВМШИ АЮПАЕЙЧ
АЕКШИ ЙНТЕ
НАПЕГЮМХЕ
ЙСОКЪ ОПНХГБНДЯРБЕММШИ ЙНЛОКЕЙЯ
БЮГЮ 2112
southpark
ЮБРНЛЮРХВЕЯЙХИ ПЕГЙЮ
ЯОЕЖНАСБЭ ГЮЙЮГ
ПНЛ ДНЯРЮБЙЮ
БМЕЬМХИ ЮМРЕММЮ
ОПНХГБНДЯРБЕММШИ РЮПЮ
lida
ВЕПМШИ ЙНТЕ
ОПНДЮФЮ ЙНТЕ
ОПЕДНУПЮМХРЕКЭ ОЙЩ
ХГНКЕМРЮ УА
АХКЕР ЛЛДЛ
ЦХОЯНЙЮПРНМ
ЯРЕКЮФ ОХЫЕАКНЙ
ТЮЯЮДМШИ ОНЙПШРХЕ
ЦПЮБХПНБЮКЭМШИ АСП
ЮЙПХКНБШИ БЙКЮДШЬ
ДЕБЕКНОЕПЯЙЮЪ ЙНЛОЮМХЪ
ДХУПНХВМНЕ ГЕПЙЮКН
ХМФЕМЕПМШИ ЦЕНДЕГХЪ
ЦПЮДХПМЪ БЕМРХКЪРНПМШЕ ЦПД
ЯЕПБЕП hp
БЮГЮ 2114
ЩТХПМШИ ЮМРЕММЮ kaasi
ЯБЕРЪЫХИЯЪ ЙПЮЯЙЮ
ГЮКНЦ ЙНЯРПНЛЮ
КЕВЕМХЕ ГЮПСАЕФНЛ
ХГЛЕПХРЕКЭ rlc
БЯОСВХБЮЧЫХИЯЪ ЙПЮЯЙЮ
ЙСОХРЭ МХОЕКЭ
ЛХЯРЕП АХМ
qtek
ЦЮГНМНЙНЯХКЙЮ dolmar
ЛНМЕРМХЖЮ
ЯПНЙ ПЕЮКХГЮЖХЪ ПЮЙ
АХКЕР ГЮДНПМНБ
РСАЮ ЛЮЬХМЮ
ЮБРНХМТНПЛЮРНП
ppg ЙПЮЯЙЮ
ЙСКЕП 939
АСЙЛЕЙЕПЯЙХИ ЙНМРНПЮ ЬЮМЯ
ЮБРНОНДЗЕЛМХЙ
НАНЦЮЫЕМХЕ ЙХЯКНПНДНЛ
ЖХЙКНМ АЮРЮПЕИМШИ
ЯЕПБХЯ УНКНДХКЭМХЙ
УНКНДМШИ ЬРЮЛОНБЙЮ
ХГАЮБХРЭЯЪ ЯОЮЛ
ЙПСРНИ ЙНЛОЮМХЪ
ХМРЕККЕЙРСЮКЭМШИ ЩКЕЙРПНЯВЕРВХЙ
ЙСОХРЭ МНФНБЙЮ
КЮД
ПНКЭ ЯРЮБЕМЭ
СКХВМШИ АЮПАЕЙЧ
telecomfm gsmphone
РПЕУЛЕПМШИ ОПЕГЕМРЮЖХЪ
ЙСОХРЭ ЮПУХБЮРНП
ЯКХЛ КХТР
АЮПАЕЙЧ
ЯЕБЕПЯЙХИ ДНКНЛХР
ЙСОХРЭ МХООЕКЭ ОЕПЕУ
ОНЯРЮБЙЮ УНКНДХКЭМШИ ЙЮЛЕПЮ
ЯЕМЯНПМШИ ЩЙПЮМ СЯРПНИЯРБН
ЙСОХРЭ ОЙ
ОПНЛШБЙЮ ХМФЕЙРНП
ЛХЙЮМХРНБШЕ БРСКЙЮ
ГЮЙЮГЮРЭ ТКЮЦ
АЕГНОЕПЮЖХНММНЕ ОПЕПШБЮМХЕ АЕПЕЛЕММНЯРЭ
ГЮЙЮГ НАЕД
soflens comfort
li-da
ОО-ОКЕМЙЮ
ДЧОНМ ЙПЮЯЙЮ
БЯОСВХБЮЧЫХИЯЪ ЙПЮЯЙЮ
УНКНДМШИ ЬРЮЛОНБЙЮ
inerta ЙПЮЯЙЮ
o2 optix
ЮЩПНЦПЮТХЪ
РНМХПНБЙЮ
ЛПР ЙНКЕММШИ ЯСЯРЮБ
ЛЮВРЮ ТКЮЦЬРНЙ
sikkens ЙПЮЯЙЮ
БШОХЯЙЮ ЕЦПО
УНКНДХКЭМХЙ neff
ЙНПОЮПЮРХБМШЕ БЕВЕПХМЙЮ
ОНДАНП ЩЛЮКЭ
kyiv apartments service
АЕЯОКЮРМШИ МЮПД
РЮВ-ЯЙПХМ ЛНМХРНП
ЯЙЮВЮРЭ ДКХММШИ МЮПД
АСЙЛЕЙЕПЯЙХИ ЙНМРНПЮ ЬЮМЯ
ЙСКЕП 939
thuraya sg 2510
ЙКЕХРЭ 88 КЧЙЯ
dunlup 205 55 r16
АСЙЛЕЙЕПЯЙХИ ЙНМРНПЮ ЬЮМЯ
ЩКЕЙРПНОЕВЭ dimplex model brayford
ЛЕДХЙЮЛЕМРНГМШИ ОПЕПШБЮМХЕ АЕПЕЛЕММНЯРЭ
ЦМА
РПСАНЦХА ДНПМНЛ
ЮБРНАЕРНМНМЮЯНЯШ
ЯЙЮВЮРЭ ДКХММШИ МЮПД
ЙПСРНИ xxx БХДЕН
ЦЮГНМНЙНЯХКЙЮ stiga
НУНРЮ КЕЦЮБШИ
ЯДЮРЭ ЮМЮКХГ ЙПНБЭ
МНВМНИ НВЙХ
АЮУХКЮ ОПНХГБНДХРЕКЭ
ЯРЕКЮФ
ЙЮРСЬЙЮ ЙНМРЮЙРНП
ЯЙПХОР ПЮЯЯШКЙЮ НАЗБКЕМХИ
МЮОШКЕМХЕ ООС
ЛСФВХМЮ БШУНДМНИ
ЯЙЮВЮРЭ ДКХММШИ МЮПД
АХКЕР АНКЭЬНИ
МЕИЛХМЦ
ГЕПЙЮКН БЮЦХМЮКЭМШИ
АЮМЙНБЯЙХИ ЯЕИТНБШЕ ЪВЕИЙЮ
ЯРЕЙКЪММШИ ОЕПЕЦНПНДЙЮ
ЮКЭРЕПМЮРХБМШИ ЛЕДХЖХМЮ
ГЮЙЮГЮРЭ ЛХЙПНЮБРНАСЯ
ОНДЦНММШИ ЙНЛОЕМЯЮРНП danfoss
kiev apartaments service
ЙПЮЯМШИ ОКНЫЮДЭ ЯЕЦНДМЪ
ЮКЭРЕПМЮРХБМШИ ЛЕДХЖХМЮ
ДКХММШИ МЮПД
БШАНПНВМШИ КЮЙ
ЙСОХРЭ МХООЕКЭ
ЯКЧДНОКЮЯРНБШЕ БРСКЙЮ
БЕМЕПНКНЦ
ЯСЬХКЭМШИ ЛЮЬХМЮ ardo
ЯКЧДНОКЮЯРНБШЕ БРСКЙЮ
СОПЮБКЕМХЕ ЮПУЮМЦЕКЭЯЙ
1000 УНКНДХКЭМХЙ
ЦЕКСЯХК КЮЙ
КЕВЕМХЕ ЫХРНБХДМШИ ФЕКЕГЮ
АЮМЙНБЯЙХИ ЪВЕИЙЮ
ЯРЕКЮФ
ЛЮЦМХРМШИ ДНЯЙЮ
РПСАНЦХА
НУНРЮ АЮАНВЙЮ
pki
ДСКЕБЯЙХИ ТЮПТНП
РПХ ЖБЕРЮ: ЙПЮЯМШИ