Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi G - M > Grafica e immagini digitali > Stampa a video dei valori
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ButterFlower
.arcimaestro.

User info:
Registered: Oct 2007
Posts: 443 (0.07 al dì)
Location:
Corso: Comunicazione Digitale
Anno:
Time Online: 9 Days, 22:21:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Question Stampa a video dei valori

ciao
per caso sapete dirmi se esiste un comando in renderman che mi permette di stampare a video i valori di determinate variabili?
Noi abbiamo trovato un comando (o funzione... non si capisce bene)
del tipo printf(tipo, valore)... ma non va, da 1000 errori... sapete come fare?

grazie :D

06-05-2009 10:25
Click Here to See the Profile for ButterFlower Click here to Send ButterFlower a Private Message Visit ButterFlower's homepage! Find more posts by ButterFlower Add ButterFlower to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ste.dv
.precettore.

User info:
Registered: Apr 2008
Posts: 86 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 23:04:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Che io sappia il comando printf è l'unica soluzione.
Funziona, se il parametro tipo è impostato secondo un pattern particolare (qualcosa come "%f", come indicato nelle specifiche di Renderman).
Tuttavia, la stampa dei valori avviene per ogni esecuzione dello shader, quindi per ogni punto della superficie renderizzata: è difficile capire qualcosa da una console piena zeppa di numeri concatenati...

23-05-2009 11:21
Click Here to See the Profile for Ste.dv Click here to Send Ste.dv a Private Message Find more posts by Ste.dv Add Ste.dv to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:39.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.029 seconds (76.08% PHP - 23.92% MySQL) con 27 query.