bugfluxus - Bugs: bug #26104, (poly-convert-to-indexed) flips...

 
 

bug #26104: (poly-convert-to-indexed) flips texture

Submitted by:  gabor papp <gabor_papp>
Submitted on:  Tue 07 Apr 2009 11:59:51 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 08 Apr 2009 06:56:02 AM UTC, comment #1:

http://lists.pawfal.org/pipermail/fluxus-pawfal.org/2009-April/002208.html

gabor papp <gabor_papp>
Project Member
Tue 07 Apr 2009 11:59:51 AM UTC, original submission:

(clear)

(show-axis 1)
(hint-unlit)

(texture (load-texture "refmap.png"))

(define p (build-plane))

(with-primitive p
(poly-convert-to-indexed)
(for ([i (in-range (pdata-size))])
(printf "~a: p: ~a t: ~a~n" i (pdata-ref "p" i) (pdata-ref "t" i))))

without conversion:
0: p: #(-0.5 -0.5 0.0) t: #(0.0 0.0 0.0)
1: p: #(0.5 -0.5 0.0) t: #(1.0 0.0 0.0)
2: p: #(0.5 0.5 0.0) t: #(1.0 1.0 0.0)
3: p: #(-0.5 0.5 0.0) t: #(0.0 1.0 0.0)
4: p: #(-0.5 0.5 0.0) t: #(1.0 1.0 0.0)
5: p: #(0.5 0.5 0.0) t: #(0.0 1.0 0.0)
6: p: #(0.5 -0.5 0.0) t: #(0.0 0.0 0.0)
7: p: #(-0.5 -0.5 0.0) t: #(1.0 0.0 0.0)

with conversion:
0: p: #(-0.5 -0.5 0.0) t: #(1.0 0.0 0.0)
1: p: #(0.5 -0.5 0.0) t: #(0.0 0.0 0.0)
2: p: #(0.5 0.5 0.0) t: #(0.0 1.0 0.0)
3: p: #(-0.5 0.5 0.0) t: #(1.0 1.0 0.0)

gabor papp <gabor_papp>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gabor_papp (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1