I used Skanect to scan my room down. The .ply file generated is like this:
0.614557 -0.0194625 -0.305274 -0.127814 -0.551592 0.824263 100 113 96
0.614418 -0.019946 -0.305417 -0.127814 -0.551592 0.824263 98 111 96
0.61429 0.00103368 -0.303381 0.0386538 -0.603242 0.796621 104 107 95
…
扫描用的工具叫Skanect,参见上一篇
导出的.ply文件大概是这样
0.614557 -0.0194625 -0.305274 -0.127814 -0.551592 0.824263 100 113 96
0.614418 -0.019946 -0.305417 -0.127814 -0.551592 0.824263 98 111 96
0.61429 0.00103368 -0.303381 0.0386538 -0.603242 0.796621 104 107 95
…
9 columns are x, y, z, xn(normal), yn, zn, r, g, b.
Took me a while to make it work because I didn’t know shit about Python itself or Maya Python. So if you’re in fog too I present you Python functions for Maya.
Notes:
Attributes have types, I forgot because Python fed me honey on this one. Stuck for a day.
emit() is buggy, it crashed the soul out of me when I used at=’rgbPP’ , use setParticleAttr() instead
Important, after importing, do ‘set current state to initial state’ and cache the first frame, otherwise the color will be gone next time you start it, this is some bullshit.
To hide part of the point cloud, select and cmds.setParticleAttr(at=’opacityPP’, fv=0).
[py]
## Maya Point Cloud (.xyz) Importer
## Format: X Y Z ,a ,a a, R, G, B for every line
## Page: http://axlarts.com/?p=1923
from maya import cmds
RES=100 # Only draw one particle for every RES lines in the file,
# in case of huge cloud but only need reference in the scene.
path=cmds.fileDialog2(ds=2,fm=1)[0]
f0=open(path)
n=0; pn=0
p0=cmds.nParticle()[1]
cmds.setAttr(p0+’.isDynamic’,0)
cmds.addAttr(p0,ln=’rgbPP’,dt=’vectorArray’)
while 1:
line=f0.readline().split(‘ ‘)
n+=1
if line[0]==”:
break
if n%10000==0:
print "%d lines %d particles\n" % (n, pn)
if n%RES!=0:
continue
rotted=False
xyz=[]
for doll in line:
try:
dollF=float(doll)
except ValueError:
rotted=True
print ‘(Warning) Invalid value %s in line%d: %s’ % (doll,n,line)
break
xyz.append(dollF)
if len(line)!=9:
rotted=True
if rotted:
continue
for a in range(6,9): #Just because it’s x y z bla bla bla r g b in my case
xyz[a]/=255
cmds.emit(object=p0,position=xyz[:3])
cmds.select(p0+’.pt[‘+str(pn)+’]’)
cmds.setParticleAttr(at=’rgbPP’, vv=xyz[6:9])
pn+=1
[/py]
Additional Python script to import particles, using only the first 3 numbers everyline as x,y,z and ignoring others.
There surely is way to make this more compatible but that’s too much effort..
[py]
## Maya Point Cloud (.xyz) Importer
## Format: X Y Z for every line
## Page: http://axlarts.com/?p=1923
from maya import cmds
RES=1 # Only draw one particle for every RES lines in the file,
# in case of huge cloud but only need reference in the scene.
path=cmds.fileDialog2(ds=2,fm=1)[0]
f0=open(path)
n=0; pn=0
p0=cmds.nParticle()[1]
cmds.setAttr(p0+’.isDynamic’,0)
cmds.addAttr(p0,ln=’rgbPP’,dt=’vectorArray’)
while 1:
line=f0.readline().split(‘ ‘)
n+=1
if line[0]==”:
break
if n%10000==0:
print "%d lines %d particles\n" % (n, pn)
if n%RES!=0:
continue
rotted=False
xyz=[]
for doll in line:
try:
dollF=float(doll)
except ValueError:
rotted=True
print ‘(Warning) Invalid value %s in line%d: %s’ % (doll,n,line)
break
xyz.append(dollF)
if len(line)<3:
rotted=True
if rotted:
continue
cmds.emit(object=p0,position=xyz[:3])
pn+=1
[/py]
9行分别是 x, y, z, xn, yn, zn, r, g, b,xn是normal方向。
所以用个脚本从文件读数据-添加粒子就行了。
搜到这里的同学估计和我半斤八两,所以我present你Maya Python函数表

