मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)7.2k · #13320

3d-paper-material

यह क्या करती है

यह स्किल 3D वेब दृश्य में washi या कार्ड जैसे कागज़ बनाने का मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जिन्हें शीट, स्क्रॉल या लेबल चाहिए जो असली कागज़ जैसे दिखें।

कब इस्तेमाल करें

  • ✓जब 3D कागज़ की शीट सपाट सफ़ेद परत जैसी दिखती है।
  • ✓जब 3D दृश्य में फटे, उखड़े या मुड़े कागज़ के किनारे चाहिए।
  • ✓जब लटकता स्क्रॉल, लेबल या कार्ड रोशनी के गुज़रने पर हल्का चमके।

Skill का लिंक

https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-paper-material/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/MengTo/Skills/blob/main/agent-skills/3d/3d-paper-material/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे 3D दृश्य में लटके washi स्क्रॉल को असली कागज़ जैसा बनाइए, रेशों और फटे किनारे के साथ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट रेशे और बनावट का विवरण maps में डालता है, फटे किनारे को उखड़े पैटर्न से आकार देता है, और परतदार मोटाई जोड़ता है। पतले हिस्सों से थोड़ी पिछली रोशनी भी गुज़रने देता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

3D Paper Material

Paper is a fibre field cut out by a torn outline: a height map of laid fibres and formation clouds gives the surface, an alpha mask with pulled-out fibres gives the edge, offset copies give the thickness, and the back light is transmitted by how thin the formation is at each pixel. Drop any one and the sheet is a white plane.

Reach for paper-cinder-transition when the paper burns or is revealed by fire; this skill is the unburnt sheet. It is a hung or laid sheet in a scene. A page-turning book needs a bend rig this skill does not provide.

Read demo.html for a working build: MeshPhysicalMaterial patched with onBeforeCompile, maps baked once into half-float targets, masks painted with Canvas 2D. Its NOISE GLSL, formation, kozo-fibre and bark-fleck expressions, back-light transmission, tearLine and the fray loop are ported unchanged from the Kibori workshop page (kibori.html, washiMat, footTear).

The pipeline

  1. Bake fibres (GPU, once). One full-screen pass writes R height, G formation, B fibre, A fleck to a half-float target. Height is 0.5 + fibre*0.34 + (tooth-0.5)*0.1 - fleck*0.2 - crease*0.55. Keep samples: 0 on the target and mipmaps on.
  2. Warp the lattice. Domain-warp the fibre coordinates by 0.014 unit and rotate them by (gnoise(q*2.1)-0.5)*1.5 rad. Add a finer, fainter fibre set at 2.7x frequency (max 0.55).
  3. Paint the mask (Canvas 2D, on stock change). R thin strip inside the tear, G silhouette plus fray fibres, B ink with a low-alpha bleed halo, A the silhouette blurred by a shadow drawn off to the side (edge age). Read back with getImageData and write into a DataTexture, rows flipped, alpha as data.
  4. Shape the sheet. A 168 x 240 plane: hung bow, a mountain crease, pin dimples, and a cylinder roll (radius 0.23, angle 2.6*curl) that keeps length. Add three copies offset along the normal by thick/3, 2thick/3, thick.
  5. Shade. Albedo from formation and fibre, ink over it, toast and foxing by the age mask. Height goes through a world-unit bump (see gotchas). Alpha is coverage, not a cut.
  6. Transmit. emissive += L * tr, where tr = 0.74 + (0.5-form)*0.85 + (0.5-lowfbm)*0.45 - fibre*0.22 - fleck*0.45, times stock gain, plus the thin strip, minus ink. L is the garden behind: sky, sun patch, black bamboo stems sampled through a mip bias of 1.4.
  7. Macro. Re-bake a second height target and mask over a 0.5 unit window at the focus point and blend it over the base by window edge. Never tile a small texture.

Constants that landed

washi cotton rag kraft
tint #f0e8d2 #f0eee6 #a88f70
fibre lattice A / B (per unit) 1.9x54 / 44x2.3 15x17 / 16x14 7x26 / 26x7
fibre relief, bump height (unit) 0.55, 0.0017 0.32, 0.0024 0.8, 0.0034
tooth freq, amp 230, 0.09 430, 0.17 300, 0.20
laid lines /unit, amp, chain 110, 0.28, 0 150, 0.55, 0.5 none
tear amplitude (T,R,B,L), fray scale 64,72,60,76; x12 3,58,3,54; x6 96,3,4,3; x8
thickness (unit), transmission 0.0045, 1.0 0.0085, 0.42 0.011, 0.16
roughness, sheen 0.93, 0.4 0.9, 0.25 0.96, 0.10

