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 > Problema con file nprBorder.sl in esercitazioni eidolab
  Last Thread   Next Thread
Author
Thread    Post New Thread    Post A Reply
Armakazam
.primate.

User info:
Registered: Jan 2009
Posts: 75 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 13:11:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Problema con file nprBorder.sl in esercitazioni eidolab

Ciao ragazzi, io ho un problema con questo file, quando lancio la compilazione mi esce l'errore:

nprBorder.sl(12) : error : Parse error
nprBorder.sl(13) : error : Identifier f not found

in quel tratto il testo è questo

6 {
7 color finalcolor, colortemp;
8 normal Nf;
9 vector If;
10
11 N
12 f = faceforward(normalize(N), I);
13
14 If = normalize(I);
15
16 float val = Nf.If;


eliminando l'N dalla riga 11, elimino l'errore nprBorder.sl(12), solo che non capisco come fare ad eleminare l'altro errore...ed è importante che lo sistemi in quanto poi non funziona bene il rib...

infatti nel lancio del rib mi esce l'errore:
Unable to find share "nprBorder"

qualcuno sa aiutarmi cortesemente?

27-06-2010 12:00
Click Here to See the Profile for Armakazam Click here to Send Armakazam a Private Message Find more posts by Armakazam Add Armakazam to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
gae84
.illuminato.

User info:
Registered: Jun 2005
Posts: 226 (0.03 al dì)
Location: Cesano Boscone
Corso: comunicazione digitale
Anno: sempre più fuori corso
Time Online: 16 Days, 14:49:51 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

le righe 11 e 12 cambiale con

Nf = faceforward(normalize(N), I);

27-06-2010 18:18
Click Here to See the Profile for gae84 Click here to Send gae84 a Private Message Find more posts by gae84 Add gae84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Armakazam
.primate.

User info:
Registered: Jan 2009
Posts: 75 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 13:11:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ci avrei scommesso che era una cazzata...

come sempre la soluzione piu semplice è quella che non viene in mente!!

28-06-2010 09:22
Click Here to See the Profile for Armakazam Click here to Send Armakazam a Private Message Find more posts by Armakazam Add Armakazam to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 08:27.    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.034 seconds (63.79% PHP - 36.21% MySQL) con 25 query.