效果图(脚本见文末)
小记:
添加attribute注意类型,Python让我忘了这茬了,卡了我半天。
emit()函数有bug,直接 at=‘rgbPP’ 的话会崩溃,要用setParticleAttr()
5/1/2013 Update:
导入以后要先set current state to initial state 然后存下首帧cache,不然颜色会丢掉。
不要的部分可以选中然后 cmds.setParticleAttr(at=’opacityPP’, fv=0) 隐藏。
[py]
## Maya Point Cloud (.xyz) Importer
## Format: X Y Z ,a ,a a, R, G, B for every line
## Page: http://axlarts.com/?p=1923
from maya import cmds
RES=100 # Only draw one particle for every RES lines in the file,
# in case of huge cloud but only need reference in the scene.
path=cmds.fileDialog2(ds=2,fm=1)[0]
f0=open(path)
n=0; pn=0
p0=cmds.nParticle()[1]
cmds.setAttr(p0+’.isDynamic’,0)
cmds.addAttr(p0,ln=’rgbPP’,dt=’vectorArray’)
while 1:
line=f0.readline().split(‘ ‘)
n+=1
if line[0]==”:
break
if n%10000==0:
print "%d lines %d particles\n" % (n, pn)
if n%RES!=0:
continue
rotted=False
xyz=[]
for doll in line:
try:
dollF=float(doll)
except ValueError:
rotted=True
print ‘(Warning) Invalid value %s in line%d: %s’ % (doll,n,line)
break
xyz.append(dollF)
if len(line)!=9:
rotted=True
if rotted:
continue
for a in range(6,9): #Just because it’s x y z bla bla bla r g b in my case
xyz[a]/=255
cmds.emit(object=p0,position=xyz[:3])
cmds.select(p0+’.pt[‘+str(pn)+’]’)
cmds.setParticleAttr(at=’rgbPP’, vv=xyz[6:9])
pn+=1
[/py]
另外附加只看每行前3个数字作为xyz,忽略其他的python脚本
当然可以并成一个了但是没那闲情..
[py]
## Maya Point Cloud (.xyz) Importer
## Format: X Y Z for every line
## Page: http://axlarts.com/?p=1923
from maya import cmds
RES=1 # Only draw one particle for every RES lines in the file,
# in case of huge cloud but only need reference in the scene.
path=cmds.fileDialog2(ds=2,fm=1)[0]
f0=open(path)
n=0; pn=0
p0=cmds.nParticle()[1]
cmds.setAttr(p0+’.isDynamic’,0)
cmds.addAttr(p0,ln=’rgbPP’,dt=’vectorArray’)
while 1:
line=f0.readline().split(‘ ‘)
n+=1
if line[0]==”:
break
if n%10000==0:
print "%d lines %d particles\n" % (n, pn)
if n%RES!=0:
continue
rotted=False
xyz=[]
for doll in line:
try:
dollF=float(doll)
except ValueError:
rotted=True
print ‘(Warning) Invalid value %s in line%d: %s’ % (doll,n,line)
break
xyz.append(dollF)
if len(line)<3:
rotted=True
if rotted:
continue
cmds.emit(object=p0,position=xyz[:3])
pn+=1
[/py]
Видеослоты — являются самые популярные развлечения в казино.
https://n3.vladtoday.ru/A4nOfK0udbFH/
Слоты — это одни из самых популярные игры в гемблинг-индустрии.
https://artlover.e-copies.ru/ON0mC3KBFQZ0/
References:
Instant payid pokies australia nildigitalco.com
References:
Online pokies australia payid real money https://strongholdglobalgroup.com
References:
Australia online pokies payid seenitlikethis.com
References:
Online pokies with payid australia real money belrea.edu
Конторы предоставляют шанс делать пари на спортивные матчи.
Крайне важно отдавать предпочтение лицензированных букмекеров, а также тщательно изучать роспись до оформлением ставки.
Ставки способны превратиться интересным досугом, однако необходимо соблюдать баланс ответственной игры и ограничивать бюджет.
https://rosotels.ru/detail/2026-07-16-plyusy-i-minusy-ispolzovaniya-mobilnykh-prilozheniy-vs-veb-saytov-bukmekerov.htm
References:
Online pokies real money payid voffice.lawyers.bh
References:
Best instant payid pokies australia real money https://giaovienvietnam.vn/employer/payid-betting-sites-australia-2026-top-sites-reviewed/
На этом сайте можно найти много ценной материалов.
https://sorrybabushka.ru/interesting/542-krossovki-5-dollarov-dostupnye-varianty-dlya-studentov.html
На этом сайте есть возможность найти массу ценной материалов.
https://ipcfms.ru/read/410-ariana-grande-pokidaet-13-y-sezon-amerikanskoy-istorii-uzhasov.html
Здесь портале вы сможете обнаружить массу полезной информации.
https://tltrock.ru/material/2026-07-15-ariana-grande-otkazalas-ot-uchastiya-v-13-m-sezone-amerikanskoy-istorii-uzhasov.html
References:
Lollybet Casino Bonus https://www.adminer.org/redirect/?url=https://sbfpageing.com/wyytk&lang=en
References:
Lollybet Einzahlung clients1.google.td
References:
Lollybet Casino Bonus ohne Einzahlung http://www.google.com.eg
References:
Lollybet Casino Zahlungsmethoden subscribe.esetnod32.ru
References:
Lollybet Casino Live Dealer https://72.cholteth.com/index/d1?diff=0&utm_clickid=g00w000go8sgcg0k&aurl=https://link24.click/dannielle8138
References:
Lollybet Casino Einzahlung http://www.polosedan-club.com/proxy.php?link=https://link.mym.ge/celsapacker202
References:
Lollybet Casino mit Echtgeld http://magnitmedia.ru/bitrix/rk.php?goto=https://cdn.videy.love/seymourbdo3319
References:
Lollybet Casino Willkommensbonus https://shop-photo.ru/
References:
Lollybet Mirror Link kakaku.com
References:
Lollybet Casino Freispiele http://hci.cs.umanitoba.ca
References:
Lollybet Bewertung http://www.google.co.jp
Здесь сайте можно отыскать много полезной информации.
https://1-mk.ru/detail/487-kuban-investiruet-156-mln-v-sozdanie-dostupnoy-sredy-dlya-lyudey-s-ogranichennymi-vozmozhnostyami/
На данном портале есть возможность отыскать массу нужной информации.
https://kart1na.ru/entry/360-10-yarkikh-obrazov-anuk-eme-ot-fellini-do-lelusha/
האתר הזה מציע מבחר עשיר של מידע המותאמים למשתמשים הישראלי.
כאן תוכלו לגלות תוכן מגוונים בנושא המבוגרים ברמה מעולה.
הפלטפורמה מאפשרת אפשרות נוחה לחומרים אלה תוך הקפדה על אנונימיות הגולש.
https://hasfaniyot.net/
На данном портале вы сможете обнаружить массу нужной информации.
https://telegra.ph/Sem-zapovedej-Rick-Owens-filosofiya-zakodirovannaya-v-chernoe-03-04
Здесь портале есть возможность обнаружить массу ценной материалов.
https://pilot-club.ru/info/2026-07-17-aksessuary-kak-klyuchevoy-element-obraza-sumki-shlyapy-obuv/
References:
Lollybet Casino Verifizierung http://www.google.sh/url?q=https://lollybet.com.de/
References:
Lollybet Casino App Download fr.thefreedictionary.com
Здесь сайте вы сможете обнаружить много нужной информации.
https://tltrock.ru/material/2026-07-14-el-i-blondinki-v-zakone-kak-vozrodit-geroinyu-nulevykh-v-analogovykh-devyanostykh.html
На данном сайте можно найти обилие полезной информации.
https://rosotels.ru/detail/2026-07-16-ukraina-i-devyat-evropeyskikh-gosudarstv-obedinyayutsya-v-antiballisticheskuyu-koalitsiyu-posledstviya-dlya-rossii.htm
References:
Lollybet No Deposit Bonus cse.google.co.zm
На этом сайте можно отыскать много полезной сведений.
https://ipcfms.ru/read/427-krossovki-dlya-trenirovok-v-zale-chto-vazhno-uchityvat-pri-vybore.html
References:
Lollybet Casino Bitcoin https://wikitalia.russianitaly.com/wiki/api.php?action=https://qrlinkgenerator.com/hershelslack5
References:
Lollybet Casino Download https://toolbarqueries.google.com.hk/url?q=https://url.pixelx.one/blanchelestran
References:
Lollybet Casino Slots https://60.cholteth.com
Здесь ресурсе есть возможность найти много полезной материалов.
https://liveforsport.ru/full-text/1695-zashchitnik-baltiki-iz-kalmykii-voshyol-v-elitu-rossiyskogo-futbola.html
References:
Lollybet Casino Bonus https://link.avito.ru/go?to=https://lanjut.in/omarodriscoll4
References:
Lollybet Casino Mindesteinzahlung http://images.google.com.et/
References:
Lollybet Casino Aktion toolbarqueries.google.com.sv
References:
Lollybet Alternative http://smhslibresources.health.wa.gov.au/
References:
Lollybet Casino Promo Code image.google.com.om
References:
Lollybet Casino Treueprogramm http://www.google.sn/url?sa=t&url=https://croys.top/dannielleellio
References:
Lollybet Free Spins https://47.cholteth.com/
На этом ресурсе есть возможность найти массу нужной сведений.
https://www.pinterest.com/pin/154952043426518677/
Здесь портале есть возможность обнаружить много ценной информации.
https://protivbed.ru/full-article/travma-ot-gazonokosilki-kak-yozh-vosstanavlivaet-svoi-igly-2145/
Probldms inn penisBreeana tabuu fuckEscor servuce iin frankfurtNude swimming classees iin thhe 50’sFree amjatuer blowjob picsBiig brunette assPhtobucket titHoward stern nuude girlSlut n stringsPuss picture
off likndsey lohanLaptop wiig bagg off dildosXoxoo
lewh nude galleryBody mind nudeBantla privatte
sexArsse fuhked bby trannyCuum pig gaay blowjobsMarrisa miller diamond bikini picAdult guidelinesSeexy menn iin showersWebcamm por tars hotmailNorgges 2 sexFreee nud greek picsNaked
bizzar picHair hested men galleriesTiied uup iin heer pantyhosePhotfo gallery oof sdxy badass marineYooga porrn videoExtrme grannis asianOhiio ssex ffender lawsGay bars
saatoga nyHoot uncut dickTeenn challenge soujth walesViintage surgical lightsBack hwiry momsHot famous womesn nakedHartpey justin nakedHoot sexx
shenes metacafeLoyisiana ggay cha roomPregnancy ssymptoms vaginalAmyy fyturama charactr nakedElida centr facialCamerra
hiddsn indian sex videoRougfh sexx glamour pornEscoirt adulot
canadaSexyy young modeks tgpGayy weddijg clipFreshly waxed pussyDo
you scream durfing sexCondine pornFiest tome ggay loversReall
milfs no modelsLargess titsVideos exrait pornoVimtage advertisements
foor carsBreawt ultrasounmd priceSexy bobble bodyBriannma taylor stripperI
lov bbig blac cocxk shirtWomnen witth hughh natural boobsEricfa hustler
outfitGroup adult vacationsHoow mawny hmosexuals in americaMfm pleasure swingin threesom wifePenus enlargement pill inn pakistanTinny dikck husbandsPemis size noseHmorous aduhlt pajamasShemalee dominattion mpegsHebtai biig
ttit fuckTeeen dirtbagLadykikllers biig assCharacteeistics
of the female orgasmAleex kingtkn nudeTomny porn styar canada
milfFemaoe clitois teasingBlonde fuck betterBiizen irl sayopko slutPeadoo
fuckAnaal porn reviewArea bay crai erotic list servicesFemkale
escoorts iin lucknowAllegic to lqtex condomsCindxy craeford nnaked pictyure playboySoutherast assian chineseCarmn pena on cassting couch teensJodeies biig bottomMature butt licking websiteSexyy girl oon dvdFirre andd icee condoms commericalWomesn who like male
cockWhatt penmis siize iss goodFreee porn vifeo ample wuthout membershipHiis first gayy dateCumshkt while lickig cock
videoBroother sistr pornstarsSewing pattern forr ann axult bibVintage ibus journalsVenfure tape
copper reinforcing stripCoasdt gurd seexual haraesment polpicy
ofvd9wuaptxh9w30hszj
Здесь портале вы сможете найти массу нужной информации.
https://rosotels.ru/detail/2026-07-18-mchs-predskazyvaet-letniy-kolorit-v-ryazanskoy-oblasti-chto-ozhidaet-18-go-iyulya.htm
A generic version is a formulation that is created to be equivalent a innovator drug in potency, purity, and performance.
This product contains the same active ingredient as the branded drug, yet may differ in excipients and price.
For market entry, a generic drug must demonstrate bioequivalence to the brand-name product, ensuring it is equally safe and potent.
imedix review