Scale: 1 unit = 134.8 mm (A4 is 1.55 x 2.2). Base bake 990 px/unit = 7.3 px/mm; macro window 1536 px over 0.5 unit = 22.8 px/mm. Tear samples 3400 per unit. Camera 28 degree FOV; macro distance 0.46-0.50.

Rules and the failure each prevents

  • Cut the outline from four independent tear lines, never a rectangle with a wobble. A single sine or noise edge reads as a CSS wave; tearLine runs straight, turns, runs again. Give cut sides amplitude 3-4, torn sides 60-100.
  • Pull fibres past the edge and paint them as partial coverage. A hard alpha edge reads as scissors. Fibres are 0.3-0.7 px wide at 30-75% alpha; on a dark wall they show as pale hairs.
  • Stack three offset copies behind the front layer, tinted 0.8-0.94 of the paper. One quad has no thickness and shows nothing side-on. Keep the offset at 0.0045-0.011 unit; more reads as cardboard.
  • Warp and rotate the fibre lattice. Two orthogonal ridged families read as scratched glass or a crosshatch, especially raking-lit.
  • Drive transmission from the same fields as the albedo. A flat emissive constant reads as a lamp inside a card; thin formation must glow, fibre bundles and ink must hold light back.
  • Fade the toast band to zero beyond the edge. Toasting the fray turns pulled-out fibres brown-
अक्सर पूछे जाने वाले सवाल

क्या यह जलते हुए कागज़ को कवर करती है?

नहीं। आग से जला या उजागर हुआ कागज़ एक अलग स्किल कवर करती है। यह बिना जले शीट को कवर करती है।

क्या यह पन्ने पलटने वाली किताब बना सकती है?

नहीं। स्किल कहती है कि पन्ने पलटने वाली किताब के लिए bend सेटअप चाहिए, जो वह नहीं देती।

कौन-से कागज़ प्रकार बताए गए हैं?

Washi, cotton rag और kraft paper।

जानकारी

लेखक का मूल विवरण

Build a paper sheet in Three.js that reads as paper up close — washi, cotton rag or kraft with baked fibre and tooth relief, laid and chain lines, a torn deckle edge with frayed fibres, four-layer thickness, a rolled corner and crease, ink that wicks along the fibres, toasted aged edges, contact shadows and back-lit translucency. Use for a hung sheet, scroll, page, label, shoji pane or card that must survive a macro close-up, or when paper looks like a flat white plane, has ruler-straight edges, no thickness, or does not glow when lit from behind. Use 3d-wood-material, 3d-cloth-material or 3d-

repo: MengTo/Skills

लोकप्रियता

GitHub स्टार
7.2k
रैंकिंग में स्थान
#13320
लाइसेंस
MIT
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

3d-cloth-material

7.2k

आपके एजेंट को Three.js में असली बुने हुए कपड़े जैसा दिखने वाला मटीरियल बनाने में मदद करती है, जिसमें धागों की बुनाई, हल्की चमक, प्राकृतिक सिलवटें, किनारे और सीवन हों।

कोडिंगवेबसाइट और UI (frontend)

3d-falling-leaves

7.2k

आपके एजेंट को 3D दृश्य में असली लगने वाली गिरती पत्तियाँ जोड़ने देती है, जो लुढ़कती हैं, हवा के साथ बहती हैं और कैमरा हिलने पर दोबारा इस्तेमाल होती हैं।

कोडिंगवेबसाइट और UI (frontend)

3d-four-seasons

7.2k

आपके एजेंट को 3D दृश्य में वसंत, गर्मी, शरद और सर्दी के रूप जोड़ने देती है, जिसमें हरियाली, रोशनी, आसमान और बर्फ़ बिना दृश्य दोबारा बनाए बदलते हैं।

कोडिंगवेबसाइट और UI (frontend)

3d-high-poly-models

7.2k

आपके एजेंट को चिकने आकार और विश्वसनीय किनारों वाले विस्तृत 3D मॉडल बनाने देती है, और फिर वेब पर अच्छे चलने वाले हल्के संस्करण तैयार करती है।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills